[论文解读] AI-Generated Image Detection using a Cross-Attention Enhanced Dual-Stream Network
本文提出了一种基于交叉注意力增强的双流卷积神经网络,用于检测由文本到图像模型(如 DALL·E2 和 DreamStudio)生成的 AI 生成图像(T2I)与真实照片(PG)之间的差异。该方法利用残差流结合空间丰富模型(SRM)提取纹理特征,同时通过内容流捕捉低频异常。该方法在自建的 T2I 数据集以及标准 CG 检测基准(如 SPL2018 和 DsTok)上均取得了最先进性能,相较于以往方法,在多种分辨率下最高提升了 4.2% 的准确率。
With the rapid evolution of AI Generated Content (AIGC), forged images produced through this technology are inherently more deceptive and require less human intervention compared to traditional Computer-generated Graphics (CG). However, owing to the disparities between CG and AIGC, conventional CG detection methods tend to be inadequate in identifying AIGC-produced images. To address this issue, our research concentrates on the text-to-image generation process in AIGC. Initially, we first assemble two text-to-image databases utilizing two distinct AI systems, DALLE2 and DreamStudio. Aiming to holistically capture the inherent anomalies produced by AIGC, we develope a robust dual-stream network comprised of a residual stream and a content stream. The former employs the Spatial Rich Model (SRM) to meticulously extract various texture information from images, while the latter seeks to capture additional forged traces in low frequency, thereby extracting complementary information that the residual stream may overlook. To enhance the information exchange between these two streams, we incorporate a cross multi-head attention mechanism. Numerous comparative experiments are performed on both databases, and the results show that our detection method consistently outperforms traditional CG detection techniques across a range of image resolutions. Moreover, our method exhibits superior performance through a series of robustness tests and cross-database experiments. When applied to widely recognized traditional CG benchmarks such as SPL2018 and DsTok, our approach significantly exceeds the capabilities of other existing methods in the field of CG detection.
研究动机与目标
- 为应对由 DALL·E2 和 DreamStudio 等文本到图像模型生成的 AI 生成图像(T2I)日益增长的检测挑战,这些图像与传统 CG 图形在本质上存在根本差异。
- 克服传统 CG 检测方法在面对现代 AIGC 生成图像特有伪影时泛化能力不足的局限性。
- 开发一种鲁棒的端到端检测框架,能够同时捕捉 AI 生成内容中的高频纹理异常与低频伪造痕迹。
- 在多种图像分辨率下,于广泛使用的 CG 检测基准(如 SPL2018 和 DsTok)上验证该方法的有效性。
提出的方法
- 该方法采用双流架构:残差流使用空间丰富模型(SRM)从图像中提取详细的纹理与噪声模式。
- 另一独立的内容流旨在捕捉残差流可能遗漏的低频异常,重点关注结构与色彩不一致。
- 通过卷积层对两路特征进行下采样,并利用交叉多头注意力机制实现特征融合,以增强两路之间的特征交互。
- 将融合后的特征在通道维度上拼接,并送入分类器头,完成 T2I 与 PG 的二分类任务。
- 模型在两个新构建的 T2I 数据库上进行训练,这些数据由 DALL·E2 和 DreamStudio 生成,确保了生成风格的多样性。
- 在标准 CG 检测基准(SPL2018、DsTok)上评估该架构,以检验其迁移能力与鲁棒性。
实验结果
研究问题
- RQ1双流卷积神经网络结合交叉注意力机制是否能通过捕捉高频与低频域的互补伪影,有效检测 AI 生成图像(T2I)?
- RQ2当应用于具有显著生成模式的现代 T2I 内容时,该方法相较于现有 CG 检测技术表现如何?
- RQ3相较于简单的拼接或早期融合方式,交叉注意力机制在多大程度上提升了特征融合效果并提高了检测准确率?
- RQ4该模型是否能在 SPL2018 和 DsTok 等成熟 CG 检测基准上表现出良好泛化能力,表明其在不同伪造类型间的可迁移性?
- RQ5在常见的图像后处理攻击(如旋转、模糊化和缩放)下,该方法的鲁棒性如何?
主要发现
- 所提方法在 DALL·E2 和 DreamStudio 的 T2I 数据库上均实现了最高平均准确率,在所有测试配置中均优于现有 SOTA 方法。
- 在 DsTok 数据集上,该方法在 224×224、112×112 和 56×56 分辨率下分别比次优方法 QuanNet 提高了 3.6%、3.1% 和 4.2% 的准确率。
- 在 SPL2018 基准上,该方法在相同分辨率下分别比 CGNet 提高了 0.8%、0.4% 和 0.8% 的准确率,展现出强大的泛化能力。
- 消融实验表明,若移除残差流、内容流或交叉注意力模块,性能均出现一致下降,验证了所有组件的必要性。
- 与现有方法相比,该模型在旋转和模糊化等常见后处理操作下表现出更优的鲁棒性。
- 交叉注意力机制显著增强了两路特征之间的交互,从而在所有评估设置下均提升了检测性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。