[Paper Review] Evasion and Hardening of Tree Ensemble Classifiers
This paper proposes two algorithms for generating adversarial examples that evade tree ensemble classifiers: an exact Mixed Integer Linear Programming (MILP)-based method and a fast approximate method using symbolic prediction. It demonstrates that gradient boosted trees and random forests are highly vulnerable to small perturbations, and introduces 'adversarial boosting'—a training-time hardening technique that augments training data with adversarial instances, significantly increasing robustness without sacrificing accuracy.
Classifier evasion consists in finding for a given instance $x$ the nearest instance $x'$ such that the classifier predictions of $x$ and $x'$ are different. We present two novel algorithms for systematically computing evasions for tree ensembles such as boosted trees and random forests. Our first algorithm uses a Mixed Integer Linear Program solver and finds the optimal evading instance under an expressive set of constraints. Our second algorithm trades off optimality for speed by using symbolic prediction, a novel algorithm for fast finite differences on tree ensembles. On a digit recognition task, we demonstrate that both gradient boosted trees and random forests are extremely susceptible to evasions. Finally, we harden a boosted tree model without loss of predictive accuracy by augmenting the training set of each boosting round with evading instances, a technique we call adversarial boosting.
Motivation & Objective
- To systematically analyze the robustness of tree ensemble models like random forests and gradient boosted trees against adversarial perturbations.
- To develop a novel exact evasion algorithm using Mixed Integer Linear Programming for optimal perturbations under Lp norms (p=0,1,2,∞).
- To design a fast, scalable approximate evasion method using symbolic prediction for finite differences on tree ensembles.
- To harden tree ensemble models against evasion by augmenting training data with adversarial instances during boosting.
- To empirically evaluate the robustness of tree ensembles compared to other models like DNNs, SVMs, and logistic regression.
Proposed method
- Uses Mixed Integer Linear Programming (MILP) to compute the minimal Lp-norm perturbation δ that causes a tree ensemble to misclassify an input x.
- Employs symbolic prediction—a novel technique for fast finite difference estimation on tree ensembles—to accelerate the generation of adversarial instances.
- Applies adversarial boosting by appending budgeted adversarial instances (with ≤B feature changes) to the training set at each boosting round.
- Sets the budget B=28 (diagonal of 28×28 image) to ensure perturbations remain imperceptible while maximizing evasion potential.
- Uses warm-starting with the fast symbolic prediction result to improve MILP solver convergence for tight robustness bounds.
- Trains a hardened model (BDT-R) by iteratively retraining with adversarially augmented data over 1,000 boosting rounds.
Experimental results
Research questions
- RQ1How vulnerable are tree ensemble models such as random forests and gradient boosted trees to adversarial perturbations?
- RQ2Can we systematically compute the minimal perturbation required to evade a tree ensemble classifier under various Lp norms?
- RQ3Can we develop a fast, scalable method for generating adversarial instances on non-differentiable tree ensembles?
- RQ4Does augmenting training data with adversarial examples improve the robustness of tree ensembles without degrading accuracy?
- RQ5How does the robustness of tree ensembles compare to other models like DNNs, SVMs, and logistic regression?
Key findings
- Gradient boosted trees and random forests are significantly more vulnerable to evasion than other models, with negligible L1 or L2 perturbations sufficient to cause misclassification.
- The RBF-SVM model demonstrated the highest robustness, outperforming even deep neural networks in adversarial robustness on the digit recognition task.
- Adversarial boosting successfully hardened the BDT model (BDT-R), making it extremely difficult to optimally evade using MILP—branch-and-bound search continued beyond 1 day on a 6-core machine.
- The hardened BDT-R model achieved slightly higher test accuracy than the original BDT model, indicating no accuracy loss from hardening.
- Despite improved L0 robustness, BDT-R showed significantly worse performance on L1, L2, and L∞ norms, indicating a trade-off in robustness across different perturbation types.
- The symbolic prediction-based evasion algorithm generated over 11 million synthetic adversarial instances, enabling effective adversarial training at scale.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.