arXiv:2503.15953cs.SEcs.AI2025-03被引 1

无真实标签时用GAN增强模拟器,提升视觉DNN测试效果

GAN-enhanced Simulation-driven DNN Testing in Absence of Ground Truth

  • 用GAN保持模拟器真实性,结合变换一致性等启发式评估函数
  • 变换一致性使输入多样性最高,能发现性能下降样本,重训后模型最优
  • 适用于无真实数据的高危系统DNN测试,适合替代昂贵模拟器

在安全关键系统中,通过搜索驱动的模拟器生成合成输入是实现低成本深度神经网络(DNN)测试的关键。然而,许多场景下模拟器无法生成用于自动化测试判据和引导搜索过程的真实标签数据。为此,本文提出一种面向计算机视觉DNN的输入生成方法:集成生成网络以确保模拟器保真度,并采用基于启发式的搜索适应度函数,利用变换一致性、抗噪性、意外充分性和不确定性估计。我们对比了这些适应度函数与依赖真实标签的传统函数的表现;进一步评估了不依赖真实标签的GAN对测试与重训练效果的影响。结果表明,使用变换一致性作为适应度函数在测试与重训练中表现最佳:它最大化输入多样性,有效识别导致DNN性能下降的输入,并在重训后获得最优模型性能。该方法不仅实现了无真实标签下的模拟器测试,还为未来用扩散模型和大语言模型替代高成本模拟器提供了可能——这些模型虽无法生成真实标签,但更具成本效益。

原文摘要 · Abstract (English)

The generation of synthetic inputs via simulators driven by search algorithms is essential for cost-effective testing of Deep Neural Network (DNN) components for safety-critical systems. However, in many applications, simulators are unable to produce the ground-truth data needed for automated test oracles and to guide the search process. To tackle this issue, we propose an approach for the generation of inputs for computer vision DNNs that integrates a generative network to ensure simulator fidelity and employs heuristic-based search fitnesses that leverage transformation consistency, noise resistance, surprise adequacy, and uncertainty estimation. We compare the performance of our fitnesses with that of a traditional fitness function leveraging ground truth; further, we assess how the integration of a GAN not leveraging the ground truth impacts on test and retraining effectiveness. Our results suggest that leveraging transformation consistency is the best option to generate inputs for both DNN testing and retraining; it maximizes input diversity, spots the inputs leading to worse DNN performance, and leads to best DNN performance after retraining. Besides enabling simulator-based testing in the absence of ground truth, our findings pave the way for testing solutions that replace costly simulators with diffusion and large language models, which might be more affordable than simulators, but cannot generate ground-truth data.

DNN测试GAN无真实标签仿真

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。