Unified Frequency-Assisted Transformer Framework for Detecting and Grounding Multi-Modal Manipulation

Huan Liu, Zichang Tan, Qiang Chen, Yunchao Wei, Yao Zhao, Jingdong WangIJCV 2023

TL;DR

This paper introduces UFAFormer, a novel framework that tackles the complex problem of detecting and grounding multi-modal media manipulation (like fake images with fake text). By incorporating frequency domain analysis alongside traditional image and text processing, UFAFormer achieves state-of-the-art performance, simplifying the overall architecture with a unified decoder.

What Problem Does This Paper Address?

The proliferation of fake media, including manipulated images and fabricated text, poses a significant threat to information integrity and societal trust. Detecting and grounding these manipulations, especially when they occur across multiple modalities (e.g., a fake image paired with misleading text), is a challenging task. Existing methods often focus on individual modalities or use complex multi-branch architectures. This paper addresses the need for a more unified and effective approach to "Detecting and Grounding Multi-Modal Manipulation" (DGM4), which requires not only identifying that manipulation has occurred but also pinpointing the exact manipulated regions in both images and text.

Methods

UFAFormer introduces several key innovations:

  • Frequency Domain Integration: The core idea is to leverage the frequency domain, specifically using the Discrete Wavelet Transform (DWT), to extract rich forgery artifacts that might be missed in the spatial (RGB) domain. DWT decomposes images into sub-bands (LL, LH, HL, HH), each capturing different aspects of texture and detail.
  • Frequency Encoder: A novel frequency encoder is proposed, featuring specialized intra-band and inter-band self-attentions. This design aims to aggregate forgery features effectively within and across these frequency sub-bands, while carefully avoiding potentially noisy interactions between different frequency components.
  • Forgery-Aware Mutual Module (FAMM): To bridge the semantic gap between image and frequency features, FAMM is introduced. It uses a forgery-aware feature pyramid to enhance manipulation-related image features and then employs mutual cross-attention to align them with frequency features, creating comprehensive visual forgery representations.
  • Unified Decoder: Instead of complex multi-branch decoders, UFAFormer uses a single, unified decoder. This decoder integrates visual (from FAMM) and textual features, processing all four DGM4 sub-tasks (binary classification, fine-grained classification, face grounding, and text grounding) simultaneously. This simplification aims to improve optimization and overall performance.

Datasets

The experiments were conducted on the DGM4 dataset. This dataset contains a large number of image-text paired samples, including both pristine and manipulated instances. The manipulations are categorized into four types: face swap (FS), face attribute (FA), text swap (TS), and text attribute (TA). The dataset is noted for its challenging nature, as manipulated faces and text are often combined, and it includes perturbations like JPEG compression and Gaussian noise.

Key Insights and Ideas

  • Frequency is Key for Forgery: The paper strongly advocates for the importance of the frequency domain in detecting subtle forgery artifacts, especially in faces, which might be overlooked in standard RGB analysis.
  • Unified Architecture Simplifies Complexity: Moving away from multi-branch architectures to a unified framework with a single decoder is shown to be effective and potentially more efficient for optimization.
  • Semantic Alignment is Crucial: The challenge of integrating disparate features (image vs. frequency) is significant. FAMM's approach to aligning these features through forgery-aware selection and cross-attention is a critical step.
  • Frequency Domain Benefits Text Grounding Too: Surprisingly, incorporating frequency information not only helps with face manipulation but also significantly improves text grounding performance, highlighting the interconnectedness of multi-modal manipulation.

Key Results

UFAFormer achieved state-of-the-art results on the DGM4 dataset. Key performance metrics include:

  • Binary Classification: 93.81% AUC
  • Fine-Grained Manipulation Type Classification: 87.85% mAP
  • Manipulated Face Grounding: 78.33% IoUm
  • Manipulated Word Grounding: 72.02% F1

The paper also shows that UFAFormer consistently outperforms previous multi-modal frameworks like CLIP, ViLT, and HAMMER, with notable improvements in mAP and IoUm. For fine-grained classification, UFAFormer showed gains across all manipulation types compared to HAMMER.

Limitations and Future Work

The authors acknowledge that UFAFormer can occasionally misidentify faces in the presence of severe image perturbations, such as very smooth Gaussian blur. They suggest that improving robustness to such image distortions is a promising direction for future work.

Summary updated

BibTeX
@article{liu2023unified,
  author = {Huan Liu and Zichang Tan and Qiang Chen and Yunchao Wei and Yao Zhao and Jingdong Wang},
  title = {{Unified Frequency-Assisted Transformer Framework for Detecting and Grounding Multi-Modal Manipulation}},
  journal = {Int. J. Comput. Vis.},
  year = {2023},
  url = {https://openreview.net/forum?id=5TToROpafBQ},
}
Figure