Abstract
Standard Conformal Prediction (CP) provides distribution-free guarantees for marginal coverage, ensuring that prediction intervals are accurate on average across a population. However, in cross-sectional time series settings—such as monitoring multiple patients over time—CP often fails to provide longitudinal validity for specific individuals. This can result in "unlucky" subjects whose data points are consistently excluded from uncertainty bounds. We present Temporal Quantile Adjustment (TQA), a model-agnostic framework that dynamically adjusts prediction intervals to satisfy both cross-sectional and longitudinal reliability. We evaluate two variants, TQA-B (Quantile Budgeting) and TQA-E (Error-based Adjustment), across diverse domains including healthcare, finance, and energy. Our results demonstrate that TQA significantly improves coverage for the most difficult-to-predict individuals while maintaining population-wide statistical guarantees.
1. Introduction
In high-stakes applications like clinical medicine or financial forecasting, point predictions are often insufficient for decision-making. Practitioners require Prediction Intervals (PIs) that quantify model uncertainty. Conformal Prediction has emerged as a leading framework for generating these intervals because it offers distribution-free coverage guarantees, regardless of the underlying predictive model.
Despite these strengths, standard CP has a significant limitation when applied to cross-sectional time series. While it may guarantee that 90% of a population is covered at any given time step (cross-sectional validity), it does not ensure that any specific individual receives 90% coverage over the duration of their observation (longitudinal validity). In an ICU setting, for instance, a model might be accurate for the majority of patients but consistently fail for a specific high-risk individual. This paper addresses this gap by introducing Temporal Quantile Adjustment (TQA).
2. Methodology
TQA is a post-hoc wrapper designed to be applied to any existing time-series regression model, such as LSTMs or RNNs. Rather than using a static error quantile derived from a calibration set, TQA treats the quantile as a dynamic variable that can be adjusted at each time step to account for individual-level performance.
2.1 TQA-B: Quantile Budgeting
TQA-B utilizes a "budgeting" mechanism to distribute uncertainty. It predicts the rank of the next error based on historical performance. If the model anticipates a high-error step, it widens the interval; conversely, it narrows the interval for steps expected to have low error. By ensuring the average adjustment remains zero, TQA-B preserves the original statistical guarantees of the CP framework while better allocating the "uncertainty budget" to where it is most needed.
2.2 TQA-E: Error-based Adjustment
TQA-E is an online, heuristic approach that reacts to observed errors. If the model fails to cover the ground truth for a specific time series, it becomes more conservative by widening the PI for the subsequent step. If the model has been consistently accurate, it narrows the PI to improve efficiency. This feedback loop allows the model to adapt to the specific volatility of an individual subject's data.
3. Experimental Setup
The authors evaluated TQA across five diverse real-world datasets to test its robustness across different temporal dynamics:
- MIMIC-III: White blood cell count prediction in ICU patients.
- CLAIM: Healthcare insurance claim amount forecasting.
- COVID-19: Daily case number forecasting across UK regions.
- EEG: Tracking brain activity signals.
- GEFCom: An energy load forecasting benchmark, including a randomized version (GEFCom-R) to test behavior under broken temporal order.
4. Results and Discussion
4.1 Preserving Cross-Sectional Validity
A primary requirement for TQA was that it must not degrade the population-wide guarantees of standard CP. Across all datasets, the TQA variants maintained the target 90% cross-sectional coverage, confirming that the dynamic adjustments do not break the fundamental promise of the conformal framework.
4.2 Improving Tail Coverage
The most significant contribution of TQA is the improvement of "tail coverage"—the reliability for the least-covered 10% of individuals. In the MIMIC-III dataset, the baseline CP method only covered the most difficult 10% of patients approximately 62% of the time. TQA-E successfully boosted this longitudinal coverage to over 80%. This suggests that TQA effectively mitigates the "unlucky individual" problem inherent in standard CP.
4.3 Efficiency and Width
TQA-B demonstrated high efficiency, improving longitudinal coverage without simply inflating the width of all intervals. By strategically placing wider intervals only on difficult time steps, it maintained narrow, useful PIs for the majority of the population. While TQA-E occasionally produced very wide intervals following a string of errors, it remained a powerful tool for ensuring safety in volatile sequences.
5. Conclusion and Future Work
TQA provides a necessary evolution for Conformal Prediction in time-series contexts, moving beyond simple marginal guarantees toward individual-level reliability. While the authors note that perfect longitudinal validity for every individual is theoretically impossible without restrictive assumptions, TQA offers a practical and effective heuristic for improving fairness and safety.
Future research may explore the integration of TQA with more sophisticated nonconformity scores to further optimize interval widths. Additionally, addressing the potential for "infinite widths" in TQA-E could make the method more robust for human-in-the-loop systems where extremely wide bounds may be interpreted as a lack of model utility.
Summary updated