Beyond Linear Decoders: Dynamic Expert-Coupled Optimal Decoding for Time Series Forecasting

Binwu Wang, Zhipeng Liu, Zhengyang Zhou, Pengkun Wang, Yang WangNeurIPS 2026

TL;DR

For years, time series forecasting researchers have poured massive effort into building brilliant encoders, only to slap a simple, static linear layer at the end to actually predict the future. DecoderTS fixes this bottleneck by replacing that single linear head with a diverse team of specialized "experts"—handling trends, periodicities, and global context—coordinated by an Optimal Transport routing algorithm. The result is a lightweight model that guarantees every expert pulls its weight, sweeping 14 benchmarks while running orders of magnitude faster than heavy Transformer baselines.

What Problem Does This Paper Address?

Imagine hiring a world-class detective to investigate a complex case (the encoder), only to force them to communicate their findings through a game of charades (the decoder). That is essentially the state of modern multivariate time series forecasting.

Whether using Transformers, MLPs, or Convolutional networks, most architectures rely on a shared, static linear layer to map rich historical representations into future predictions. This creates a severe representational bottleneck. Real-world time series—like electricity grids or weather patterns—are driven by a tangle of slow-moving trends, strict seasonal cycles, and sudden local spikes. A single, rigid linear rule struggles to disentangle all three simultaneously, especially across dozens or hundreds of different variables, or when historical data is missing or shifting over time.

Figure 1: Comparison of the forward computation in (a) a linear decoder and (b) the proposed decoder, with (c) a forecasting performance comparison.

Methods

DecoderTS shifts the architectural spotlight onto the decoding phase using a divide-and-conquer strategy, paired with a lightweight encoder:

  1. Lightweight STMixer Encoder (Standard/Refined): The input series is normalized (via RevIN), enriched with temporal priors (like hour-of-day and day-of-week embeddings), and passed through stacked MLP blocks that alternate between mixing temporal features and mixing cross-variable channels.
  2. Heterogeneous Expert Bank (Novel): Instead of a standard Mixture-of-Experts (MoE) where every expert is an identical neural block, DecoderTS uses three structurally distinct specialists. First, a moving-average block splits the raw input into trend and seasonal parts. Then:
  3. Trend Expert: A simple linear layer processes the smooth trend component.
  4. Periodic Expert: A 1D CNN with a bottleneck structure scans the seasonal component for repeating patterns and local anomalies.
  5. Global Expert: An MLP processes the encoder's deep latent state to capture nonlinear, cross-variable context.
  6. Optimal Transport (OT) Latent Routing (Novel): Standard MoE routers often suffer from representation collapse—a rich-get-richer feedback loop where the router lazily sends all work to one expert and ignores the rest. DecoderTS frames routing as a discrete Optimal Transport problem. Using the iterative Sinkhorn-Knopp algorithm (typically just 10 quick steps), it enforces hard mathematical constraints ensuring every expert receives exactly $1/3$ of the total routing probability mass across variables, before a final $1\times 1$ convolution refines the combined forecast.
Figure 2: Overview of DecoderTS. An MLP-based STMixer encoder models temporal dynamics and dependencies among variables. A heterogeneous expert decoder then uses optimal transport-based routing to generate future predictions.

Datasets

The authors evaluate DecoderTS on 14 existing real-world benchmarks—no new datasets are introduced, ensuring direct comparability with prior work:

  • Long-term forecasting (look-back of 96 steps; predicting 96 to 720 steps): ETTh1, ETTh2, ETTm1, ETTm2 (electricity transformer temperatures), Electricity, Weather, Exchange, AQWan, CzeLan, and ZafNoo.
  • Short-term forecasting (look-back of 96 steps; predicting 12, 24, and 48 steps): Air Quality, ILI (influenza-like illness), Mobile Traffic (900 variables), and ST-EVCDP.

Key Insights and Ideas

  • Exact load balancing without killing specialization: You might worry that forcing every expert to take an equal share of work would ruin their ability to specialize. Using information geometry, the authors prove (Theorem 1) that entropy-regularized OT routing is equivalent to a Kullback-Leibler (KL) projection. Intuitively, it finds the balanced assignment that stays mathematically closest to the model's unconstrained preferences.
  • Routing collapse is dramatic without OT: When the authors turned off OT routing on the ETTh1 dataset, 99.6% of activations collapsed onto the Trend expert alone, leaving the Periodic and Global experts virtually dead (0.1% and 0.3%). Turning OT on restored a healthy balance and sharply improved forecast accuracy.
  • Simpler fusion is better than Attention: In ablation tests, trying to fuse expert outputs with a heavy Transformer ("Attention") actually performed worse than simply adding them together—likely due to overfitting—whereas OT routing beat every alternative.

Key Results

Tested against roughly 30 baselines, DecoderTS ranked 1st out of 14 datasets on both Mean Squared Error (MSE) and Mean Absolute Error (MAE):

  • Accuracy: On tricky short-term datasets like ILI, DecoderTS achieved an MSE of 1.494 (vs. 1.834 for second-best iTransformer). On Mobile Traffic, it hit 0.237 MSE (beating TimeFilter's 0.270).
  • Blistering Efficiency: Because its complexity scales linearly $\mathcal{O}(L)$ with sequence length, DecoderTS is remarkably frugal. On the 900-variable Mobile Traffic dataset, it trained in 1.75s per epoch using 2.39 GiB of VRAM and 799.65M FLOPs. By comparison, PatchTST took 52.30s/epoch (15.39 GiB), and TimeFilter took 276.77s/epoch (17.46 GiB)—while DecoderTS still beat both on accuracy.
  • Robustness: Under stress tests where 50% of training data was randomly masked or train/val/test splits were shifted to 3:2:5 to induce distribution shifts, DecoderTS consistently maintained lower error than top recent baselines.

Limitations and Future Work

While the paper focuses primarily on evenly sampled, batch-trained multivariate series, the authors note two clear frontiers for future work:

  • Extending DecoderTS to handle irregularly sampled time series and streaming (online) data environments.
  • Exploring richer, more diverse expert architectures and routing mechanisms to tackle even more intricate temporal dynamics.

Summary updated

Abstract

Current multivariate time series forecasting methods mainly rely on static linear decoders, but these often suffer from severe representational bottlenecks. In this paper, we propose a novel architecture called DecoderTS (Dynamic Expert-Coupled Optimal Decoder for Time Series Forecasting), which replaces the conventional static prediction head with a heterogeneous expert bank. DecoderTS adopts a divide-and-conquer strategy to disentangle complex temporal dynamics, such as long-term trends and abrupt changes. Crucially, we introduce an optimal transport (OT)-based dynamic routing mechanism that can adaptively assign customized combinations of experts to different variables. By imposing OT marginal constraints, DecoderTS is theoretically proven to achieve collaborative load balancing among experts and effectively eliminate representation collapse. In extensive experiments on 14 datasets, DecoderTS achieves state-of-the-art forecasting accuracy while maintaining high computational efficiency and low memory usage.
BibTeX
@inproceedings{wang2026beyond,
  author = {Binwu Wang and Zhipeng Liu and Zhengyang Zhou and Pengkun Wang and Yang Wang},
  title = {{Beyond Linear Decoders: Dynamic Expert-Coupled Optimal Decoding for Time Series Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=IVoznSuKtE},
}
Figure