paperbot · PL 论文追踪

全部论文 待读 收藏

P2 When and Why Test Generators for Deep Learning Produce Invalid Inputs: an Empirical Study

深度学习测试生成器何时以及为何产生无效输入:一项实证研究
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 2/10 · 该论文研究深度学习测试生成器所产生输入的 validity 与标签保持问题,属于机器学习系统测试与经验研究,虽与“ML系统”相关,但未涉及静态分析、Agentic程序、LLM辅助分析、浮点程序分析或贝叶斯程序分析等用户核心方向。引用 42 inbox
Vincenzo Riccio, Paolo Tonella
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:通过220名人类评估者与自动验证器,实证揭示深度学习测试生成器所产输入的 validity 状况及标签保持问题。

深度学习系统测试需要大规模且具代表性的测试集,以评估其能否泛化到训练数据之外。已有多种测试输入生成器(TIG)被提出来生成人工输入,通过触发误行为暴露 DL 系统问题。然而,这类生成输入可能无效,即无法被识别为输入域的一部分,从而导致不可靠的质量评估。自动验证器可减轻人工检查负担,但输入有效性本身难以形式化,因此也难以自动化。本文开展大规模实证研究,覆盖2种自动验证器、220名人类评估者、5种 TIG 和3个分类任务,从自动与人工两个角度考察生成输入的有效性,并检查期望标签是否保持。结果表明,自动验证器判定84%的人工生成输入有效,但其期望标签并不总是保持;自动验证器与人类评估者达到约78%的一致率,但在特征丰富的数据集上仍存在局限。

问题
深度学习测试依赖大规模代表性测试集,而测试输入生成器可能产生无法被识别为输入域一部分的无效输入,导致质量评估不可靠;输入有效性的形式化与自动化仍很困难。
方法
作者开展大规模实证研究,涉及2种自动验证器、220名人类评估者、5种测试输入生成器和3个分类任务,从自动与人工两个角度考察生成输入的有效性及期望标签是否保持。
评估
结果显示,按自动验证器判断84%的人工生成输入有效,自动验证器与人类判断的一致率为78%,但在特征丰富的数据集上仍有局限,且生成输入并不总能保持期望标签。
原文摘要(Abstract)

Testing Deep Learning (DL) based systems inherently requires large and representative test sets to evaluate whether DL systems generalise beyond their training datasets. Diverse Test Input Generators (TIGs) have been proposed to produce artificial inputs that expose issues of the DL systems by triggering misbehaviours. Unfortunately, such generated inputs may be invalid, i.e., not recognisable as part of the input domain, thus providing an unreliable quality assessment. Automated validators can ease the burden of manually checking the validity of inputs for human testers, although input validity is a concept difficult to formalise and, thus, automate. In this paper, we investigate to what extent TIGs can generate valid inputs, according to both automated and human validators. We conduct a large empirical study, involving 2 different automated validators, 220 human assessors, 5 different TIGs and 3 classification tasks. Our results show that 84% artificially generated inputs are valid, according to automated validators, but their expected label is not always preserved. Automated validators reach a good consensus with humans (78% accuracy), but still have limitations when dealing with feature-rich datasets.

链接与引用

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

BibTeX
@inproceedings{abs-2212-11368,
  title = {When and Why Test Generators for Deep Learning Produce Invalid Inputs: an Empirical Study},
  author = {Vincenzo Riccio and Paolo Tonella},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00104}
}