Manuscript Offprint

arXiv:2610.29604

Local and Global Recursive Ridge Regression for Online Residual Correction of Frozen Multivariate Forecasters under Label Delay

Takumi Fujimoto, Hiroaki Nishi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A frozen multi-horizon forecaster can be corrected online from its own residuals. However, under label delay the target of a block arrives only after the whole horizon has passed, and the corrector's retained state grows with the number of channels. Aiming to combine a small retained state with a large error reduction, we propose DRiC (DCT Ridge Corrector), which fits a ridge regression of the leading discrete cosine transform (DCT) coefficients of the next residual block on those of the frozen forecast and of the latest input block, with sufficient statistics updated recursively. Its local variant, DRiC-L, keeps one such regression per channel; its global variant, DRiC-G, pools all channels into one regression, whose regression statistics do not depend on the channel count. A guard tracks a running scale of the frozen forecast's residual for each channel; it skips updates on blocks far outside that scale and clips the issued correction. We evaluate on seven widely used datasets, ETT (ETTh1, ETTh2, ETTm1, ETTm2), Weather (with its missing-value codes filled), Electricity, and Traffic, with DLinear, PatchTST, and iTransformer backbones, against 10 naive, gradient-trained, and closed-form methods. DRiC-L with eight DCT coefficients (DRiC-L8) reduces the mean squared error (MSE) by 14.55% on average over 126 evaluation conditions, against 12.98% for ELF, the most accurate comparator, while retaining 15–17 times less state, although ELF is more accurate on Traffic. DRiC-G retains 14.6 kB on the 321-channel Electricity data and 18.9 kB on the 862-channel Traffic data and is the most accurate method at or below its state on these two datasets. However, 5 to 7 of the 10 comparators, all with at least 10 times its state, are more accurate there. On the Weather file with its missing-value codes, DRiC-L8 without the guard has on average 8.0 times the frozen forecast's MSE, whereas with the guard it reduces the MSE by 7.94%. Code and numerical records are available at https://github.com/keiotakmin/dric.

Keywords: Online regression, recursive least squares, residual correction, test-time adaptation, time series forecasting.

1 Introduction

A deployed forecaster is often frozen: retraining it is expensive, its weights may be shared by many sites, or it is a pretrained model that the operator cannot modify. Its errors, however, are observed as the stream continues, and test-time adaptation methods for time series forecasting use them to correct the frozen forecast, either by small gradient-trained adapters around the model [1–4] or by closed-form regressors on its output [5–7]. A recent audit showed that the order of information matters: the target of a multi-horizon forecast is complete only H steps after the forecast is issued, and methods that update on partially observed targets gain from information a deployed system would not yet have [6]. Under this strict delay, closed-form correctors are strong reference methods [6].

The cost of a corrector is not only its computation but also the state it must keep between forecasts. Closed-form correctors keep sufficient statistics or stored samples per channel, and often per horizon step. For the 862-channel Traffic data, ELF [5] retains tens of megabytes and the RLS-Bank of the audit [6] about ten megabytes in our implementation. When a corrector runs next to the forecaster on a gateway or embedded controller, or when one server corrects many streams, this state limits where the correction can be deployed.

This paper aims to combine a small retained state with a large error reduction, that is, to match or exceed the accuracy of the most accurate comparator with an order of magnitude less retained state. We propose DRiC (DCT Ridge Corrector), a closed-form corrector based on the discrete cosine transform (DCT), with a local and a global variant that share a guard. DRiC-L targets this aim; DRiC-G trades accuracy for statistics that do not grow with the channel count. The design rests on three decisions, each of which we test in Section 5.2:

  1. Low-dimensional input and output. The corrector predicts only the leading K DCT coefficients of the next residual block, from the leading K coefficients of the frozen forecast and of the latest input block of H samples. Its per-channel state is a (2K+2)×(2K+2)(2K + 2) \times (2K + 2) Gram matrix and its right-hand side, whose size depends on neither the lookback, the horizon, nor the length of the stream.

  2. A guard referred to the frozen forecast’s residual. A recursive estimator cannot reweight past samples after they have entered its statistics, so it must decide at update time whether a block is admissible. The guard skips the update when a block’s residual power is far above a running scale of that channel’s past residuals, and bounds the issued correction by the same scale. Because the reference is the frozen forecast’s residual rather than the corrector’s own error, the decision does not depend on what the corrector has learned.

  3. Local and global sufficient statistics. The local variant, DRiC-L, keeps one regression per channel; the global variant, DRiC-G, pools all channels into one Gram matrix, following the global-model view of forecasting groups of series [8]. The local statistics grow with the channel count; the global statistics do not, and only the guard's scale, one value per channel, grows with it.

We evaluate DRiC under the strict delay on seven widely used datasets (ETTh1, ETTh2, ETTm1, ETTm2, Weather with its missing-value codes filled (Weather*), Electricity, and Traffic) with three trained backbones (DLinear [9], PatchTST [10], and iTransformer [11]), against naive forecasts, gradient-trained adapters (TAFAS, PETSA, COSA, FAC, ORCA), and closed-form correctors (RLS-Bank, ELF, EPOC). DRiC-L with K=8K = 8 (DRiC-L8) reduces the mean squared error (MSE) by 14.55% on average over 126 conditions, against 12.98% for ELF, the most accurate comparator, with 15–17 times less retained state; ELF has the higher mean reduction only on Traffic. DRiC-G retains 18.9 kB on Traffic and is the most accurate method at or below its state on Electricity and Traffic. However, 5 to 7 of the 10 comparators, all with at least 10 times its state, are more accurate there. Section 2 positions the correctors among existing methods, Section 3 defines them, Sections 4 and 5 describe the experiments and results, and Section 6 discusses their limits.

References (23)