Manuscript Offprint
arXiv:2610.07834Retrieval Is Not Enough: Refreshing Memory for Frozen Time-Series Forecasters
Chao He
Aberdeen Institute of Data Science
and Artificial Intelligence
South China Normal University
Foshan, China
Ruiqi Liu
School of Artificial Intelligence
South China Normal University
Foshan, China
Jianyu Xu
Aberdeen Institute of Data Science
and Artificial Intelligence
South China Normal University
Foshan, China
Haobin Ding
Aberdeen Institute of Data Science
and Artificial Intelligence
South China Normal University
Foshan, China
Dongqing Song
School of Artificial Intelligence
South China Normal University
Foshan, China
Xinyi Guo
Aberdeen Institute of Data Science
and Artificial Intelligence
South China Normal University
Foshan, China
Ruiqi He
Aberdeen Institute of Data Science
and Artificial Intelligence
South China Normal University
Foshan, China
Abstract
Retrieval-augmented time-series forecasting uses the continuations of historical segments similar to the current context as references for a forecaster. Most existing methods build the retrieval memory once from the training segment, leaving observations revealed after deployment unavailable as references, and generally do not calibrate how much the retrieved information should influence a frozen forecaster. We identify two key determinants of retrieval utility for a frozen forecaster: whether the history still reflects the current state, and whether the correction it induces aligns with the forecaster's residual errors, an alignment that can shift between validation and deployment when the memory becomes stale. We propose FreshCast, a plug-in retrieval framework that keeps the forecaster frozen, continuously updates a non-parametric memory with new observations, forms a memory forecast through relational kernel regression, and calibrates its weight in closed form on the validation segment. Under a simplified generative model, we characterize the optimal combination gain through the second-order relation between forecaster error and memory correction, and show that a sufficiently long look-back can make periodic memory information redundant. Across seven benchmarks and ten forecasting architectures, FreshCast reduces average MSE for every evaluated forecaster and input length, by 14.6% and 5.6% at input lengths 96 and 720, and achieves lower MSE than the evaluated retrieval-augmented and online baselines in their comparison settings. Ablations show that freezing the memory at the end of training removes most of the gain, identifying post-training observations as a primary source of improvement. For a frozen forecaster, useful historical references must remain timely and provide information that helps correct its remaining errors.
1 Introduction
Time-series forecasting underpins applications such as traffic scheduling, electricity load management, weather forecasting, and capacity planning for online services. Deep forecasters keep improving on standard benchmarks [19, 24, 29, 30, 32, 36], but each forecast is based on a fixed-length look-back window, and history outside the window can influence the forecast only indirectly, through parameters learned during training. Retrieval-augmented forecasting provides a complementary mechanism by retrieving historical segments that resemble the current context and using their continuations as forecasting references, as in RAFT [8], PFRP [6], and GTR [2]. Like retrieval augmentation in Web search, recommendation, and generation systems, it draws on an external store of past data; a key distinction is that the available time-series history continues to grow after deployment, while the deployed forecaster may remain fixed. Existing work on this paradigm has largely focused on how history is represented, how segments are matched, and how retrieved information is fused, with matching quality often serving as a proxy for retrieval usefulness.
Our starting point is a gap between matching quality and forecasting gain. A retrieved segment can closely resemble the current context in shape while its continuation no longer matches the current state; and even when the reference is still valid, its gain is bounded by what the forecaster already captures. SARAF attributes the first part of this gap to non-stationarity and diversifies the segments it selects from the training data [37]. We focus on two common design choices that contribute to this gap (Figure 1(c)). First, the retrieval memory is typically fixed when training ends, so observations revealed after deployment do not enter the reference set. Second, the degree to which retrieved information influences
Corresponding author.
the forecast is typically learned on the training data or fixed by design; existing systems generally do not calibrate it for a frozen forecaster. Because the forecaster is optimized on the training segment, estimating retrieval utility from the same data can underestimate the value of a correction on unseen observations, as we verify in Section 5.4. Three observations support this view.
Observation 1: retrieval gains shrink as periodic context enters the look-back window. The same retrieval scheme yields smaller gains on forecasters with lower validation error (Figure 1(a)). With the forecaster fixed, extending the look-back window from 96 to 720 steps reduces the average error reduction of GTR on MLP, DLinear, and iTransformer, the forecasters for which GTR provides an implementation, from 3.78% to 0.71% (Figure 1(b)); on Electricity, whose main period is one week, it falls from 11.84% to 1.71%. Since GTR indexes its references by periodic position, these results suggest that a substantial part of its gain comes from periodic information that is unavailable to a short look-back window; once that structure becomes accessible within the input, this source of retrieval gain diminishes.
Observation 2: references with similar shapes can carry outdated levels. On Traffic, 95.8% to 99.8% of the segments retrieved by five rules, including those of RAFT and PFRP, lie near the query's time of day, against 12.5% of the candidate set (Figure 2(a)). In a post hoc evaluation with the true future on Traffic, 95% of the most useful segments are newer than the newest segment in a static memory built from the training segment (Figure 2(b)). Decomposing the reference error into a level term and the remainder, the error left after removing the level, shows that error growth with segment age comes mainly from the level term (Figure 2(c)); test-period windows also drift away from the range covered by training windows in both level and amplitude (Figure 2(d)). These results suggest that historical shape can remain informative after its absolute level or amplitude becomes stale; when the level itself varies seasonally, older segments from the corresponding season can become useful again (Appendix C).
Observation 3: the value of retrieval depends on how much it complements the forecaster. The forecast formed by combining references corrects the forecast error when it captures variation the forecaster misses; when the forecaster already models the relevant pattern, redundant information and estimation error in the reference-based forecast can hurt. We define complementarity on this combined forecast : its correction to the forecaster output is useful when it aligns with the residual error . The optimal combination gain estimated on validation data correlates with realized test gain (Spearman 0.70, 0.52, and 0.48 at , 336, and 720; Figure 1(d)); Appendix C compares it and complementarity with simpler indicators. With the same memory, more accurate forecasters tend to have lower complementarity and smaller gains (Appendix C), consistent with Observation 1.
These observations raise the question this paper answers: can historical references keep reflecting the current state while the forecaster stays frozen, and can the weight of the forecast they form be set by how well its correction aligns with the forecaster's residual errors?
To this end, we propose FreshCast (Figure 3), which adds a calibrated residual correction from a streaming non-parametric memory to a frozen forecaster. It requires only the forecaster output and observed time series, allowing it to be attached to a wide range of trained forecasters without modifying their parameters. Two considerations guide the design. First, the same historical segment can be read by value using its raw values, or by shape after re-anchoring it to the query's level and amplitude. Recent segments are more likely to retain useful absolute values, whereas shape information can remain informative when the original level has become stale. A learned weighting mechanism, relational kernel regression, assigns weights to candidate readouts based on their relation to the query, including shape similarity, age, phase, level gap, and scale mismatch. Second, under squared error, the optimal linear coefficient for the residual correction has a closed form determined by the alignment and magnitude of the correction relative to the forecaster error. We estimate this coefficient in closed form on the validation segment; calibration introduces no trainable parameters, and a zero estimate returns the original forecast. Keeping the memory updated reduces one important source of mismatch between validation-time calibration and deployment-time retrieval.
Our main contributions are as follows.
-
We identify two key determinants of retrieval utility for frozen forecasters: the timeliness of retrieved history and the alignment between memory-induced corrections and residual forecaster errors. We further show that memory staleness can shift this relationship between validation and deployment.
-
We propose FreshCast, a plug-in framework that continuously refreshes a non-parametric memory while keeping the base forecaster frozen, and calibrates its residual correction in closed form on the validation segment. Under a simplified model with level and amplitude variation and periodic structure, we characterize the achievable linear-combination gain, analyze how memory age and look-back length affect retrieval utility, and bound the probability that validation-calibrated combination underperforms the base forecaster.
-
Across ten forecasters, seven datasets, and three input lengths, FreshCast consistently reduces average forecasting error and achieves lower MSE than the evaluated retrieval-augmented baselines in each baseline's comparison setting, as well as the frozen-backbone DynaME baseline. Freezing the memory at the end of training removes most of the improvement, showing that post-training observations are a primary source of the gain, and giving RAFT the same observations does not close the gap.

