paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Improving ML-based information retrieval software with user-driven functional testing and defect class analysis

利用用户驱动的功能测试与缺陷类别分析改进基于机器学习的信息检索软件
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 3/10 · 该论文关注的是对 ML-based IR 软件做整体性功能测试与缺陷类(defect class)分析,属于 ML 系统的动态测试/调试,而非用户核心关注的静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,也不涉及 LLM/Agent。仅有一点边缘契合:对象是 ML 系统、且是工业级落地案例(Search-AutoComplete)并带 A/B 验证。引用 0 inbox
Junjie Zhu, Teng Long, Wei Wang, Atif Memon
crossref: 2026-09-12

AI 速览

一句话:提出整体性功能测试与缺陷类别方法,检测机器学习信息检索软件的系统级回归与改进。

针对基于机器学习的信息检索软件,传统测试难以从单个用例评估系统级涌现行为与大规模回归/改进。本文提出整体性功能测试方法,利用自动获取的大规模功能测试用例,从终端用户视角度量系统行为,并引入“缺陷类别”概念——对输入空间进行划分,标识现有特征表现明显变差或新特征更具挑战的区域。在包含查询理解机器学习组件的真实 Search-AutoComplete 生产系统上评估:整体度量成功识别两个回归和一个改进,三者均经回顾性 A/B 实验独立验证;自动缺陷类别在早期机器学习开发中提供可操作洞见;并在更细粒度子组件级检测到显著回归,从而在发布前阻止。

问题
传统软件测试难以评估基于机器学习的信息检索软件的系统级涌现行为,开发者无法从单个测试实例判断修改是否导致大规模回归或改进。
方法
利用自动获取的大规模功能测试用例,提出整体性系统行为度量,并定义“缺陷类别”作为输入空间划分,以从终端用户视角识别现有特征退化或新特征更具挑战的区域。
评估
在真实生产 Search-AutoComplete 系统的查询理解机器学习组件上评估,整体度量识别出两个回归和一个改进并经回顾性 A/B 实验验证,自动缺陷类别在早期开发中提供可操作洞见,并在子组件级检测到需在发布前阻止的显著回归。
原文摘要(Abstract)

Machine Learning (ML) has become the cornerstone of information retrieval (IR) software, as it can drive better user experience by leveraging information-rich data and complex models. However, evaluating the emergent behavior of ML-based IR software can be challenging with traditional software testing approaches: when developers modify the software, they cannot often extract useful information from individual test instances; rather, they seek to holistically verify whether—and where—their modifications caused significant regressions or improvements at scale. In this paper, we introduce not only such a holistic approach to evaluate the system-level behavior of the software, but also the concept of a defect class, which represents a partition of the input space on which the ML-based software does measurably worse for an existing feature or on which the ML task is more challenging for a new feature. We leverage large volumes of functional test cases, automatically obtained, to derive these defect classes, and propose new ways to improve the IR software from an end-user’s perspective. Applying our approach on a real production Search-AutoComplete system that contains a query interpretation ML component, we demonstrate that (1) our holistic metrics successfully identified two regressions and one improvement, where all 3 were independently verified with retrospective A/B experiments, (2) the automatically obtained defect classes provided actionable insights during early-stage ML development, and (3) we also detected defect classes at the finer sub-component level for which there were significant regressions, which we blocked prior to different releases.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7126,
  title = {Improving ML-based information retrieval software with user-driven functional testing and defect class analysis},
  author = {Junjie Zhu and Teng Long and Wei Wang and Atif Memon},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3558941}
}