dashi: A Python library for Dataset Shift Characterization to Support Trustworthy AI Development and Deployment

📅 2026-05-29
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the critical challenge of dataset shift—distributional discrepancies arising from temporal or source variations—that undermines the reliability and safety of medical AI systems. To bridge the gap in existing analytical tools, which often lack usability and comprehensiveness, we introduce dashi, an open-source Python library that unifies information geometry with nonparametric statistical manifold methods within a single framework. This framework enables both unsupervised shift characterization and supervised performance degradation assessment. By leveraging metrics such as information-geometric temporal graphs, global probability divergence, and source-wise probability outlier scores, complemented by interactive visualizations, dashi quantifies and interprets shifts across time or data sources. Validation across three real-world and simulated clinical scenarios—gestational diabetes, COVID-19, and emergency dispatch—demonstrates that dashi substantially enhances the trustworthiness and robustness of AI systems throughout their lifecycle.
📝 Abstract
The Artificial Intelligence (AI) life cycle requires a thorough understanding of the underlying data dynamics for robust, safe and cost-effective AI development and use. Dataset shifts are defined as changes between train and test data distributions. Whether occurring over time (temporal) or across different sites (multi-source), they can severely degrade model performance and compromise data quality. This is particularly important in health AI, where the safety and fundamental rights of patients can be severely affected by uncontrolled shifts both at training and operational stages. While the theoretical foundations of covariate, prior, and concept shifts are well established, there is a lack of accessible and comprehensive software tools to perform their analysis. We introduce dashi, an open-source Python library designed for the exploration, quantification, and characterization of dataset shifts. dashi provides a dual approach: an unsupervised approach that leverages information geometry and non-parametric statistical manifolds to data variability characterization and analysis (e.g., Information Geometric Temporal plots and Multi-Source Variability metrics like Global Probabilistic Deviation and Source Probabilistic Outlyingness), and a supervised approach that quantifies and characterizes model performance degradation. Both unsupervised and supervised approaches work across user-defined temporal and domain/source batches. We demonstrate the utility of dashi on three simulated and real-world health AI case studies on gestational diabetes mellitus, COVID-19 and emergency medical dispatch. By providing interactive visual analytics and variability metrics, dashi supports trustworthiness of AI life cycle stages enabling robust and safe machine learning pipelines through the assessment of data coherence and AI performance.
Problem

Research questions and friction points this paper is trying to address.

dataset shift
data distribution
AI trustworthiness
health AI
model performance degradation
Innovation

Methods, ideas, or system contributions that make the work stand out.

dataset shift characterization
information geometry
trustworthy AI
health AI
non-parametric statistical manifolds
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
D
David Fernández-Narro
Biomedical Data Science Lab, Instituto Universitario de Tecnologías de la Información y Comunicaciones, Universitat Politècnica de Valéncia, Camino de Vera s/n, Valencia 46022, España
P
Pablo Ferri
Biomedical Data Science Lab, Instituto Universitario de Tecnologías de la Información y Comunicaciones, Universitat Politècnica de Valéncia, Camino de Vera s/n, Valencia 46022, España
Á
Ángel Sánchez-García
Biomedical Data Science Lab, Instituto Universitario de Tecnologías de la Información y Comunicaciones, Universitat Politècnica de Valéncia, Camino de Vera s/n, Valencia 46022, España
J
Juan M. García-Gómez
Biomedical Data Science Lab, Instituto Universitario de Tecnologías de la Información y Comunicaciones, Universitat Politècnica de Valéncia, Camino de Vera s/n, Valencia 46022, España
C
Carlos Sáez
Biomedical Data Science Lab, Instituto Universitario de Tecnologías de la Información y Comunicaciones, Universitat Politècnica de Valéncia, Camino de Vera s/n, Valencia 46022, España