Practical Adversarial Attacks on Spatiotemporal Traffic Forecasting Models

Fan Liu, Hao Liu, Wenzhao Jiang
10/5/2022
60 citations
cs.LGcs.AIcs.CR

Official code: luckyfan-cs/ASTFA (7 stars, Python, MIT, last commit 2023-04-25). Most starred: usail-hkust/Adv-ST, a community implementation (20 stars, Python, MIT, last commit 2023-04-25, 2.9× the official stars). 1 more implementation below.

Abstract

Machine learning based traffic forecasting models leverage sophisticated spatiotemporal auto-correlations to provide accurate predictions of city-wide traffic states. However, existing methods assume a reliable and unbiased forecasting environment, which is not always available in the wild.

Show full abstract

In this work, we investigate the vulnerability of spatiotemporal traffic forecasting models and propose a practical adversarial spatiotemporal attack framework. Specifically, instead of simultaneously attacking all geo-distributed data sources, an iterative gradient-guided node saliency method is proposed to identify the time-dependent set of victim nodes. Furthermore, we devise a spatiotemporal gradient descent based scheme to generate real-valued adversarial traffic states under a perturbation constraint. Meanwhile, we theoretically demonstrate the worst performance bound of adversarial traffic forecasting attacks. Extensive experiments on two real-world datasets show that the proposed two-step framework achieves up to $67.8\%$ performance degradation on various advanced spatiotemporal forecasting models. Remarkably, we also show that adversarial training with our proposed attacks can significantly improve the robustness of spatiotemporal traffic forecasting models. Our code is available in \url{https://github.com/luckyfan-cs/ASTFA}.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
luckyfan-cs/ASTFAOfficial7PythonMIT2023-04-25
usail-hkust/Adv-STCommunity20PythonMIT2023-04-25
luckyfan-cs/ASTFAOfficial100%
MIT
70PythonOct 3, 20223 years agoMIT
usail-hkust/Adv-STCommunity100%
MIT
203PythonOct 4, 20223 years agoMIT

Similar Papers

Cite this paper

@article{liu2022practical,
  title  = {Practical Adversarial Attacks on Spatiotemporal Traffic Forecasting Models},
  author = {Fan Liu and Hao Liu and Wenzhao Jiang},
  year   = {2022},
  eprint = {2210.02447},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.02447}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.02447.svg)](https://codeofpaper.com/paper/2210.02447)

Discussion