paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DistXplore: Distribution-Guided Testing for Evaluating and Enhancing Deep Learning Systems

DistXplore:面向深度学习系统评估与增强的分布引导测试
FSE Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2023匹配度 2/10 · 论文聚焦深度学习系统的分布引导测试与鲁棒性增强,属于动态测试方向,而非用户核心关注的静态分析在ML系统/Agentic程序中的应用,也不涉及LLM/Agent、浮点或贝叶斯程序分析。虽然同属ML系统质量保障,但与研究画像的核心问题交集很小。引用 18 inbox
Longtian Wang, Xiaofei Xie, Xiaoning Du, Meng Tian, Qing Guo, Zheng Yang, Chao Shen
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出分布引导的测试套件优化方法,生成分布多样且有效的测试用例,以评估并增强深度学习模型鲁棒性。

深度学习模型在采样数据上训练,训练数据与真实数据存在分布偏移,会降低模型鲁棒性。现有测试方法中,分布无关测试未显式考虑测试用例分布,容易产生同一分布内的冗余错误;分布感知测试主要关注符合训练分布的用例,忽略可能有效且应被测试的分布外数据。本文提出 DistXplore,一种分布引导的测试方法。不同于逐例优化,DistXplore 以代表特定分布的测试套件为优化对象。为评估和增强鲁棒性,作者设计两个度量:分布差异最大化不同类别数据间的分布相似性,以生成难以检测的错误;分布多样性提高生成用例的分布多样性,以增强模型鲁棒性。在4个数据集、10个模型上与14个先进基线比较,DistXplore 发现错误数平均达2倍以上,经验鲁棒性提升平均比基线高5.2%准确率。

问题
现有深度学习测试难以兼顾测试用例有效性与分布覆盖:分布无关方法产生同分布冗余错误,分布感知方法忽略有效分布外数据,导致鲁棒性评估与增强不足。
方法
提出 DistXplore,以测试套件为优化单位,利用分布差异最大化不同类别数据分布相似性来生成难检测错误,并利用分布多样性丰富测试分布以增强训练。
评估
在4个数据集、10个模型上与14个当前最优基线比较,DistXplore 平均发现2倍以上错误,经验鲁棒性准确率提升平均比基线高5.2%。
原文摘要(Abstract)

Deep learning (DL) models are trained on sampled data, where the distribution of training data differs from that of real-world data (i.e., the distribution shift), which reduces the model's robustness. Various testing techniques have been proposed, including distribution-unaware and distribution-aware methods. However, distribution-unaware testing lacks effectiveness by not explicitly considering the distribution of test cases and may generate redundant errors (within same distribution). Distribution-aware testing techniques primarily focus on generating test cases that follow the training distribution, missing out-of-distribution data that may also be valid and should be considered in the testing process. In this paper, we propose a novel distribution-guided approach for generating valid test cases with diverse distributions, which can better evaluate the model's robustness (i.e., generating hard-to-detect errors) and enhance the model's robustness (i.e., enriching training data). Unlike existing testing techniques that optimize individual test cases, DistXplore optimizes test suites that represent specific distributions. To evaluate and enhance the model's robustness, we design two metrics: distribution difference, which maximizes the similarity in distribution between two different classes of data to generate hard-to-detect errors, and distribution diversity, which increase the distribution diversity of generated test cases for enhancing the model's robustness. To evaluate the effectiveness of DistXplore in model evaluation and enhancement, we compare DistXplore with 14 state-of-the-art baselines on 10 models across 4 datasets. The evaluation results show that DisXplore not only detects a larger number of errors (e.g., 2×+ on average). Furthermore, DistXplore achieves a higher improvement in empirical robustness (e.g., 5.2% more accuracy improvement than the baselines on average).

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{WangX0T0Y023,
  title = {DistXplore: Distribution-Guided Testing for Evaluating and Enhancing Deep Learning Systems},
  author = {Longtian Wang and Xiaofei Xie and Xiaoning Du and Meng Tian and Qing Guo and Zheng Yang and Chao Shen},
  booktitle = {FSE},
  year = {2023},
  doi = {10.1145/3611643.3616266}
}