(a)
(b)

f: forecaster r: memory forecast
(c)
(d)
Figure 1: (a) MSE reduction brought by the same retrieval scheme (GTR) and by FreshCast on forecasters ranked by validation error; brackets: gap in percentage points. (b) Average MSE reduction of GTR and FreshCast relative to the forecaster as the input length L grows (MLP, DLinear, iTransformer). (c) Existing retrieval-augmented forecasting versus FreshCast. (d) Validation-estimated optimal combination gain versus realized test gain of FreshCast (L = 96, ten forecasters; Spearman correlation 0.70).
window. We leave the forecaster unchanged and supply this information from outside.
Retrieval-augmented time-series forecasting. Retrieval-augmented methods retrieve historical segments similar to the current context and use their continuations as forecasting references [8]. Existing work improves how history is represented, as PFRP does with a contrastively trained encoder [6]; how references are organized, as GTR does with a reference table indexed by periodic position [2]; how references are selected, as SARAF does by diversifying them according to the stationarity of the data [37]; and how references are fused, as in the fusion modules of RAFT and SARAF trained jointly with the forecaster [8, 37]. In these methods, the retrieval memory is constructed from the training segment, so observations revealed after deployment do not enter the candidate set. Work on foundation models extends retrieval to other series and knowledge bases [25, 28]. Another line of work keeps the forecaster unchanged and adds retrieval results as a correction: kNN-MTS sets the mixing weight by retrieval distance [33], while CRAFT uses a small fixed coefficient [11]. In neither case is the mixing coefficient calibrated from the alignment between the retrieval-induced correction and the residual errors of the attached forecaster. KUP-BI extracts future trends from a history library restricted to the training segment and injects them into the forecaster through feature-level gating [22]. RAF requires the retrieval memory to contain only time steps strictly earlier than the forecast window of the query, but constructs this memory once when the data are split [28]; we enforce the same causal constraint at every forecast origin while allowing the memory to grow with newly observed data.
Distribution shift and online forecasting. Non-stationary forecasting methods mitigate distribution variation through normalization or learned transformations of input statistics [7, 13, 20, 21, 31]. Test-time adaptation and online forecasting methods exploit ground truth that arrives during deployment. TAFAS, FSNet, OneNet, SOLID, DSOF, and Proceed update the forecaster or adaptation modules by gradient descent [3, 12, 14, 26, 34, 35]; ST-TTC updates a frequency-domain calibrator [4]; ELF fits a linear forecaster online by closed-form least squares [15]; and DynaME fits experts in closed form on period-lagged samples at every step [9]. Its periodic experts, like our seasonal analogs, use samples from the same phase several periods back. These approaches incorporate newly observed data by updating the forecaster, an adaptation module, or online-fitted predictive components. FreshCast updates no parameter during deployment: new observations are written into a non-parametric memory as raw values and read out by retrieval.
3 Method
3.1 Problem Setting
A series has C channels, each standardized with the mean and standard deviation of its training segment. At forecast origin t, a frozen base forecaster (the forecaster for short) takes the lookback window of length L over all channels and outputs the next H steps; its parameters are fixed after training. During deployment, all observations up to t have arrived, but the part outside the lookback window cannot enter the forecaster. Memory retrieval and the resulting memory forecast are constructed per channel; the combination weight introduced in Section 3.5 is shared across the channels of a dataset, for each forecaster and forecast horizon. Fixing one channel, we denote its standardized series by y and the forecaster output on this channel by . The current query is the latest steps of the channel, , with mean and standard deviation . We call a historical segment available in the memory a candidate and require every observation it uses to be no later than the forecast origin, a condition we call causal admissibility: for a past window ending at time s together with its next H steps,
At every forecast origin, retrieval uses only causally admissible candidates, i.e., observations available by time t. Ground-truth futures serve as labels for training relational kernel regression, for its loss scale , for validation-based calibration and model selection, and for offline evaluation on the test segment.
3.2 Overview
As shown in Figure 3, FreshCast has three components. (i) A streaming non-parametric memory absorbs newly arrived observations at

(a)
(b)
(c)
(d)
Figure 2: What retrieval returns. (a) On Traffic, joint distribution of phase offset and age for the candidate pool and for segments retrieved by raw cosine similarity, RAFT, and PFRP. (b) Cumulative age distribution of the ten most useful references in a post hoc evaluation (solid) and of the candidate pool (dashed); legend: share of useful references newer than the static memory. (c) Error of same-phase value readouts by age (solid), without the level term (dashed), and the level term (shaded); Traffic, top; ETTh1, bottom. (d) Level and amplitude of Traffic windows in the static memory, after training, and at test queries; contours: 50% (solid) and 90% (dashed) of each group; circles: medians; dashed box: 1–99% range of the static memory.
every forecast origin and supplies causally admissible candidates for each query. (ii) Relational kernel regression weights each candidate by its relation to the query and aggregates the candidates into a memory forecast . (iii) Combination-weight calibration estimates a combination weight in closed form on the validation segment. The final output combines the forecaster output with the residual correction through a combination weight :
and FreshCast sets w to the calibrated of Section 3.5. During deployment only the memory is updated, and all parameters stay fixed.
3.3 Streaming Non-Parametric Memory and Candidates
The memory stores the standardized raw series of each channel and, for every historical window, its mean, standard deviation, and normalized shape vector, which are added as new windows arrive.
Two families of candidates. Seasonal analogs use daily and weekly reference points 1 to J periods back, at the same phase as the query. Each candidate spans the following observed period, tiled when H exceeds the period; candidates come only from the most recent K days. The memory also maintains, for the daily and the weekly phase, two exponentially smoothed seasonal profiles with different half-lives; their values at the phases of the next H steps, shifted to the query mean, serve as supplementary seasonal candidates. Shape analogs are retrieved from a pool containing every window within the most recent K days that satisfies Eq. (1), together with Q windows sampled at random from earlier history; the continuations of the N windows whose normalized shape vectors are most cosine-similar to the query are used.
Two readouts. The continuation of a piece of history can be read by value, using its raw values, or by shape, standardizing it with the mean and standard deviation of the candidate's own past window and rescaling it to the level and amplitude of the query:
Because older segments deviate mainly in level (Observation 2, Proposition 4.2), seasonal analogs provide both readouts, and relational kernel regression allocates weight between them mainly according to the level gap; shape analogs may come from distant history and use the shape readout to reduce level and scale differences from the query.
3.4 Relational Kernel Regression
Each query has a few hundred candidates, and which readout of a candidate can be trusted depends on how the candidate relates to the current state (Section 3.3). In our ablations, the correction from relational kernel regression is more correlated with the forecaster's test errors than that of the untrained rule (Appendix C). For each candidate i we construct a relation descriptor from its family and readout, shape similarity, age, phase distances, level gap , and scale ratio , together with series descriptors of the training segment (14 in total; Appendix A). The scoring function is the sum of a linear term and a multilayer perceptron, and the weights are normalized over the valid candidates:
where the inverse temperature is determined by the similarity distribution of the candidate set and the series descriptors. Relational kernel regression only assigns weights and generates no values itself. It is trained with queries as samples, with the loss normalized by the validation error of an untrained baseline on each channel:
One relational kernel regression model is trained per forecast horizon and shared across sampled channels of all datasets; training

