paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural Networks

DeepPerform:面向资源受限神经网络性能测试的高效方法
ASE Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering2022匹配度 2/10 · 该论文关注神经网络性能测试与测试样本生成,属于机器学习系统测试方向,但未涉及静态分析、Agentic/LLM 程序、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心问题仅有边缘关联。引用 19 inbox
Simin Chen, Mirazul Haque, Cong Liu, Wei Yang
crossref: 2026-09-12

AI 速览

一句话:提出 DeepPerform,通过分布学习生成触发 AdNN 输入相关性能瓶颈的测试样本,高效检测性能退化。

自适应深度神经网络(AdNN)正越来越多地部署在资源受限的嵌入式设备上。论文观察到,与传统软件类似,AdNN 中存在冗余计算,会导致显著性能退化;这种退化依赖于输入,被称为输入相关性能瓶颈(IDPB)。为确保 AdNN 满足资源受限应用的性能要求,需要对其进行性能测试以检测 IDPB,但现有神经网络测试方法主要关注正确性测试,不涉及性能测试。为填补这一空白,论文提出 DeepPerform,一种可扩展的性能测试样本生成方法。作者首先将生成能检测 IDPB 的性能测试样本形式化为优化问题,然后通过学习和估计 AdNN 计算消耗分布来高效求解。评估在三个常用数据集和五个流行 AdNN 模型上进行,结果表明 DeepPerform 生成的测试样本可造成更严重性能退化(FLOPs 最高增加 552%),且生成测试输入的运行时开销仅 6–10 毫秒,显著优于基线方法。

问题
AdNN 在资源受限设备上会因输入相关的冗余计算出现性能瓶颈,而现有神经网络测试方法主要做正确性测试,缺乏针对性能退化的测试。
方法
论文将生成能检测输入相关性能瓶颈的测试样本形式化为优化问题,并利用 AdNN 计算消耗分布的学习与估计来高效求解该问题。
评估
在三个常用数据集和五个流行 AdNN 模型上评估,DeepPerform 生成的测试样本使 FLOPs 最高增加 552%,且生成输入仅需 6–10 毫秒,显著优于基线方法。
原文摘要(Abstract)

Today, an increasing number of Adaptive Deep Neural Networks (AdNNs) are being used on resource-constrained embedded devices. We observe that, similar to traditional software, redundant computation exists in AdNNs, resulting in considerable performance degradation. The performance degradation is dependent on the input and is referred to as input-dependent performance bottlenecks (IDPBs). To ensure an AdNN satisfies the performance requirements of resource-constrained applications, it is essential to conduct performance testing to detect IDPBs in the AdNN. Existing neural network testing methods are primarily concerned with correctness testing, which does not involve performance testing. To fill this gap, we propose DeepPerform, a scalable approach to generate test samples to detect the IDPBs in AdNNs. We first demonstrate how the problem of generating performance test samples detecting IDPBs can be formulated as an optimization problem. Following that, we demonstrate how DeepPerform efficiently handles the optimization problem by learning and estimating the distribution of AdNNs’ computational consumption. We evaluate DeepPerform on three widely used datasets against five popular AdNN models. The results show that DeepPerform generates test samples that cause more severe performance degradation (FLOPs: increase up to 552%). Furthermore, DeepPerform is substantially more efficient than the baseline methods in generating test inputs (runtime overhead: only 6–10 milliseconds).

链接与引用

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

BibTeX
@inproceedings{paperbot7312,
  title = {DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural Networks},
  author = {Simin Chen and Mirazul Haque and Cong Liu and Wei Yang},
  booktitle = {ASE},
  year = {2022},
  doi = {10.1145/3551349.3561158}
}