arXiv:2610.07834cs.LGOct 2026

Manuscript Offprint

arXiv:2610.07834

Retrieval Is Not Enough: Refreshing Memory for Frozen Time-Series Forecasters

Chao He, Jianyu Xu, Xinyi Guo, Ruiqi Liu, Haobin Ding, Ruiqi He, Dongqing Song

Chao He

Aberdeen Institute of Data Science

and Artificial Intelligence

South China Normal University

Foshan, China

chaohe@m.scnu.edu.cn

Ruiqi Liu

School of Artificial Intelligence

South China Normal University

Foshan, China

liuruiqi@m.scnu.edu.cn

Jianyu Xu

Aberdeen Institute of Data Science

and Artificial Intelligence

South China Normal University

Foshan, China

xujianyu@m.scnu.edu.cn

Haobin Ding

Aberdeen Institute of Data Science

and Artificial Intelligence

South China Normal University

Foshan, China

h.ding.262@gmail.com

Dongqing Song ∗^{*}

School of Artificial Intelligence

South China Normal University

Foshan, China

songdongqing@m.scnu.edu.cn

Xinyi Guo

Aberdeen Institute of Data Science

and Artificial Intelligence

South China Normal University

Foshan, China

20233801069@m.scnu.edu.cn

Ruiqi He

Aberdeen Institute of Data Science

and Artificial Intelligence

South China Normal University

Foshan, China

202438012071@m.scnu.edu.cn

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 rr: its correction r−fr - f to the forecaster output ff is useful when it aligns with the residual error y−fy - f. The optimal combination gain estimated on validation data correlates with realized test gain (Spearman 0.70, 0.52, and 0.48 at L=96L = 96, 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.

References (10)