NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Theoretical Study of The Effects of Adversarial Attacks on Sparse Regression

Deepak Maurya, Jean Honorio

Abstract

This paper analyzes $\ell_1$ regularized linear regression under the challenging scenario of having only adversarially corrupted data for training. Firstly, we prove existing deterministic adversarial attacks (e.g., FGSM and variants) focusing on maximizing the loss function can be easily handled with a few samples for support recovery. Hence, we consider a more general, challenging stochastic adversary which can be conditionally dependent on uncorrupted data and show existing models attacking support (Goodfellow et al., 2014; Madry et al., 2017) or Huber model (Prasad et al. 2018) are particular cases of our adversarial model. This enables us to show the counter-intuitive result that an adversary can influence sample complexity by corrupting the "irrelevant features", i.e., non-support. Secondly, as any adversarially robust algorithm has limitations, our theoretical analysis identifies that the dependence (covariance) between adversarial perturbations and uncorrupted data plays a critical role in defining the regimes under which this challenging adversary or Lasso can dominate over each other. Thirdly, we derive a necessary condition for support recovery for any algorithm (not restrictive to Lasso), which corroborates our theoretical findings for Lasso. Fourthly, we identify the fundamental limits and address critical scientific questions of which parameters (i.e., mutual incoherence, the maximum and minimum eigenvalue of the covariance matrix, and the budget of adversarial perturbations) play a role in the high or low probability of success of the Lasso algorithm. Also, the derived sample complexity is logarithmic with respect to the size of the regression parameter vector. Our theoretical claims are validated by empirical analysis.

Introduction

In many scientific, financial, and engineering domains, sparse regression is a cornerstone for identifying a small set of relevant features (the "support") from a high-dimensional pool of candidates. While adversarial machine learning has extensively explored classification—such as perturbing images to cause misclassification—the vulnerability of sparse regression models during the training phase remains less understood. This research addresses a fundamental question: Can we reliably identify the "true" features when the training data itself has been maliciously tampered with?

Existing adversarial models, such as the Fast Gradient Sign Method (FGSM), typically assume an attacker aims to maximize the loss function. However, this paper demonstrates that such deterministic attacks are relatively weak against sparse regression. Instead, the authors introduce a more sophisticated "stochastic adversary" that strategically corrupts data to mislead the feature selection process itself.

The Stochastic Adversary Model

The study focuses on the Lasso ($\ell_1$-regularized linear regression) algorithm under a generative model where observed features $x$ are corrupted versions of true features $x^*$. Unlike standard deterministic attacks, the proposed stochastic adversary allows perturbations to be random variables conditionally dependent on the uncorrupted data. This framework is highly general, encompassing existing models like Huber’s contamination and standard $\ell_\infty$ bounded attacks as special cases.

To analyze this model, the authors utilized the Primal-Dual Witness (PDW) construction, a theoretical framework for proving Lasso consistency. They further derived a new concentration inequality to bound the behavior of non-symmetric matrices that arise from the interaction between adversarial noise and the underlying data.

Key Theoretical Insights

The "Irrelevant" Feature Attack

One of the paper's most counter-intuitive findings is that an adversary can effectively break the Lasso by corrupting the non-support (irrelevant) features. By introducing perturbations that make "garbage" features appear correlated with the target variable, the attacker can force the Lasso algorithm to select incorrect variables, even if the relevant features remain relatively clean.

Quadratic Increase in Sample Complexity

In a clean environment, the number of samples ($n$) required for successful support recovery typically scales linearly with the sparsity $k$ (the number of true features), following $n = \Omega(k \log p)$. However, under the proposed stochastic adversary, the sample complexity jumps to $n = \Omega(k^2 \log p)$. This quadratic increase represents a significant rise in the "cost" of learning in the presence of malicious data.

The Impossible Regime

The authors identify a critical term, $b$, representing the covariance between adversarial perturbations and uncorrupted data. Their analysis reveals a "dead zone": if $b$ is large relative to the signal strength, support recovery becomes mathematically impossible. In this regime, no amount of additional data can allow the algorithm to perfectly recover the true support, as the adversarial correlation effectively masks the true signal.

Empirical Validation

The theoretical claims were tested using both synthetic and real-world datasets:

  1. Synthetic Data: By using high-dimensional datasets with known ground truths, the authors confirmed the predicted "phase transitions." In scenarios where the attack was uncorrelated ($b=0$), the probability of success reached 1.0 as sample size increased. Conversely, when the attack was correlated ($b \neq 0$), the success probability hit a ceiling, validating the existence of the "impossible regime."
  2. BlogFeedback Dataset: Using a real-world dataset containing ~52,000 samples and 276 features, the authors demonstrated that while Lasso can maintain high F1-scores for support recovery under certain conditions, its performance is strictly bounded by the adversarial parameters identified in their theory.

Conclusion and Future Work

This research establishes the fundamental limits of Lasso under adversarial training conditions. It proves that while Lasso remains robust to high-dimensional noise (maintaining logarithmic scaling with the total number of features $p$), it is highly sensitive to the correlation between perturbations and features.

Future research directions include extending these results to non-linear models and deep neural networks, as well as developing "adversarially-aware" regularizers that can explicitly account for the covariance between noise and data to push past the identified limitations of standard $\ell_1$ methods.

Summary updated

BibTeX
@article{maurya2024theoretical,
  author = {Deepak Maurya and Jean Honorio},
  title = {{A Theoretical Study of The Effects of Adversarial Attacks on Sparse Regression}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=DaDBtnWcy9},
}
Figure