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

Optimal attack against autoregressive models by manipulating the environment

Yiding Chen, Jerry ZhuOpenReview 2022

TL;DR

This paper introduces a novel framework for crafting optimal, sequential adversarial attacks against autoregressive time series forecasting models. By formulating attacks as optimal control problems, the authors demonstrate how an attacker can subtly manipulate the underlying environment to steer forecasts towards a desired trajectory with minimal effort, outperforming simpler greedy strategies.

What Problem Does This Paper Address?

Time series forecasting models, like autoregressive models, are widely used in various domains. However, their vulnerability to adversarial attacks, especially sequential ones where an attacker acts over time, has been underexplored. Existing adversarial attacks often focus on single-shot (batch) manipulations. This paper addresses the gap by developing a method for an attacker to sequentially influence the environment, thereby manipulating the forecasts of an autoregressive model over an extended period. The core challenge is to design an attack strategy that is both effective in achieving the attacker's prediction goals and efficient in terms of the resources (control effort) expended.

Methods

The paper frames the adversarial attack as an optimal control problem. The attacker's goal is to minimize a cost function that balances how closely the forecaster's predictions match a target trajectory and the effort spent on manipulating the environment.

  • White-Box Attacks:
    • Linear Environment: For linear environment dynamics and forecast models, the problem is solved using Linear Quadratic Regulator (LQR), a standard control theory technique. The paper provides a closed-form solution.
  • Non-linear Environment: When the environment dynamics are non-linear, the authors employ Model Predictive Control (MPC) with Iterative Linear Quadratic Regulator (iLQR) as an inner loop. MPC repeatedly plans a control sequence, executes the first action, and then re-plans, allowing it to adapt to new states.
  • Black-Box Attacks:
    • In this setting, the attacker doesn't know the environment or forecast models. The approach combines system identification to estimate these models from observed data with the MPC+iLQR strategy for attack generation.
  • Greedy Policy Baseline: A simpler, myopic greedy policy is also proposed as a baseline, where the attacker minimizes the immediate cost at each time step.

Datasets

The paper evaluates its methods on:

  • Synthetic datasets: Generated to test specific scenarios, including linear and non-linear dynamics, and different attack target patterns.
  • Real-world dataset: US real GNP growth rate data (from Tiao and Tsay, 1994) is used to evaluate the MPC+iLQR and greedy attacks on a non-linear threshold model.

Key Insights and Ideas

  • Sequential Attacks are Powerful: The work highlights that sequential attacks, where an attacker acts over time, can be significantly more effective than single-shot (batch) attacks, especially against dynamic systems like time series.
  • Optimal Control Framework: Framing adversarial attacks as optimal control problems provides a principled way to derive effective and efficient attack strategies, balancing prediction manipulation with attack cost.
  • LQR for Linear Systems: For linear autoregressive models, LQR offers a direct and optimal solution for crafting these sequential attacks.
  • MPC for Non-linear Systems: MPC proves to be a robust heuristic for non-linear systems, allowing the attacker to adapt their strategy over time.
  • System Identification for Black-Box: The combination of system identification with control techniques effectively enables sophisticated attacks even when the attacker has limited knowledge of the target system.
  • Greedy vs. Optimal: The optimal control-based attacks significantly outperform a simple greedy strategy, demonstrating the importance of considering future impacts of current actions.

Key Results

  • Effectiveness of Optimal Attacks: Experiments show that the proposed optimal attack strategies (LQR and MPC+iLQR) can effectively drive autoregressive forecasts towards target trajectories, significantly reducing the realized cost compared to no attack.
  • Superiority over Greedy: In synthetic experiments, LQR attacks consistently outperformed greedy attacks, leading to much lower realized costs and demonstrating the myopic failure of the greedy approach.
  • Black-Box Success: The black-box attack method, using system identification, was able to achieve costs comparable to an oracle attacker with full knowledge, albeit with a slightly higher cost.
  • Targeting Specific Forecasts: The paper demonstrates that by adjusting the cost function (Q matrix), attackers can prioritize manipulating forecasts for specific future time points (e.g., "tomorrow" vs. "last day" vs. "all predictions").

Limitations and Future Work

  • Assumptions: The paper assumes a known attack budget (λ) and specific cost matrices (Q) that define the attacker's priorities. The choice of these parameters can influence the attack's effectiveness.
  • Computational Complexity: While LQR provides closed-form solutions, MPC and iLQR can be computationally intensive, especially for long prediction horizons or complex non-linear systems.
  • Future Work: The authors suggest exploring more complex attack scenarios, such as adaptive attackers who can adjust their strategy based on the defender's responses, or investigating defenses against these sophisticated sequential attacks. The paper also mentions extending the framework to handle non-stationary environments or forecasters.

Summary updated

BibTeX
@misc{chen2022optimal,
  author = {Yiding Chen and Jerry Zhu},
  title = {{Optimal attack against autoregressive models by manipulating the environment}},
  year = {2022},
  url = {https://openreview.net/forum?id=aT40vVS3Ed},
  howpublished = {OpenReview},
}
Figure