Improving Conditional Coverage via Orthogonal Quantile Regression

Shai Feldman, Stephen Bates, Yaniv Romano

Introduction

In high-stakes machine learning applications—such as predicting drug efficacy or financial risks—point predictions are insufficient. Decision-makers require reliable prediction intervals (e.g., "the effect is between 5mg and 10mg with 90% confidence").

The gold standard for these intervals is conditional coverage: the interval should be valid for every individual, regardless of their demographics or specific features. However, most existing methods only guarantee marginal coverage, meaning they are correct 90% of the time on average. In practice, a model might achieve 95% coverage for a majority group but only 60% for a minority group. While traditional Quantile Regression (QR) is theoretically capable of conditional coverage in the limit of infinite data, finite real-world samples often cause it to overfit, producing unbalanced intervals that are unreliable for specific subpopulations.

This paper introduces Orthogonal Quantile Regression (OQR), which adds a regularization term to the training loss. This constraint forces the interval size to be independent of whether a "miscoverage" event occurs, significantly improving conditional coverage and ensuring uncertainty estimates are trustworthy across all regions of the feature space.

Methodology: Orthogonal Quantile Regression

The authors propose a novel regularization scheme based on a fundamental statistical observation: for the true (oracle) conditional quantiles, the size of the prediction interval ($L$) and the indicator of a miscoverage event ($V$) are independent (orthogonal).

If a model performs poorly on a specific subgroup, there will be a correlation between how wide the intervals are and whether the true value falls inside them. Standard QR often "cheats" by over-covering easy examples and under-covering hard ones to minimize the global loss.

To prevent this, OQR augments the standard QR loss (such as the pinball loss or interval score loss) with an "orthogonality penalty":

$$\text{Loss} = \text{Quantile Loss} + \gamma \mathcal{R}(L, V)$$

Where:

  • $L$ is the vector of interval lengths.
  • $V$ is the vector of coverage indicators (using a smooth approximation to maintain differentiability).
  • $\mathcal{R}$ is a dependence measure. The authors test two versions: Pearson Correlation (for linear dependence) and HSIC (Hilbert-Schmidt Independence Criterion, a kernel-based method for non-linear dependencies).
  • $\gamma$ is a hyperparameter controlling the regularization strength.

By forcing the error event to be independent of the interval width, the model naturally learns to balance its coverage across different "difficulty" levels in the data without needing explicit subgroup labels.

Experimental Setup

The authors evaluated OQR across a variety of settings:

  • Synthetic Data: A two-group setting where a "minority" group has much higher noise/variance than the "majority" group, specifically designed to trip up standard QR.
  • Real-World Benchmarks: Nine datasets commonly used in uncertainty quantification, including Facebook Comment Volume, Blog Feedback, Medical Expenditure Panel Survey (MEPS), and protein structure properties (Bio).

To better quantify exactly where and how models fail to provide conditional coverage, the authors also introduced new evaluation metrics, such as $\Delta$WSC (Worst-Slab Coverage) and $\Delta$Node-Coverage, which use decision trees to find poorly covered regions.

Key Results

Closing the Gap in Synthetic Subgroups

In the synthetic two-group test, vanilla QR exhibited a massive coverage gap, achieving roughly 80% coverage for the majority group but dropping to 68% for the minority group. OQR closed this gap significantly, achieving roughly 87% and 83% respectively, bringing both much closer to the 90% target.

Comparison of coverage over training epochs for Vanilla QR vs. Orthogonal QR across majority and minority groups. Orthogonal QR prevents the severe test coverage degradation seen in Vanilla QR.

As shown in the figure above, standard QR suffers from severe overfitting on the minority group as training progresses (test coverage plummets). OQR's regularization stabilizes the test coverage for both groups.

Real-World Consistency and Efficiency

Across all nine real-world datasets, OQR consistently improved conditional coverage metrics (Pearson, HSIC, and $\Delta$WSC). For example, on the facebook_1 dataset, the Pearson correlation between length and coverage dropped by 81%, indicating much more uniform reliability.

Interestingly, in some high-noise cases, the regularized model produced shorter average intervals for the majority group while maintaining better coverage. This suggests the regularization helps the model find a more efficient representation of uncertainty. Furthermore, OQR proved highly complementary to Conformalized Quantile Regression (CQR). While conformal prediction forces marginal coverage to be exactly 90%, OQR ensures the underlying intervals are "well-shaped" prior to adjustment, leading to superior conditional results.

Limitations and Future Work

  • Batch Size Requirements: Accurately estimating the correlation or HSIC penalty during training requires relatively large batch sizes.
  • IID Assumption: The current work focuses on independent and identically distributed (i.i.d.) data. Extending this to time-series data, where dependencies are temporal, is a promising future direction.
  • Feature-Based Independence: While OQR focuses on the independence between interval length and coverage, future work could explore penalizing the dependence between the features ($X$) and coverage directly, though this poses greater computational challenges.

Summary updated

BibTeX
@inproceedings{feldman2021improving,
  author = {Shai Feldman and Stephen Bates and Yaniv Romano},
  title = {{Improving Conditional Coverage via Orthogonal Quantile Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=7529ELGjjM},
}
Figure