arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.14099cs.SE
收藏

DeepFix:利用代理AI进行机器学习工作流的调试与修复

DeepFix: Debugging and Fixing Machine Learning Workflow using Agentic AI

Technical University of Munich(慕尼黑工业大学)

Fadel Mamar Seydou, Arnab Sharma

AI总结:

本文提出DeepFix,利用代理AI框架实现机器学习全流程自动化测试,通过Deepchecks检测潜在bug并生成详尽报告,提供修复建议,支持多种ML系统并集成到开发流程中,展示如何发现传统测试无法检测的隐藏故障模式。

摘要:

近年来,基于机器学习(ML)的软件系统在多个关键应用中得到越来越多的部署,但由于复杂的模型架构、大规模输入空间和不断演变的部署环境,系统行为的系统性测试仍然具有挑战性。现有的测试方法通常依赖于根据给定需求生成测试用例,这往往无法揭示现代ML模型的关键bug,因为其复杂性。最重要的是,这些方法虽然可以用来检测ML软件中的特定故障,但几乎无法提供如何修复这些错误的信息。为了解决这个问题,本文提出了DeepFix,一种利用代理AI框架进行整个ML流水线自动化测试的工具。我们的测试方法首先利用Deepchecks对ML软件进行任何潜在bug的测试,然后使用基于代理AI的方法生成详尽的bug报告。这包括根据发现bug的严重性进行排名,以及其解释,这些可以被任何非数据科学专家轻松理解,最重要的是,还提供了修复这些bug的可能方法。此外,DeepFix支持多种ML软件系统,并且可以轻松集成到任何ML工作流中,使整个开发生命周期都能进行持续测试。我们讨论了已经验证的案例以及一些计划验证的案例,以展示代理测试过程如何揭示传统测试方法无法检测到的隐藏故障模式。一个5分钟的屏幕录制演示该工具核心功能的视频可在https://youtu.be/WfwZmFcQgBQ上观看。

英文摘要:

In recent years, machine learning (ML) based software systems are increasingly deployed in several critical applications, yet systematic testing of their behavior remains challenging due to complex model architectures, large input spaces, and evolving deployment environments. Existing testing approaches often rely on generating test cases based on given requirements, which often fail to reveal critical bugs of modern ML models due to their complex nature. Most importantly, such approaches, although they can be used to detect the presence of specific failures in the ML software, they hardly provide any message as to how to fix such errors. To tackle this, in this paper, we present DeepFix, a tool for automated testing of the entire ML pipeline using an agentic AI framework. Our testing approach first leverages Deepchecks to test the ML software for any potential bugs, and thereafter, uses an agentic AI-based approach to generate a detailed bug report. This includes a ranking, based on the severity of the found bugs, along with their explanations, which can be interpreted easily by any non-data science experts and most importantly, also provides possible ways to fix these bugs. Additionally, DeepFix supports several types of ML software systems and can be integrated easily to any ML workflow, enabling continuous testing throughout the development lifecycle. We discuss our already validated cases as well as some planned validations designed to demonstrate how the agentic testing process can reveal hidden failure modes that remain undetected by conventional testing methods. A 5-minute screencast demonstrating the tool's core functionality is available at https://youtu.be/WfwZmFcQgBQ.

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

↑