Skip to main content
QUICK REVIEW

[Paper Review] Online Data Poisoning Attack

Xuezhou Zhang, Xiaojin Zhu|arXiv (Cornell University)|Mar 5, 2019
Network Security and Intrusion DetectionComputer Science43 references18 citations
TL;DR

This paper formulates online data poisoning attacks as a stochastic optimal control problem, proposing two methods—model predictive control (MPC) and deep reinforcement learning (DDPG)—to generate near-optimal attacks in real-time without knowledge of future data or the data distribution. Experiments show both methods achieve performance close to a clairvoyant attacker who knows the future, demonstrating strong effectiveness across supervised and unsupervised online learning tasks.

ABSTRACT

We study data poisoning attacks in the online setting where training items arrive sequentially, and the attacker may perturb the current item to manipulate online learning. Importantly, the attacker has no knowledge of future training items nor the data generating distribution. We formulate online data poisoning attack as a stochastic optimal control problem, and solve it with model predictive control and deep reinforcement learning. We also upper bound the suboptimality suffered by the attacker for not knowing the data generating distribution. Experiments validate our control approach in generating near-optimal attacks on both supervised and unsupervised learning tasks.

Motivation & Objective

  • To address the gap in understanding online data poisoning attacks, where attackers manipulate data in real-time as it arrives.
  • To model online data poisoning as a stochastic optimal control problem under partial information.
  • To develop practical attack algorithms that perform near-optimally despite lacking knowledge of the data generating distribution or future data.
  • To theoretically bound the performance gap between a realistic attacker and a clairvoyant attacker with full future knowledge.
  • To validate the proposed methods on both synthetic and real-world datasets across online supervised and unsupervised learning tasks.

Proposed method

  • Formulates online data poisoning as a stochastic optimal control problem, where the attacker selects perturbations to minimize cumulative cost while driving the victim model toward a target.
  • Uses model predictive control (MPC) with a finite look-ahead horizon to plan attacks based on predicted future data, balancing immediate and long-term costs.
  • Employs deep reinforcement learning (DDPG) to learn a policy that maps observed states (current data and model) to perturbation actions, enabling adaptive, real-time attack decisions.
  • Introduces a perturbation cost function $ g_{\text{per}}(\mathbf{z}_t, \mathbf{a}_t) = \|\mathbf{a}_t - \mathbf{z}_t\|_p $ to penalize large data modifications.
  • Defines a nefarious cost $ g_{\text{nef}}(\theta) $ to encode attack goals such as targeting a specific model $ \theta^\dagger $, avoiding a good model $ \hat{\theta} $, or enabling backdoor triggers.
  • Uses a discounted cumulative reward $ \tilde{J}(t) = \sum_{\tau=0}^{t} \gamma^{\tau} (g_{\text{nef}}(\theta_\tau) + g_{\text{per}}(\mathbf{z}_\tau, \mathbf{a}_\tau)) $ to evaluate attack performance over time.

Experimental results

Research questions

  • RQ1How can online data poisoning be optimally formulated as a stochastic control problem when the attacker lacks knowledge of the data distribution or future data points?
  • RQ2To what extent can a realistic attacker achieve performance close to a clairvoyant attacker who knows the future data distribution?
  • RQ3Can model predictive control and deep reinforcement learning effectively generate near-optimal attacks in online learning settings with limited information?
  • RQ4How do different attack strategies—greedy, short-sighted, and long-term planning—compare in terms of cumulative cost and adaptability?
  • RQ5What is the impact of computational constraints (e.g., limited look-ahead horizon) on the performance of planning-based and learning-based attack methods?

Key findings

  • The clairvoyant attacker, who knows the future, consistently achieves the lowest cumulative cost across all 10 real datasets, confirming its theoretical optimality.
  • The NLP (look-ahead planning) method achieves clairvoyant-matching performance on 7 of 10 datasets when given a sufficiently large look-ahead horizon ($ h=80 $), demonstrating strong planning effectiveness.
  • The DDPG-based attacker performs closely to MPC and clairvoyant methods on most datasets, showing that a learned policy can generalize well despite no explicit future knowledge.
  • The GREEDY method performs poorly, achieving only a slight improvement over the NULL baseline, confirming that myopic strategies are ineffective in long-term online attacks.
  • Both MPC and DDPG exhibit strategic behavior: they incur higher initial perturbation costs to enable significantly lower long-term attack costs, especially after $ t=50 $, indicating effective long-horizon planning.
  • When computational limits restrict the look-ahead horizon (e.g., $ h=20 $), DDPG outperforms short-sighted NLP, showing that learned policies can adapt better than iterative planning under resource constraints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.