Automatic Inference of the Quantile Parameter

Karthikeyan Natesan Ramamurthy, Aleksandr Y. Aravkin, Jayaraman J. ThiagarajanarXiv 2015 · DOI

Abstract

Supervised learning is an active research area, with numerous applications in diverse fields such as data analytics, computer vision, speech and audio processing, and image understanding. In most cases, the loss functions used in machine learning assume symmetric noise models and seek to estimate unknown function parameters. However, loss functions such as quantile and quantile Huber generalize the symmetric $\ell_1$ and Huber losses to the asymmetric setting for a fixed quantile parameter. In this paper, we propose to jointly infer the quantile parameter and the unknown function parameters for the asymmetric quantile Huber and quantile losses. We explore various properties of the quantile Huber loss and implement a convexity certificate that can be used to check convexity in the quantile parameter. When the loss is convex with respect to the parameter of the function, we prove that it is biconvex in both the function and the quantile parameters, and propose an algorithm to jointly estimate these. Results with synthetic and real data demonstrate that the proposed approach can automatically recover the quantile parameter corresponding to the noise and also provide an improved recovery of function parameters. To illustrate the potential of the framework, we extend gradient boosting machines with quantile losses to automatically estimate the quantile parameter at each iteration.

Introduction

In traditional supervised learning, models often assume symmetric noise distributions, such as the Gaussian noise associated with Mean Squared Error (MSE). However, real-world datasets frequently exhibit heterogeneity or outliers, making quantile regression a more robust alternative. Quantile regression allows for modeling the conditional distribution of a response variable, providing a more comprehensive view than mean estimation alone.

A primary challenge in this field is the selection of the quantile parameter ($\tau$). Typically, $\tau$ is a fixed hyperparameter chosen by the user, often through computationally expensive cross-validation. A naive attempt to "learn" $\tau$ by minimizing standard loss functions leads to trivial solutions where $\tau$ is driven to 0 or 1 to artificially reduce the loss value. This paper introduces a framework to solve this "cheating" problem by treating the loss function as a probability density, allowing for joint inference of $\tau$ and model parameters.

Methodology

The authors focus on two primary loss functions: the standard Quantile Loss and the smoothed Quantile Huber Loss. To make the quantile parameter learnable, the loss function $\rho_\tau(r)$ is treated as the negative log-likelihood of a probability density:

$$p(r|\tau) = \frac{1}{c(\tau)} e^{-\rho_\tau(r)}$$

The critical innovation is the derivation of the normalization constant $c(\tau)$ in closed form. By including $\log(c(\tau))$ in the objective function, the model is penalized for the trivial solutions that previously hindered joint optimization.

Normalization of the loss function ensures convexity in the quantile parameter.

As illustrated in Figure 2, while the un-normalized loss is concave in $\tau$, the addition of the normalization term creates a convex total objective. This "convexity certificate" ensures that optimization algorithms, such as the proposed variable projection method, will converge to a meaningful and optimal quantile parameter.

Experimental Results

The researchers evaluated their approach using both synthetic data and real-world datasets from the UCI Machine Learning Repository, including Housing, Compressive Strength, Concrete Slump, and Forest Fires.

Automatic Adaptation in Gradient Boosting

The framework was integrated into Gradient Boosting Machines (GBM), allowing the model to learn a specific $\tau$ at each iteration. This is particularly useful as early iterations can capture the primary signal while later iterations adapt to the remaining asymmetric noise.

Automatic convergence of the quantile parameter $\tau$ during GBM training under different noise conditions.

In synthetic tests with 100% positive noise, the proposed method achieved a Mean Squared Error (MSE) of 0.036, a significant improvement over the 0.255 achieved by standard Least Squares. As shown in Figure 5, the learned $\tau$ acts as a signature of the noise distribution, automatically converging to values that reflect the data's inherent asymmetry (e.g., near 0.75 for 75% positive noise).

Conclusion

This paper presents a rigorous statistical framework for the automatic inference of the quantile parameter. By deriving the necessary normalization constants, the authors transform quantile regression into an adaptive process that recovers the underlying noise structure of the data. While the Huber smoothing parameter $\kappa$ remains fixed in this study, future work could explore joint inference for $\kappa$ and the scalability of this approach to high-dimensional deep learning models.

Summary updated

BibTeX
@misc{ramamurthy2015automatic,
  author = {Karthikeyan Natesan Ramamurthy and Aleksandr Y. Aravkin and Jayaraman J. Thiagarajan},
  title = {{Automatic Inference of the Quantile Parameter}},
  year = {2015},
  eprint = {1511.03990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.03990},
}
Figure