                                        ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




                                        R ETRIEVAL M ECHANISMS S URPASS L ONG -C ONTEXT
                                        S CALING IN T IME S ERIES F ORECASTING
                                         Rishi Ahuja†          Kumar Prateek†          Simranjit Singh† ⊠        Vijay Kumar†
                                         †
                                            Department of Information Technology,
                                            Dr. B.R. Ambedkar National Institute of Technology Jalandhar,
                                            Punjab, 144008, India.
                                            {rishia.it.24, kumarprateek, ⊠ singhsimranjit, vijayk}@nitj.ac.in
arXiv:2605.08217v1 [cs.LG] 6 May 2026




                                                                                      A BSTRACT

                                                   Time Series Foundation Models (TSFMs) have borrowed the long context
                                                   paradigm from natural language processing under the premise that feeding more
                                                   history into the model improves forecast quality. But in stochastic domains, dis-
                                                   tant history is often just high-frequency noise, not signal. Hence, the proposed
                                                   work tests whether this premise actually holds by running continuous context ar-
                                                   chitectures (PatchTST included) through the ETTh1 benchmark. The obtained
                                                   results contradict the premise: an inverse scaling law shows up clearly, with fore-
                                                   casting error rising as context gets longer. A 3,000-step window causes perfor-
                                                   mance to drop by over 68%, evidence that attention mechanisms are poor at ig-
                                                   noring irrelevant historical volatility. Retrieval-Augmented Forecasting (RAFT) is
                                                   evaluated as an alternative. RAFT achieves a mean squared error (MSE) of 0.379
                                                   with a fixed 720-step window and selective retrieval, outperforming both long-
                                                   context configurations and zero-shot foundation models (Chronos, Moirai) de-
                                                   spite requiring far less computation. In addition, the retrieval step injects only the
                                                   most relevant historical segments as dynamic exogenous variables, which gives
                                                   the model a context-informed inductive bias it cannot build on its own from raw
                                                   sequences. Therefore, foundation models going forward need to shift architec-
                                                   turally toward selective retrieval.

                                                                                    Track: Research

                                        1    I NTRODUCTION
                                        Time Series Foundation Models (TSFMs) owe much of their recent popularity to the “scaling hy-
                                        pothesis,” the idea that larger models with longer input windows will produce monotonically better
                                        forecasts. Moirai (Woo et al., 2024) and Chronos (Ansari et al., 2024) have given weight to that
                                        idea: both achieve strong zero-shot results across multiple forecasting domains by utilizing scale.
                                        But a harder question remains unresolved. Can the “Long Context” logic of Large Language Mod-
                                        els (LLMs) be transplanted directly into the stochastic world of time series? There are good reasons
                                        to doubt it. Language tokens retain semantic content even when they appear thousands of positions
                                        earlier in a document. Numerical time series do not behave this way. Old values in a stochastic
                                        process are frequently just noise, and their statistical relationship to future values weakens sharply
                                        over time. Therefore, the proposed work advances the following hypothesis: when the context win-
                                        dow in time series forecasting is expanded without discrimination, a failure mode called Stochastic
                                        Noise Accumulation takes over. Irrelevant historical values flood the attention computation, the
                                        mechanism loses the ability to weight important recent patterns appropriately, and forecasting accu-
                                        racy suffers. Williams et al. (2025) show that short textual descriptions alongside numerical inputs
                                        yield large accuracy gains, highlighting the poverty of raw numerical context. Pineda Arango et al.
                                        (2025) finds that exogenous variables are critical for downstream task adaptation. This work con-
                                        tends that selective retrieval, not blind window expansion, is the correct mechanism for injecting
                                        useful context.
                                             ⊠
                                                 Corresponding Author.


                                                                                             1
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




