FMM-Attack: A Flow-based Multi-modal Adversarial Attack on Video-based LLMs

Jinmin Li, Kuofeng Gao, Yang Bai, Jingyun Zhang, Shutao Xia, Yisen WangarXiv 2024 · DOI

Introduction

While Large Language Models (LLMs) have demonstrated significant robustness in text-only domains, their multi-modal counterparts—specifically those integrated with video processing capabilities—exhibit critical vulnerabilities. Video-based LLMs, such as Video-LLaMA and Video-ChatGPT, must process complex temporal data, making them a challenging yet lucrative target for adversarial research. This paper introduces FMM-Attack, the first adversarial attack specifically designed to exploit the temporal and multi-modal nature of video-integrated systems.

Methodology: The FMM-Attack Framework

The proposed Flow-based Multi-modal Attack (FMM-Attack) utilizes three core components to compromise model integrity with minimal visual distortion:

  1. Dual-Modality Loss: The attack optimizes perturbations against two targets simultaneously: the video feature space (visual perception) and the LLM hidden states (linguistic reasoning). This ensures that the adversarial noise disrupts the alignment between what the model "sees" and how it "thinks."
  2. Flow-based Temporal Mask ($M_f$): To maintain efficiency and reduce detectability, FMM-Attack identifies frames with the highest motion using optical flow (via LiteFlowNet). Adversarial perturbations are concentrated only on these high-motion "key" frames, typically affecting fewer than 20% of the total video.
  3. Sparsity Constraint: By employing an $\ell_{2,1}$ norm, the attack ensures that perturbations remain sparse and imperceptible to human observers while remaining potent enough to trigger internal model failures.

Key Insights and Results

The "Garbling" Effect and Asymmetric Transmission

A primary discovery of this research is the "garbling" effect, where the attack forces the model to generate repetitive, nonsensical text (e.g., "666.6.6.6..."). This indicates a total breakdown in the model's ability to map visual cues to linguistic logic.

Furthermore, the authors identified a phenomenon termed Asymmetric Transmission. Perturbations introduced in the video feature space have a significantly stronger clustering effect on the resulting LLM features than perturbations introduced directly into the LLM hidden states. This suggests that the visual-to-language alignment in current architectures is a major security bottleneck.

Visualization of asymmetric transmission between video and LLM feature spaces during FMM-Attack.

Performance Metrics

Evaluations on the ActivityNet-200 and MSVD-QA benchmarks demonstrate the attack's high effectiveness:

  • Score Reduction: On ActivityNet, the GPT-3.5 evaluation score dropped from 3.20 (clean) to 1.64 under attack.
  • Accuracy: Model accuracy plummeted from 0.50 to 0.20.
  • Efficiency: Attacking only the top 20% of high-motion frames proved more effective than attacking 40% of frames selected at random.
  • Transferability: Perturbations crafted for Video-ChatGPT successfully compromised VideoChat in black-box settings, indicating that these vulnerabilities are inherent to the underlying multi-modal architectures.

Discussion and Future Work

While FMM-Attack proves highly effective in digital environments, several challenges remain. The current method requires iterative optimization (PGD), which may not be suitable for real-time streaming applications. Additionally, the transition from digital perturbations to physical-world attacks—such as adversarial objects in a camera's field of view—remains an open area for research.

As video-based LLMs move toward deployment in sensitive sectors like autonomous driving and security surveillance, developing robust defense mechanisms, such as advanced data compression or generative filtering, is becoming an urgent necessity.

Summary updated

BibTeX
@misc{li2024fmm,
  author = {Jinmin Li and Kuofeng Gao and Yang Bai and Jingyun Zhang and Shutao Xia and Yisen Wang},
  title = {{FMM-Attack: A Flow-based Multi-modal Adversarial Attack on Video-based LLMs}},
  year = {2024},
  eprint = {2403.13507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.13507},
}
Figure