Versatile Verification of Tree Ensembles

Laurens Devos, Wannes Meert, Jesse Davis
10/26/2020
cs.LGcs.AI

Official code: laudv/veritas (23 stars, Python, last commit 2026-10-29).

Abstract

Machine learned models often must abide by certain requirements (e.g., fairness or legal). This has spurred interested in developing approaches that can provably verify whether a model satisfies certain properties.

Show full abstract

This paper introduces a generic algorithm called Veritas that enables tackling multiple different verification tasks for tree ensemble models like random forests (RFs) and gradient boosting decision trees (GBDTs). This generality contrasts with previous work, which has focused exclusively on either adversarial example generation or robustness checking. Veritas formulates the verification task as a generic optimization problem and introduces a novel search space representation. Veritas offers two key advantages. First, it provides anytime lower and upper bounds when the optimization problem cannot be solved exactly. In contrast, many existing methods have focused on exact solutions and are thus limited by the verification problem being NP-complete. Second, Veritas produces full (bounded suboptimal) solutions that can be used to generate concrete examples. We experimentally show that Veritas outperforms the previous state of the art by (a) generating exact solutions more frequently, (b) producing tighter bounds when (a) is not possible, and (c) offering orders of magnitude speed ups. Subsequently, Veritas enables tackling more and larger real-world verification scenarios.

View on arXivView PDF

Code Implementations(1)

laudv/veritasOfficial100%

Versatile Verification of Tree Ensembles

235Python, C++Oct 29, 20201 months agoNOASSERTION

Similar Papers

Cite this paper

@article{devos2020versatile,
  title  = {Versatile Verification of Tree Ensembles},
  author = {Laurens Devos and Wannes Meert and Jesse Davis},
  year   = {2020},
  eprint = {2010.13880},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.13880}
}

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/2010.13880.svg)](https://codeofpaper.com/paper/2010.13880)

Discussion