arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.15041cs.LGcs.SE
收藏

基于扩散的测试用例生成的超网络自适应

HyperNet-Adaptation for Diffusion-Based Test Case Generation

Technical University of Munich(慕尼黑技术大学);University of Udine(乌迪内大学);fortiss

Oliver Weißl, Vincenzo Riccio, Severin Kacianka, Andrea Stocco

AI总结:

针对深度学习系统可靠性评估问题,提出HyNeA生成式测试方法,通过超网络实现无数据集可控性,采用独特训练策略,能以较低计算成本有针对性地生成现实故障用例,提高可控性和测试多样性,还可推广到无故障标签数据领域。

摘要:

深度学习系统的广泛部署需要对其在实际场景中的可靠性进行系统评估。传统基于梯度的对抗攻击引入的小扰动很少对应现实故障,主要评估鲁棒性而非功能行为。生成式测试生成方法提供了一种替代方案,但通常限于简单数据集或受限输入域。扩散模型虽能实现高保真图像合成,但其计算成本和有限可控性限制了其在大规模测试中的应用。我们提出了HyNeA,一种能对基于扩散的生成进行直接有效控制的生成式测试方法。HyNeA通过超网络提供无数据集可控性,允许在不依赖特定架构条件机制或数据集驱动调整(如微调)的情况下对生成过程进行有针对性的操作。HyNeA采用独特训练策略,支持实例级调整以识别导致故障的测试用例,而无需明确包含类似故障示例的数据集。实验结果表明,HyNeA与现有生成式测试生成器相比提高了可控性和测试多样性,并能推广到无故障标签训练数据的领域。

英文摘要:

The increasing deployment of deep learning systems requires systematic evaluation of their reliability in real-world scenarios. Traditional gradient-based adversarial attacks introduce small perturbations that rarely correspond to realistic failures and mainly assess robustness rather than functional behavior. Generative test generation methods offer an alternative but are often limited to simple datasets or constrained input domains. Although diffusion models enable high-fidelity image synthesis, their computational cost and limited controllability restrict their applicability to large-scale testing. We present HyNeA, a generative testing method that enables direct and efficient control over diffusion-based generation. HyNeA provides dataset-free controllability through hypernetworks, allowing targeted manipulation of the generative process without relying on architecture-specific conditioning mechanisms or dataset-driven adaptations such as fine-tuning. HyNeA employs a distinct training strategy that supports instance-level tuning to identify failure-inducing test cases without requiring datasets that explicitly contain examples of similar failures. This approach enables the targeted generation of realistic failure cases at substantially lower computational cost than search-based methods. Experimental results show that HyNeA improves controllability and test diversity compared to existing generative test generators and generalizes to domains where failure-labeled training data is unavailable.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