paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Prioritizing Test Inputs for DNNs Using Training Dynamics

基于训练动态的 DNN 测试输入优先级排序
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 2/10 · 该论文研究 DNN 测试输入优先级排序,属于机器学习系统测试/调试方向,但未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等核心主题,与用户研究画像仅存在较弱的边缘关联。引用 6 inbox
Jian Shen, Zhong Li, Minxue Pan, Xuandong Li
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 TDPR,利用训练动态刻画测试输入的学习轨迹并用学习排序模型进行优先级排序,以低成本优先发现缺陷。

DNN 测试是保障深度神经网络质量的重要手段,但通常需要测试输入的真实标签,标注成本高。为解决该问题,本文提出基于训练动态的测试输入优先级排序技术 TDPR。其核心观察是:能揭示缺陷的样本与正常样本具有不同的学习轨迹。TDPR 为每个测试输入构建学习轨迹,刻画 DNN 在学习过程中不断演化的行为,并从中提取特征;随后应用 learning-to-rank 技术训练排序模型,智能地利用这些特征对测试输入排序。实验在 8 个不同测试输入领域、DNN 架构和输入类型的被测对象上开展,结果表明 TDPR 在测试输入优先级排序和指导 DNN 重训练两方面均优于 7 种基线方法。

问题
DNN 测试通常依赖测试输入的真实标签,而获取标签耗时耗力;如何在不依赖大量标注的情况下优先选择更可能揭示缺陷的测试输入,是本文关注的问题。
方法
TDPR 基于训练动态为每个测试输入构建学习轨迹,从中提取特征,并利用 learning-to-rank 技术训练排序模型,从而对测试输入进行智能优先级排序。
评估
在 8 个不同领域、不同 DNN 架构和不同测试输入类型的被测对象上开展实验,并与 7 种基线方法比较;结果显示 TDPR 在测试输入优先级排序和指导 DNN 重训练方面均更优。
原文摘要(Abstract)

Deep Neural Network (DNN) testing is one of the most widely-used techniques to guarantee the quality of DNNs. However, DNN testing typically requires the ground truth of test inputs, which is time-consuming and labor-intensive to obtain. To relieve the labeling-cost problem of DNN testing, we propose TDPR, a test input prioritization technique for DNNs based on training dynamics. The key insight of TDPR is that bug-revealing samples exhibit different learning trajectories compared to normal ones. Based on this, TDPR constructs a learning trajectory for each test input, which characterizes the evolving learning behavior of DNNs. Then, TDPR extracts features from these learning trajectories and applies learning-to-rank techniques to build a ranking model, which can intelligently utilize the generated features to prioritize test inputs. To evaluate TDPR, we conduct extensive experiments on 8 diverse subjects, considering various domains of test inputs, different DNN architectures, and diverse types of test inputs. The evaluation results demonstrate that TDPR outperforms 7 baseline approaches in both prioritizing test inputs and guiding the retraining of DNNs.CCS CONCEPTS• Software and its engineering → Software testing and debugging.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{ShenLPL24,
  title = {Prioritizing Test Inputs for DNNs Using Training Dynamics},
  author = {Jian Shen and Zhong Li and Minxue Pan and Xuandong Li},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695498}
}