LaT-PFN: A Joint Embedding Predictive Architecture for In-context Time-series Forecasting

Stijn Verdenius, Andrea Zerio, Roy L. M. Wang
5/16/2024
cs.LGcs.AIstat.ML

No official code found. Best implementation: StijnVerdenius/Lat-PFN (22 stars, CC-BY-4.0, last commit 2024-08-01).

Abstract

We introduce LatentTimePFN (LaT-PFN), a foundational Time Series model with a strong embedding space that enables zero-shot forecasting. To achieve this, we perform in-context learning in latent space utilizing a novel integration of the Prior-data Fitted Networks (PFN) and Joint Embedding Predictive Architecture (JEPA) frameworks. We leverage the JEPA framework to create a prediction-optimized latent representation of the underlying stochastic process that generates time series and combines it with contextual learning, using a PFN. Furthermore, we improve on preceding works by utilizing related time series as a context and introducing a normalized abstract time axis. This reduces training time and increases the versatility of the model by allowing any time granularity and forecast horizon. We show that this results in superior zero-shot predictions compared to established baselines. We also demonstrate our latent space produces informative embeddings of both individual time steps and fixed-length summaries of entire series. Finally, we observe the emergence of multi-step patch embeddings without explicit training, suggesting the model actively learns discrete tokens that encode local structures in the data, analogous to vision transformers.

View on arXivView PDF

Code Implementations(1)

CC-BY-4.0

This work introduces LaT-PFN, a novel time series model that combines PFN and JEPA frameworks to generate zero-shot forecasts efficiently, using a versatile latent space that enables adaptable time granularity and superior predictive performance.

221Python, Jupyter NotebookMay 22, 20242 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{verdenius2024latpfn,
  title  = {LaT-PFN: A Joint Embedding Predictive Architecture for In-context Time-series Forecasting},
  author = {Stijn Verdenius and Andrea Zerio and Roy L. M. Wang},
  year   = {2024},
  eprint = {2405.10093},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.10093v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.10093.svg)](https://codeofpaper.com/paper/2405.10093)

Discussion