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

DILLEMA:用于多模态增强的扩散模型与大语言模型

DILLEMA: Diffusion and Large Language Models for Multi-Modal Augmentation

Politecnico di Milano(米兰理工大学)

Luciano Baresi, Davide Yi Xian Hu, Muhammad Irfan Mas'udi, Giovanni Quattrocchi

AI总结:

本文提出DILLEMA框架,结合大语言模型与控制条件扩散模型生成高保真反事实测试图像,在ImageNet1K和SHIFT上验证其能有效揭示模型弱点并通过重训练提升鲁棒性。

摘要:

确保深度学习模型的鲁棒性需要全面且多样化的测试。现有方法通常基于简单的数据增强技术或生成对抗网络,在生成真实且多样的测试用例方面存在局限。为解决这些局限,我们提出了一种新颖的视觉神经网络测试框架,该框架利用大语言模型和控制条件扩散模型生成合成的高保真测试用例。我们的方法首先使用图像描述模型将图像转换为详细的文本描述,使语言模型能够识别图像中可修改的方面并生成反事实描述。随后,这些描述通过文本到图像的扩散过程生成新的测试图像,该过程保持空间一致性并保留场景的关键元素。我们使用两个数据集验证了方法的有效性:用于图像分类的ImageNet1K和用于自动驾驶语义分割的SHIFT。结果表明,我们的方法能够生成大量揭示模型弱点的测试用例,并通过有针对性的重训练提高模型鲁棒性。我们使用Mechanical Turk进行了人工评估以验证生成的图像。参与者的反馈以高度一致性确认,我们的方法能够生成有效且真实的图像。

英文摘要:

Ensuring the robustness of deep learning models requires comprehensive and diverse testing. Existing approaches, often based on simple data augmentation techniques or generative adversarial networks, are limited in producing realistic and varied test cases. To address these limitations, we present a novel framework for testing vision neural networks that leverages Large Language Models and control-conditioned Diffusion Models to generate synthetic, high-fidelity test cases. Our approach begins by translating images into detailed textual descriptions using a captioning model, allowing the language model to identify modifiable aspects of the image and generate counterfactual descriptions. These descriptions are then used to produce new test images through a text-to-image diffusion process that preserves spatial consistency and maintains the critical elements of the scene. We demonstrate the effectiveness of our method using two datasets: ImageNet1K for image classification and SHIFT for semantic segmentation in autonomous driving. The results show that our approach can generate significant test cases that reveal weaknesses and improve the robustness of the model through targeted retraining. We conducted a human assessment using Mechanical Turk to validate the generated images. The responses from the participants confirmed, with high agreement among the voters, that our approach produces valid and realistic images.

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

↑