Lune

NeurIPS2020Top-tier venue

An Efficient Adversarial Attack for Tree Ensembles

Chong Zhang, Huan Zhang, Cho-Jui Hsieh

Abstract

We study the problem of efficient adversarial attacks on tree based ensembles such as gradient boosting decision trees (GBDTs) and random forests (RFs). Since these models are non-continuous step functions and gradient does not exist, most existing efficient adversarial attacks are not applicable. Although decision-based black-box attacks can be applied, they cannot utilize the special structure of trees. In our work, we transform the attack problem into a discrete search problem specially designed for tree ensembles, where the goal is to find a valid "leaf tuple" that leads to mis-classification while having the shortest distance to the original input. With this formulation, we show that a simple yet effective greedy algorithm can be applied to iteratively optimize the adversarial example by moving the leaf tuple to its neighborhood within hamming distance 1. Experimental results on several large GBDT and RF models with up to hundreds of trees demonstrate that our method can be thousands of times faster than the previous mixed-integer linear programming (MILP) based approach, while also providing smaller (better) adversarial examples than decision-based black-box attacks on general p (p = 1, 2, ∞) norm perturbations. Our code is available at https://github.com/ chong-z/tree-ensemble-attack .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • OC-space: a Unifying Perspective on Verification of Tree Ensembles cites On Lp-norm Robustness of Ensemble Decision Stumps and Trees
  • OC-space: a Unifying Perspective on Verification of Tree Ensembles cites Faster Repeated Evasion Attacks in Tree Ensembles
  • On Lp-norm Robustness of Ensemble Decision Stumps and Trees cites Towards Evaluating the Robustness of Neural Networks
  • Faster Repeated Evasion Attacks in Tree Ensembles cites Towards Evaluating the Robustness of Neural Networks
  • Faster Repeated Evasion Attacks in Tree Ensembles cites On Lp-norm Robustness of Ensemble Decision Stumps and Trees
  • Guessing Smart: Biased Sampling for Efficient Black-Box Adversarial Attacks cites Towards Evaluating the Robustness of Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. The Power of Anomaly Detection in Predictive Maintenance: [Experiments & Analysis]Anastasios Papadopoulos, Apostolos Giannoulidis, Anastasios Gounaris, John PaparrizosSIGMOD 2026 · 4 citations
  2. Integrity Authentication in Tree ModelsWeijie Zhao, Yingjie Lao, Ping LiKDD 2022 · 3 citations
  3. Faster Repeated Evasion Attacks in Tree EnsemblesLorenzo Cascioli, Laurens Devos, Ondrej Kuzelka, Jesse DavisNeurIPS 2024 · 3 citations
  4. OC-space: a Unifying Perspective on Verification of Tree EnsemblesTimo Martens, Laurens Devos, Lorenzo Cascioli, Wannes Meert et al.ICML 2026

Builds on3

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Guessing Smart: Biased Sampling for Efficient Black-Box Adversarial AttacksThomas Brunner, Frederik Diehl, Michael Truong-Le, Alois C. KnollICCV 2019 · 127 citations
  3. On Lp-norm Robustness of Ensemble Decision Stumps and TreesYihan Wang, Huan Zhang, Hongge Chen, Duane S. Boning et al.ICML 2020 · 11 citations

Related papers

  1. Robust Optimal Classification Trees against Adversarial ExamplesDaniël Vos, Sicco VerwerAAAI 2022 · 29 citations
  2. Stochastic Variance Reduced Ensemble Adversarial Attack for Boosting the Adversarial TransferabilityYifeng Xiong, Jiadong Lin, Min Zhang, John E. Hopcroft et al.CVPR 2022 · 124 citations
  3. Optimal Counterfactual Explanations in Tree EnsemblesAxel Parmentier, Thibaut VidalICML 2021 · 66 citations
  4. Abstract Interpretation of Decision Tree Ensemble ClassifiersFrancesco Ranzato, Marco ZanellaAAAI 2020 · 50 citations
  5. AutoDA: Automated Decision-based Iterative Adversarial AttacksQi-An Fu, Yinpeng Dong, Hang Su, Jun Zhu et al.USENIX Security 2022
Dusk over the sea between two cliffs drawn in fine vertical lines