Kernel-based Optimally Weighted Conformal Time-Series Prediction

Jonghyeok Lee, Chen Xu, Yao Xie

Introduction

Conformal Prediction (CP) has emerged as a highly popular, distribution-free framework for uncertainty quantification. It provides a mathematical guarantee that a prediction interval will contain the true value a specified percentage of the time, regardless of the underlying machine learning model used. However, applying CP to time-series data presents a significant hurdle.

To address this, researchers have introduced KOWCPI (Kernel-based Optimally Weighted Conformal Prediction Intervals). By adapting the classic Reweighted Nadaraya-Watson (RNW) estimator, KOWCPI learns data-driven weights to handle the complex dependencies inherent in time series. The result is a method that produces significantly narrower prediction intervals than existing state-of-the-art techniques without sacrificing coverage guarantees.

The Challenge of Time-Series Uncertainty

Standard Conformal Prediction traditionally relies on the exchangeability assumption—essentially assuming that the order of your data points does not matter. In the real world, and particularly with time-series data, this assumption is almost always violated. Data points are correlated over time (autocorrelation), and their underlying distributions often shift (non-stationarity).

While recent "weighted" conformal methods have attempted to bypass the exchangeability assumption, they frequently rely on pre-specified, data-independent weights, such as simple exponential decay. The core challenge this paper tackles is: How can we mathematically optimize these weights using the data itself to achieve the tightest possible intervals while still guaranteeing valid coverage?

Methodology: Introducing KOWCPI

The authors introduce KOWCPI by treating the construction of prediction intervals as a nonparametric quantile regression problem based on the model's residuals (often called non-conformity scores).

Illustration of the time-series residual sequence, sliding window feature construction, and residual distribution/autocorrelation.

Key components of the KOWCPI framework include:

  1. Reweighted Nadaraya-Watson (RNW) Estimator: Instead of relying on a standard kernel smoother, KOWCPI utilizes the RNW estimator. This introduces "adjustment weights" solved via a convex optimization problem. These weights ensure the estimator behaves like a proper distribution function while maintaining the bias-reduction benefits of local linear regression.
  2. Data-Driven Weighting: Unlike prior methods that might simply weight recent points more heavily, KOWCPI uses kernels to weight historical data points based on their similarity to the current test point within the feature space.
  3. Asymmetrical Optimization: The method does not restrict itself to finding a symmetric interval. It optimizes the quantile levels ($\beta^*$) to find the specific "slice" of the distribution that yields the narrowest width for a given significance level $\alpha$.
  4. Bandwidth Selection: KOWCPI utilizes a non-parametric version of the Akaike Information Criterion (AIC) to automatically select the kernel bandwidth ($h$), significantly reducing the need for manual hyperparameter tuning.

Key Insights and Theoretical Foundations

A major breakthrough in the paper is the demonstration that the "oracle" weights—the theoretically perfect weights for CP—depend on the unknown joint distribution of the data. By leveraging the RNW estimator, KOWCPI provides a practical, mathematically sound way to estimate these weights using only the observed residuals.

Furthermore, to prove the method's validity, the authors replace the restrictive exchangeability assumption with "strong mixing." Strong mixing is a much more realistic assumption for time series; it implies that while the present depends on the recent past, that dependence naturally fades away as the time gap increases. By assigning heavier weights to "similar" past scenarios, the model adapts much faster to local changes in volatility than global methods.

Experimental Results

The authors evaluated KOWCPI across several diverse datasets, including ELEC2 (Australian electricity usage), Solar (Atlanta solar radiation), Wind (US wind farm records), and synthetic heteroskedastic mixture models designed to test robustness under volatility bursts.

KOWCPI consistently outperformed state-of-the-art baselines like SPCI, EnbPI, and ACI:

  • Narrower Intervals: On the Solar dataset, KOWCPI achieved an average interval width of 48.8, compared to 84.2 for SPCI and 143.9 for ACI, all while maintaining the target 90% coverage.
  • Superior Adaptation: In the Electric dataset, KOWCPI produced the narrowest intervals (0.22) while hitting the exact 90% coverage target.
  • Volatility Handling: Qualitative assessments showed that KOWCPI's intervals "hug" the data much more tightly during low-volatility periods and expand rapidly during sudden spikes. In contrast, baseline methods often remained overly conservative (too wide) for extended periods.

Limitations and Future Directions

While highly effective, KOWCPI does come with trade-offs. The RNW weights are solved via a one-dimensional optimization; performing this at every time step in a sliding window introduces higher computational overhead than simpler CP methods. Additionally, while the authors propose an Adaptive Window Selection method using a two-sample Kolmogorov-Smirnov test, the base version still requires choosing a window length $w$.

Finally, the paper provides a theoretical extension for multivariate time series, but the primary experimental focus remains on univariate responses. Future work will likely explore more complex non-conformity scores tailored for high-dimensional, multivariate data streams.

Summary updated

BibTeX
@inproceedings{lee2025kernel,
  author = {Jonghyeok Lee and Chen Xu and Yao Xie},
  title = {{Kernel-based Optimally Weighted Conformal Time-Series Prediction}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=oP7arLOWix},
}
Figure