TL;DR
ExoTST bridges the gap between autoregressive and forward time series modeling by effectively integrating historical context with current or projected exogenous drivers. By treating past and future drivers as distinct data modalities and fusing them via a novel cross-temporal attention mechanism, ExoTST improves prediction accuracy by up to 10% while demonstrating exceptional robustness against noise and missing values.
What Problem Does This Paper Address?
In time series forecasting, models generally fall into two camps: autoregressive models, which predict future target values (endogenous variables) based purely on their historical values, and forward models, which predict the target based solely on external drivers (exogenous variables).
However, many real-world scenarios provide access to both historical data and current or future projections of external drivers (e.g., predicting carbon absorption using both past vegetation data and future weather forecasts). As shown in Figure 1, this represents a distinct class of time series problems.
Existing approaches struggle to combine these streams effectively. Prior state-of-the-art models like TiDE rely on simple feature concatenation, which requires strict temporal alignment and fails when data contains missing values or noise. The authors of ExoTST set out to build a framework that flexibly integrates past history with future drivers without succumbing to these real-world data imperfections.
Methods
ExoTST introduces a multi-modal transformer architecture tailored for time series. Instead of flattening or concatenating inputs, it treats past exogenous data and future exogenous projections as separate modalities.
The core architecture consists of three main components:
- Patch-wise Exogenous Encoders: Input time series are broken down into overlapping sub-series "patches" (similar to PatchTST). ExoTST utilizes two separate attention-based encoders: one for past exogenous drivers and one for current/projected drivers. Crucially, it introduces an aggregation token ($e_{agg}$) into each encoder to summarize the abstract information of that specific branch.
- Cross-Temporal Modality Fusion Module: To align and denoise the two exogenous streams, this module performs cross-attention using the $e_{agg}$ token from one branch as the query against the patches of the other branch. This design reduces the computational complexity of the attention map from quadratic to linear.
- Endogenous Decoder: The target series is processed via self-attention, and a multi-head cross-attention layer then injects the fused exogenous features from the fusion module to generate the final future predictions.
Datasets
The model was evaluated on two distinct types of datasets:
- Carbon Flux Data (Flux Tower Dataset): Real-world ecological data from three sites (DE-HAI, ES-LJU, AT-NEU) predicting Gross Primary Productivity (GPP) using meteorological drivers like precipitation, temperature, and Leaf Area Index.
- Standard Time Series Benchmarks: Electricity Transformer Temperature (ETTh1), Electricity Consumption Load (ECL), and Exchange Rate datasets.
Key Insights and Ideas
- Exogenous Drivers as Modalities: Treating past and future drivers as separate modalities gives the model the flexibility to handle distribution shifts and independent noise patterns inherent to historical vs. projected data.
- The Power of the Aggregation Token: By restricting cross-attention queries to a single summary token ($e_{agg}$), ExoTST bypasses the heavy computational overhead typical of multi-stream transformers, keeping the fusion step highly efficient.
- Fusing History and Future Prevents Drift: Autoregressive models degrade over long horizons because they ignore future environmental shifts. Forward models fail because they lack memory of the system's current state. ExoTST successfully anchors future projections within historical context.
Key Results
ExoTST consistently outperformed seven top-tier baselines (including iTransformer, PatchTST, TiDE, and DLinear) across all datasets and prediction horizons, yielding up to a 10% improvement in Mean Squared Error (MSE).
The model's most impressive trait is its robustness:
- Missing Data: When 40% and 80% of the exogenous driver values were randomly masked to simulate missing data, ExoTST maintained stable, low error rates, significantly outperforming TiDE and LSTM baselines.
- Noise Resilience: When Additive Gaussian Noise was introduced to simulate imperfect weather forecasts, ExoTST's prediction error remained virtually unchanged, whereas competing models degraded rapidly.
Additionally, the model offers intrinsic explainability. Visualizing the decoder's self-attention map clearly reveals that the model successfully learns repeating seasonal fluctuations directly from the data.
Limitations and Future Work
While the paper demonstrates excellent empirical success, it does not deeply explore explicit architectural limitations, such as performance scaling when the number of distinct exogenous variables grows extremely large.
For future directions, the authors suggest that ExoTST can serve as a foundational building block for large-scale time series models. They also note its immediate applicability to commercial domains like energy grid load forecasting and retail supply chain management, where weather and calendar events act as critical exogenous drivers.
Summary updated