arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.18292cs.SE
收藏

确保支持机器学习的软件系统的鲁棒性:一项用户调研

Ensuring Robustness in ML-enabled Software Systems: A User Survey

Deakin University(迪肯大学);RMIT University(皇家墨尔本理工大学);Monash University(蒙纳士大学)

Hala Abdelkader, Mohamed Abdelrazek, Priya Rani, Rajesh Vasa, Jean-Guy Schneider

AI总结:

针对支持ML的软件系统面临的静默故障、OOD数据等鲁棒性挑战,提出整合多项保障机制的ML-On-Rails协议,结合从业者调研验证其价值并指出未来优化方向。

摘要:

确保支持机器学习(ML)的软件系统的鲁棒性需要应对多项关键挑战,例如静默故障、分布外(OOD)数据以及对抗性攻击。传统软件工程实践依赖预定义逻辑,对于依赖数据和概率决策的ML组件而言并不足够。为应对这些挑战,我们提出了ML-On-Rails协议,这是一个统一框架,旨在提升生产环境中支持ML的系统的鲁棒性与可信度。该协议整合了OOD检测、对抗性攻击检测、输入验证以及可解释性等关键保障机制,还包含一个基于HTTP状态码的模型-软件通信框架,以提升模型结果与错误报告的透明度。为使我们的方法契合实际挑战,我们开展了一项从业者调研,揭示了主要的鲁棒性问题、现有解决方案的不足,并阐明了ML-On-Rails这类标准化协议如何提升系统鲁棒性。我们的发现凸显了为从事ML系统工作的工程师提供更多支持与资源的必要性。最后,我们概述了完善该协议的未来方向,即利用调研与实际应用中的洞见持续提升其有效性。

英文摘要:

Ensuring robustness in ML-enabled software systems requires addressing critical challenges, such as silent failures, out-of-distribution (OOD) data, and adversarial attacks. Traditional software engineering practices, which rely on predefined logic, are insufficient for ML components that depend on data and probabilistic decision-making. To address these challenges, we propose the ML-On-Rails protocol, a unified framework designed to enhance the robustness and trustworthiness of ML-enabled systems in production. This protocol integrates key safeguards such as OOD detection, adversarial attack detection, input validation, and explainability. It also includes a model-to-software communication framework using HTTP status codes to enhance transparency in reporting model outcomes and errors. To align our approach with real-world challenges, we conducted a practitioner survey, which revealed major robustness issues, gaps in current solutions, and highlighted how a standardised protocol such as ML-On-Rails can improve system robustness. Our findings highlight the need for more support and resources for engineers working with ML systems. Finally, we outline future directions for refining the proposed protocol, leveraging insights from the survey and real-world applications to continually enhance its effectiveness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