Robust Nonparametric Regression under Poisoning Attack

Puning Zhao, Zhiguo Wan

Nonparametric regression is a fundamental tool in machine learning, prized for its ability to model complex relationships without assuming a fixed functional form. However, this flexibility comes at a cost: vulnerability to adversarial data manipulation. In research presented at AAAI-24, authors explore the theoretical limits and practical defenses against "poisoning attacks" in nonparametric settings.

The Vulnerability of Local Estimators

While robust regression is well-established for parametric models like linear regression, nonparametric methods face a unique structural challenge. Methods such as kernel regression rely on local data points to estimate function values. Consequently, an adversary does not need to corrupt an entire dataset to degrade performance; they only need to "poison" a majority of samples within a small, localized region.

Visualization of a concentrated poisoning attack where adversarial samples create localized 'spikes' in the data distribution.

As shown in the figure above, these concentrated attacks create artificial "spikes" or "dips" that standard smoothing techniques cannot easily resolve. This highlights the concept of the local breakdown point: if more than 50% of samples in a specific neighborhood are poisoned, local estimators will inevitably fail unless global constraints are applied.

The Two-Stage Corrected Regression Framework

To address this, the authors propose a two-stage robust estimator that combines local M-estimation with a global continuity projection.

1. Initial M-Estimator

Instead of minimizing standard squared error, which is highly sensitive to outliers, the framework employs a weighted Huber loss. The Huber loss behaves quadratically for small errors but linearly for large ones, providing a baseline level of protection against scattered malicious samples. However, this step alone cannot fully neutralize concentrated attacks.

2. Lipschitz Projection

The critical innovation is treating the initial estimate as a noisy signal and projecting it onto the space of Lipschitz functions. A Lipschitz function is one where the "slope" is bounded, meaning the function cannot change too rapidly. By finding the Lipschitz function closest to the initial estimate using an $\ell_1$ distance metric, the model effectively filters out adversarial spikes while preserving the underlying trend of the true function.

Empirical Performance and Theoretical Optimality

The framework was evaluated against several attack strategies, including random, one-directional, and concentrated attacks. The results demonstrate that the proposed "Corrected" estimator remains stable even under heavy local distortion.

Comparison of regression estimators under attack. The proposed 'Corrected' method (red) successfully recovers the ground truth, whereas standard kernel regression (orange) and the initial M-estimator (green) are pulled toward the adversarial spikes.

Beyond empirical success, the authors provide a rigorous theoretical foundation for this approach. They derive minimax lower bounds to establish the fundamental limits of any algorithm under these attacks and prove that their corrected estimator is nearly minimax optimal, matching the lower bound up to a logarithmic factor ($\ln N$).

Conclusion and Future Directions

By using global continuity (Lipschitzness) as a defense mechanism, this framework allows models to "infer" correct values in poisoned regions by looking at cleaner neighboring data. While the current method is highly effective for low-dimensional problems, future work will focus on scaling the computational complexity of the Lipschitz projection for high-dimensional feature spaces and developing automated parameter selection for the Lipschitz constant in adversarial environments.

Summary updated

BibTeX
@inproceedings{zhao2024robust,
  author = {Puning Zhao and Zhiguo Wan},
  title = {{Robust Nonparametric Regression under Poisoning Attack}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29644},
}
Figure