Introduction
In high-stakes fields like robotics or medicine, a single-point prediction (e.g., "the patient's blood pressure will be 120") is often insufficient. Decision-makers need a prediction interval (e.g., "there is a 90% chance it will be between 110 and 130") to quantify uncertainty.
The industry standard for this is Quantile Regression (QR). To get a 90% interval, QR typically estimates the 5th and 95th percentiles. However, this approach forces the interval to contain equal probability mass on either side of the median. If the noise in the data is asymmetric (skewed)—which is common in the real world—this "median-centering" constraint forces the interval to be much wider than necessary to achieve the desired coverage.
This paper introduces Relaxed Quantile Regression (RQR), a novel approach that allows models to learn the most efficient (narrowest) intervals for a target coverage level without being tethered to pre-specified symmetric quantiles.
Methods: Relaxing the Quantile Constraint
RQR shifts the focus from estimating specific quantiles to estimating the interval itself, adhering to Vapnik’s heuristic: "When solving a problem of interest, do not solve a more general problem as an intermediate step."
- The RQR Loss Function: Instead of using the standard "pinball loss" for specific quantiles, RQR uses a loss based on the term $\kappa = (y - \mu_1)(y - \mu_2)$, where $\mu_1$ and $\mu_2$ are the model's two outputs. If the target $y$ is inside the interval, $\kappa$ is negative; if it's outside, $\kappa$ is positive. This allows the model to optimize for coverage directly.
- Permutation Invariance: A clever side effect of this loss is that it doesn't care which output is the "lower" or "upper" bound. This solves the "crossing bounds" problem common in quantile regression, where a model might accidentally predict a lower bound that is higher than the upper bound.
Because there are infinite pairs of bounds that can achieve a specific coverage level, the authors introduce two regularized variants to encourage desirable interval qualities:
- RQR-W (Width Minimizing): Adds a penalty for the squared width of the interval, incentivizing the model to find the tightest possible bounds.
- RQR-O (Orthogonal): Penalizes the correlation between interval width and miscoverage events, which improves "conditional coverage" (ensuring the model is equally reliable across different types of inputs).
Key Insights
The Advantage of Asymmetry
For skewed distributions, forcing symmetric quantiles is highly inefficient. As demonstrated with a log-normal distribution, RQR can produce an interval that is significantly narrower than a standard QR interval while maintaining the exact same coverage percentage.
Gradient Dynamics
Analysis of the gradients reveals how RQR-W achieves these tighter bounds. When a target falls inside the interval, RQR-W doesn't just shrink the bounds equally; it pushes the further bound more aggressively. This allows the interval to "slide" and center itself over the densest part of the probability distribution rather than the median.
Experimental Results
The researchers evaluated RQR across 12 standard regression benchmarks (including UCI datasets, domain-specific tasks like robotics and sulfur recovery, and synthetic data).
- Better Coverage: RQR-W achieved the targeted coverage level (within a 2.5% margin) on 12/12 datasets, whereas standard QR only succeeded on 10/12.
- Narrower Intervals: RQR-W produced the narrowest (or joint-narrowest) intervals in 8 out of 12 benchmarks.
- Superior Conditional Coverage: When optimized for independence (RQR-O), the method outperformed the previous state-of-the-art (Orthogonal Quantile Regression) by massive margins—showing up to 99% improvement in independence metrics like HSIC on several datasets.
- Robotics Application: On the
kin8nmrobotics task, RQR-W provided visibly tighter bounds than QR, which could allow a robot to operate more precisely while remaining within safety limits.
Limitations and Future Work
- Hyperparameter Tuning: RQR-W introduces a weighting parameter ($\lambda$) for the width penalty. While the authors provide a theoretical way to correct the bias introduced by this penalty, practitioners still need to tune $\lambda$ to balance width vs. coverage.
- Expectation vs. Finite Samples: The theoretical guarantees for RQR are "in expectation." Wrapping RQR in Conformal Prediction frameworks would be a powerful next step to provide rigorous finite-sample coverage guarantees.
- Multi-modal Distributions: The current work focuses on single intervals. Extending this "relaxed" logic to multi-modal distributions (where the best prediction might be two separate intervals) remains an open challenge.
Summary updated