(a) Observed history
(b) Two candidate families
(c) Value and shape readouts
Figure 3: Overview of FreshCast. Top: (1) the streaming memory supplies seasonal analogs, seasonal profiles, and shape analogs, and relational kernel regression weights their readouts into the memory forecast ; (2) is estimated on the validation segment and fixed at test time. Bottom: (a) observed history and causal admissibility ; (b) the two candidate families; (c) the value and shape readouts.
samples come from the training segment, and the loss scale is estimated on the validation segment.
3.5 Combination-Weight Calibration
Let the forecaster error be . By Eq. (2), the combined error is , whose mean squared error is quadratic in and minimized at , with and (Proposition 4.1). The more aligned the residual correction is with the forecaster error, the larger . For a given forecaster, per dataset and forecast horizon, we compute on the validation segment
where the sums run over validation origins, channels, and forecast steps; is then used on the test segment. When , and the output equals the forecaster output exactly, which we call the safe fallback.
3.6 Training and Inference
Within FreshCast, only the relational kernel regression module is trained, with about parameters. The forecaster is trained with its official configuration and frozen; there is no joint optimization, and attaching a forecaster only requires computing Eq. (6). The candidate pool and the number of candidates per query are set by K, Q, N, and J and do not grow with deployment time.
4 Theoretical Analysis
Under a simplified generative model, we explain the three observations and ground the memory, the readouts, and the calibration of FreshCast (proofs in Appendix B, checks in Appendix C).
Setting. Fix one channel and let t be the query origin.
Assumption 1. The series satisfies , where has period with zero mean and unit mean square over one period, is i.i.d. with variance and independent of , and the increments of level and amplitude are independent of the phase.
Let and . The forecaster is , the memory forecast , and the output . With and , let , , and , and define the uncentered correlation , the complementarity , and the divergence .
PROPOSITION 4.1 (COMBINATION GAIN). (i) For any w, MSE(w) = with . If , the largest error reduction relative to the forecaster is ; if , the optimal weight is 0. (ii) If and is zero-mean jointly Gaussian, . (iii) If, in addition, is independent of f, then .
Part (i) is the classical optimal combination of two forecasts [1], written for the forecaster and the memory forecast. The attainable combination gain depends on the second-order relation between forecaster error and memory correction; under the assumptions of parts (i)–(iii), it is a monotone function of conditional mutual information.
PROPOSITION 4.2 (TIMELINESS). Let a candidate share the phase of the query and have age . (i) The error of the value readout is . (ii) If the level process is a stationary, mixing Markov process, then is non-increasing in and tends to zero. (iii) If level and amplitude are approximately constant over one look-back window plus one horizon, the error of the shape readout does not depend on to first order.
Consequently, with training ending at , the minimum age of segments in a static memory, , grows linearly with deployment time, and the information about the current level carried by value-read references decays accordingly, whereas the minimum age in a streaming memory is always (Corollary B.1 in Appendix B). When the level oscillates seasonally, the Markov condition fails and segments from one year earlier regain low error.
PROPOSITION 4.3 (A SUFFICIENTLY LONG INPUT REMOVES THE PERIODIC PART). Split the memory into a periodic part and a state part after the end of training. Then , and if and are conditionally independent given when , the first term vanishes.
A sufficiently long input window therefore removes the periodic part of the upper bound on the gain; whether the remaining state part is positive is an empirical question (Sections 5.2 and 5.5).
THEOREM 4.4 (HARM PROBABILITY OF THE CALIBRATED WEIGHT). Let and let be estimated from validation samples by Eq. (6). (i) MSE( ) - S_{ee} = S_{dd} \left[ (\hat{w} - w^*)^2 - w^*^2 \right], so is worse than the forecaster if and only if . (ii) If the samples are i.i.d. and follow the test distribution, and and are the variances and bounds of and , then
(iii) Under the test distribution, (i) holds with and replaced by their test counterparts, so the harm at deployment is determined jointly by the estimation error and the shift between the optimal weights on the validation and test segments.
When , the probability of doing worse than the forecaster decays exponentially in . In our ablations, training-segment estimates tend to be too low when the forecaster has lower training than validation error, while validation estimates for static memory tend to be too high at test time; part (iii) characterizes the effect of these shifts on error (Section 5.4). The optimal weight still shifts when the relative reliability of the forecaster and the memory changes between the validation and test segments (the worst setting in Section 5.6); Appendix C reports how often this causes harm. The analysis assumes an additive, per-channel model, whereas the combination weight of FreshCast pools channels within a dataset.
5 Experiments
5.1 Experimental Setup
Data and forecasters. We use seven long-term forecasting benchmarks: ETTh1, ETTh2, ETTm1, ETTm2, Weather, Electricity, and Traffic [30, 36], split chronologically into training, validation, and test segments (12/4/4 months for ETT and 7:1:2 otherwise). The main experiments are multivariate, and all consecutive test origins are evaluated. The forecasters are MLP, DLinear [32], PatchTST [24], iTransformer [19], and CycleNet [17], together with TQNet [16], XLinear [5], MixLinear [23], TimeBase [10], and CMoS [27], proposed in 2025–2026; each is trained with its official configuration and then frozen. To compare short and long inputs, we use and horizons ; PatchTST is evaluated only at and 336.
Baselines. We compare FreshCast with GTR [2], RAFT [8], and PFRP [6], each in the comparison setting described below. GTR provides implementations attached to MLP, DLinear, PatchTST, and iTransformer. RAFT is a complete model with a shallow linear backbone, and we compare it with the structurally closest MLP+FreshCast. PFRP has only a univariate implementation, and we compare on the four forecasters in its paper, SparseTSF [18], DLinear, PatchTST, and TimesNet [29], with its target channels and L = 96. Unless otherwise stated, retrieval baselines use the hyperparameter settings reported in their original papers. The online forecasting method DynaME [9] is compared in our setting: a frozen iTransformer without time features (the variant DynaME natively supports), L = 96, and hyperparameters selected on the validation segment only (Appendix A).
Evaluation. We report MSE and MAE. Model selection, early stopping, and estimation of the combination weight use only the validation segment. We train each forecaster with three seeds and average the results; the hyperparameters of FreshCast are identical across datasets, forecasters, and input lengths (Appendix A).
5.2 Generality
FreshCast reduces the average error for every evaluated forecaster–input-length combination (Table 1, Figure 4(a)). Across 812 settings, FreshCast reduces MSE in 789, reproduces the forecaster’s output with zero combination weights in 13, and increases MSE in 10. The mean reduction is 14.6% across ten forecasters at L = 96 and 5.6% across nine at L = 720, and on the original forecasters evaluated at each length a paired test over (dataset, H, forecaster, forecaster seed) units is significant at all three input lengths ( ). Taking each dataset as one unit, the most conservative grouping, all seven datasets improve at every input length (exact Wilcoxon signed-rank test, p = 0.016, the minimum for seven units). The improvement shrinks as the input lengthens but persists at the longest input, consistent with Observation 1 and Proposition 4.3: periodic memory information can become redundant as the look-back grows, while post-training observations can still provide additional information. Lengthening the query of FreshCast itself does not restore the gain at long inputs (Appendix A). Results for all three input lengths are in Appendix E.
5.3 Comparison with Retrieval-Augmented and Online Methods
In each baseline’s comparison setting, FreshCast attains lower MSE (Table 2, Figure 4(b)). Relative to GTR, MSE is lower in 294 of 308 settings. With long inputs, the gain of GTR disappears or turns negative (-5.6% at L = 336, mainly from PatchTST, and +0.7% at L = 720), whereas FreshCast still improves these forecasters by 4.2%–9.4%. Relative to the original RAFT model, MSE is lower in 28/28, 24/28, and 26/28 settings at the three input lengths, including RAFT’s own L = 720 setting. With the trained RAFT models fixed
Table 1: Test MSE of the ten forecasters alone (Base) and with FreshCast at , averaged over the four horizons. The upper block shows the five original forecasters and the lower block the five forecasters proposed in 2025–2026.
| Dataset | MLP | DLinear | PatchTST | iTransformer | CycleNet | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | |
| ETTh1 | 0.449 | 0.403 | 0.462 | 0.438 | 0.485 | 0.461 | 0.472 | 0.405 | 0.450 | 0.403 |
| ETTh2 | 0.374 | 0.368 | 0.560 | 0.371 | 0.530 | 0.372 | 0.387 | 0.375 | 0.378 | 0.374 |
| ETTm1 | 0.383 | 0.330 | 0.403 | 0.339 | 0.434 | 0.350 | 0.413 | 0.336 | 0.380 | 0.330 |
| ETTm2 | 0.279 | 0.250 | 0.347 | 0.251 | 0.356 | 0.251 | 0.290 | 0.252 | 0.270 | 0.248 |
| Weather | 0.258 | 0.224 | 0.267 | 0.227 | 0.255 | 0.226 | 0.270 | 0.227 | 0.246 | 0.222 |
| Electricity | 0.190 | 0.158 | 0.210 | 0.159 | 0.190 | 0.155 | 0.175 | 0.153 | 0.168 | 0.155 |
| Traffic | 0.459 | 0.394 | 0.626 | 0.400 | 0.550 | 0.397 | 0.424 | 0.384 | 0.484 | 0.394 |
| TQNet | XLinear | MixLinear | TimeBase | CMoS | ||||||
| ETTh1 | 0.444 | 0.402 | 0.433 | 0.400 | 0.447 | 0.399 | 0.463 | 0.401 | 0.475 | 0.398 |
| ETTh2 | 0.378 | 0.374 | 0.372 | 0.370 | 0.384 | 0.378 | 0.405 | 0.386 | 0.394 | 0.375 |
| ETTm1 | 0.378 | 0.330 | 0.374 | 0.330 | 0.422 | 0.334 | 0.427 | 0.335 | 0.401 | 0.334 |
| ETTm2 | 0.278 | 0.249 | 0.272 | 0.249 | 0.288 | 0.253 | 0.291 | 0.254 | 0.286 | 0.253 |
| Weather | 0.242 | 0.222 | 0.238 | 0.219 | 0.275 | 0.228 | 0.253 | 0.223 | 0.253 | 0.225 |
| Electricity | 0.165 | 0.150 | 0.172 | 0.154 | 0.224 | 0.160 | 0.227 | 0.160 | 0.203 | 0.160 |
| Traffic | 0.445 | 0.389 | 0.465 | 0.395 | 0.637 | 0.400 | 0.681 | 0.400 | 0.552 | 0.399 |

