TL;DR
TempoPFN is a zero-shot time series forecasting foundation model based on linear RNNs trained exclusively on synthetic data. By leveraging a parallelizable GatedDeltaProduct architecture and a novel "state-weaving" mechanism, it achieves top-tier forecasting accuracy on real-world benchmarks while maintaining linear training complexity and constant-time inference.
What Problem Does This Paper Address?
Time series foundation models have recently taken off, enabling zero-shot predictions across diverse domains without fine-tuning. However, current architectures face a difficult trilemma between computational efficiency, state-tracking ability, and data reproducibility:
- Transformers struggle with long horizons due to quadratic complexity ($O(T^2)$) and error accumulation.
- Non-linear RNNs maintain temporal state well but require slow, sequential processing that limits training scalability.
- Data Leakage & Privacy: Training on massive real-world datasets risks benchmark leakage and privacy violations, while existing purely synthetic models have historically underperformed on challenging real-world benchmarks.
TempoPFN breaks this trilemma by introducing a fully parallelizable linear RNN foundation model trained entirely on a highly diverse, open-source synthetic data pipeline.
Methods
TempoPFN adopts the Prior-Data Fitted Network (PFN) framework, treating zero-shot forecasting as approximate Bayesian inference via in-context learning.
- GatedDeltaProduct Backbone: Instead of standard diagonal State Space Models (SSMs) or Transformers, TempoPFN uses a stack of linear RNN layers based on GatedDeltaProduct recurrence. This architecture applies non-diagonal transitions via online gradient steps (Householder transformations), allowing the model to mix coordinates and track complex states efficiently. Crucially, it allows chunk-wise parallelization and associative scans during training.
- State Weaving: To allow future time-steps to attend to the entire historical context without the overhead of explicit bidirectionality, the authors introduce state weaving. The final hidden state of each layer is additively combined with the learnable initial state of the next layer, facilitating bidirectional information flow across the entire sequence.
- Synthetic Data Generation: The model is trained on a comprehensive pipeline unifying 10 diverse procedural generators—including stochastic differential equations (SDEs) for regime-switching, Gaussian processes (GPs) for smooth trends, and audio synthesis for complex rhythms.
Datasets
- Training: 100% synthetic data consisting of approximately 10 million time series generated procedurally from the authors' open-sourced pipeline.
- Evaluation: Evaluated zero-shot on three major real-world benchmarks: Gift-Eval (23 datasets), fev-bench (100 diverse forecasting tasks), and Chronos-ZS (27 datasets).
Key Insights and Ideas
- Linear RNNs are Sufficient: Recent literature argued that non-linear RNNs (like sLSTM) are strictly necessary for robust state-tracking in time series. TempoPFN challenges this by demonstrating that structured, non-diagonal linear RNNs can track trends and levels across long contexts just as well, while remaining highly scalable.
- "Underpainting" Reality with Math: By combining orthogonal mathematical primitives (e.g., SDEs for heteroscedastic volatility and sawtooth waves for asymmetric periodicity), the synthetic data pipeline effectively covers the feature space of real-world data. UMAP projections reveal that real-world datasets sit directly on top of this synthetic manifold.
- Extreme Robustness to Missing Data: Because the training pipeline explicitly injects realistic missing data patterns, TempoPFN handles missing values (
NaNs) remarkably well.
Key Results
- Top-Tier Performance: On the Gift-Eval benchmark, TempoPFN achieved an overall CRPS of 0.533, outperforming all other synthetic-only approaches (including TabPFN-TS) and matching or exceeding prominent models trained on real-world data like Chronos Bolt B (0.574) and TimesFM 2.0 (0.550).
- Benchmark Success: It ranked 6th overall on the rigorous
fev-benchleaderboard, demonstrating high calibration quality via Scaled Quantile Loss (SQL). - Imputation Resilience: When 90% of data points were replaced with NaNs, TempoPFN’s median error increased by only ~4%, compared to an 11% performance degradation for its close competitor, TiRex.
- Efficiency: Thanks to associative scans and direct forecasting (predicting the entire horizon in a single forward pass), TempoPFN achieves linear training work ($O(TLd^2)$) and constant $O(1)$ inference latency relative to the horizon length.
Limitations and Future Work
The primary limitation of TempoPFN is its current restriction to univariate time series. The authors note that extending both the synthetic generation pipeline and the state-weaving architecture to handle complex multivariate interactions is a critical next step. Additionally, exploring whether a mix of synthetic and real-world data pre-training can yield further accuracy gains remains an open question for future research.
Summary updated