paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Distance-Aware Test Input Selection for Deep Neural Networks

面向深度神经网络的距离感知测试输入选择
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 2/10 · 该论文研究 DNN 测试输入选择,属于机器学习系统的测试与质量保障,但与用户核心方向(面向 ML/Agentic 程序的静态分析、LLM 改进静态分析/形式化验证、浮点程序分析、贝叶斯程序分析)没有直接交叉。其技术路线基于距离与不确定性,不涉及 LLM/Agent 或程序语言静态分析。引用 8 inbox
Zhong Li, Zhengfeng Xu, Ruihua Ji, Minxue Pan, Tian Zhang, Linzhang Wang, Xuandong Li
crossref: 2026-09-12

AI 速览

一句话:提出 DATIS,利用测试输入与最近邻训练样本及彼此距离选择高故障揭示力的 DNN 测试输入。

DNN 测试通常依赖大量带标签的测试输入,获取成本高且资源密集。本文提出 DATIS,一种距离感知的测试输入选择方法:先根据测试输入到最近邻训练样本的距离改进不确定性分数并据此筛选,再通过已选测试输入之间的距离去除可能覆盖相同故障的冗余样本。作者在 8 个不同领域、结构和输入类型的对象上开展实验,与 15 个基线方法比较,结果表明 DATIS 在高故障揭示力测试输入选择及指导 DNN 增强数据选择方面均显著更优。

问题
DNN 测试需要大量带 oracle 标签的测试输入,这类输入获取困难且资源密集。
方法
DATIS 采用两步选择:先基于测试输入与最近邻训练样本的距离改进不确定性分数,再检查已选输入之间的距离以消除可能覆盖相同故障的样本。
评估
在 8 个覆盖不同输入领域、DNN 结构和输入类型的对象上,与 15 个基线方法比较,评估高故障揭示力输入选择与指导 DNN 增强数据选择的效果。
原文摘要(Abstract)

Deep Neural Network (DNN) testing is one of the common practices to guarantee the quality of DNNs. However, DNN testing in general requires a significant amount of test inputs with oracle information (labels), which can be challenging and resource-intensive to obtain. To relieve this problem, we propose DATIS, a distance-aware test input selection approach for DNNs. Specifically, DATIS adopts a two-step approach for selecting test inputs. In the first step, it selects test inputs based on improved uncertainty scores derived from the distances between the test inputs and their nearest neighbor training samples. In the second step, it further eliminates test inputs that may cover the same faults by examining the distances among the selected test inputs. To evaluate DATIS, we conduct extensive experiments on 8 diverse subjects, taking into account different domains of test inputs, varied DNN structures, and diverse types of test inputs. Evaluation results show that DATIS significantly outperforms 15 baseline approaches in both selecting test inputs with high fault-revealing power and guiding the selection of data for DNN enhancement.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8497,
  title = {Distance-Aware Test Input Selection for Deep Neural Networks},
  author = {Zhong Li and Zhengfeng Xu and Ruihua Ji and Minxue Pan and Tian Zhang and Linzhang Wang and Xuandong Li},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3652125}
}