Inferensys

Glossary

Conformal Time Series

The adaptation of conformal prediction to sequential data where the exchangeability assumption is violated, often using a sliding window of recent observations as the calibration set to handle temporal dependencies.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
SEQUENTIAL UNCERTAINTY QUANTIFICATION

What is Conformal Time Series?

Conformal time series adapts the distribution-free conformal prediction framework to sequential data, where the core assumption of exchangeability is violated by temporal dependencies.

Conformal time series is the adaptation of conformal prediction to sequential data where observations are temporally dependent, violating the standard exchangeability assumption. It produces statistically rigorous prediction intervals for time-series forecasts by using a sliding window of recent observations as the calibration set, ensuring finite-sample marginal coverage guarantees without assuming a specific error distribution.

The primary mechanism involves treating the most recent w observations as an approximately exchangeable calibration window, computing nonconformity scores on this window, and applying the standard conformal quantile to new test points. Advanced variants like adaptive conformal inference (ACI) dynamically adjust the quantile threshold online to maintain long-run coverage under distribution shift, making the framework robust to non-stationarity.

SEQUENTIAL UNCERTAINTY QUANTIFICATION

Key Features of Conformal Time Series

Conformal time series adapts the distribution-free guarantees of conformal prediction to sequential data, where the exchangeability assumption is violated. By leveraging sliding windows and adaptive weighting, it produces statistically rigorous prediction intervals for non-stationary temporal processes.

01

Sliding Window Calibration

The core mechanism for handling temporal dependence. Instead of a static calibration set, a rolling window of the most recent observations is used to compute nonconformity scores. This ensures the calibration data reflects the current data-generating process, mitigating the impact of distribution drift. The window size is a critical hyperparameter: too small yields high variance, too large retains stale patterns.

02

Adaptive Conformal Inference (ACI)

An online learning approach that dynamically adjusts the conformal quantile in response to observed errors. When coverage drops below the target, ACI increases the threshold to widen intervals; when coverage exceeds the target, it decreases the threshold to tighten them. A learning rate parameter controls the speed of adaptation, providing long-run coverage guarantees without any distributional assumptions.

03

EnbPI: Ensemble Batch Prediction Intervals

A method that combines bootstrap ensemble models with conformal calibration for time series. EnbPI trains an ensemble of base forecasters on bootstrapped samples, then uses the empirical distribution of leave-one-out residuals as nonconformity scores. This captures model uncertainty and residual noise simultaneously, producing tighter intervals than methods that rely on a single point forecaster.

04

Weighted Conformal Time Series

Applies exponential decay weights to calibration residuals, giving higher importance to recent observations. The weight function is defined as w_i = exp(-λ(t - i)), where λ controls the decay rate. This provides a smooth alternative to hard window cutoffs and is particularly effective when the rate of distribution shift varies over time.

05

Multi-Horizon Prediction Sets

Extends conformal guarantees to forecasting multiple steps ahead simultaneously. A separate nonconformity score is computed for each horizon h, and a joint prediction region is constructed using a Bonferroni correction or a max-score aggregation. This ensures the entire forecast trajectory is covered with the specified probability, critical for trajectory planning and inventory management.

06

Conformalized Temporal Fusion

Wraps deep learning forecasters like Temporal Fusion Transformers with a conformal calibration layer. The model's quantile outputs are treated as base intervals, and a held-out calibration period corrects for any miscalibration. This combines the representational power of attention-based architectures with finite-sample coverage guarantees, bridging the gap between deep learning and rigorous uncertainty quantification.

CONFORMAL TIME SERIES

Frequently Asked Questions

Addressing the core challenges of applying distribution-free uncertainty quantification to sequential, non-exchangeable data.

Conformal Time Series is the adaptation of the conformal prediction framework to sequential data where the core assumption of exchangeability is fundamentally violated. Standard conformal prediction relies on the calibration and test data being invariant under permutation, a condition that does not hold for time series due to inherent temporal dependencies, trends, and seasonality. Conformal time series methods replace the static calibration set with a dynamic, often sliding window of the most recent observations. This local calibration set treats the immediate past as approximately exchangeable with the near future, enabling the construction of prediction sets with valid, albeit often conditional or local, coverage guarantees in a non-stationary environment.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.