Disagreement Across Context Lengths as an Abstention Signal for Forecasting

A time-series forecaster reads a stretch of recent history, called the lookback window, and predicts what comes next. Longer windows are not reliably better. Error typically falls and then rises again as the window grows, and the best length differs by dataset and by model. We propose to use this sensitivity as a warning sign at prediction time. Run the same model on the same series with several window lengths. If the forecasts agree, trust the consensus. If they diverge, the model's answer depends on an arbitrary choice of how much history to show it. That divergence is evidence that the forecast is fragile, either because old history no longer describes the present or because the shorter windows miss a cycle. The system should then abstain and hand the case to a human or a fallback rule.

This matters most for zero-shot time-series foundation models, which are large pretrained forecasters applied to new series without retraining. Many uncertainty methods are hard to apply to them. Training-checkpoint methods need access to training, and dropout sampling needs dropout layers. Changing the context length, by contrast, needs only extra forward passes of the deployed model. The note asks two things. Does cross-window disagreement catch failures that the model's own predictive spread and recent-error monitors miss? And can its abstention threshold be calibrated so that the error on accepted forecasts stays under a stated budget on drifting series?

Core Claim

Selective prediction means letting a model either answer or abstain. The goal is to keep error low on the inputs it answers (the selective risk) while answering as many as possible (the coverage). Existing confidence scores measure how uncertain the model is about a fixed input. Our claim is that, for forecasting, a large share of serious errors come from window misalignment. The window spans a structural break, or it is shorter than a dominant period. A model can be confidently wrong in both cases, so its own predictive spread stays narrow. Disagreement across window lengths should detect these cases because it probes the input choice directly. We predict three things. First, cross-window disagreement will give a better risk-coverage trade-off than single-window confidence scores near structural breaks and on series with several seasonal cycles. Second, its gains will add to those of recent-residual monitors rather than duplicate them. Third, a rolling calibration of its threshold can hold realized selective error near a target budget.

Grounding in Prior Work

Three results motivate the signal. Scaling Law for Time Series Forecasting splits forecasting error into two parts. Irreducible uncertainty shrinks as the window grows. Approximation error grows, because longer windows add input dimensions the model cannot learn from finite data. The best window therefore depends on the dataset, the model and the amount of training data. Context Saturation in Zero-Shot Time-Series Foundation Models shows that foundation models stop improving at about two dominant periods ($W \approx 2P$) on simple seasonal data. On Electricity, however, automatic period detection locked onto the daily cycle when a full week was needed (about seven periods). Optimal starting point for time series forecasting shows that cutting stale history before a structural break improves accuracy. On M4 yearly data with an ETS model, MASE fell from 3.44 to 2.51. Its window choice is made offline from series-level features, though. Together these papers say window length matters for each series. None of them turns that dependence into a confidence signal for individual forecasts.

Two papers come closest, and both differ from our proposal in a specific way. Selective Learning for Deep Time Series Forecasting measures how predictions for the same timestep vary across shifted windows of equal length. It uses that variation only to mask noisy timesteps from the training loss, and the trained model still predicts every test input. We vary window length rather than position, and we use the resulting variation to decide at test time whether to answer. Shapelets-Enriched Selective Forecasting using Time Series Foundation Models is the direct competitor. It learns short shape templates ("shapelets") from validation segments where the model failed, and it drops test forecasts whose input looks like one of these failure shapes. Its window is fixed. Its authors also report that templates learned offline break down under drift. Our signal needs no failure dictionary and is computed fresh for every input, so it should hold up better under drift. That is a testable difference, not an assumption.

Two other papers supply method. Selective Classification for Deep Neural Networks gives the thresholding recipe: rank inputs by a confidence score, then pick the threshold on held-out data with a concentration bound so that risk stays under $r^*$ with high probability. Its guarantee is for 0/1 loss on exchangeable data, meaning data whose order carries no information. Conformal Prediction for Time Series (EnbPI) shows that a sliding window of recent residuals can keep interval coverage valid without exchangeability. It reports coverage near 0.9 across datasets. We borrow its sliding-calibration idea to set our threshold.

One paper constrains the design. Act or Defer shows that marginal conformal selection can look safe on average while failing on subgroups. On pancreatic cancer, selected positive-class coverage was about 10%. We therefore report selective risk separately for windows near breaks and for windows in stable regimes, not only overall.

Research Program

The base system takes a pretrained forecaster $f$ and a grid of context lengths $W_1 < \dots < W_K$. The grid is geometric and anchored on detected periods. When several periods are detected, it is extended to cover each one, so the weekly cycle that the context-saturation paper flagged is not missed. For an input series $x$, let $\hat y_k$ be the $H$-step forecast from the last $W_k$ points. Let $\tilde y$ be the elementwise median of the $K$ forecasts. Let $s(x)$ be a robust scale of the recent history, such as the median absolute deviation, so that scores are comparable across series. The disagreement score is

$$d(x) = \frac{1}{s(x)}\,\operatorname{median}_k \frac{\lVert \hat y_k - \tilde y \rVert_1}{H}.$$

The system outputs the median forecast $\tilde y$ when $d(x) \le \theta$ and abstains otherwise. We use the median rather than the mean so that one badly misaligned window cannot drag the consensus.

We also study a second stage aimed at Gap 2 in the file: repair the window before abstaining. When $d(x)$ is high, the system looks for a contiguous block of the shortest windows that agree with one another. Agreement among recent windows, together with disagreement from long ones, is the pattern a structural break should produce. If such a block exists, the system forecasts from that block alone and applies the threshold again. Only if the repaired forecast also fails does it abstain. This is an ablation, not the core claim, and it has to show that it improves coverage at matched risk.

