cs.LGJul 19, 2025

Verifying Glitches in Decision Tree Ensembles

Authors: Satyankar Chandra, Harsh Chaurasia, Ashutosh Gupta, Kaushik Mallik, Krishna Shankaranarayanan, Namrita Varshney

Organizations: Indian Institute of Technology Bombay, Mumbai · IMDEA Software Institute Madrid, Spain

Abstract

Decision tree ensembles are widely used for tabular prediction tasks in judiciary, healthcare, banking, etc. We show that the piecewise-constant structure of these models can create narrow local oscillations, leading the ensemble score to sharply drop and then rise (a downward spike), or sharply rise and then drop (an upward spike), over a small change in a single feature. We call such patterns glitches. A glitch is not, by definition, an error. Rather, it is a formally checkable audit target requiring inspection. Formally, glitches are witnessed by ordered input triples in which a small monotonic change in a single input feature causes the output to first change in one direction and then revert in the opposite direction. Through a substantial experimental study, we show that glitches have widespread existence in even the state-of-the-art models performing various critical tasks. Our findings also indicate that glitches enrich and extend existing notions like robustness and monotonicity, providing us a more refined tool to isolate anomalies for inspection. On the theoretical side, we prove that deciding whether a decision tree ensemble contains a glitch is NP-complete, even for bounded-depth trees. We then present a mixed-integer linear programming encoding for the global and local glitch verification problems, and implement our algorithm in a verifier for gradient-boosted decision trees. Experiments show our verifier can scale to realistic model sizes from the literature.

Figures & tables

Explore similar work

CardsList
  1. Quantifying Sensitivity for Tree Ensembles: A symbolic and compositional approach

    May 13, 2026Ajinkya Naik, Chaitanya Garg, S. Akshay +2Ensemble LearningFormal Verification

  2. Learning Auditable Classifier Models: Source-Disjoint Tree Ensembles

    Aug 16, 2026Srikumar KrishnamoorthyRule-Based ClassificationInterpretable ML