The work uses ETTh1 benchmark for empirical validation and compares three model types: vanilla
Transformers, PatchTST (Nie et al., 2023) (the current state-of-the-art), and a Retrieval-Augmented
Forecasting (RAFT) baseline. The experiments produce an Inverse Scaling Law for stochastic time
series: a) Long Context Fails: PatchTST accuracy drops by 68% when context grows from 720
to 3,000 tokens. Even advanced patching cannot screen out the noise in long historical windows.
b) Retrieval Wins: RAFT (Han et al., 2025) uses a 720-step window plus selective retrieval and
scores the best MSE (0.379), outperforming all long-context and zero-shot foundation model base-
lines. Retrieved segments function as dynamic exogenous variables that provide context-informed
inductive bias, and they do so without the noise penalties attached to long continuous windows.


2     R ELATED W ORK

2.1   T IME S ERIES F OUNDATION M ODELS AND C ONTEXT S CALING

Moirai (Woo et al., 2024) and Chronos (Ansari et al., 2024) achieve strong zero-shot transfer across
multiple forecasting domains by training on large heterogeneous corpora, demonstrating that univer-
sal temporal patterns can be captured at scale. PatchTST (Nie et al., 2023) advances supervised long-
context forecasting through channel-independent patching, reducing quadratic attention overhead
while enabling very long input sequences. However, a premise shared across these architectures,
namely that longer lookback windows translate into higher accuracy, does not hold in stochastic set-
tings. The stochastic portion of the input sequence is dominated by high-frequency volatility with
little predictive value. Blindly extending context therefore creates a noise accumulation bottleneck,
a failure mode absent from the text-based tasks where these designs originated.

2.2   C ONTEXT-I NFORMED F ORECASTING AND R ETRIEVAL

Auxiliary information has proven valuable for forecast robustness. Williams et al. (2025) show that
textual grounding of forecasts reduces ambiguity in foundation models substantially and calls con-
text “key.” Furthermore, Pineda Arango et al. (2025) demonstrates a complementary point through
ChronosX: exogenous variables enable pretrained models to specialize for particular downstream
tasks. The shared lesson from both is that predictions benefit when models receive curated context
rather than raw data. Yet autoregressive models lack a built-in mechanism for relevance-based fil-
tering of their input history. RAFT fills that gap. It treats the historical record as a pool from which
only the most similar segments are retrieved via cosine similarity. Stochastic noise is rejected at the
retrieval stage, and what enters the model has high information density. The net effect is a dynamic
inductive bias rooted in the same philosophy as exogenous signal injection but implemented through
a retrieval mechanism.


3     M ETHODOLOGY AND A NALYSIS

3.1   T HE E XPERIMENTAL F RAMEWORK

The proposed work chooses the ETTh1 (Electricity Transformer Temperature) benchmark (Zhou
et al., 2021) because its high-frequency stochastic volatility makes it challenging for any model that
relies on long historical context. Separating genuine signals from random fluctuations is difficult on
this dataset, making it a natural stress test for the “Long Context” hypothesis. A prediction horizon
of H = 96 steps is fixed throughout. The lookback window L is varied across {720, 1440, 3000}
so that the impact of context scaling can be measured in isolation. Mean Squared Error (MSE) and
Mean Absolute Error (MAE) are used as the evaluation metrics. The experiment pits Continuous
Context models against a Retrieved Context model: a) Vanilla Transformer (Baseline): It uses
Encoder-decoder architecture with dmodel = 512 and nheads = 8 to observe how standard attention
behaves as context grows. b) PatchTST (SOTA Long-Context): It uses channel independence and
patching (P = 16, S = 8) per Nie et al. (2023). It represents the scaling hypothesis at maximum
strength: long context, low computational cost. c) RAFT (Retrieval Baseline): It keeps the look-
back short (L = 720) and pulls in relevant history through top-k cosine similarity retrieval (Han
et al., 2025). This tests whether high-quality context in a small window outperforms noisy context
in a large one.


                                                   2
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




3.2   T HE I NVERSE S CALING L AW

