Efficient Truncated Linear Regression with Unknown Noise Variance

Constantinos Costis Daskalakis, Patroklos Stefanou, Rui Yao, Emmanouil Zampetakis

Overview

This paper introduces the first computationally and statistically efficient algorithm for linear regression when data is "truncated"—meaning samples are only observed if their labels fall within a specific range—and the noise level is unknown. By using a clever reparameterization technique and Projected Stochastic Gradient Descent (PSGD), the authors provide a robust method to recover both the model weights and the noise variance with provable guarantees and valid confidence intervals.

The Challenge of Truncated Data

In many real-world scenarios, datasets are incomplete. Truncation occurs when a data point $(x, y)$ is completely hidden from our dataset if the outcome $y$ falls outside a certain "observation set." For example, an environmental sensor might only record temperatures above freezing, or an economic study might only track individuals whose income exceeds a specific threshold.

Standard analytical tools like Ordinary Least Squares (OLS) fail under these conditions because the observed sample is systematically biased. If a dataset only contains high values of $y$, OLS will likely overestimate the intercept and underestimate the slope. While researchers have tackled truncated regression since the 1950s, previous "efficient" solutions required knowing the noise variance ($\sigma^2$) beforehand. In practice, the exact noise level is rarely known, making those legacy methods difficult to apply to real-world problems.

Methodology: Reparameterization and PSGD

The authors address this problem by maximizing the conditional log-likelihood of the truncated samples. Because this objective is notoriously non-convex in its standard form, they employ three key strategies to make it solvable:

  1. Reparameterization: Instead of optimizing for weights $w$ and variance $\sigma^2$ directly, the authors switch to a new coordinate system: $v = w/\sigma^2$ and $\lambda = 1/\sigma^2$. This transformation ensures that the population version of the objective function becomes convex.
  2. Projected Stochastic Gradient Descent (PSGD): The algorithm utilizes Stochastic Gradient Descent but adds a "projection" step. This step forces the parameters to stay within a specific set $D$ where the function is guaranteed to be well-behaved (i.e., strongly convex and smooth).
  3. Initialization via OLS: To find a viable starting point for the algorithm, standard OLS is applied to the biased data. While the OLS estimate is technically incorrect, it provides a "good enough" starting point to define the projection set.

Crucially, the paper proves asymptotic normality for this approach. As more data is collected, the distribution of the errors in the estimates resembles a bell curve, allowing researchers to calculate formal, reliable confidence intervals.

Datasets and Evaluation

The authors evaluated their method across both synthetic and real-world datasets:

  • Synthetic Data: High-dimensional (up to 10D) datasets were used to control the ground truth and the "aggressiveness" of the truncation, rigorously testing the algorithm's limits.
  • Aldrin (2004) PM10 Dataset: A real-world dataset tracking air pollution (particulate matter) in Oslo, Norway. Because environmental data is often truncated due to sensor detection limits, the authors used this dataset to demonstrate how their method recovers the "true" underlying model better than standard OLS when artificial truncation is applied.

Key Insights and Results

  • The "Naive" Trap: A common instinct is to calculate the variance of the truncated samples and plug that into a "known-variance" solver. The authors demonstrate that this fails because truncation naturally reduces the observed variance, leading to a feedback loop of compounding errors.
  • Identifiability Limits: A model cannot be recovered if the truncation is too extreme. The paper formalizes this by assuming the "survival probability" (the chance a point is actually observed) must be larger than a specific constant $a$.
  • Provable Efficiency: The algorithm is the first to achieve polynomial time and sample complexity for this problem without requiring $\sigma^2$ upfront.
  • Statistical Accuracy: In synthetic tests, the estimation error ($||\hat{w} - w^*||_2$) consistently approached zero as the number of samples increased, perfectly aligning with predicted theoretical rates.
  • Robustness: On the PM10 dataset, the method performed comparably to specialized R packages like truncreg, but it offers a more general framework capable of handling complex, non-interval truncation sets where truncreg typically struggles.

Limitations and Future Work

While a significant step forward, the approach has a few limitations:

  • Gaussian Noise Assumption: The current theoretical proofs rely on the noise being normally distributed. Extending this framework to handle "heavy-tailed" or non-Gaussian noise remains an open challenge.
  • The "Aggressive Truncation" Bottleneck: If the data is heavily truncated (e.g., only 1% of the points are observed), the sample complexity grows exponentially. Finding ways to mitigate this $1/a$ dependence is a primary area for future research.
  • Computational Cost: Although mathematically "efficient," the projection step and gradient estimation involve integrals that can become computationally expensive in very high-dimensional spaces.

Summary updated

BibTeX
@inproceedings{daskalakis2021efficient,
  author = {Constantinos Costis Daskalakis and Patroklos Stefanou and Rui Yao and Emmanouil Zampetakis},
  title = {{Efficient Truncated Linear Regression with Unknown Noise Variance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=oyHWvdvkZDv},
}
Figure