---
title: "IIT Bombay's XCount Finally Measures AI Bias in Credit and Medical Models"
subtitle: "XCount uses algebraic decision diagrams and probabilistic counting to measure how much of a tree ensemble's input space is vulnerable to sensitive feature flips — with formal guarantees."
url: "https://alphasignal.ai/news/iit-bombay-s-xcount-finally-measures-ai-bias-in-credit-and-medical-models"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-06-04T00:00:00.000Z"
updated: "2026-06-12T07:25:31.616Z"
type: "Paper"
topics:
  - "Security"
  - "Benchmarks"
subtopics:
  - "Red Teaming"
upvotes: 1669
source_url: "https://arxiv.org/abs/2605.13830"
comments: 0
truncated: true
---

# IIT Bombay's XCount Finally Measures AI Bias in Credit and Medical Models

> XCount uses algebraic decision diagrams and probabilistic counting to measure how much of a tree ensemble's input space is vulnerable to sensitive feature flips — with formal guarantees.

Decision tree ensembles , the XGBoost, LightGBM, and random forest models that power credit scoring, medical diagnosis, and fraud detection , are widely trusted precisely because they feel interpretable. But a nagging question has gone largely unanswered: **how much** of a model's input space is actually vulnerable to flipping a protected feature like race, age, or gender and getting a different prediction? A new paper from IIT Bombay and the University of Toronto introduces [XCount](https://arxiv.org/abs/2605.13830), the first tool that can answer that question at scale, with certified accuracy.

## The gap between "does it exist" and "how much"

Sensitivity is closely related to individual fairness or causal discrimination, since any sensitive pair , two inputs that differ only on protected features but receive different predictions , is a witness to unfairness when sensitive features are seen as protected attributes. Prior work could find one such pair, or prove none exists. This problem is quite different from the well-studied local robustness problem: while local robustness can be solved by searching around the neighborhood of a given input, sensitivity requires searching across the entire input space.

The trouble is that finding a single sensitive pair is NP-hard, and _counting_ them is even harder , it sits in the complexity class #P, the counting analog of NP. Recent work has considered quantitative notions of robustness for neural networks, but to the best of the authors' knowledge, no prior work deals with quantitative versions of sensitivity or fairness in decision tree ensembles. XCount fills that gap.

## What "sensitivity" means, precisely

The paper formalizes the problem by splitting features into **sensitive** (protected attributes like race or gender) and **non-sensitive** (everything else). A model is sensitive if there exist two inputs that are identical on non-sensitive features, differ only slightly on sensitive ones (within a Hamming distance `d`), yet receive predictions that diverge by more than a gap threshold

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [Quantifying Sensitivity for Tree Ensembles: A symbolic and compositional approach](https://arxiv.org/abs/2605.13830)
- [Sensitivity Verification for Additive Decision Tree Ensembles (ICLR 2025)](https://openreview.net/forum?id=h0vC0fm1q7)
- [Data-Aware and Scalable Sensitivity Analysis for Decision Tree Ensembles (ICLR 2026)](https://arxiv.org/abs/2602.07453)
