dashi: 一个用于数据集偏移表征以支持可信AI开发和部署的Python库
dashi: A Python library for Dataset Shift Characterization to Support Trustworthy AI Development and Deployment
AI总结:
本文介绍dashi,一个开源Python库,通过无监督(基于信息几何和非参数统计流形)和有监督方法,对数据集偏移进行探索、量化和表征,以支持AI生命周期中的可信度评估。
摘要:
人工智能(AI)生命周期需要对底层数据动态有透彻理解,以实现稳健、安全且经济高效的AI开发和使用。数据集偏移定义为训练和测试数据分布之间的变化。无论是随时间(时间性)还是跨不同站点(多源)发生,它们都可能严重降低模型性能并损害数据质量。这在健康AI中尤为重要,因为不受控制的偏移在训练和操作阶段都可能严重影响患者的安全和基本权利。虽然协变量偏移、先验偏移和概念偏移的理论基础已很完善,但缺乏可访问且全面的软件工具来执行其分析。我们介绍了dashi,一个开源Python库,旨在对数据集偏移进行探索、量化和表征。dashi提供双重方法:一种无监督方法,利用信息几何和非参数统计流形进行数据变异性表征和分析(例如,信息几何时间图和多源变异性指标,如全局概率偏差和源概率异常度);以及一种有监督方法,量化和表征模型性能退化。无监督和有监督方法均适用于用户定义的时间批次和域/源批次。我们在三个模拟和真实世界的健康AI案例研究(妊娠期糖尿病、COVID-19和紧急医疗调度)中展示了dashi的实用性。通过提供交互式视觉分析和变异性指标,dashi支持AI生命周期阶段的可信度,通过评估数据一致性和AI性能实现稳健且安全的机器学习管道。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。