paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DeepHunter: a coverage-guided fuzz testing framework for deep neural networks

DeepHunter:面向深度神经网络的覆盖率引导模糊测试框架
ISSTA Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis2019匹配度 2/10 · 该论文研究 DNN 的覆盖率引导模糊测试,属于动态测试与 ML 系统可靠性方向,并未涉及用户核心关注的静态分析、LLM/Agent 与程序分析/形式化验证的交叉、浮点程序分析或贝叶斯程序分析。虽然与“机器学习系统”有弱关联,但方法论和研究问题均不在用户研究画像的主线上。引用 452 inbox
Xiaofei Xie, Lei Ma, Felix Juefei-Xu, Minhui Xue, Hongxu Chen, Yang Liu, Jianjun Zhao, Bo Li, Jianxiong Yin, Simon See
crossref: 2026-09-12

AI 速览

一句话:提出覆盖率引导的 DNN 模糊测试框架 DeepHunter,通过变形变异和种子选择检测 DNN 缺陷。

深度神经网络在自动驾驶等安全攸关场景中可能出现由隐藏缺陷导致的错误行为。论文提出 DeepHunter,一个面向通用 DNN 的覆盖率引导模糊测试框架。它设计变形变异策略生成语义保持的新测试,并用多种可扩展覆盖准则作为反馈指导测试生成;同时结合基于多样性和新近性的种子选择。作者实现并集成5种测试准则和4种种子选择策略,开展大规模实验。结果表明,变形变异生成有效测试的比率最高达98%;多样性种子选择通常比新近性更重要;DeepHunter在覆盖率和发现缺陷的数量与多样性上优于现有方法;在角区域准则引导下可捕获DNN量化迁移中的缺陷。

问题
DNN 可能存在隐藏缺陷并导致错误行为,需要有效的测试方法来检测通用 DNN 的潜在缺陷。
方法
提出 DeepHunter 覆盖率引导模糊测试框架,使用语义保持的变形变异生成测试,以多种覆盖准则为反馈,并结合多样性和新近性种子选择策略。
评估
集成5种测试准则和4种种子选择策略并进行大规模实验,验证变异有效性、种子选择影响、与现有方法的覆盖率及缺陷发现对比,以及量化迁移场景。
原文摘要(Abstract)

The past decade has seen the great potential of applying deep neural network (DNN) based software to safety-critical scenarios, such as autonomous driving. Similar to traditional software, DNNs could exhibit incorrect behaviors, caused by hidden defects, leading to severe accidents and losses. In this paper, we propose DeepHunter, a coverage-guided fuzz testing framework for detecting potential defects of general-purpose DNNs. To this end, we first propose a metamorphic mutation strategy to generate new semantically preserved tests, and leverage multiple extensible coverage criteria as feedback to guide the test generation. We further propose a seed selection strategy that combines both diversity-based and recency-based seed selection. We implement and incorporate 5 existing testing criteria and 4 seed selection strategies in DeepHunter. Large-scale experiments demonstrate that (1) our metamorphic mutation strategy is useful to generate new valid tests with the same semantics as the original seed, by up to a 98% validity ratio; (2) the diversity-based seed selection generally weighs more than recency-based seed selection in boosting the coverage and in detecting defects; (3) DeepHunter outperforms the state of the arts by coverage as well as the quantity and diversity of defects identified; (4) guided by corner-region based criteria, DeepHunter is useful to capture defects during the DNN quantization for platform migration.

链接与引用

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

BibTeX
@inproceedings{paperbot5346,
  title = {DeepHunter: a coverage-guided fuzz testing framework for deep neural networks},
  author = {Xiaofei Xie and Lei Ma and Felix Juefei-Xu and Minhui Xue and Hongxu Chen and Yang Liu and Jianjun Zhao and Bo Li and Jianxiong Yin and Simon See},
  booktitle = {ISSTA},
  year = {2019},
  doi = {10.1145/3293882.3330579}
}