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

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

16 May 2024arXiv:2405.10093archive 2025-07-28

Stijn Verdenius, Andrea Zerio, Roy L. M. Wang

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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 12 code samples harvested from 1 repository linked to this paper: 10 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 4 honoured, 0 violated, 4 with no contract checked; 2 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 12 samples from 1 repository, 10 ran (8 with no instrument failure; 2 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

stijnverdenius/lat-pfn officialmentioned in papermentioned on GitHubpytorchCC-BY-4.0Syntology: 12 samples, 10 ran (2 instrument-failed) · 2 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested: 10 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 4 honoured, 0 violated, 4 with no contract checked; 2 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · honoured contract
2ran · our draft was wrong
4ran
2unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from stijnverdenius/lat-pfn. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

stijnverdenius/lat-pfn official repository 12 samples, 10 ran (2 instrument-failed) · 2 unverified
V_denormalize util/config_util.py ran fingerprinted CC-BY-4.0 · pointer only · bb43c29130d4c0c8 · report fixture: signature V:Tensor/2/float, mean:Tensor/2/float, std:Tensor/2/float · returned Tensor · level recorded 2026-09-24
V_normalize util/config_util.py ran CC-BY-4.0 · pointer only · 49789c26ba814b17 · report fixture: signature V:Tensor/2/float, mean:NoneType/0/?, std:NoneType/0/? · returned tuple · level recorded 2026-09-24
add_attention_hook util/metrics.py ran · our draft was wrong CC-BY-4.0 · pointer only · a5be36f76effc4c7 · report fixture: signature attn_layer:callable/0/? · returned tuple · level recorded 2026-09-24
causal_expanded_mask model/base_pfn.py ran · honoured contract fingerprinted CC-BY-4.0 · pointer only · eb1d613c4a721aab · report fixture: signature original_diag:int/0/int, entries_per_block:int/0/int · returned Tensor · level recorded 2026-09-24
diagonal_mask model/base_pfn.py ran · honoured contract fingerprinted CC-BY-4.0 · pointer only · 019d7b7f3ec8da25 · report fixture: signature original_diag:int/0/int, entries_per_block:int/0/int · returned Tensor · level recorded 2026-09-24
expand_diagonal model/base_pfn.py ran · honoured contract fingerprinted CC-BY-4.0 · pointer only · f3d2c5acfad15121 · report fixture: signature original_diag:int/0/int, entries_per_block:int/0/int · returned Tensor · level recorded 2026-09-24
fig2img in 11 papers util/metrics.py ran · honoured contract CC-BY-4.0 · pointer only · 0c10ac60c21bd3ce · report fixture: signature fig:Figure/0/? · returned JpegImageFile · level recorded 2026-09-24
init_method_normal in 7 papers model/mup_imp/mup_custom.py ran · our draft was wrong CC-BY-4.0 · pointer only · bc31f24735c30432 · report fixture: signature sigma:float/0/float · returned function · level recorded 2026-09-24
initialize_loader evaluation/real_eval.py ran CC-BY-4.0 · pointer only · 55930a3f1525056f · report fixture: signature dataset:callable/0/?, config:Config/0/? · returned DataLoader · level recorded 2026-09-24
mup_multi_head_attention_forward model/mup_imp/mup_custom.py ran CC-BY-4.0 · pointer only · 0f7ead92423c5cbc · report fixture: signature query:Tensor/3/float, key:Tensor/3/float, value:Tensor/3/float, embed_dim_to_check:int/0/int, num_heads:int/0/int, in_proj_weight:Tensor/2/float, in_proj_bias:Tensor/1/float, bias_k:NoneType/0/?, bias_v:NoneType/0/?, add_zero_attn:bool/0/bool, dropout_p:float/0/float, out_proj_weight:Tensor/2/float, out_proj_bias:Tensor/1/float, training:bool/0/bool, key_padding_mask:NoneType/0/?, need_weights:bool/0/bool, attn_mask:NoneType/0/?, use_separate_proj_weight:bool/0/bool, q_proj_weight:NoneType/0/?, k_proj_weight:NoneType/0/?, v_proj_weight:NoneType/0/?, static_k:NoneType/0/?, static_v:NoneType/0/?, attn_mult:int/0/int, standparam:bool/0/bool · returned tuple · level recorded 2026-09-24
dictify in 33 papers util/config_util.py unverified CC-BY-4.0 · pointer only · 17d9f42249274807 · report
plot in 28 papers util/metrics.py unverified CC-BY-4.0 · pointer only · 8ea068c039e9397f · report

Tasks

In-Context LearningTime SeriesTime Series Forecasting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections