humancompatible.detect: a Python toolkit for detecting bias in AI models

There is a strong recent emphasis on trustworthy AI. In particular, international regulations, such as the AI Act, demand that AI practitioners measure data quality on the input and estimate bias in the output of high-risk AI systems. However, there are many challenges involved, including scalability (MMD) and computability (Wasserstein-1) issues of traditional methods for estimating distances on measure spaces. Here, we present humancompatible.detect , a toolkit for bias detection that addresses these challenges. It incorporates two newly developed methods to detect and evaluate bias: maximum subgroup discrepancy (MSD) and subsampled ℓ ∞ distances. It features an easy-to-use API documented with multiple examples. humancompatible.detect is licensed under the Apache License, Version 2.0.

Authors

Institutions

Publication Details

Journal
SoftwareX
Published
2026-06-25
DOI
https://doi.org/10.1016/j.softx.2026.102827
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

humancompatible.detect: a Python toolkit for detecting bias in AI models

Jakub Mareček, German Martinez Matilla, Illia Kryvoviaz
SoftwareX
Anomaly Detection Techniques and Applications
article

humancompatible.detect: a Python toolkit for detecting bias in AI models

Jakub Mareček, German Martinez Matilla, Illia Kryvoviaz
article en

Abstract

There is a strong recent emphasis on trustworthy AI. In particular, international regulations, such as the AI Act, demand that AI practitioners measure data quality on the input and estimate bias in the output of high-risk AI systems. However, there are many challenges involved, including scalability (MMD) and computability (Wasserstein-1) issues of traditional methods for estimating distances on measure spaces. Here, we present humancompatible.detect , a toolkit for bias detection that addresses these challenges. It incorporates two newly developed methods to detect and evaluate bias: maximum subgroup discrepancy (MSD) and subsampled ℓ ∞ distances. It features an easy-to-use API documented with multiple examples. humancompatible.detect is licensed under the Apache License, Version 2.0.

SoftwareXVol. 35
Czech Technical University in Prague (CZ)
HORIZON EUROPE Framework Programme
Openalex Percentile: Top 99%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.