Robustness Verification of Tree-based Models

Hongge Chen, Huan Zhang, Si Si, Yang Li, Duane Boning +1 more
6/10/2019
104 citations
cs.LGstat.ML

Official code: chenhongge/treeVerification (27 stars, C++, MIT, last commit 2019-06-15).

Abstract

We study the robustness verification problem for tree-based models, including decision trees, random forests (RFs) and gradient boosted decision trees (GBDTs). Formal robustness verification of decision tree ensembles involves finding the exact minimal adversarial perturbation or a guaranteed lower bound of it.

Show full abstract

Existing approaches find the minimal adversarial perturbation by a mixed integer linear programming (MILP) problem, which takes exponential time so is impractical for large ensembles. Although this verification problem is NP-complete in general, we give a more precise complexity characterization. We show that there is a simple linear time algorithm for verifying a single tree, and for tree ensembles, the verification problem can be cast as a max-clique problem on a multi-partite graph with bounded boxicity. For low dimensional problems when boxicity can be viewed as constant, this reformulation leads to a polynomial time algorithm. For general problems, by exploiting the boxicity of the graph, we develop an efficient multi-level verification algorithm that can give tight lower bounds on the robustness of decision tree ensembles, while allowing iterative improvement and any-time termination. OnRF/GBDT models trained on 10 datasets, our algorithm is hundreds of times faster than the previous approach that requires solving MILPs, and is able to give tight robustness verification bounds on large GBDTs with hundreds of deep trees.

View on arXivView PDF

Code Implementations(1)

MIT

[NeurIPS 2019] H. Chen*, H. Zhang*, S. Si, Y. Li, D. Boning and C.-J. Hsieh, Robustness Verification of Tree-based Models (*equal contribution)

276C++, ShellJun 10, 20197 years agoMIT
adversarial-attacksadversarial-machine-learninggbdtgbdt-modelgbm+2 more

Similar Papers

Cite this paper

@article{chen2019robustness,
  title  = {Robustness Verification of Tree-based Models},
  author = {Hongge Chen and Huan Zhang and Si Si and Yang Li and Duane Boning and Cho-Jui Hsieh},
  year   = {2019},
  eprint = {1906.03849},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.03849}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.03849.svg)](https://codeofpaper.com/paper/1906.03849)

Discussion