Sparse Contextual CDF Regression

Kamyar Azizzadenesheli, William Lu, Anuran Makur, Qian ZhangTMLR 2024

Abstract

Estimating cumulative distribution functions (CDFs) of context-dependent random variables is a central statistical task underpinning numerous applications in machine learning and economics. This work analyzes the problem of sparse contextual CDF regression, where data points are sampled from a convex combination of $s$ context-dependent CDFs chosen from a set of $d$ basis functions. We show that adaptations of several canonical regression methods—Lasso, Elastic Net, and the Dantzig selector—serve as tractable estimators in this functional sparse regression setting. Given $n$ data samples, we prove estimation error upper bounds of $\tilde{O}(\sqrt{s/n})$ for functional versions of the Lasso and Dantzig selector, and $\tilde{O}(\sqrt{s}/\sqrt[4]{n})$ for the functional Elastic Net. These results match finite-dimensional regression bounds and improve upon CDF ridge regression, which scales with $\tilde{O}(\sqrt{d/n})$. Finally, we establish a matching information-theoretic lower bound, proving the minimax optimality of the Lasso and Dantzig selector estimators.

Introduction

In modern machine learning, predicting a single point estimate (like a mean) is often insufficient. Applications such as risk-averse reinforcement learning, contextual bandits, and financial risk modeling require an understanding of the entire distribution of outcomes. This is captured by the Cumulative Distribution Function (CDF), $F(y|x)$, which describes the probability that a random variable $Y$ is less than or equal to $y$ given a context $x$.

Recent research introduced "Contextual CDF Regression," modeling the true distribution as a mixture of $d$ known basis functions. However, a significant bottleneck remained: the error of existing estimators, such as Ridge regression, scales with the total number of basis functions $d$. In high-dimensional regimes where $d$ is large but only a few features are relevant, this scaling is inefficient. This paper addresses this gap by introducing sparse contextual CDF regression, where only $s \ll d$ basis functions are active.

Methodology: Functional Sparse Regression

The authors extend classical sparse regression techniques to the functional domain, where the "targets" are CDFs rather than scalars. They propose three primary estimators:

  1. Functional Lasso: This estimator minimizes the $L^2$ distance between the empirical sample and the model, augmented with an $\ell_1$-penalty on the parameter vector to induce sparsity.
  2. Functional Elastic Net: By combining $\ell_1$ and $\ell_2$ penalties, this method provides a regularized approach that remains robust even when basis functions exhibit high correlation or poor conditioning.
  3. Functional Dantzig Selector: A linear programming-based approach that constrains the correlation between the residual and the basis functions, offering an alternative to the Lasso with similar theoretical guarantees.

A key technical challenge in this functional setting is the nature of the noise. Unlike standard regression where noise is a scalar (e.g., Gaussian), the noise here is a random function—the difference between a single-sample indicator function and the true underlying CDF. The authors overcome this by analyzing the inner product between this functional noise and the basis functions, using concentration inequalities to bound the error.

Theoretical Contributions

The core contribution of this work is the derivation of tight estimation error bounds. For the Lasso and Dantzig selector, the authors prove an error rate of $\tilde{O}(\sqrt{s/n})$. This is a significant improvement over the $\tilde{O}(\sqrt{d/n})$ rate of Ridge regression, as the dependence on the total dimension $d$ is reduced to a logarithmic factor.

Furthermore, the authors establish an information-theoretic lower bound of $\Omega(\sqrt{s/n})$. Since the upper bounds for the Lasso and Dantzig selector match this lower bound (up to logarithmic factors), these estimators are shown to be minimax optimal. This confirms that leveraging sparsity allows for efficient distribution learning even in extremely high-dimensional spaces.

Computational Implementation

Despite the functional nature of the problem, the authors demonstrate that these estimators are computationally tractable. The functional optimization problems can be reduced to standard finite-dimensional optimization by pre-computing a Gramian matrix. This matrix involves one-dimensional integrals of the basis functions, which can often be computed analytically or via efficient numerical integration. Once the Gramian is computed, researchers can utilize existing, high-performance solvers like FISTA to find the optimal parameters.

Empirical Validation

The proposed methods were evaluated using synthetic simulations to verify the theoretical rates. The authors constructed a basis of contextual Bernoulli CDFs, where parameters depend on the context. Experiments covered both fixed and random designs for the context variables.

The results confirmed the theoretical predictions:

  • Lasso Performance: The Lasso estimator's error followed the expected $1/\sqrt{n}$ decay rate in log-log plots.
  • Sparsity Advantage: In high-dimensional settings where $s$ is small relative to $d$, the Lasso and Elastic Net significantly outperformed the Ridge regression baseline.
  • Robustness: The Elastic Net proved to be a robust alternative when the Restricted Eigenvalue Condition (necessary for Lasso) was weakened.

Conclusion and Future Work

This research provides a rigorous framework for high-dimensional distribution learning through sparse contextual CDF regression. By proving minimax optimality for functional Lasso and Dantzig selectors, the authors offer a powerful toolset for applications where data is high-dimensional but governed by a few key factors.

Future research directions include extending these theories to infinite-dimensional feature maps (kernels), exploring alternative loss functions like $L^1$ for heavy-tailed data, and relaxing the geometric assumptions on the basis functions to accommodate more complex real-world datasets.

Summary updated

BibTeX
@article{azizzadenesheli2024sparse,
  author = {Kamyar Azizzadenesheli and William Lu and Anuran Makur and Qian Zhang},
  title = {{Sparse Contextual CDF Regression}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=AIc48TjuSt},
}
Figure