The experiments yield a result that runs opposite to NLP scaling laws. Figure A1 shows a clear
Inverse Scaling Law: longer context does not reduce error. MSE rises at every step as the window
gets larger. The law holds at prediction horizons beyond H = 96; (see Appendix H for results at
H = 336 and H = 720). The Vanilla Transformer breaks down most severely. Going from 720
to 3,000 steps pushes MSE up by about 200%. Self-attention, given that many positions to attend
over, distributes weight too broadly and cannot recover the relevant signal. PatchTST handles the
problem better but still fails. At 3,000 steps, its MSE increases by 68% (from 0.385 to 0.647).
Patching, though designed for long sequences, fails to reject noise effectively over extended histo-
ries. Therefore, practitioners assuming patching eliminates noise should reconsider these results.

3.3   G ENERALIZATION ACROSS D OMAINS

The work tests two more benchmarks ETTh2 (Zhou et al., 2021) (electricity domain) and Exchange
Rate (financial domain) to verify that the inverse scaling law is not just a quirk of ETTh1. Table 1


                 Table 1: Cross-Domain Validation: Degradation of Long Context
                        Dataset     Model               MSE ↓     Degradation
                                    PatchTST (720)      0.307         —
                        ETTh2
                                    PatchTST (3000)     0.533       +73.4%
                                    PatchTST (720)      0.093         —
                        Exchange
                                    PatchTST (3000)     0.350      +276.8%


shows severe degradation across both additional datasets. On Exchange Rate data, where financial
volatility is high, the long-context configuration degrades by 276%. Noise accumulation is not
dataset-specific; it is a structural problem for stochastic time series, and it worsens proportionally
with the volatility of the underlying process.

3.4   M ECHANISM A NALYSIS : S TOCHASTIC N OISE ACCUMULATION

The proposed work attributes the observed degradation to Stochastic Noise Accumulation. NLP
tokens far back in the sequence frequently carry high information density. However, ETTh1 time se-
ries do not share the same property, as distant points are mostly uncorrelated stochastic fluctuations
without predictive utility. Consequently, the softmax denominator grows with L, spreading proba-
bility mass across positions that contribute nothing useful, resulting in a diminishing share allocated
to genuinely informative recent timesteps. Internal representations are therefore over-smoothed: the
model loses the high-frequency detail required for accurate prediction. The observation is consistent
with Williams et al. (2025), who find that context quality matters far more than context volume when
signal-to-noise ratio is low.
Quantitative measurements of attention entropy further confirm the mechanism. As context grows
from L = 336 (42 patches) to L = 3000 (375 patches), the normalized attention entropy of
PatchTST rises from 0.952 to 0.989, approaching the theoretical maximum of 1.0, which corre-
sponds to a uniform distribution. At L = 3000, the effective attention rank collapses to 0.1: no
single patch receives meaningfully differentiated weight. In practice, the attention mechanism de-
generates into uniform averaging over hundreds of irrelevant positions. The full per-layer entropy
measurements appear in Appendix G.

3.5   T HE S UPERIORITY OF S ELECTIVE R ETRIEVAL

RAFT outperforms the scaling-based models because its context-informed inductive bias pre-filters
history before attention ever operates on it. Figure 1 shows RAFT at an MSE of 0.379 with only 720
steps of direct context. PatchTST at 720 steps scores 0.385, so RAFT is slightly better even without
the scaling advantage. At 3000 steps PatchTST degrades to 0.647, making RAFT the clear winner.
Moreover, RAFT stabilizes its forecasts and avoids the noise penalty that scaling imposes by inject-


                                                  3
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




               1.4      RAFT Baseline                                                                                           1.323
               1.2
               1.0

    Test MSE
               0.8
                                                                                                                    0.647
               0.6                                                                              0.484
                                          0.385        0.416               0.441
               0.4             0.379

               0.2
               0.0
                              RAFT       PatchTST    Vanilla TF          Vanilla TF           Vanilla TF           PatchTST   Vanilla TF
                             (Ret-720)     (720)     (Best, 720)           (720)               (1440)               (3000)     (3000)




Figure 1: Performance degradation trend. Error rate (Y-axis) rises monotonically as Context Length
(X-axis) increases from 720 to 3000, illustrating Stochastic Noise Accumulation.



