Flow-based Conformal Prediction for Multi-dimensional Time Series
Junghwan Lee, Chen Xu, Yao Xie
TL;DR
This work addresses uncertainty quantification for multi-dimensional time series with non-exchangeable temporal structure by introducing Flow-based Conformal Prediction (FCP) using classifier-free guidance. A guided flow maps residuals conditioned on historical context to a target distribution, enabling flexible, high-dimensional prediction sets with exact marginal coverage and finite-sample conditional guarantees. Training uses flow matching with a Transformer encoder to capture dependencies in past features and residuals, while prediction-set construction relies on transforming an isotropic Gaussian residual ball via the learned flow. Empirical results on real-world datasets demonstrate that FCP produces significantly smaller, yet well-calibrated prediction sets across varying outcome dimensions and base predictors, outperforming existing conformal prediction baselines.
Abstract
Time series prediction underpins a broad range of downstream tasks across many scientific domains. Recent advances and increasing adoption of black-box machine learning models for time series prediction highlight the critical need for reliable uncertainty quantification. While conformal prediction has gained attention as a reliable uncertainty quantification method, conformal prediction for time series faces two key challenges: (1) adaptively leveraging correlations in features and non-conformity scores to overcome the exchangeability assumption, and (2) constructing prediction sets for multi-dimensional outcomes. To address these challenges jointly, we propose a novel conformal prediction method for time series using flow with classifier-free guidance. We provide coverage guarantees by establishing exact non-asymptotic marginal coverage and a finite-sample bound on conditional coverage for the proposed method. Evaluations on real-world time series datasets demonstrate that our method constructs significantly smaller prediction sets than existing conformal prediction methods while maintaining target coverage.
