Skip to main content
QUICK REVIEW

[Paper Review] Efficient Training of Robust Decision Trees Against Adversarial Examples

Daniël Vos, Sicco Verwer|arXiv (Cornell University)|Dec 18, 2020
Adversarial Robustness in Machine LearningComputer Science17 references11 citations
TL;DR

This paper proposes GROOT, a fast and efficient algorithm for training robust decision trees against adversarial examples by analytically solving the adversarial Gini impurity, enabling two orders of magnitude speedup over state-of-the-art methods while maintaining competitive robustness. It supports flexible, user-defined threat models and a trade-off hyperparameter ρ between natural and adversarial performance.

ABSTRACT

In the present day we use machine learning for sensitive tasks that require models to be both understandable and robust. Although traditional models such as decision trees are understandable, they suffer from adversarial attacks. When a decision tree is used to differentiate between a user's benign and malicious behavior, an adversarial attack allows the user to effectively evade the model by perturbing the inputs the model receives. We can use algorithms that take adversarial attacks into account to fit trees that are more robust. In this work we propose an algorithm, GROOT, that is two orders of magnitude faster than the state-of-the-art-work while scoring competitively on accuracy against adversaries. GROOT accepts an intuitive and permissible threat model. Where previous threat models were limited to distance norms, we allow each feature to be perturbed with a user-specified parameter: either a maximum distance or constraints on the direction of perturbation. Previous works assumed that both benign and malicious users attempt model evasion but we allow the user to select which classes perform adversarial attacks. Additionally, we introduce a hyperparameter rho that allows GROOT to trade off performance in the regular and adversarial settings.

Motivation & Objective

  • To develop a fast and scalable method for training decision trees that are robust against adversarial examples in real-world applications.
  • To overcome the computational inefficiency of existing robust decision tree training methods, which are too slow for practical deployment.
  • To support a flexible and intuitive threat model where users can specify per-feature perturbation bounds or directions, rather than relying on fixed distance norms.
  • To introduce a hyperparameter ρ that allows users to balance performance on benign inputs versus robustness against adversarial attacks.
  • To achieve state-of-the-art adversarial accuracy while matching the efficiency of standard decision tree training.

Proposed method

  • GROOT uses a greedy recursive splitting strategy similar to standard decision trees, but scores splits based on the worst-case Gini impurity under adversarial perturbations.
  • It computes the adversarial Gini impurity analytically using a closed-form solution, enabling constant-time evaluation and avoiding expensive iterative optimization.
  • The algorithm propagates perturbed samples to child nodes and explores a broader set of candidate splits under the worst-case attack scenario.
  • It supports user-defined perturbation constraints per feature, including maximum distance or directional bounds, going beyond standard L∞-norm assumptions.
  • The hyperparameter ρ controls the trade-off between standard accuracy and adversarial robustness by weighting the loss function accordingly.
  • GROOT is implemented in Python and integrates with scikit-learn, using the same Gini impurity criterion and default hyperparameters for fair comparison.

Experimental results

Research questions

  • RQ1Can we train robust decision trees with computational efficiency comparable to standard decision tree training?
  • RQ2How does GROOT’s analytical computation of adversarial Gini impurity improve training speed compared to existing optimization-based methods?
  • RQ3To what extent can GROOT maintain high adversarial accuracy while supporting flexible, user-specified threat models?
  • RQ4How does the hyperparameter ρ affect the trade-off between natural accuracy and robustness in practice?
  • RQ5Can GROOT outperform or match the adversarial accuracy of state-of-the-art methods like TREANT while being significantly faster?

Key findings

  • GROOT achieves adversarial accuracy comparable to the state-of-the-art method TREANT, improving by approximately 21% over standard scikit-learn decision trees in the adversarial setting.
  • GROOT runs two orders of magnitude faster than TREANT, with average training times in seconds, making it practical for real-world deployment.
  • The heuristic proposed by Chen et al. performs within one standard deviation of GROOT and TREANT, with only a 0.8% improvement on one dataset, suggesting no significant advantage.
  • On datasets like blood-transfusion and haberman, natural decision trees perform as well as robust models in adversarial settings, indicating that feature separability reduces vulnerability.
  • GROOT maintains the same O(n log n) time complexity as standard decision trees due to the analytical solution, enabling efficient scaling.
  • The algorithm is robust to different threat models and supports flexible perturbation specifications, including per-feature bounds and directional constraints.

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.