ing retrieved segments as dynamic exogenous variables (Pineda Arango et al., 2025). Therefore,
retrieval is a more effective noise rejection strategy than window extension for stochastic data.
Zero-shot foundation models, including Chronos-T5-Small (Ansari et al., 2024) (MSE 0.483) and
Moirai-1.1-R-Small (Woo et al., 2024) (MSE 0.553), both fall substantially short of RAFT’s 0.379,
despite pretraining on far larger corpora revealing that the advantage extends beyond long-context
scaling. Such a finding motivates the proposed work to evaluate Chronos-T5-Small and Moirai-1.1-
R-Small in Zero-shot settings on the ETTh1 test set to assess whether pretrained foundation models
can bypass the inverse scaling law. Specifically, Chronos operates univariately with autoregressive
rolling (chunk size 64), while Moirai is evaluated channel-independently for a fair comparison with
PatchTST. Table 2 details the comparison of zero-shot foundation models to trained models on
ETTh1 at H = 96.


                        Table 2: Foundation Model Zero-Shot vs. Trained Models on ETTh1 (H = 96).
                                         Model                     Context            MSE ↓             MAE ↓
                                         RAFT                       720               0.379                 —
                                         PatchTST                   720               0.385                 —
                                         Chronos-T5-Small           336               0.497                0.415
                                         Chronos-T5-Small           720               0.483                0.414
                                         Moirai-1.1-R-Small         336               0.575                0.489
                                         Moirai-1.1-R-Small         720               0.553                0.487



Neither foundation model matches RAFT or even PatchTST at L = 720. Chronos at its best (L =
720, MSE 0.483) is 27% above RAFT, and Moirai (L = 720, MSE 0.553) is 46% above. Hence,
Zero-shot generality does not compensate for targeted retrieval on stochastic data.


4              D ISCUSSION

4.1                  T HE S TOCHASTIC C ONTEXT D ILEMMA

NLP scaling laws predict that more context produces better outputs. The inverse scaling law docu-
mented here contradicts that prediction; the reason lies in a basic difference between the two data
types. Language tokens and factual claims retain informativeness regardless of how far back they
appear. ETTh1 measurements from 2,000 steps ago are essentially uncorrelated noise with respect to
the prediction target. Furthermore, over 3,000 positions, the attention Softmax inevitably distributes
probability mass over inputs carrying no forecasting information. The proposed work characterizes
the effect as Attention Entropy inflation. Specifically, measured normalized entropy rises from 0.952
(L = 336) to 0.989 (L = 3000), confirming near-complete entropy saturation at extreme context
lengths (Section 3.4). Relevant recent signals are drowned out. More history helps only when it
carries high semantic density; stochastic volatility violates that condition by definition.


                                                                     4
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




4.2   T HE E FFICIENCY-ACCURACY T RADE - OFF

Training cost makes the case against long context even stronger: a) Long Context (Inefficient):
Vanilla Transformer at 3,000 steps required 83.47 minutes of training and produced MSE 1.323,
the worst result in the study. b) Retrieval (Efficient): RAFT trained in 2.13 minutes (roughly
40× faster) and produced MSE 0.379, the best result. The expectation behind NLP scaling laws is
that spending more compute yields better model quality. In time series forecasting, spending more
compute on longer context yields worse quality and wastes resources in the process.

4.3   R ETRIEVAL AS A D ENOISING I NDUCTIVE B IAS

RAFT works well because its top-k retrieval stage operates as a “hard attention” gate before the
standard “soft attention” layer. Two stages run in sequence, forming a noise-rejection pipeline: a)
Filter: Retrieval discards segments with low similarity. The surviving segments have high fidelity
to the current forecasting situation. b) Process: The Transformer receives only these filtered inputs,
treating them as dynamic exogenous variables (Pineda Arango et al., 2025) rather than undifferen-
tiated history. Moreover, long-range dependencies remain exploitable through retrieval, without the
noise accumulation that accompanies brute-force window scaling.


5     L IMITATIONS

The three benchmarks tested (ETTh1, ETTh2, Exchange Rate) all exhibit stochastic, mean-reverting
dynamics; i.e., whether the inverse scaling law holds on trend-dominated or strongly seasonal se-
ries remains open. The main experiments fix the value of H=96, and foundation models are not
re-evaluated at longer horizons except at H=336, 720 (detailed in Appendix H). Furthermore, hy-
perparameter sensitivity (detailed in Appendix I) and single-GPU timing measurements may not
generalize across hardware.


