Abstract
Foundation models for zero-shot time series forecasting face challenges in efficient long-horizon prediction and reproducibility, with existing synthetic-only approaches underperforming on challenging benchmarks. This paper presents TempoPFN, a univariate time series foundation model based on linear Recurrent Neural Networks (RNNs) pre-trained exclusively on synthetic data. The model uses a GatedDeltaProduct architecture with state-weaving for fully parallelizable training across sequence lengths, eliminating the need for windowing or summarization techniques while maintaining robust temporal state-tracking. Our comprehensive synthetic data pipeline unifies diverse generators, including stochastic differential equations, Gaussian processes, and audio synthesis, with novel augmentations. In zero-shot evaluations on the Gift-Eval, fev-bench and Chronos-ZS benchmarks, TempoPFN achieves top-tier competitive performance, outperforming all existing synthetic-only approaches and surpassing the majority of models trained on real-world data, while being more efficient than existing baselines by leveraging fully parallelizable training and inference. We open-source our complete data generation pipeline and training code, providing a reproducible foundation for future research.
Introduction
Foundation models for time series forecasting—capable of predicting future values for any dataset without fine-tuning—have gained significant traction. However, they typically face a "trilemma" of challenges: efficiency in long-horizon forecasting, scalability of training, and data integrity due to benchmark leakage. TempoPFN addresses these issues by utilizing a purely synthetic training pipeline and a novel linear RNN architecture, proving that synthetic data can rival real-world state-of-the-art (SOTA) models when paired with the right inductive biases.
Architecture: GatedDeltaProduct and State-Weaving
TempoPFN is built on the Prior-Data Fitted Network (PFN) framework, treating forecasting as a Bayesian inference problem. The model learns an algorithm for in-context learning from a massive synthetic "prior," allowing it to adapt to new time series in a single forward pass.
The core architectural innovation is the GatedDeltaProduct recurrence. Unlike non-linear RNNs, this linear recurrence allows for fully parallelizable training via associative scans. To enhance information flow, the authors introduce state-weaving: the final hidden state of one layer is added to the initial state of the next, creating a dense flow of information across both time and model depth without the cost of true bidirectionality. This enables constant $O(1)$ inference latency relative to the prediction horizon because it predicts all future time-stamps in a single parallel pass.
Synthetic Data Generation
A cornerstone of TempoPFN is its 100% synthetic training regimen. The authors developed a sophisticated pipeline incorporating 10 distinct generators to cover a wide range of temporal dynamics, including Stochastic Differential Equations (SDEs) for volatility and Gaussian Processes (GPs) for smooth trends.
The pipeline utilizes novel augmentations across several categories: invariances (time reversal), structure (regime changes), and artifacts (resampling). A key finding was the importance of the SDE (Ornstein-Uhlenbeck) generator; its removal led to a 26% performance drop, highlighting the necessity of modeling mean-reverting dynamics. Furthermore, the model is explicitly trained to handle missing data (NaNs), making it remarkably resilient in real-world scenarios where data quality varies.
Experimental Results
TempoPFN was evaluated zero-shot on three major benchmarks: Gift-Eval (23 datasets), Chronos-ZS (27 datasets), and fev-bench (100 tasks). On Gift-Eval, the 40M parameter TempoPFN outperformed all other synthetic-only approaches and surpassed several leading models trained on real data, such as Chronos Bolt B and TimesFM 2.0. The model also demonstrated extreme robustness to missing values, with error increasing by only ~4% even when 90% of the data was missing.
Discussion and Conclusion
TempoPFN demonstrates that linear recurrences are sufficient for high-performance forecasting. The model's orthogonal rotations in the GatedDeltaProduct enable superior state-tracking without non-linearities in the recurrence. While currently focused on univariate series, the success of this synthetic-only approach provides a reproducible foundation for future research that avoids the privacy and leakage concerns inherent in real-world datasets.
Summary updated