Skip to main content
QUICK REVIEW

[Paper Review] Verifying Robustness of Gradient Boosted Models

Gil Einziger, Maayan Goldstein|arXiv (Cornell University)|Jun 26, 2019
Adversarial Robustness in Machine LearningComputer Science25 references6 citations
TL;DR

This paper introduces VeriGB, the first tool to formally verify robustness of gradient boosted models by encoding them as SMT formulas, enabling rigorous verification of adversarial robustness using standard SMT solvers. It demonstrates scalability on large models and finds that shallow trees are inherently more robust than deep ones, even with similar accuracy.

ABSTRACT

Gradient boosted models are a fundamental machine learning technique. Robustness to small perturbations of the input is an important quality measure for machine learning models, but the literature lacks a method to prove the robustness of gradient boosted models. This work introduces VeriGB, a tool for quantifying the robustness of gradient boosted models. VeriGB encodes the model and the robustness property as an SMT formula, which enables state of the art verification tools to prove the model's robustness. We extensively evaluate VeriGB on publicly available datasets and demonstrate a capability for verifying large models. Finally, we show that some model configurations tend to be inherently more robust than others.

Motivation & Objective

  • To address the lack of formal verification methods for gradient boosted models, which are widely used but vulnerable to adversarial perturbations.
  • To develop a scalable and formally correct method for verifying robustness in gradient boosted models, a gap in existing research despite extensive work on neural network verification.
  • To investigate how model configuration parameters—particularly tree depth—affect inherent robustness.
  • To provide a practical verification tool that can prove robustness or generate counter-examples for real-world datasets.

Proposed method

  • VeriGB encodes gradient boosted models as SMT formulas using linear arithmetic and decision tree semantics, enabling formal verification with off-the-shelf solvers.
  • The robustness property is encoded as a logical constraint requiring that the model's output remains unchanged under input perturbations within a specified epsilon bound.
  • The method supports both regression and classification tasks and uses formal correctness proofs to ensure the encoding preserves model semantics.
  • Runtime optimizations are applied to the SMT encoding, including formula simplification and efficient node traversal, to improve scalability.
  • The approach leverages SMT solving to either prove robustness (no counter-example exists) or return a concrete adversarial example when robustness fails.
  • The tool is evaluated on three public datasets, including MNIST, demonstrating scalability to models with hundreds of trees and high accuracy.

Experimental results

Research questions

  • RQ1Can formal verification techniques based on SMT solving be effectively applied to gradient boosted models, which are fundamentally different from neural networks?
  • RQ2How do hyperparameters such as tree depth and number of estimators influence the inherent robustness of gradient boosted models?
  • RQ3Can the verification process scale to large, accurate gradient boosted models used in practice?
  • RQ4Does model confidence correlate with robustness, or are other structural factors more predictive?

Key findings

  • VeriGB successfully verifies the robustness of large gradient boosted models on public datasets, including MNIST, with models containing hundreds of trees.
  • Models with smaller tree depth (e.g., depth 3–5) exhibit significantly higher robustness (up to 72.5% robustness under ε=1) compared to deeper models, even when accuracy is similar.
  • High classification confidence does not reliably indicate robustness, as some high-confidence models are still vulnerable to small adversarial perturbations.
  • The tool generates concrete counter-examples when robustness fails, which can be used to improve model robustness during training.
  • There is a strong correlation between shallow tree structures and improved robustness, suggesting a link between generalization and robustness.
  • The SMT-based encoding is formally proven correct and scales effectively, enabling verification of models that were previously intractable with existing methods.

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.