Hardness and Algorithms for Robust and Sparse Optimization

Eric Price, Sandeep Silwal, Samson Zhou

This paper establishes the fundamental "speed limit" for sparse and robust linear regression, proving that these problems are computationally hard even under relaxed conditions. By providing new algorithms using Approximate Nearest Neighbor (ANN) techniques that nearly match these theoretical lower bounds, the authors effectively close the gap between desired computational efficiency and mathematical possibility.

The Core Problem

In modern data science, we often seek models that are either sparse (using only a few key features) or robust (ignoring a few "garbage" or outlier data points).

  • Sparse Linear Regression: The goal is to find a vector $x$ with only $k$ non-zero entries that best fits the data ($Ax \approx b$).
  • Robust Linear Regression: The objective is to find a vector $x$ that fits the data well after ignoring up to $k$ corrupted measurements (rows of the matrix).
Common robust loss formulations

While heuristics like LASSO or greedy algorithms are popular for these tasks, they often lack worst-case guarantees or fail on adversarial data. Researchers have long suspected these problems are inherently "hard." This paper seeks to quantify exactly how hard they are and whether we can build algorithms that reach the theoretical limits of efficiency.

Methodology: Hardness and Algorithms

The authors employ a two-pronged approach: proving "hardness" (establishing why algorithms cannot exceed certain speeds) and developing "upper bounds" (creating algorithms that operate as fast as theoretically possible).

Hardness Reductions Using Fine-Grained Complexity, the researchers show that robust regression is linked to the "minimum-weight $k$-clique" conjecture. This implies that any algorithm solving the problem significantly faster than $n^{k/2}$ would break long-standing assumptions in computer science. They also prove Bicriteria NP-hardness, demonstrating that it is difficult to even get a rough approximation of the best fit, even if allowed to use slightly more than $k$ features or ignore more than $k$ rows.

The "3SUM" Algorithmic Trick To build their algorithms, the authors use a technique inspired by the 3SUM problem. Instead of searching through all possible combinations of $k$ features—which takes $O(n^k)$ time—they split the problem into two sets of $k/2$ features. They pre-calculate the results for these smaller sets and use Approximate Nearest Neighbor (ANN) data structures to quickly find pairs that combine to form a good global solution.

Note: As a theoretical computer science paper, this work relies on synthetic mathematical constructions (arbitrary matrices $A \in \mathbb{R}^{n \times d}$ and vectors $b \in \mathbb{R}^n$) to prove theorems, rather than empirical benchmarks like ImageNet.

Key Insights and Results

  • The Reduction Link: The authors introduce a general reduction showing that robust regression is actually "easier" than (or at most as hard as) sparse regression. This allows them to transfer hardness results and algorithmic techniques between the two fields.
  • The $n^{k/2}$ Barrier: The paper identifies $n^{k/2}$ as the fundamental complexity barrier. This "Goldilocks" result shows that while the problem is exponential in $k$, algorithms can perform much better than a naive $n^k$ search.
  • Matching Bounds: The authors provide an algorithm for robust regression with an additive error $\epsilon$ that runs in roughly $O(n^{k/2})$ time. This nearly matches their proven lower bound of $\Omega(n^{k/2})$, essentially solving the complexity of the problem for the noiseless case.
  • Bicriteria Hardness: Even if an algorithm "cheats" by allowing the model to be slightly less sparse than requested (e.g., using $1.1k$ features), the problem remains NP-hard to approximate. This suggests that the difficulty is inherent to the structure of the loss function, not just the strictness of the $k$ constraint.
  • Sparse PCA Speedup: Surprisingly, the same ANN-based "splitting" trick works for Sparse Principal Component Analysis (PCA). The algorithm improves the dependence on the error parameter $\epsilon$, moving from $(1/\epsilon)^r$ in prior work to $(1/\epsilon)^{r/2+1}$, where $r$ is the rank of the matrix.

Limitations and Future Work

While the proposed algorithms achieve arbitrarily accurate additive error ($\epsilon$), the hardness results show that achieving a multiplicative approximation is much more difficult. Furthermore, for sparse regression, the runtime depends heavily on the condition number ($\kappa$) of the matrix $A$; if the matrix is very poorly conditioned (i.e., features are nearly redundant), the algorithm slows down.

Finally, the algorithmic upper bounds focus heavily on the "zero-loss" or "noiseless" setting, where a perfect $k$-sparse solution exists. Extending these near-optimal runtimes to settings with high intrinsic noise remains a significant open challenge for future research.

Summary updated

BibTeX
@inproceedings{price2022hardness,
  author = {Eric Price and Sandeep Silwal and Samson Zhou},
  title = {{Hardness and Algorithms for Robust and Sparse Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=25o7p_Hs_Vm},
}
Figure