paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Guiding Deep Learning System Testing Using Surprise Adequacy

使用 Surprise Adequacy 指导深度学习系统测试
ICSE 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)2019匹配度 3/10 · 论文研究深度学习系统的测试充分性准则,属于机器学习系统测试与鲁棒性方向,与用户关注的静态分析、形式化验证、浮点程序分析、贝叶斯程序分析以及 LLM/Agent 与程序语言交叉的核心方向关联较弱。引用 514 inbox
Jinhan Kim, Robert Feldt, Shin Yoo
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 SADL——基于输入相对训练数据意外程度的深度学习系统测试充分性准则,并用于指导测试与再训练。

深度学习系统在安全关键领域应用广泛,但传统测试依赖人工标注数据,现有基于神经元激活的覆盖率准则粒度不足,且评估多局限于与对抗样本的相关性。本文提出面向深度学习系统的测试充分性准则 SADL,从系统相对于训练数据的行为差异出发,将输入对模型而言的“意外程度”作为充分性度量:好的测试输入应相对训练数据足够意外但不过分异常。作者在从简单图像分类器到自动驾驶平台的多种 DL 系统上评估,表明按 surprise 系统化采样输入,并通过再训练,可将对抗样本上的分类准确率最高提升 77.5%。

问题
现有深度学习系统测试覆盖准则不够细粒度,难以捕捉系统的细微行为,且未充分评估其指导实际测试的有效性。
方法
提出基于模型行为相对训练数据的 surprise 度量 SADL,并将其作为测试充分性准则来系统化采样测试输入与指导再训练。
评估
在从简单图像分类器到自动驾驶平台的多种深度学习系统上实验,按 surprise 采样输入并再训练,使对抗样本上的分类准确率最高提升 77.5%。
原文摘要(Abstract)

Deep Learning (DL) systems are rapidly being adopted in safety and security critical domains, urgently calling for ways to test their correctness and robustness. Testing of DL systems has traditionally relied on manual collection and labelling of data. Recently, a number of coverage criteria based on neuron activation values have been proposed. These criteria essentially count the number of neurons whose activation during the execution of a DL system satisfied certain properties, such as being above predefined thresholds. However, existing coverage criteria are not sufficiently fine grained to capture subtle behaviours exhibited by DL systems. Moreover, evaluations have focused on showing correlation between adversarial examples and proposed criteria rather than evaluating and guiding their use for actual testing of DL systems. We propose a novel test adequacy criterion for testing of DL systems, called Surprise Adequacy for Deep Learning Systems (SADL), which is based on the behaviour of DL systems with respect to their training data. We measure the surprise of an input as the difference in DL system's behaviour between the input and the training data (i.e., what was learnt during training), and subsequently develop this as an adequacy criterion: a good test input should be sufficiently but not overtly surprising compared to training data. Empirical evaluation using a range of DL systems from simple image classifiers to autonomous driving car platforms shows that systematic sampling of inputs based on their surprise can improve classification accuracy of DL systems against adversarial examples by up to 77.5% via retraining.

链接与引用

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

BibTeX
@inproceedings{abs-1808-08444,
  title = {Guiding Deep Learning System Testing Using Surprise Adequacy},
  author = {Jinhan Kim and Robert Feldt and Shin Yoo},
  booktitle = {ICSE},
  year = {2019},
  doi = {10.1109/icse.2019.00108}
}