Introduction
Time Series Foundation Models (TSFMs) like Chronos, Moirai, and TimesFM have demonstrated impressive zero-shot capabilities on univariate forecasting tasks. However, a significant limitation remains: their inability to effectively incorporate covariates—exogenous variables like weather patterns or economic indicators that often drive real-world trends. While fine-tuning these massive models on domain-specific data is a possible solution, it is computationally prohibitive and undermines the "off-the-shelf" utility of foundation models.
The TFMAdapter Framework
TFMAdapter introduces a lightweight, instance-level adaptation strategy that enables TSFMs to leverage covariates without any parameter updates to the base model. The approach operates during the inference call, using only the provided historical context window to learn the relationship between the target series and its covariates.
The framework consists of two primary stages:
- Pseudo-forecast Generation: To avoid the high latency of calling a TSFM for every point in the history, TFMAdapter selects a few representative windows to generate forecasts. A Bayesian Ridge regressor is then trained on these samples to act as a fast proxy, generating "pseudo-forecasts" for the entire historical period.
- Gaussian Process Adapter: A Gaussian Process (GP) is trained to map the pseudo-forecasts, covariates, and auxiliary features (e.g., seasonal encodings) to the actual historical values. The GP's inherent uncertainty estimation allows for "Uncertainty-based Filtering," where the model can revert to the base TSFM's univariate forecast if the covariate signal is deemed unreliable.
Key Insights
Research into existing models like Moirai reveals that even when designed for multivariate data, foundation models often struggle to harness exogenous signals effectively. TFMAdapter addresses this "covariate-blindness" by treating the foundation model as a high-quality baseline that can be locally corrected. By focusing on instance-level patterns, the adapter captures domain-specific dynamics that general-purpose pretraining might miss.
Experimental Results
TFMAdapter was evaluated across diverse benchmarks, including electricity price forecasting (EPF) and various environmental datasets (ImputeBench).
Key findings include:
- Performance Boost: TFMAdapter achieved an average improvement in Mean Absolute Error (MAE) of 24.9% to 27.9% over base foundation models.
- Competitive with Supervised Models: The adapter consistently outperformed specialized supervised architectures like TiDE and NBEATSx, particularly in data-scarce scenarios where the foundation model's prior knowledge provides a crucial "warm start."
- Robustness: The gains were consistent across various history lengths and forecast horizons, demonstrating the framework's versatility.
Conclusion
TFMAdapter provides a practical path forward for using Time Series Foundation Models in complex, real-world environments. By shifting the focus from global fine-tuning to local, instance-level adaptation, it unlocks the power of covariates with minimal computational overhead. Future work may explore more scalable adapter architectures to handle extremely long sequences and further integration with emerging large-scale TSFMs.
Summary updated