(a)
(b)

(c)
(d)
Figure 4: Main results. (a) MSE reduction of FreshCast relative to each forecaster at the three input lengths; top row: mean over forecasters. (b) MSE reduction relative to the forecaster of each retrieval-augmented baseline (hollow; diamonds: RAFT with a streaming bank) and of FreshCast (filled); numbers: gap in percentage points. (c) Distribution of per-setting MSE reduction of FreshCast relative to the forecaster, +GTR, RAFT, and +PFRP (bars: interquartile range; circles: medians; dots: settings), with the number of positive settings. (d) MSE reduction relative to the forecaster at when new observations are written into parameters (online fine-tuning, DynaME) or into the memory (FreshCast); brackets: gap in percentage points.
and their test-time bank growing under the same causal rule, RAFT has access to the same information and improves by 3.1% at L = 96, but not at L = 336 and 720. FreshCast's MSE remains 10.0%, 4.9%, and 4.3% lower: having the new observations is not enough by itself. Relative to PFRP, FreshCast's MSE is significantly lower on all four forecasters (seed-level paired tests, ), and on SparseTSF, the main model of PFRP, FreshCast is better on five of the seven datasets. With the forecaster frozen, FreshCast also has lower MSE than the online forecasting method DynaME in 27 of 28 settings, by 7.1% on average ( ). DynaME reduces the error of the forecaster by 5.8%, about half of the 12.4% achieved by FreshCast. Under this protocol, the original DynaME variant does not significantly outperform the frozen-backbone variant (17/28 settings improve; mean MSE change -0.5%, p = 0.13).
5.4 Ablation
The ablations change only the design choices of Section 3 (Table 3), on seven datasets and all channels, with MLP, iTransformer, and CycleNet at ; the forecaster seed is 2024 and kernel seeds are 0–2.
Timeliness of the memory and where the weight is estimated. In the upper block of Table 3, we cross a static memory (frozen at the end of the training segment) or a streaming memory with a combination weight estimated by Eq. (6) on the training or the validation segment. For these three forecasters, only the streaming memory with validation estimation is best at both input lengths, with no setting worse than the forecaster. With a static memory, the error reduction at shrinks from about to about . FreshCast underperforms the forecaster in some settings, and on five datasets in some of the eight equal test-period intervals (Appendix C). With a streaming memory, the weight estimated on the training segment is smaller, about half of the validation estimate at
Table 2: Average MSE change of FreshCast relative to retrieval-augmented methods in their comparison settings and to DynaME with the forecaster frozen (negative: lower MSE with FreshCast; dashes: not evaluated).
| Method | Forecaster | |||
|---|---|---|---|---|
| GTR | MLP | -7.8% | -4.1% | -3.9% |
| DLinear | -15.2% | -7.6% | -8.7% | |
| PatchTST | -18.3% | -21.9% | - | |
| iTransformer | -12.6% | -8.0% | -8.2% | |
| RAFT (original) | MLP | -12.7% | -5.1% | -4.0% |
| RAFT, streaming | MLP | -10.0% | -4.9% | -4.3% |
| PFRP | SparseTSF | -3.2% | - | - |
| DLinear | -8.2% | - | - | |
| PatchTST | -4.5% | - | - | |
| TimesNet | -4.5% | - | - | |
| DynaME | iTransformer | -7.1% | - | - |
Without time features, as natively supported by DynaME. Test-time bank grows with observations (Appendix D).
; this holds when the forecaster has lower training than validation error (Appendix E). The two factors interact in the variant combining a static memory with training-segment estimation: on the training segment the two memories have identical contents, and the weight estimated there reflects the value of a fresh memory. Applying it to the outdated static memory makes the error at about higher than that of the forecaster. These are the two shifts characterized by Theorem 4.4(iii).
Content of the memory and the readouts. Seasonal analogs provide most of the gain: using only shape analogs raises the error at by about relative to the full method, shape analogs add a further , and the seasonal profiles add none (Appendix A). This gain does not grow with how periodic a channel is (Appendix E). The value readout of recent segments contributes materially: using only the shape readout for seasonal analogs raises the error by about . With the same streaming memory, an untrained rule selected per channel already reduces the error at by , , and , more than the full method with a static memory: the freshness of the memory matters more than how it is read. For these three forecasters, the untrained rule still has about and higher MSE at and 720 and underperforms the forecaster in 25 of 168 settings, whereas relational kernel regression does so in none; all 25 satisfy the harm condition in Theorem 4.4 (Appendix C). The share of the shape readout among seasonal analogs rises from to as the level gap grows from below 0.5 to above 4. When grouped by age, the youngest segments have the highest shape-readout share in the streaming memory, although value readouts still receive over of their weight (Figure 5).
5.5 Where Does the Improvement Come From?
Under the controls below, the improvement comes from the newly arrived observations in the memory and from the retrieved content.
Where new observations are written. The same deployment-time observations could instead be written into the parameters of the forecaster. Fine-tuning the forecaster daily on them reduces its error by only , and FreshCast achieves lower MSE than online
Table 3: Ablation: MSE change (%) relative to the forecaster; Recent averages the five forecasters proposed in 2025–2026 (Appendix E). A superscript gives the number of settings worse than the forecaster (of 28, or of 140 for Recent; omitted when zero). The upper block crosses the timeliness of the memory with where the combination weight is estimated; the lower block changes the memory content, the readout, or the kernel, with a streaming memory and the validation estimate .
| Variant | ||||||||
|---|---|---|---|---|---|---|---|---|
| MLP | iTr. | Cyc. | Recent | MLP | iTr. | Cyc. | Recent | |
| Streaming, validation (full) | -11.4 | -12.4 | -9.6 | -14.0 | -4.7 | -8.6 | -4.8 | |
| Streaming, training | -11.0 | -12.0 | -9.2 | -14.2 | -3.7 | -5.4 | -3.4 | |
| Static, validation | ||||||||
| Static, training | ||||||||
| Shape analogs only | -7.0 | -8.1 | -5.7 | -6.8 | ||||
| Seasonal analogs only | -10.5 | -11.8 | -9.0 | -13.2 | -7.7 | -4.2 | ||
| Seasonal, shape readout only | -8.9 | -10.1 | -7.3 | -11.8 | -7.2 | -4.0 | ||
| Untrained rule for kernel | ||||||||
fine-tuning (, MLP and PatchTST; setup in Appendix D). In these settings, neither writing new observations into parameters nor adding them to RAFT's bank (Section 5.3) yields the gain of writing them into FreshCast's memory (Figure 4(d)).
What the retrieved content contributes. We replace the channel's memory with that of another channel while keeping the relational kernel regression parameters unchanged. With this memory, the gain disappears and the combination weight falls below 0.08, so the parameters alone do not carry the gain. Excluding the steps before the origin from the memory, to test whether the gain rests on them, raises the error by less than . A tiling of the most recent complete period supplies only the periodic structure. On Traffic and Electricity its average MSE change at is and , whereas the full memory still improves by , consistent with Proposition 4.3. Finally, a calibrated combination with a persistence forecast in place of the memory forecast brings almost no improvement (weight below 0.13, error change within ).
5.6 Safety and Efficiency
The 10 of 812 settings with higher error than the forecaster all come from the recent forecasters and from PatchTST with long inputs; the worst is CMoS on ETTh2 at , with higher error. CMoS is worse than the memory on the validation segment but better on the test segment; the estimated weight is therefore 0.89 against a test optimum of 0.19, the failure case of Theorem 4.4(iii).
FreshCast does not retrain the forecaster. On Traffic (), candidate generation, training of relational kernel regression, and weight estimation take 3.99 minutes in total on a single CPU thread and are shared by all forecasters, whereas GTR retrains the whole model for every forecaster, at an extra 4.7 to 80.5 minutes of GPU training. Inference at one origin (862 channels) takes 1.36 s on one thread and 0.061 s with 48 processes, negligible relative to Traffic's one-hour sampling interval. The current implementation stores the shapes of all past windows (6.36 GiB on Traffic, comparable to the 6.5 GiB retrieval keys of RAFT); a bounded-storage design is estimated at 1.6 GiB but has not been implemented or measured. Average accuracy is insensitive to the recent-window length: with K = 28, 56, or 112 days, the error differs by at most 0.3% (Appendix A), so K can follow the storage budget; all results use K = 112.
6 Conclusion
We studied why retrieval-augmented forecasting brings limited gains on frozen forecasters and identified two interrelated key determinants: historical segments with similar shapes can carry outdated levels, and the gain of the forecast formed from the references depends on how well its correction aligns with the forecaster's residual errors. This alignment can be estimated before deployment; keeping the memory updated and estimating the weight on data the forecaster has not seen reduce the shifts caused by outdated references and by estimation on training data. Accordingly, FreshCast keeps the forecaster frozen, continuously updates a streaming non-parametric memory, and calibrates the combination weight in closed form on the validation segment, reducing the error across forecasters and input lengths. For a frozen forecaster, what retrieval can offer is the new observations it has never seen and the patterns it has not yet captured; deciding query by query whether a reference can be trusted remains an open problem.
References
[1] J. M. Bates and C. W. J. Granger. 1969. The Combination of Forecasts. Operational Research Quarterly 20, 4 (1969), 451–468.
[2] Fanpu Cao, Lu Dai, Jindong Han, and Hui Xiong. 2026. Enhancing Multivariate Time Series Forecasting with Global Temporal Retrieval. In International Conference on Learning Representations.
[3] Mouxiang Chen, Lefei Shen, Han Fu, Zhuo Li, Jianling Sun, and Chenghao Liu. 2024. Calibration of Time-Series Forecasting: Detecting and Adapting Context-Driven Distribution Shift. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 341–352. doi:10.1145/3637528.3671926
[4] Wei Chen and Yuxuan Liang. 2025. Learning with Calibration: Exploring Test-Time Computing of Spatio-Temporal Forecasting. In Advances in Neural Information Processing Systems.
[5] Xinyang Chen, Huidong Jin, Yu Huang, and Zaiwen Feng. 2026. XLlinear: A Lightweight and Accurate MLP-Based Model for Long-Term Time Series Forecasting with Exogenous Inputs. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 20325–20335. doi:10.1609/aaai.v40i24.39121
[6] Dazhao Du, Tao Han, and Song Guo. 2026. Predicting the Future by Retrieving the Past. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 20896–20904. doi:10.1609/aaai.v40i25.39230
[7] Wei Fan, Pengyang Wang, Dongkun Wang, Dongjie Wang, Yuanchun Zhou, and Yanjie Fu. 2023. Dish-TS: A General Paradigm for Alleviating Distribution Shift in Time Series Forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 37. 7522–7529. doi:10.1609/aaai.v37i6.25914
[8] Sungwon Han, Seungeon Lee, Meeyoung Cha, Sercan Ö. Arik, and Jinsung Yoon. 2025. Retrieval Augmented Time Series Forecasting. In Proceedings of the 42nd International Conference on Machine Learning.
[9] Seungha Hong, Sukang Chae, Suyeon Kim, Sanghwan Jang, and Hwanjo Yu. 2026. Dynamic Multi-period Experts for Online Time Series Forecasting. In Proceedings of the ACM Web Conference 2026. 7669–7678. doi:10.1145/3774904.3792731
[10] Qihe Huang, Zhengyang Zhou, Kuo Yang, Zhongchao Yi, Xu Wang, and Yang Wang. 2025. TimeBase: The Power of Minimalism in Efficient Long-term Time Series Forecasting. In Proceedings of the 42nd International Conference on Machine Learning.
[11] Junhyeok Kang, Jun Seo, Soyeon Park, Sangjun Han, Seohui Bae, Hyeokjun Choe, and Soonyoung Lee. 2026. Channel-Wise Retrieval for Multivariate Time Series Forecasting. In IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). 1336–1340. doi:10.1109/ICASSP55912.2026.11463178
[12] HyunGi Kim, Siwon Kim, Jisoo Mok, and Sungroh Yoon. 2025. Battling the Non-stationarity in Time Series Forecasting via Test-time Adaptation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 17868–17876. doi:10.1609/aaai.v39i17.33965
[13] Taesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park, Jang-Ho Choi, and Jaegul Choo. 2022. Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift. In International Conference on Learning
Representations.
[14] Ying-yee Ava Lau, Zhiwen Shao, and Dit-Yan Yeung. 2025. Fast and Slow Streams for Online Time Series Forecasting Without Information Leakage. In International Conference on Learning Representations.
[15] Thomas L. Lee, William Toner, Rajkarn Singh, Artjom Joosen, and Martin Asenov. 2025. Lightweight Online Adaption for Time Series Foundation Model Forecasts. In Proceedings of the 42nd International Conference on Machine Learning.
[16] Shengsheng Lin, Haojun Chen, Haijie Wu, Chunyun Qiu, and Weiwei Lin. 2025. Temporal Query Network for Efficient Multivariate Time Series Forecasting. In Proceedings of the 42nd International Conference on Machine Learning.
[17] Shengsheng Lin, Weiwei Lin, Xinyi Hu, Wentai Wu, Ruichao Mo, and Haocheng Zhong. 2024. CycleNet: Enhancing Time Series Forecasting through Modeling Periodic Patterns. In Advances in Neural Information Processing Systems.
[18] Shengsheng Lin, Weiwei Lin, Wentai Wu, Haojun Chen, and Junjie Yang. 2024. SparseTSF: Modeling Long-term Time Series Forecasting with 1k Parameters. In Proceedings of the 41st International Conference on Machine Learning.
[19] Yong Liu, Tengge Hu, Haoran Zhang, Haixu Wu, Shiyu Wang, Lintao Ma, and Mingsheng Long. 2024. iTransformer: Inverted Transformers Are Effective for Time Series Forecasting. In International Conference on Learning Representations.
[20] Yong Liu, Haixu Wu, Jianmin Wang, and Mingsheng Long. 2022. Non-stationary Transformers: Exploring the Stationarity in Time Series Forecasting. In Advances in Neural Information Processing Systems, Vol. 35. 9881–9893.
[21] Zhiding Liu, Mingyue Cheng, Zhi Li, Zhenya Huang, Qi Liu, Yanhu Xie, and Enhong Chen. 2023. Adaptive Normalization for Non-stationary Time Series Forecasting: A Temporal Slice Perspective. In Advances in Neural Information Processing Systems.
[22] Liu Chong, Yingjie Zhou, Hao Li, Pengyang Wang, Qingsong Wen, and Ce Zhu. 2026. Beyond Extrapolation: Knowledge Utilization Paradigm with Bidirectional Inspiration for Time Series Forecasting. In Proceedings of the 43rd International Conference on Machine Learning.
[23] Aitian Ma, Dongsheng Luo, and Mo Sha. 2026. MixLinear: Extreme Low Resource Multivariate Time Series Forecasting with 0.1K Parameters. In International Conference on Learning Representations.
[24] Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. 2023. A Time Series is Worth 64 Words: Long-term Forecasting with Transformers. In International Conference on Learning Representations.
[25] Kanghui Ning, Zijie Pan, Yu Liu, Yushan Jiang, James Y. Zhang, Kashif Rasul, Anderson Schneider, Lintao Ma, Yuriy Nevmyvaka, and Dongjin Song. 2025. TS-RAG: Retrieval-Augmented Generation based Time Series Foundation Models are Stronger Zero-Shot Forecaster. In Advances in Neural Information Processing Systems.
[26] Quang Pham, Chenghao Liu, Doyen Sahoo, and Steven C. H. Hoi. 2023. Learning Fast and Slow for Online Time Series Forecasting. In International Conference on Learning Representations.
[27] Haotian Si, Changhua Pei, Jianhui Li, Dan Pei, and Gaogang Xie. 2025. CMoS: Rethinking Time Series Prediction Through the Lens of Chunk-wise Spatial Correlations. In Proceedings of the 42nd International Conference on Machine Learning.
[28] Kutay Tire, Ege Onur Taga, Muhammed Emrullah Ildiz, and Samet Oymak. 2026. Retrieval Augmented Time Series Forecasting. In Proceedings of the 29th International Conference on Artificial Intelligence and Statistics.
[29] Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, and Mingsheng Long. 2023. TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis. In International Conference on Learning Representations.
[30] Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. 2021. Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting. In Advances in Neural Information Processing Systems.
[31] Weiwei Ye, Songgaojun Deng, Qiaosha Zou, and Ning Gui. 2024. Frequency Adaptive Normalization For Non-stationary Time Series Forecasting. In Advances in Neural Information Processing Systems.
[32] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. 2023. Are Transformers Effective for Time Series Forecasting?. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 37. 11121–11128. doi:10.1609/aaai.v37i9.26317
[33] Huiliang Zhang, Ping Nie, Lijun Sun, and Benoit Boulet. 2025. Nearest Neighbor Multivariate Time Series Forecasting. IEEE Transactions on Neural Networks and Learning Systems 36, 7 (2025), 12606–12618. doi:10.1109/TNNLS.2024.3490603
[34] Yifan Zhang, Qingsong Wen, Xue Wang, Weiqi Chen, Liang Sun, Zhang Zhang, Liang Wang, Rong Jin, and Tieniu Tan. 2023. OneNet: Enhancing Time Series Forecasting Models under Concept Drift by Online Ensembling. In Advances in Neural Information Processing Systems.
[35] Lifan Zhao and Yanyan Shen. 2025. Proactive Model Adaptation Against Concept Drift for Online Time Series Forecasting. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1. 2020–2031. doi:10.1145/3690624.3709210
[36] Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. 2021. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 35. 11106–11115. doi:10.1609/aaai.v35i12.17325
[37] Shiqiao Zhou, Holger Schöner, Zipeng Wu, Edouard Fouché, I. A. G. Wilson, and Shuo Wang. 2026. Stationarity-Aware Retrieval-Augmented Time Series Forecasting. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2. 6875–6886. doi:10.1145/3770855.3817813
A Implementation and Protocol
Datasets. Table 4 lists the seven datasets. Metrics in the multivariate tables are computed after rounding the forecasts to FP16, and those in the univariate table in FP32.
Table 4: Datasets.
| Dataset | Channels | Interval | Train / val / test | Daily | Weekly |
|---|---|---|---|---|---|
| ETTh1, ETTh2 | 7 | 1 hour | 8640 / 2880 / 2880 | 24 | 168 |
| ETTm1, ETTm2 | 7 | 15 min | 34560 / 11520 / 11520 | 96 | 672 |
| Weather | 21 | 10 min | 7:1:2 (52696) | 144 | 1008 |
| Electricity | 321 | 1 hour | 7:1:2 (26304) | 24 | 168 |
| Traffic | 862 | 1 hour | 7:1:2 (17544) | 24 | 168 |
Forecasters and baselines. The five original forecasters are trained in the public GTR code base with the official scripts (Traffic with long inputs borrows the training hyperparameters of Electricity at the same input length); PatchTST at uses the official script of its own repository. The five recent forecasters are trained with their official configurations for at most 30 epochs, with early-stopping patience 5. GTR uses the scripts of its repository, RAFT the settings in Table 6 of its paper, and PFRP rebuilds its memory and encoder from the training segment only; the PFRP comparison uses our data split, unlike the 6:2:2 ETT split of the PFRP paper.
DynaME comparison. DynaME uses the authors' public code (commit 0743ad6) without modification. Both methods use the same iTransformer checkpoints (no time features; architecture and hyperparameters as in the main table; three seeds). DynaME skips training, warms up its gate online on the validation segment, and runs online on the test segment; like FreshCast, it uses only windows whose full target sequence has been observed. Its hyperparameters are selected on the validation segment only: the learning rate ( for the frozen-backbone variant, plus for the original variant), then , , , and buffer length . For , the buffer is extended by steps to include the full target sequence for each sample.
Settings of FreshCast. The query length is ; seasonal analogs go back periods within the most recent days, each with both readouts (at most 32 candidates). Four exponentially smoothed seasonal profiles have half-lives of 1 day, 8 days, 1 week, and 4 weeks; removing them changes the average MSE by to . shape analogs are selected, with distant-history windows, giving about 236 candidates per query; candidate continuations are clipped to standardized units. The 14 relation descriptors are four flags (weekly, daily, value readout, profile), shape similarity, age, two phase distances, level gap, scale ratio, profile half-life, and three training-segment statistics (daily and weekly autocorrelation, mean squared difference). The scoring function is the sum of a linear term and a multilayer perceptron; the inverse temperature is a global parameter plus a correction from a small network, clipped to . Relational kernel regression is trained on 209 channels with about 31,000 training-segment queries per horizon, , AdamW (learning rate , weight decay ), batch size 256, and a fixed 30 epochs with cosine decay, using an exponential moving average of the parameters (decay 0.995). For the main tables, we train one model with each of five seeds. The untrained baseline that normalizes the loss in Eq. (5), and that replaces relational kernel regression in the ablation, is the mean of seasonal analogs, the mean of shape analogs, or a fixed mixture of the two, selected per channel on the validation segment. The combination weight is estimated from 100 validation origins per channel.
Sensitivity of the settings. Under the ablation protocol of Section 5.4, lengthening the query from to 336 or 720 raises the error by and at both and . Estimating on the training segment instead of the validation segment changes the error by to and leaves nearly unchanged. Shortening the recent window from to 56 or 28 days changes the error by to . The storage of the current implementation does not depend on , since it keeps all past windows. Because distant windows are selected by fixed random keys, storing only the recent days and distant windows would suffice; this design is not implemented, and its storage on Traffic, estimated from the window counts, is about 1.6, 1.2, and 0.9 GiB for , 56, and 28 days.
Causal admissibility. Shape analogs come only from windows with ; seasonal analogs, taken an integer number of periods back, end before ; seasonal profiles use only observations before . Current targets are never retrieved; test-period observations enter memory once they arrive, under the same constraint.
Hardware and timing. Experiments run on NVIDIA L20 GPUs (48 GB) with PyTorch 2.4.1 and CUDA 12.1; candidate generation and kernel inference of FreshCast run on the CPU. Timings are measured on Traffic with , with one dedicated GPU per method and a single CPU thread.
B Proofs
Notation follows Section 4.
Proposition 4.1. (i) Expanding and completing the square,
If , the minimum is attained at and the reduction is ; if , MSE is non-decreasing on and the optimal weight is 0. (ii) With zero means the uncentered correlation equals the correlation, and jointly Gaussian variables satisfy . (iii) Given , is a bijective transformation of , so ; if is independent of , .
Proposition 4.2. (i) Take an integer multiple of and write and . Then . Squaring and taking expectations, the noise cross terms vanish by independence; since the phase is independent of , , and , the result is . (ii) By the Markov property,
is a Markov chain for , so the data processing inequality gives monotonicity, and mixing gives the limit zero. (iii) Let level and amplitude be constant at within the candidate windows and at within the query windows. Substituting into Eq. (3) and expanding to first order in the estimation errors of the window statistics, the error contains only noise and these estimation errors, and not or ; it therefore does not depend on .
COROLLARY B.1. In a static memory, the continuation of the newest segment ends at and its past window at , so the minimum age at origin is , and by Proposition 4.2(ii) the information it carries about the current level is non-increasing in deployment time. A streaming memory absorbs every window with at each origin, so its minimum age is .
Proposition 4.3. The decomposition is the chain rule of mutual information, and conditional independence gives .
Theorem 4.4. (i) By Proposition 4.1(i), MSE( ) - , and S_{ee}\rho^2 = S_{dd}w^*^2. (ii) Let be the unclipped estimate. Then with and . For , clipping to only decreases . On the event , implies , hence
The two terms follow from the two-sided and one-sided Bernstein inequalities, with v and b the variance and bound of z, and and those of . (iii) is determined by the validation segment and independent of the test segment; repeating (i) under the test distribution gives the result.
C Theoretical Checks
Units are 129 diagnostic channels × 4 horizons × each forecaster × 3 relational-kernel seeds, with one forecaster seed; L = 96 and L = 336 use ten forecasters and L = 720 nine.
Proposition 4.1. Across quintiles of the validation-estimated optimal gain, whose Spearman correlations with the realized test reduction are given in Observation 3, the realized reduction of the combination at L = 96 is 5.7%, 9.0%, 12.0%, 16.0%, and 37.4%. reduces the error by 16.0%, 6.8%, and 5.2%, against 17.6%, 8.0%, and 6.5% for the post hoc optimal fixed weight. Comparing forecasters on the same channel, horizon, and seed, a forecaster with lower error has lower complementarity (mean within-group Spearman correlation 0.84) and a smaller realized reduction (0.91). When all units are pooled, complementarity correlates best with the realized reduction among the validation indicators at all three input lengths (Spearman 0.72, 0.56, and 0.51), followed by the memory-to-forecaster error ratio (-0.64, -0.39, -0.37); retrieval similarity (0.09–0.22), periodicity (-0.07 to +0.03), and either model's error alone (at most 0.11 in absolute value) correlate weakly.
Proposition 4.2. On the univariate target channels of six datasets, 81% to 99% of the error growth of value-read seasonal analogs with age comes from the level term, and the remainder stays roughly constant across ages. On ETTh2 and ETTm2, whose level oscillates seasonally, the most useful segments concentrate at the same season one year earlier. Figure 5 groups the weights relational kernel regression assigns to seasonal analogs by level gap and by segment age (all channels of ETT and Weather and 40 each of Electricity and Traffic, 200 test origins per channel, , three kernel seeds; ages beyond a year, 0.2% of the static memory, are omitted): the share of the shape readout rises with the level gap under both memories; when grouped by age, the youngest segments have the highest share in the streaming memory. Over 8.3 million paired readouts of the same seasonal analogs (per-channel medians and win rates by age, averaged equally within and across datasets; errors in units of each channel's mean value-readout error), from under two days to 16–32 weeks the value-readout median rises from 0.37 to 1.22 while the shape-readout median stays within 0.40–0.48, and the shape readout's win rate rises from 27% to 72%, crossing at two to four weeks; on Traffic (level gap below 0.25) the value readout wins at every age. As 1%–3% of shape readouts are amplified more than tenfold, this holds for medians and win rates but not means.

(a) Level gap
(b) Segment age (days)
Figure 5: Shape-readout share of the kernel weights on seasonal analogs, by level gap (a) and segment age (b); numbers in (a): gap between static and streaming memory in percentage points.
Proposition 4.3. When the memory is replaced with a periodic tiling and all other components are kept, the reduction on Traffic and Electricity falls from 2.5%-7.9% at L = 96 to -0.1% and 0.8% on average at L = 720 (combination weights 0.03-0.13), whereas the full memory still improves by 1.8%-7.1%. On ETT, L = 96 already covers the daily period and the tiling carries the latest values of the previous period, so its gain persists at long inputs.
Theorem 4.4. Under i.i.d. resampling, the harm probability falls monotonically with sample size and complementarity, and its logarithm has a correlation of -0.73, -0.71, and -0.85 with . When the validation is applied to the test segment, the combination underperforms the forecaster in 4.0%, 5.7%, and 6.9% of units at the three input lengths, all with . When units are grouped by validation complementarity, the harm rate of the pooled at falls from 19.4% for in 0–0.05 to 0.9% above 0.3; pooling over a dataset yields lower harm rates than per-channel weights at and 720 (5.7% against 6.8%, 6.9% against 7.6%), consistent with the role of in part (ii).
Two distribution shifts. On seven datasets and three forecasters, the training-segment weight is smaller than the validation in 220 of 252 pairs at ( ), with the same but weaker direction at (154 of 252). With a static memory, the validation exceeds the test optimum in 20–27 of 28 settings; with a streaming memory it is slightly below the test optimum. We split
Table 5: Test MSE of the ten forecasters alone (Base) and with FreshCast at and , averaged over the four horizons. PatchTST is not evaluated at .
| Dataset | MLP | DLinear | PatchTST | iTransformer | CycleNet | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | ||
| ETTh1 | 336 | 0.430 | 0.402 | 0.427 | 0.424 | 0.425 | 0.406 | 0.463 | 0.410 | 0.439 | 0.410 |
| 720 | 0.441 | 0.402 | 0.442 | 0.424 | - | - | 0.485 | 0.409 | 0.440 | 0.400 | |
| ETTh2 | 336 | 0.373 | 0.361 | 0.476 | 0.365 | 0.344 | 0.344 | 0.376 | 0.359 | 0.374 | 0.362 |
| 720 | 0.362 | 0.357 | 0.552 | 0.361 | - | - | 0.386 | 0.364 | 0.367 | 0.358 | |
| ETTm1 | 336 | 0.362 | 0.331 | 0.358 | 0.338 | 0.352 | 0.329 | 0.370 | 0.334 | 0.362 | 0.330 |
| 720 | 0.360 | 0.334 | 0.357 | 0.339 | - | - | 0.375 | 0.335 | 0.362 | 0.333 | |
| ETTm2 | 336 | 0.267 | 0.250 | 0.287 | 0.247 | 0.257 | 0.246 | 0.279 | 0.250 | 0.270 | 0.250 |
| 720 | 0.266 | 0.248 | 0.269 | 0.246 | - | - | 0.288 | 0.251 | 0.263 | 0.249 | |
| Weather | 336 | 0.234 | 0.220 | 0.245 | 0.225 | 0.230 | 0.219 | 0.239 | 0.222 | 0.226 | 0.217 |
| 720 | 0.234 | 0.223 | 0.237 | 0.226 | - | - | 0.237 | 0.224 | 0.224 | 0.219 | |
| Electricity | 336 | 0.162 | 0.155 | 0.167 | 0.156 | 0.163 | 0.156 | 0.163 | 0.151 | 0.158 | 0.153 |
| 720 | 0.160 | 0.154 | 0.160 | 0.155 | - | - | 0.163 | 0.151 | 0.157 | 0.153 | |
| Traffic | 336 | 0.397 | 0.384 | 0.450 | 0.397 | 0.410 | 0.390 | 0.392 | 0.378 | 0.413 | 0.387 |
| 720 | 0.391 | 0.384 | 0.443 | 0.396 | - | - | 0.387 | 0.376 | 0.400 | 0.386 | |
| Dataset | TQNet | XLinear | MixLinear | TimeBase | CMoS | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | Base | +FreshCast | ||
| ETTh1 | 336 | 0.427 | 0.405 | 0.427 | 0.406 | 0.414 | 0.397 | 0.409 | 0.397 | 0.416 | 0.398 |
| 720 | 0.442 | 0.400 | 0.431 | 0.401 | 0.404 | 0.392 | 0.411 | 0.400 | 0.419 | 0.398 | |
| ETTh2 | 336 | 0.362 | 0.352 | 0.351 | 0.350 | 0.349 | 0.349 | 0.358 | 0.355 | 0.352 | 0.352 |
| 720 | 0.365 | 0.352 | 0.355 | 0.355 | 0.341 | 0.343 | 0.358 | 0.355 | 0.350 | 0.353 | |
| ETTm1 | 336 | 0.357 | 0.330 | 0.346 | 0.328 | 0.377 | 0.333 | 0.368 | 0.332 | 0.353 | 0.329 |
| 720 | 0.361 | 0.333 | 0.348 | 0.331 | 0.379 | 0.336 | 0.363 | 0.334 | 0.360 | 0.333 | |
| ETTm2 | 336 | 0.262 | 0.247 | 0.258 | 0.247 | 0.260 | 0.248 | 0.259 | 0.248 | 0.260 | 0.249 |
| 720 | 0.264 | 0.248 | 0.258 | 0.248 | 0.257 | 0.247 | 0.252 | 0.246 | 0.258 | 0.249 | |
| Weather | 336 | 0.232 | 0.219 | 0.225 | 0.216 | 0.250 | 0.226 | 0.225 | 0.217 | 0.227 | 0.218 |
| 720 | 0.238 | 0.225 | 0.228 | 0.222 | 0.241 | 0.226 | 0.219 | 0.216 | 0.223 | 0.218 | |
| Electricity | 336 | 0.165 | 0.153 | 0.166 | 0.156 | 0.178 | 0.159 | 0.177 | 0.159 | 0.167 | 0.158 |
| 720 | 0.167 | 0.155 | 0.157 | 0.150 | 0.171 | 0.159 | 0.169 | 0.158 | 0.161 | 0.156 | |
| Traffic | 336 | 0.411 | 0.385 | 0.416 | 0.390 | 0.440 | 0.399 | 0.447 | 0.399 | 0.424 | 0.395 |
| 720 | 0.418 | 0.393 | 0.406 | 0.389 | 0.417 | 0.396 | 0.419 | 0.396 | 0.412 | 0.394 | |
Table 6: Univariate setting: test MSE of the four forecasters in the PFRP paper alone (Base), with PFRP, and with FreshCast (), averaged over the four horizons; the lowest value in each group is in bold. The target is the channel specified in the original paper; Weather is given to four decimal places.
| Dataset | SparseTSF | DLinear | PatchTST | TimesNet | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | +PFRP | +FreshCast | Base | +PFRP | +FreshCast | Base | +PFRP | +FreshCast | Base | +PFRP | +FreshCast | |
| ETTh1 | 0.084 | 0.078 | 0.076 | 0.116 | 0.112 | 0.106 | 0.079 | 0.079 | 0.077 | 0.077 | 0.079 | 0.076 |
| ETTh2 | 0.202 | 0.193 | 0.195 | 0.224 | 0.214 | 0.209 | 0.201 | 0.191 | 0.187 | 0.191 | 0.192 | 0.187 |
| ETTm1 | 0.054 | 0.052 | 0.051 | 0.065 | 0.064 | 0.052 | 0.054 | 0.053 | 0.051 | 0.053 | 0.053 | 0.051 |
| ETTm2 | 0.126 | 0.120 | 0.120 | 0.126 | 0.122 | 0.119 | 0.123 | 0.120 | 0.117 | 0.122 | 0.120 | 0.118 |
| Weather | 0.0015 | 0.0015 | 0.0014 | 0.0062 | 0.0051 | 0.0038 | 0.0019 | 0.0017 | 0.0018 | 0.0017 | 0.0017 | 0.0016 |
| Electricity | 0.473 | 0.363 | 0.346 | 0.393 | 0.372 | 0.339 | 0.408 | 0.404 | 0.322 | 0.417 | 0.402 | 0.330 |
| Traffic | 0.239 | 0.209 | 0.185 | 0.278 | 0.177 | 0.187 | 0.178 | 0.175 | 0.166 | 0.220 | 0.179 | 0.186 |

Figure 6: MSE change relative to the forecaster in eight equal test intervals with streaming or static memory (median and range over the seven datasets; ; MLP, iTransformer, CycleNet; four horizons; five kernel seeds).
the test period into eight equal consecutive intervals (Figure 6). The validation weight for static memory exceeds the interval-specific optimum in 49 of the 56 intervals. With static memory, FreshCast underperforms the forecaster in some intervals on five datasets (up to +26%); with streaming memory, it improves on the forecaster in every interval on every dataset. The optimal weight of the static memory recovers late in the test period on ETTh2, ETTm2, and Electricity, reflecting the seasonal exception noted after Proposition 4.2. The gain of the streaming memory is smaller in intervals with more values outside the training range, where the memory and the forecaster err together and their complementarity falls. The untrained rule of Section 5.4 has validation complementarity 0.136 and 0.112 at and 720 (relational kernel regression: 0.134 and 0.083), yet a lower test correlation than the kernel in 80 and 73 of 84 settings; its exceeds the test optimum, and in all 25 settings where it is worse than the forecaster, .
D Controls on New Observations
Online fine-tuning. All forecaster parameters are fine-tuned daily on the last 14 days of revealed ground truth; one of six configurations is selected on the validation segment, with no fine-tuning if the validation error does not improve (MLP and PatchTST, seven datasets, four horizons, three seeds; 168 pairs).
RAFT with a streaming bank. Both banks use the same fixed RAFT checkpoints with the lowest validation loss (Table 2; settings from Table 6 of the RAFT paper; seeds 0–2; one code base for all input lengths). At test time the streaming bank holds every window whose target sequence has been fully observed, as in FreshCast; training and validation retrieval is unchanged, and restricting the bank to training windows reproduces static results exactly.
E Complete Results
Table 5 reports generality results at L = 336 and L = 720 (L = 96: Table 1); Table 6 reports per-dataset PFRP comparisons. In MAE, FreshCast lowers the average error for every forecaster, dataset, and input length and is lower than GTR in 302 of 308 settings, RAFT in 82 of 84, and PFRP on three of four forecasters (a tie on SparseTSF); it also lowers the median relative standard deviation across seeds for every forecaster and input length. When the 129 diagnostic channels are grouped into quintiles of the larger training-segment daily or weekly autocorrelation, the mean reductions at L = 96 are 13.7%, 19.7%, 17.0%, 17.1%, and 12.6% from least to most periodic (Spearman -0.07, and +0.01 and +0.03 at L = 336 and 720); Weather, the least periodic dataset, improves by 16.7%.
For the five recent forecasters (Recent columns of Table 3), every ablation leads to the same conclusion except where the weight is estimated: the training weight is smaller than only when the forecaster has lower training than validation error. Over eight forecasters and two input lengths, the training-to-validation error ratio has a Spearman correlation of 0.97 with , and at L = 96, MixLinear, TimeBase, and CMoS, with ratios of 1.14–1.16, obtain a larger that is 0.5%–0.7% better. At L = 720, all seven settings worse than the forecaster are on ETTh2; six are among the ten in Section 5.6.