TL;DR
TempoPFN is a univariate time series foundation model that achieves top-tier zero-shot forecasting performance while being trained exclusively on synthetic data. Powered by a linear RNN architecture (GatedDeltaProduct) with an inter-layer "state-weaving" mechanism, it avoids the quadratic scaling of Transformers and the sequential bottleneck of non-linear RNNs. It delivers coherent, full-horizon probabilistic forecasts in a single, fully parallelizable forward pass and open-sources its entire synthetic pre-training pipeline.
What Problem Does This Paper Address?
Zero-shot foundation models for time series forecasting are rapidly growing in popularity, but existing paradigms suffer from trade-offs:
- Architectural bottlenecks: Transformer-based models scale quadratically ($O(T^2)$) with context length and struggle with long-horizon rollouts. Traditional non-linear RNNs (like LSTMs or recent xLSTM models) maintain temporal state but require sequential processing, hindering parallel throughput.
- Data leakage and closed pipelines: Training on real-world datasets risks evaluation leakage on popular forecasting benchmarks. Meanwhile, top-performing synthetic models (such as TabPFN-TS) keep their training data generation pipelines closed, limiting reproducibility.
- Overly simplistic synthetic priors: Existing synthetic generators often rely heavily on smooth Gaussian processes or standard ARMA models, failing to capture regime shifts, heavy-tailed events, and heteroscedastic volatility.
Methods
TempoPFN frames zero-shot forecasting under the Prior-Data Fitted Network (PFN) paradigm, approximating Bayesian inference via in-context learning over a synthetic prior:
- Linear RNN Backbone (GatedDeltaProduct): Rather than using diagonal state-space transitions (e.g., Mamba), TempoPFN parameterizes state transitions as a product of generalized Householder transformations with negative eigenvalues. This enables non-diagonal matrix updates that can track levels, trends, and parity over long horizons while remaining parallelizable via parallel prefix scans ($O(T L d^2)$ total work, $O(L \log T)$ parallel depth).
- State Weaving for Non-Causal Context: Forecasting across a known horizon does not require strict causal masking. TempoPFN adds the final hidden state of layer $i$ ($H_T^{(i)}$) to the initial state of the next layer ($H_0^{(i+1)}$), weaving historical and future context across model depth without additional compute.
- Unified Input & Direct Forecasting: Historical timestamps and values are concatenated with future query timestamps into a single sequence (with missing values handled by learnable NaN embeddings). A linear head predicts multiple quantiles ($q \in \{0.1, \dots, 0.9\}$) simultaneously in a single forward pass—no windowing, patching, or autoregressive rolling required.
- Comprehensive Synthetic Data Pipeline: A mixture of 10 procedural generators spanning:
- Established/Adapted: Gaussian processes (KernelSynth, composite GP), CauKer (structural causal models), and ForecastPFN.
- Novel: Regime-switching Ornstein–Uhlenbeck SDEs (featuring stochastic volatility, fractional Brownian motion, and seasonal trends), audio-inspired procedural dynamics (via
pyo), sawtooth ramps, steps, spikes, and anomalies. - Cascaded Augmentations: Early/late TS-Mixup, Sobel/Laplacian differential operators, integration, random 1D convolutions, censoring, and quantization.
Datasets
- Pre-training: Completely synthetic. A corpus of ~10 million generated time series (lengths up to 2048) combining the 10 generators and extensive augmentations.
- Evaluation (Zero-Shot Benchmarks):
- GIFT-Eval: A comprehensive zero-shot suite covering real-world domains across short, medium, and long horizons.
- Chronos Zero-Shot: 27 real-world datasets spanning energy, transport, and healthcare from GluonTS and Monash.
- FEV-Bench: A benchmark of 100 diverse forecasting tasks tracking data leakage and failure rates.
Key Insights and Ideas
- Linear RNNs can track state without non-linear recurrences: Prior work (e.g., TiRex) argued non-linear RNNs were essential for state tracking. TempoPFN shows that linear RNNs with non-diagonal Householder updates (GatedDeltaProduct) suffice, retaining full parallel training and constant-memory streaming inference.
- Stochastic Differential Equations (SDEs) are crucial priors: In leave-one-out generator ablations, removing the regime-switching Ornstein–Uhlenbeck SDE caused the single largest performance drop (+26% overall CRPS error). Modeling heteroscedastic volatility and mean reversion is vital for uncertainty calibration.
- Patching and windowing are not required: Operating directly on individual timestamps avoids the high-frequency projection artifacts frequently seen in windowed/compressed models (such as TiRex).
Key Results
- Gift-Eval Performance: TempoPFN (35M parameters) outperforms all other synthetic-only foundation models (achieving an overall CRPS of 0.533 vs. TabPFN-TS's 0.544). It also matches or outperforms many larger models trained on real data (e.g., Chronos Bolt B at 0.574 and TimesFM 2.0 at 0.550).
- FEV-Bench Leaderboard: Achieves Rank 6 overall in both MASE (60.5% win rate) and Scaled Quantile Loss (63.4% win rate), directly outperforming TabPFN-TS (Rank 8).
- Robustness to Missing Data: Under extreme missingness (up to 90% NaNs), TempoPFN’s normalized median CRPS increases by only ~4%, whereas TiRex degrades by over 11%.
- Ablations: Augmentations improve CRPS by 5.4% and MASE by 3.8%. Disabling state-weaving degrades CRPS from 0.533 to 0.537.
Limitations and Future Work
- Univariate Only: TempoPFN currently operates solely on univariate series; adapting the state-weaving architecture and SDE generator to multivariate channels is left for future work.
- Purely Synthetic Limits: While eliminating data leakage, the model does not yet incorporate real-world pre-training mixtures, which could further improve accuracy.
- Model Scaling: The paper focuses on a 35M-parameter architecture; scaling linear RNN foundation models to hundreds of millions or billions of parameters remains to be investigated.
Summary updated