Skip to main content
QUICK REVIEW

[Paper Review] Robust Decision Trees Against Adversarial Examples

Hongge Chen, Huan Zhang|arXiv (Cornell University)|Feb 27, 2019
Adversarial Robustness in Machine LearningComputer Science40 citations
TL;DR

The paper develops a general robust training framework for decision trees and boosting trees to resist adversarial perturbations, formulating a max-min objective and approximating robust splits for practical scalability.

ABSTRACT

Although adversarial examples and model robustness have been extensively studied in the context of linear models and neural networks, research on this issue in tree-based models and how to make tree-based models robust against adversarial examples is still limited. In this paper, we show that tree based models are also vulnerable to adversarial examples and develop a novel algorithm to learn robust trees. At its core, our method aims to optimize the performance under the worst-case perturbation of input features, which leads to a max-min saddle point problem. Incorporating this saddle point objective into the decision tree building procedure is non-trivial due to the discrete nature of trees --- a naive approach to finding the best split according to this saddle point objective will take exponential time. To make our approach practical and scalable, we propose efficient tree building algorithms by approximating the inner minimizer in this saddle point problem, and present efficient implementations for classical information gain based trees as well as state-of-the-art tree boosting models such as XGBoost. Experimental results on real world datasets demonstrate that the proposed algorithms can substantially improve the robustness of tree-based models against adversarial examples.

Motivation & Objective

  • Demonstrate that tree-based models are vulnerable to adversarial examples similar to neural networks.
  • Propose a general robust training framework for decision trees aimed at worst-case input perturbations.
  • Develop scalable approximations for robust splitting compatible with classical information-gain trees and modern GBDT methods like XGBoost.
  • Evaluate robustness improvements on real-world datasets using various attack methods.

Proposed method

  • Formulate robust split selection as a max-min optimization over perturbations in an ell-infty ball around each example.
  • Define an ambiguity set Delta I of points whose j-th feature lies near the split threshold, and introduce binary assignment variables to model worst-case perturbations.
  • Provide two practical approximations: (1) robust splitting for information gain based trees with an O(d|I|^2) complexity per split, and (2) robust splitting for boosted trees using four representative cases for efficiency.
  • Extend the framework to gradient boosted decision trees by expressing the split score with second-order loss Taylor expansion and standard XGBoost-like scoring.
  • Offer algorithmic implementations (Algorithm 1 for robust information gain trees and Algorithm 2 for robust boosted trees) to enable scalable training.

Experimental results

Research questions

  • RQ1Do tree-based models exhibit vulnerability to adversarial perturbations similar to neural networks?
  • RQ2Can we define a robust, max-min objective for splitting decisions that improves adversarial robustness without prohibitive computational cost?
  • RQ3How can robust splitting be implemented efficiently for both classical decision trees and modern boosting frameworks like XGBoost?
  • RQ4What is the empirical impact of robust training on robustness and accuracy across real datasets?

Key findings

  • Tree-based models are vulnerable to adversarial examples just like neural networks.
  • A max-min robust training objective can be incorporated into the tree-building process to optimize worst-case performance under perturbations.
  • Efficient approximations enable robust splits for both information gain trees and boosted trees, making robust training scalable to large models such as XGBoost.
  • Experiments show substantial improvements in robustness against adversarial attacks with robust trees sometimes achieving equal or higher test accuracy compared to natural trees.
  • Robust training increases the required perturbation (L-infinity norm) for successful adversarial misclassification, indicating improved robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.