For calibration, we pick $\theta$ using the losses of past accepted forecasts over a rolling calibration window. Losses are clipped at a stated multiple of $s(x)$, which makes them bounded and lets a Bernstein-type bound apply in the style of Selective Classification for Deep Neural Networks. The rolling window follows the logic of EnbPI. We do not claim a formal guarantee under arbitrary drift. We claim an empirical one: realized violation rates of the target $r^*$ will be reported, and the result will count as a failure if they are well above the nominal $\delta$.

The analysis component tests why the signal works. On synthetic series with known structure, we will vary three things: the position of an injected break relative to the window, the number and length of seasonal cycles, and autoregressive memory. We will check whether $d(x)$ peaks exactly where window choice should matter. Those regions are windows that straddle a break, windows shorter than the longest period, and over-long windows for a high-capacity model on small data, which the scaling-law paper predicts.

Baselines

The naive reference point always predicts, with coverage 1, at a fixed default window. Random abstention at the same coverage is reported next to it, so that any score has to beat chance-level dropping. A second reference point predicts with the multi-window median $\tilde y$ and never abstains. This separates gains that come from ensembling over windows from gains that come from abstaining.

The strongest existing method is shapelet-based selective forecasting from Shapelets-Enriched Selective Forecasting using Time Series Foundation Models. Its authors report an average overall error reduction of 22.17% with zero-shot models and 22.62% with fine-tuned models. They also report gains over random selection of up to 21.41% on one dataset. We will rerun it on the same ETT, Exchange and Traffic splits with the same foundation models (Chronos and Tiny Time Mixers). We match its drop percentage to our coverage and give its dictionary learning the same validation data our calibration uses. Beating it means a lower selective MSE at matched coverage on most dataset-horizon pairs. It also means a clear advantage on the drift-heavy splits, where its authors say the shapelets degrade.

Two model-intrinsic uncertainty baselines are run at the same compute budget of $K$ forward passes. The first is the predictive spread of a probabilistic foundation model from $K$ samples. The second is MC-dropout or a small deep ensemble where the architecture allows it. For trained models on M4, we add Selective Prediction via Training Dynamics, which scores inputs by how much their predictions change across saved training checkpoints, using $K$ checkpoints. That paper evaluates on M4, but the file gives no number: no reported result found on Lacuna for SPTD's M4 selective risk.

A recent-residual baseline scores each series by the error of its forecasts on the last few observed steps. This is the EnbPI-style signal turned into an abstention rule, and we expect it to be the most dangerous competitor. No reported result found on Lacuna for residual-based abstention on these benchmarks.

Ablations isolate the key ingredient. We replace length variation with position variation at a fixed length, the shifted windows used in Selective Learning for Deep Time Series Forecasting. We drop the period anchoring from the grid. We remove the repair stage. We also wrap the base models in RevIN, from Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift, and check whether the signal survives once normalization has removed some of the window sensitivity.

Why not just…?

Why not just average forecasts over several windows and skip abstention? That is a real threat to any accuracy gain, which is why the multi-window median is itself a reference point. The proposal's claim concerns the cases where the median is still badly wrong. If the risk-coverage curve of the median plus disagreement is no better than the median's own error at full coverage, the abstention component adds nothing and we will report that.

Why not just use the model's predictive spread, MC-dropout, or an ensemble? These measure how uncertain the model is about the input it was given. A model reading a window that straddles a regime break can be confident and wrong. Scaling Law for Time Series Forecasting suggests that over-long windows cause errors that more sampling of the same input does not reveal. The decisive test uses the synthetic break experiments. If sample spread flags break-straddling windows as well as $d(x)$ does, our signal is redundant. We also report the combination of the two scores, since complementarity is the claim.

Why not just abstain when recent forecasts have been wrong? On slowly drifting series this will probably work well, and we expect it to match or beat our score there. The weakness is lag. A residual monitor only reacts after the break has already produced errors. Cross-window disagreement can react as soon as post-break points enter the short windows. We will measure the steps-to-detection after injected and real breaks, and we will evaluate the combined score. If the residual monitor wins everywhere, including in the first few steps after a break, the proposal fails.

Why not just set the window to two dominant periods, or normalize with RevIN? Context Saturation in Zero-Shot Time-Series Foundation Models itself shows that the $2P$ rule misfires on multi-seasonal data like Electricity. The rule also gives no guidance for non-periodic series such as Exchange. RevIN corrects mean and variance shifts, but it assumes the statistics of the lookback window carry over into the forecast horizon, an assumption that fails at abrupt breaks. The RevIN-wrapped ablation tests directly whether normalization removes the signal.

Proposed Experiments

Evaluation covers ETTh1/2, ETTm1/2, Electricity, Exchange, Weather, Traffic and ILI with the standard horizons, the GiftEval subsets used by the context-saturation paper, and M4. Each model family is tested both zero-shot (Chronos, TimesFM, Tiny Time Mixers) and as trained forecasters (PatchTST-style and iTransformer-style). The metrics are the area under the selective-MSE and selective-MAE risk-coverage curves, selective error at 50%, 70% and 90% coverage, and error reduction at matched drop percentage, which is comparable with the shapelets paper. For the rolling calibration we report the realized violation rate of $r^*$. All metrics are broken out by distance to the nearest detected change point.

Three results would settle the claim. First, on synthetic data, $d(x)$ should rise sharply for windows that straddle breaks and for windows shorter than the longest period, while sample spread stays flat in those regions. Second, on real benchmarks, the combined score of disagreement plus recent residual should beat each component alone and the shapelet baseline at matched coverage, with the largest margin on Exchange and ILI. Third, the rolling-calibrated threshold should keep violation rates near the nominal level. The proposal is falsified if length-based disagreement does no better than position-based disagreement, or if it adds nothing over recent residuals in the first steps after a break.