An Efficient Adversarial Attack for Tree Ensembles
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 22 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 4; 2024: 1; 2025: 1.
9 papers.
- 2021Adversarial for Good? How the Adversarial ML Community's Values Impede Socially Beneficial Uses of Attackscited by 5
- 2023Coevolutionary Algorithm for Building Robust Decision Trees under Minimax Regretcited by 2
- 2023Adversarial Sample Detection Through Neural Network Transport Dynamicscited by 1
- 2023Your Battery Is a Blast! Safeguarding Against Counterfeit Batteries with Authenticationcited by 1
- 2024Faster Repeated Evasion Attacks in Tree Ensemblescited by 1
- 2022AdIoTack: Quantifying and Refining Resilience of Decision Tree Ensemble Inference Models against Adversarial Volumetric Attacks on IoT Networkscited by 0
- 2022Adversarial Example Detection in Deployed Tree Ensemblescited by 0
- 2023Symmetry Defense Against XGBoost Adversarial Perturbation Attackscited by 0
- 2025On the Efficiency of Training Robust Decision Treescited by 0
- 2025On the Efficiency of Training Robust Decision Trees14 Jul 2025
- 2024Faster Repeated Evasion Attacks in Tree Ensembles13 Feb 2024
- 2023Coevolutionary Algorithm for Building Robust Decision Trees under Minimax Regret14 Dec 2023
- 2023Your Battery Is a Blast! Safeguarding Against Counterfeit Batteries with Authentication7 Sep 2023
- 2023Symmetry Defense Against XGBoost Adversarial Perturbation Attacks10 Aug 2023
- 2023Adversarial Sample Detection Through Neural Network Transport Dynamics7 Jun 2023
- 2022Adversarial Example Detection in Deployed Tree Ensembles27 Jun 2022
- 2022AdIoTack: Quantifying and Refining Resilience of Decision Tree Ensemble Inference Models against Adversarial Volumetric Attacks on IoT Networks18 Mar 2022
- 2021Adversarial for Good? How the Adversarial ML Community's Values Impede Socially Beneficial Uses of Attacks11 Jul 2021