6     C ONCLUSION AND F UTURE W ORK

The proposed work has tested the “Long Context” hypothesis for time series forecasting and found
it wanting. On ETTh1, PatchTST can lose up to 68% of its accuracy when context extends from
720 to 3,000 steps, an Inverse Scaling Law driven by noise accumulation in stochastic data. RAFT
(Han et al., 2025), with selective retrieval and a constrained 720-step window, reaches MSE 0.379,
well below the expensive long-context alternatives. Context quality, not context volume, deter-
mines forecast accuracy. Additionally, the inverse scaling law holds at longer prediction horizons
(H = 336, H = 720) and the degradation mechanism is corroborated by attention entropy mea-
surements where normalized entropy reaches 0.989 at L = 3000. Hence, the next frontier is to
integrate retrieval directly into pretraining. Foundation models that use dynamic retrieval heads and
are trained end-to-end to identify the most useful historical segments could achieve robust zero-shot
performance without the noise penalty of static windows. Such an architecture would put into prac-
tice the “Context is Key” philosophy advocated by Williams et al. (2025) and make stochastic time
series forecasting substantially more reliable.


R EFERENCES
Abdul Fatir Ansari, Lorenzo Stella, Caner Turkmen, Xiyuan Zhang, Pedro Mercado, Huibin Shen,
  Oleksandr Shchur, Syama Sundar Rangapuram, Sebastian Pineda Arango, Shubham Kapoor,
  Jasper Zschiegner, Danielle C. Maddix, Michael W. Mahoney, Kari Torkkola, Andrew Gordon
  Wilson, Michael Bohlke-Schneider, and Yuyang Wang. Chronos: Learning the language of time
  series. Transactions on Machine Learning Research, 2024.

Sungwon Han, Seungeon Lee, Meeyoung Cha, Sercan O. Arik, and Jinsung Yoon. Retrieval aug-
  mented time series forecasting. In Proceedings of the 42nd International Conference on Machine
  Learning, volume 267 of Proceedings of Machine Learning Research, pp. 21774–21797. PMLR,
  2025.


                                                  5
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth
  64 words: Long-term forecasting with transformers. In International Conference on Learning
  Representations, 2023.
Sebastian Pineda Arango, Pedro Mercado, Shubham Kapoor, Abdul Fatir Ansari, Lorenzo Stella,
  Huibin Shen, Hugo Henri Joseph Senetaire, Ali Caner Turkmen, Oleksandr Shchur, Danielle C.
  Maddix, Michael Bohlke-Schneider, Bernie Wang, and Syama Syndar Rangapuram. Chronosx:
  Adapting pretrained time series models with exogenous variables. In Proceedings of The 28th
  International Conference on Artificial Intelligence and Statistics, volume 258 of Proceedings of
  Machine Learning Research, pp. 2242–2250. PMLR, 2025.

Andrew Robert Williams, Arjun Ashok, Étienne Marcotte, Valentina Zantedeschi, Jithendaraa Sub-
  ramanian, Roland Riachi, James Requeima, Alexandre Lacoste, Irina Rish, Nicolas Chapados,
  and Alexandre Drouin. Context is key: A benchmark for forecasting with essential textual infor-
  mation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267
  of Proceedings of Machine Learning Research, pp. 66887–66944. PMLR, 2025.
Gerald Woo, Chenghao Liu, Akshat Kumar, Caiming Xiong, Silvio Savarese, and Doyen Sahoo.
  Unified training of universal time series forecasting transformers. In Forty-first International
  Conference on Machine Learning, 2024.
Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang.
  Informer: Beyond efficient transformer for long sequence time-series forecasting. In AAAI Con-
  ference on Artificial Intelligence, volume 35, pp. 11106–11115, 2021.




                                                6
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




A PPENDIX

