Weighted Conformal Prediction for Non-Stationary Environments

This direction is merged into another direction: distribution-free uncertainty quantification. Its last version stays readable and citable here.

Version 1 of 111 papers17 conceptsfrozen 2026-10-04

Standard Conformal Prediction (CP) is a powerful tool for uncertainty quantification because it provides rigorous mathematical guarantees. If you want a model to be 90% confident, CP ensures that the true value will fall within the predicted interval exactly 90% of the time. However, these guarantees traditionally rely on a strict assumption: exchangeability.

Exchangeability implies that your data points are essentially interchangeable—that the future will look statistically identical to the past. In the real world, this assumption frequently breaks. Sensors degrade over time, weather patterns shift, and patient demographics vary between hospitals. When exchangeability fails, standard conformal intervals become either invalid (losing their coverage guarantee) or uselessly wide.

To solve this, researchers have developed Weighted Conformal Prediction, a framework that restores statistical validity by prioritizing the most relevant calibration data.

The Intuition: Not All Calibration Points are Equal

In standard CP, every data point in your calibration set gets an equal "vote" in determining the uncertainty threshold. If you have 1,000 past observations, each represents 0.1% of the probability mass.

Weighted Conformal Prediction, as explored by Vincent Plassier and Nikita Kotelevskii in Efficient Conformal Prediction under Data Heterogeneity, changes this. Instead of uniform weights, it assigns an importance weight to each calibration point. If a calibration point is highly similar to the current test case, it receives a higher weight; if it is an outlier or from an old "regime," its weight is diminished.

By replacing complex combinatorial calculations with these density-ratio-based weights, the framework can provide provable guarantees even in heterogeneous environments like Federated Learning or domain adaptation.

Adapting to Time and Decay

The most common violation of exchangeability occurs in time-series data, where the recent past is a much better predictor of the future than the distant past.

Alireza Javanmardi and Eyke Hüllermeier demonstrate this in their work on Remaining Useful Lifetime (RUL) estimation. In industrial settings, a machine’s behavior changes as it wears down. A "non-exchangeable" approach weights recent observations more heavily, allowing the uncertainty intervals to adapt to the degrading state of the system.

This temporal weighting is also a core feature of the PUNCC library developed by Mouhcine Mendil and Luca Mossina, which provides tools to handle non-stationary data by emphasizing recent observations during calibration.

Context-Awareness and Latent Features

Weighting doesn't have to be based solely on time; it can be based on "contextual similarity."

In Enhanced Renewable Energy Forecasting using Context-Aware Conformal Prediction, Alireza Moradi and colleagues introduce CACP. For solar power forecasting, they weight historical data based on physical similarity—such as time of day or current cloud cover—rather than just chronological order. This produces tighter, more reliable intervals for grid operators.

Similarly, in medical imaging, Benjamin Lambert and Florence Forbes show in Robust Conformal Volume Estimation in 3D Medical Images that we can use a model's own latent features to estimate weights. By measuring the shift between training and test distributions in the feature space, they can reweight calibration samples to maintain valid volume estimates even when the test images come from a different hospital or scanner.

Scaling to Complex Risks and Trajectories

The evolution of this field is moving toward more complex guarantees.

  • Risk Control: António Farinhas and André F. T. Martins extended this logic to Non-Exchangeable Conformal Risk Control (non-X CRC) in Non-Exchangeable Conformal Risk Control. This allows researchers to bound arbitrary loss functions (like error rates in NLP) even when the data distribution shifts over time.
  • Adaptive Trajectories: In Conformalized Adaptive Forecasting of Heterogeneous Trajectories, Yanfei Zhou and Matteo Sesia developed CAFHT. This method uses time-dependent learning rates to adaptively weight past errors, creating uncertainty "bands" for entire future paths (like a pedestrian's walking route) that remain valid even as the environment changes.
  • Attention Mechanisms: Taking adaptation a step further, Caili Guo proposed Attention-Based Feature OCP, which uses an attention mechanism to automatically learn which historical data points are most relevant for current uncertainty estimation, significantly shrinking the size of prediction intervals.

Summary

Weighted Conformal Prediction transforms a rigid statistical tool into a flexible, adaptive framework. By intelligently assigning weights based on recency, physical context, or latent similarity, these methods allow machine learning models to provide "trustworthy" guarantees in the messy, shifting reality of the real world.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_weighted_conformal_prediction_for_non_st_19b885c8,
  title = {Weighted Conformal Prediction for Non-Stationary Environments},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/weighted-conformal-prediction-for-non-stationary-environments/rdr_19b885c818944334a2278b9fc576065e},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_weighted_conformal_prediction_for_non_st_19b885c8_v1,
  title = {Weighted Conformal Prediction for Non-Stationary Environments},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/weighted-conformal-prediction-for-non-stationary-environments/rdr_19b885c818944334a2278b9fc576065e/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}