Learning Heteroscedastic Models by Convex Programming under Group Sparsity

Arnak S. Dalalyan, Mohamed Hebiri, Katia Meziani, Joseph Salmon

Introduction

In high-dimensional statistics, researchers often aim to identify a small subset of important variables from thousands of candidates—a concept known as sparsity. Popular sparse estimation tools like the Lasso or the Dantzig selector are highly effective, but they suffer from a "chicken and egg" problem: properly tuning their regularization parameters requires prior knowledge of the noise level ($\sigma$).

This requirement is a major obstacle in real-world scenarios—such as finance, meteorology, or image processing—where noise is rarely constant (homoscedastic). Instead, the noise variance often changes depending on the input (heteroscedastic). Existing approaches to heteroscedasticity typically rely on alternating optimization methods (estimating the mean, then the variance, and repeating). Unfortunately, these methods are often non-convex, meaning they can get trapped in local optima and lack strong theoretical guarantees.

To address this, the authors introduce ScHeDs (Scaled Heteroscedastic Dantzig selector), a novel approach for jointly estimating the conditional mean and variance in high-dimensional regression by solving a single, efficient convex optimization problem.

Methodology: A Convex Approach to Heteroscedasticity

The core innovation of ScHeDs is a clever mathematical reparameterization. Instead of attempting to learn the mean function $b^*(x)$ and the standard deviation $s^*(x)$ directly—which leads to non-convexity—the authors shift the target to learn:

  1. $r^*(x) = 1/s^*(x)$ (the precision)
  2. $f^*(x) = b^*(x)/s^*(x)$ (the scaled mean)

By assuming that the precision $r^*$ is a linear combination of known functions and that the scaled mean $f^*$ exhibits "group sparsity" (where variables belong to predefined groups that are either entirely zero or non-zero), the penalized log-likelihood is transformed into a convex cost function.

The ScHeDs estimator is then derived by relaxing the first-order optimality conditions of this cost function. The resulting formulation is a Second-Order Cone Program (SOCP). This is a significant computational advantage, as SOCPs can be solved rapidly using standard interior-point or first-order optimization algorithms, scaling efficiently to massive datasets. Furthermore, the authors prove that ScHeDs achieves "fast" convergence rates (error decreasing at a rate of $1/T$), the gold standard for sparse estimators.

Experimental Results

The authors validated ScHeDs using both synthetic benchmarks and real-world meteorological data.

Synthetic Benchmarks

The model was tested on random Gaussian matrices with varying observations ($T$), features ($p$), and sparsity levels ($s^*$). ScHeDs was compared against the Square-root Lasso, a state-of-the-art method designed for unknown but constant noise.

Comparison of ScHeDs and Square-root Lasso on synthetic datasets.

As shown in the results, ScHeDs consistently outperformed the Square-root Lasso in identifying the correct number of relevant variables and minimizing estimation error, particularly as the dimensionality of the problem increased. By bypassing the non-convexity that plagues traditional heteroscedastic regression, ScHeDs ensures global convergence and more reliable feature selection.

Real-World Application: Paris Temperature Data

To test the model on real-world heteroscedastic data, the authors used a dataset from the National Climatic Data Center (NCDC) containing daily temperatures in Paris from 2003 to 2008. The goal was to predict temperature increments using a high-dimensional feature space (2,176 dimensions) generated by expanding raw weather variables into second-order polynomials and trigonometric functions.

Time series analysis of Paris temperature data showing estimated seasonal variance.

ScHeDs successfully reduced the massive 2,176-dimensional feature space down to just 26 relevant features. It correctly predicted the direction of temperature change (up or down) 62% of the time. More importantly, the model successfully captured the seasonal variance inherent in the data. For instance, it automatically identified that temperature fluctuations are significantly higher in late spring and early summer compared to autumn, demonstrating its robust heteroscedastic modeling capabilities.

Limitations and Future Directions

While ScHeDs offers a powerful convex framework, it has a few limitations:

  • Linearity Assumption: The model assumes the inverse of the standard deviation ($1/s^*$) is a linear combination of known functions. If the true variance structure is highly non-linear or falls outside the chosen dictionary, performance may degrade.
  • Dictionary Selection: In practice, choosing the right basis functions for the matrices is somewhat arbitrary. Incorporating domain expertise to build better dictionaries could yield better predictive performance.
  • Bias Correction: Similar to the standard Lasso, ScHeDs tends to shrink coefficients toward zero, introducing bias. While the authors propose a two-step "refitting" procedure to mitigate this, developing integrated, single-step bias correction remains an open area for future research.

Summary updated

BibTeX
@inproceedings{dalalyan2013learning,
  author = {Arnak S. Dalalyan and Mohamed Hebiri and Katia Meziani and Joseph Salmon},
  title = {{Learning Heteroscedastic Models by Convex Programming under Group Sparsity}},
  booktitle = {International Conference on Machine Learning},
  year = {2013},
  url = {https://openreview.net/forum?id=TGI0yQ8qAiA},
}
Figure