A     AI U SE D ISCLOSURE
Large language models were used to assist with grammar refinement and manuscript editing. All
scientific content, experimental results, and conclusions are the sole work of the authors.

B     E XPERIMENTAL C ONFIGURATION
Hyperparameter settings and training configurations are reported here for reproducibility. Figure A1
shows a clear Inverse Scaling Law already discussed in 3.2.

                                                Vanilla Transformer (Long Ctx)
                                                PatchTST (SOTA)
                                                RAFT (Retrieval @ 720)
                                    1.2
       Test MSE (Lower is Better)




                                    1.0


                                                                                     Performance degrades
                                    0.8                                              as context increases




                                    0.6



                                    0.4

                                          720                                1440                             3000
                                                                                    Context Window Size (L)

Figure A1: The Inverse Scaling Law on ETTh1. RAFT (Green) holds error low (MSE 0.379) with
a fixed window. PatchTST (Orange), when extended to 3000 steps, can see its performance degrade
by up to 68% (MSE 0.647). The Vanilla Transformer (Red) collapses entirely.


B.1   M ODEL H YPERPARAMETERS

Table A1 gives the full configuration of each model. The same optimization settings apply across
all experiments to keep the comparison controlled.

B.2   T RAINING P ROTOCOL

Adam with a learning rate of 0.0001 was used for all models. If validation MSE failed to improve
for 3 consecutive epochs, training was stopped early. The random seed for weight initialization was
2021 throughout, which makes results deterministic.

C     DATASET D ETAILS
The inverse scaling law hypothesis is tested on three benchmarks that span different domains and
noise profiles.

C.1   ETT H 1 DATASET

ETTh1 (Electricity Transformer Temperature) contains hourly transformer readings collected over
600 days (14,400 timesteps total). The measured features are HUFL, HULL, MUFL, MULL, LUFL,


                                                                                            7
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




                       Table A1: Complete Hyperparameter Configurations
                            Parameter           Vanilla TF      PatchTST     RAFT
                            seq len            720/1440/3000    720/3000      720
                            pred len                 96            96         96
                            label len                48            48          48
                            dmodel                  512           128         128
                            nheads                   8             16           8
                            elayers                  2              3           2
                            dlayers                  1              1           1
                            dff                    2048           256         256
                            dropout                 0.1            0.1        0.1
                            patch len                —             16         —
                            stride                   —              8         —
                            top-k retrieval         —              —            5
                            learning rate         0.0001         0.0001      0.0001
                            optimizer             Adam           Adam        Adam
                            batch size              32             32          32
                            epochs                  10             10          10
                            patience                 3              3           3
                            loss                   MSE            MSE         MSE




LULL, and OT (Oil Temperature), giving seven channels. A 60/20/20 split was used for training,
validation, and test partitions. Each feature was normalized independently using StandardScaler.

C.2   C ROSS -D OMAIN DATASETS

ETTh2 has the same format as ETTh1 but comes from a different transformer station. The Exchange
Rate dataset contains daily rates for 8 currencies over 7,588 trading days. Both datasets were in-
cluded because their noise characteristics differ from each other, allowing the proposed work to
check whether the inverse scaling law generalizes beyond a single domain.


D     C OMPLETE R ESULTS

Table A2 reports MSE and training time for every configuration tested on ETTh1.


                              Table A2: Complete Results on ETTh1
                           Model              Seq Len        MSE ↓    Time (min)
                           RAFT                 720          0.379         2.13
                           PatchTST             720          0.385         2.90
                           PatchTST            3000          0.647         18.33
                           Vanilla TF           720          0.441         7.42
                           Vanilla TF          1440          0.484         22.00
                           Vanilla TF          3000          1.323         83.47



D.1   D EGRADATION A NALYSIS

Table A3 reports the MSE increase when context is extended from 720 to 3000 steps, broken down
by model and dataset.


                      Table A3: Performance Degradation Across Contexts
                      Model            Dataset          720 → 3000         Degradation
                      Vanilla TF       ETTh1          0.441 → 1.323           +200%
                      PatchTST         ETTh1          0.385 → 0.647           +68%
                      PatchTST         ETTh2          0.307 → 0.533           +73%
                      PatchTST        Exchange        0.093 → 0.350           +277%


                                                        8
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




