With Great Dispersion Comes Greater Resilience: Efficient Poisoning Attacks and Defenses for Online Regression Models

Jialin Wen, Benjamin Zi Hao Zhao, Minhui Xue, Haifeng Qian

Introduction

As Machine Learning as a Service (MLaaS) and collaborative online learning environments become increasingly prevalent, models are frequently trained on data sourced from third parties. This shift introduces a significant security vulnerability: poisoning attacks. In these scenarios, an adversary injects malicious data points into the training set to degrade the performance of the resulting model. While such attacks are well-studied in the context of classification, poisoning regression models—which predict continuous values like financial trends or medical dosages—presents unique challenges.

This paper addresses critical gaps in both attacking and defending regression models. The authors introduce Nopt, a "grey-box" poisoning attack that maximizes training data dispersion, and Proda, a probabilistic defense algorithm that significantly outperforms the current state-of-the-art (TRIM) in both efficacy and computational efficiency.

The Nopt Attack: Maximizing Dispersion

Previous poisoning strategies, such as the Opt attack, primarily focused on maximizing the loss function relative to the original clean dataset. In contrast, Nopt adopts a holistic approach by optimizing each subsequent poisoning point based on a dataset that includes all previously injected malicious points.

The core intuition behind Nopt is to maximize the dispersion (spread) of the entire training set. By strategically placing outliers, the attacker forces the regression line to become highly unstable, leading to a drastic shift in predictions. This effect is most pronounced as the poisoning rate increases, causing the model to lose its alignment with the true data distribution.

Impact of increasing poisoning rates on linear regression stability. As the poisoning rate increases from 4% to 20%, the regression line flattens, losing its predictive power on the original data distribution.

The Proda Defense: Probabilistic Resilience

To counter these attacks, the authors propose Proda, a probabilistic ensemble-based defense. Proda relies on the principle that if enough small subsets of data are sampled randomly, at least one subset is highly likely to be "clean" (unpolluted by poison data). Unlike the TRIM algorithm, which uses an iterative search that can hit exponential time complexity in the worst case, Proda’s complexity is logarithmic, making it far more scalable for real-world applications.

The Proda Process

  1. Ensemble Training: Proda randomly selects multiple small groups of points and trains "ensemble models" on each.
  2. Residual Analysis: It identifies which larger subset of the total data best fits these ensemble models by calculating residuals.
  3. Model Selection: The final model is derived from the subset that demonstrates the highest consistency with the clean data distribution.
Recovery of the regression model using the Proda defense. Even with significant poisoning (red points), Proda successfully identifies the clean distribution (blue points) and restores the regression line's accuracy as the subset size gamma is tuned.

Experimental Evaluation

The researchers evaluated Nopt and Proda across four real-world datasets: Housing Prices, Loans, Warfarin Dosage (Pharm), and Bike Sharing.

Key Results

  • Attack Potency: Nopt consistently produced higher Mean Squared Error (MSE) than previous state-of-the-art attacks. In the Bike Sharing dataset, Nopt was 4x more effective at increasing error than the previous Opt attack.
  • Defense Efficacy: Proda successfully reduced the MSE of poisoned models back to levels near (and sometimes even better than) the original clean model.
  • Computational Speed: In the Pharm dataset, while TRIM's worst-case time was estimated to be astronomical ($>5^{80}$ iterations), Proda achieved stable defense in a fraction of that time, with its complexity scaling based on the chosen subset size.

Conclusion and Future Work

The study demonstrates that the vulnerability of regression models lies in their sensitivity to data dispersion. While Proda offers a robust and efficient defense, limitations remain. Current evaluations focused on reduced feature sets due to computational intensity. Future research will explore Proda's performance on high-dimensional "big data" and investigate "targeted attacks," where an adversary aims to manipulate specific predictions rather than overall model availability.

Summary updated

BibTeX
@article{wen2021with,
  author = {Jialin Wen and Benjamin Zi Hao Zhao and Minhui Xue and Haifeng Qian},
  title = {{With Great Dispersion Comes Greater Resilience: Efficient Poisoning Attacks and Defenses for Online Regression Models}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2021},
  url = {https://openreview.net/forum?id=BlLA0BoNlF9x},
}
Figure