Reliably predicting potential failure risks of machine learning (ML) systems when deployed with production data is a crucial aspect of trustworthy AI. This paper introduces Risk Advisor, a novel post-hoc meta-learner for estimating failure risks and predictive uncertainties of any already-trained black-box classification model. In addition to providing a risk score, the Risk Advisor decomposes the uncertainty estimates into aleatoric and epistemic uncertainty components, thus giving informative insights into the sources of uncertainty inducing the failures. Consequently, Risk Advisor can distinguish between failures caused by data variability, data shifts and model limitations and advise on mitigation actions (e.g., collecting more data to counter data shift). Extensive experiments on various families of black-box classification models and on real-world and synthetic datasets covering common ML failure scenarios show that the Risk Advisor reliably predicts deployment-time failure risks in all the scenarios, and outperforms strong baselines.
翻译:与生产数据一起部署的机器学习(ML)系统的潜在故障风险预测是值得信赖的AI的关键方面。本文件介绍风险顾问,这是一个新的后热后元激光器,用于估计失败风险和任何已经受过训练的黑盒分类模型的预测不确定性。除了提供风险分分外,风险顾问将不确定性估计数分解为疏通性和感知性不确定性组成部分,从而对导致失败的不确定性来源作出知情的洞察。因此,风险顾问可以区分数据变异、数据转移和模型限制造成的故障,并就缓解行动提出建议(例如,收集更多的数据以对抗数据转移)。关于黑盒分类模型的不同家庭以及涵盖通用 ML 失灵情景的实时和合成数据集的广泛实验表明,风险顾问可靠地预测了所有情景中的部署-时间失灵风险,并超越了强有力的基线。