Degradation is consistent across datasets. Financial data shows the largest increase, as expected
given that currency exchange rates exhibit particularly high stochastic volatility.


E    C OMPUTATIONAL E NVIRONMENT

Experiments were run on cloud GPU infrastructure (16GB RAM, 8 CPU cores). Python 3.9, Py-
Torch 2.0.1, and CUDA 11.8 formed the core of the software stack; numpy 1.24, pandas 2.0, and
scikit-learn 1.3 were also used. Training time grows quadratically with context length. At 3000
steps the Vanilla Transformer needed 83.47 minutes per run; RAFT needed 2.13 minutes for the
same prediction task, about 40× faster, while also producing a better MSE.


F   R EPRODUCIBILITY

All datasets are publicly available from the Informer repository. The train-validation-test split
is 60/20/20 in every experiment, and StandardScaler normalization is applied per feature. Ran-
dom seeds are fixed at 2021. Early stopping halts training if validation MSE does not drop
for 3 epochs. Replication requires downloading the datasets, applying the hyperparameters in
Table A1, and running training with the Adam optimizer at the specified learning rate. Stan-
dard PyTorch was used throughout; no custom modifications were made. The complete source
code, training scripts, and evaluation pipelines are publicly available at https://github.com/
RishiAhuja/ahuja2026retrieval.


G    ATTENTION E NTROPY M EASUREMENTS

Normalized attention entropy was computed per layer  P across all attention heads in PatchTST at
each context length. Entropy is defined as H = − i pi log pi , normalized by log N where N is
the number of patches. An entropy of 1.0 corresponds to a perfectly uniform (random) attention
distribution and an entropy of 0.0 corresponds to a sparse single-position spike.
At L = 336 (42 patches), mean normalized entropy is 0.952, indicating that attention is already
fairly diffuse but retains some discriminative structure. Similarly, at L = 720 (90 patches), entropy
rises to 0.971. Furthermore, at L = 3000 (375 patches), entropy reaches 0.989, within 1.1% of the
theoretical maximum. Additionally, the effective attention rank (computed as exp(H), the exponen-
tial of the entropy) collapses from 8.3 at L = 336 to 0.1 at L = 3000, confirming that the attention
mechanism has degenerated into near-uniform averaging at extreme context lengths.


H    M ULTI -H ORIZON E VALUATION

The inverse scaling law is tested at longer prediction horizons (H ∈ {336, 720}) to verify that the
phenomenon generalizes beyond H = 96. Table A4 details the multi-horizon results on ETTh1.


                       Table A4: Multi-Horizon Results on ETTh1 (MSE ↓).
                            Model        Seq Len       H = 336   H = 720
                            RAFT         720            0.438     0.474
                            PatchTST     720            0.503     0.517
                            PatchTST     3000           0.800     1.513
                            Vanilla TF   720            0.586     0.755
                            Vanilla TF   3000           0.763     0.882


As evident from Table A4, the inverse scaling law holds at all tested horizons. PatchTST degradation
worsens at longer horizons: +59% at H = 336 and +193% at H = 720 when the context extends
from 720 to 3000. Additionally, RAFT maintains the lowest MSE at every horizon without any
context extension.


                                                   9
ICLR 2026 Workshop on Time Series in the Age of Large Models (TSALM)




I   T RAINING C ONFIGURATION S ENSITIVITY
The magnitude of long-context degradation depends on the training protocol. Under the schedule
used in the main experiments (10 epochs, step-decay learning rate), PatchTST reaches MSE 0.647
at L = 3000 (+68% over L = 720). The same architecture, when trained with an extended schedule
(100 epochs, cosine annealing learning rate), achieves MSE 0.426 at L = 3000, narrowing the gap to
approximately 8% over L = 720 (MSE 0.395). Importantly, RAFT (MSE 0.379) remains superior
under both training configurations, and the need for careful hyperparameter tuning to mitigate long-
context degradation is itself a practical limitation of the continuous-context paradigm.




                                                10
