arXiv:2610.19484stat.MLOct 2026

Manuscript Offprint

arXiv:2610.19484

State-Matched Sequence Conformal Prediction

Ruihang Han, Li-Hsiang Lin

Abstract

Sequential conformal prediction needs to decide which past errors should calibrate uncertainty for the current target. Recency and online error feedback are useful when recent observations remain relevant, but the recent past can be a poor reference when comparable states recur at nonadjacent times, with the recurrence pattern generally unknown. We propose State-Matched Sequence Conformal Prediction (SMSCP), which constructs an explicit one-sided local-linear state from pre-target information, uses state similarity to select a matched reference set of past calibration scores, and then applies the ordinary unweighted conformal order statistic. In contrast to existing approaches, SMSCP uses state similarity to identify calibration observations relevant to the target score quantile. This motivates a theoretical analysis of whether nearby states have comparable target score quantiles under temporal dependence. We establish control of the resulting conformal cutoff and characterize predictive information not captured by the chosen state. Simulations show that state matching is most effective when score-relevant states recur across nonadjacent times, while revealing settings in which its advantage weakens or reverses. Across solar irradiance and bike-demand benchmarks, SMSCP improves interval score over recency, weighted, adaptive, and HopCPT comparators, and achieves coverage closer to the nominal 0.90 level than ResCP on five of six benchmarks.

Keywords: Conformal prediction; Time series; Uncertainty quantification

1 Introduction

Conformal prediction provides a framework for quantifying predictive uncertainty with finite-sample guarantees under exchangeability (Vovk et al., 2005; Shafer and Vovk, 2008). Standard split conformal and related sample-splitting methods operate in exchangeable or independence-type settings (Papadopoulos et al., 2002; Lei et al., 2018; Romano et al., 2019), with cross-fitting and jackknife-style refinements (Barber et al., 2021). Another line localizes or weights calibration to handle covariate heterogeneity or distribution shift, including covariate-shift weighting (Tibshirani et al., 2019), localized conformal methods (Guan, 2023), and weighted conformal methods beyond exact exchangeability (Barber et al., 2023). These approaches establish that calibration relevance need not be uniform across observations.

Sequential conformal prediction raises a different question: which past observations are relevant for the current target? Early work on conformal inference under temporal dependence establishes validity under mixing and related dependence conditions (Chernozhukov et al., 2018, 2021). Rolling and online methods such as EnbPI (Xu and Xie, 2021) and adaptive conformal inference (Gibbs and Candès, 2021; Zaffran et al., 2022) address this question primarily through temporal recency or online recalibration. Temporal closeness can be a poor relevance signal, while similar observed features at different times need not imply similar target score quantiles. StaLoP (Han and Lin, 2026) uses target-local state similarity to borrow historical panels for mean-function estimation, whereas SMSCP uses pre-target state similarity to select residual scores for conformal prediction intervals.

Recent sequential conformal methods move beyond pure temporal recency by identifying historical observations that are relevant to the current prediction. HopCPT, ResCP, and RCCP retrieve or reweight past residuals using similarity in observed or learned representations (Auer et al., 2023; Neglia et al., 2026; Jin et al., 2026), while SPCI and KOWCPI model residual quantiles using residual-history information (Xu and Xie, 2023; Lee et al., 2025). Such approaches rely on the representation being sufficiently informative that similar contexts imply similar residual behavior. This can be restrictive when similar observed contexts correspond to different residual regimes. SMSCP instead makes relevance explicitly target-specific by asking whether pre-target states imply comparable target-score quantiles.

These distinctions motivate State-Matched Sequence Conformal Prediction (SM-SCP). SMSCP makes relevance explicit through a pre-target state: it constructs an interpretable one-sided local-linear state summarizing the recent trajectory relative to pre-target inputs, performs hard Mahalanobis matching, and then applies the ordinary unweighted conformal order statistic to the matched reference set. The distinction is not localization itself or the mere use of a state, but where state similarity enters calibration: it determines reference-set membership without changing the backbone predictor, score definition, or conformal quantile rule. The matched reference set is directly inspectable, and the state coordinates summarize local response level and slopes with respect to the chosen pre-target inputs.

SMSCP treats conformal calibration as a state-matching problem: select a reference set whose states are comparable to that of the target, then apply the ordinary conformal rule on that set. The method is modular: it modifies the calibration reference set, not the backbone predictor, score definition, or conformal quantile rule. The local-linear construction is one transparent implementation of this principle; the theory below treats the resulting pre-target state abstractly.

Because the matched reference set is target-dependent, classical global exchangeability does not directly characterize SMSCP. Formally, let q(z)q(z) denote the conditional (1−α)(1 - \alpha) score quantile indexed by state. Under state–quantile relevance, uniform local concentration over the target-dependent neighborhoods under temporal dependence, and local quantile regularity, we bound the cutoff error by a state-matching term, a sampling-under-dependence term, and a finite-k order-statistic term. We then compare q(Zt)q(Z_t) with the full-history target quantile through an explicit state-information discrepancy, which isolates predictive information not captured by the chosen state. The main theorem therefore first controls estimation of the state-indexed target q(Zt)q(Z_{t}); predictive conditional validity relative to the full pre-target history additionally requires this discrepancy to vanish. Standard mixing conditions enter only as sufficient conditions for the required local concentration, rather than as the form of the main result. The theory does not require matched scores to be exchangeable or to share their entire conditional distribution.

Empirically, SMSCP gains are clearest when score-relevant states recur; they weaken when the state misses relevant information or switching is abrupt. On real data, SMSCP has lower mean interval score than recency, weighted, adaptive, and HopCPT comparators; against ResCP, its coverage estimate is closer to nominal 0.90 on five of six benchmarks, whereas ResCP has lower mean interval score on all six. We therefore do not claim universal dominance.

Our contributions are threefold:

  1. We formulate sequential conformal calibration as a state-matching problem, using interpretable pre-target states to define relevance beyond temporal recency.

  2. We propose a modular state-matched conformal algorithm that uses state similarity only to select a matched reference set and then applies the ordinary unweighted conformal order statistic without changing the predictor, score, or conformal quantile rule.

  3. We provide quantile-targeted theory and mechanism-isolating experiments. The theory decomposes cutoff error into a state-matching term, a sampling-under-dependence term, and a finite-k order-statistic term, while the state-information discrepancy quantifies predictive information omitted by the chosen state. The experiments use recency controls together with favorable, mixed, and boundary settings to probe when state matching helps and when it does not.

References (56)