paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Tensor-Based Batch Fuzzing with Adaptive Perturbation Scaling for Deep Neural Networks

面向深度神经网络的基于张量的批量模糊测试与自适应扰动缩放
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 3/10 · 论文主题是DNN的规范感知批量模糊测试,属于动态测试与ML可靠性验证,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接交叉;仅在“ML系统可靠性/形式化性质检查”上有边缘关联。引用 0 inbox
Guanqin Zhang, Yulei Sui
crossref: 2026-10-09

AI 速览

一句话:提出规范感知的批量模糊测试框架,用张量化批量迭代与自适应扰动缩放显著提升 DNN 测试吞吐与反例发现率。

深度神经网络在自动驾驶、医疗诊断等安全关键领域广泛部署,但其高维参数空间难以系统评估未见输入上的可靠性。现有覆盖引导的顺序模糊测试沿用传统软件测试的“每次一个输入”设计,并对所有输入维度施加统一扰动预算,既限制了吞吐量,也削弱了输入空间探索的精度。本文提出一种规范感知的批量模糊测试框架,用自适应扰动缩放替代固定全局扰动半径:从规范定义的可行区间(上下界之差)经共享缩放因子导出变异步长,既可作全局标量(各向同性),也可作逐维步长(各向异性),使扰动与约束结构保持一致,从而在异构特征尺度下更有效探索输入空间。作者将输入约束与输出性质检查作为不可训练层嵌入网络,得到包装模型,可在单次批量迭代中处理 B 个规范实例。在 TrafficSigns、Cifar100、TinyImageNet 三个基准、六个网络、逾 400 条规范上的评估显示,相同时间预算下吞吐量最高提升 40 倍,发现违规数最多为顺序基线的 4 倍。

问题
现有 DNN 覆盖引导模糊测试采用单输入逐次迭代与全局统一扰动预算,导致测试吞吐低且难以应对特征尺度异构的输入空间,无法高效发现规范违反。
方法
将输入约束与输出性质检查作为不可训练层嵌入网络形成包装模型,单次批量迭代处理 B 个规范实例;并由规范可行区间经共享缩放因子导出变异步长,支持各向同性与逐维各向异性扰动缩放。
评估
在 TrafficSigns、Cifar100、TinyImageNet 三个基准上,覆盖六个网络与 400 余条规范,与顺序模糊测试基线在相同时间预算下比较吞吐量与违规发现数。
原文摘要(Abstract)

Deep neural networks (DNNs) are increasingly deployed in safety-critical domains such as autonomous driving and medical diagnosis, yet their opaque, high-dimensional parameter spaces make it difficult to systematically assess model reliability on unseen inputs. Existing coverage-guided sequential fuzzing frameworks for DNN inherit a one-input-per-iteration design from traditional software fuzzing and apply uniform perturbation budgets across all input dimensions, limiting both testing throughput (i.e., inputs processed per unit time) and the precision of input-space exploration. We present a new specification-aware batch fuzzing framework with adaptive perturbation scaling that addresses both limitations. Rather than relying on a fixed global perturbation radius є, our approach derives mutation step sizes from specification-defined feasible ranges (i.e., the gap between lower and upper bounds) using a shared scale factor. This scaling can be applied either as a global scalar (isotropic) or as per-dimension step sizes (anisotropic), enabling perturbations to remain consistent with the underlying constraint structure. As a result, the fuzzer can explore input spaces with heterogeneous feature scales more effectively across all specifications in the batch. We embed input constraints and output property checks directly into the network as non-trainable layers, yielding a wrapped model that processes B specification instances in a single batched iteration, which substantially improves fuzzing efficiency and exploration of counterexamples. We evaluate our framework extensively on three benchmarks, covering six networks and over 400 specifications across TrafficSigns, Cifar100, and TinyImageNet. Our tensor-based fuzzing achieves up to 40× higher throughput and 4× more violations than the sequential baseline under the same time budget, demonstrating significantly improved effectiveness in specification-guided fuzzing.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2606-25239,
  title = {Tensor-Based Batch Fuzzing with Adaptive Perturbation Scaling for Deep Neural Networks},
  author = {Guanqin Zhang and Yulei Sui},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834435}
}