TL;DR
This paper introduces MEDUSA, a novel adversarial attack that effectively eliminates motion in AI-generated videos by targeting the temporal attention mechanisms of diffusion models. By inducing a "temporal rank collapse" in the attention matrix, MEDUSA achieves state-of-the-art video freezing performance without introducing significant visual artifacts.
What Problem Does This Paper Address?
The rapid advancement of Video Diffusion Models (VDMs) has led to impressive video synthesis capabilities, including Image-to-Video (I2V) generation. However, this also raises security concerns, as attackers can inject adversarial noise into reference images to manipulate the generated video. Existing frame-level attacks often fail to suppress motion semantics in VDMs, instead producing superficial artifacts while the video remains dynamic. This is because these attacks don't effectively target the underlying temporal dynamics that VDMs learn. The core challenge is to develop an attack that can reliably "freeze" generated videos by disrupting their temporal coherence.
Methods
MEDUSA tackles the problem by analyzing the spectral properties of the temporal attention matrix within VDMs. The authors hypothesize that rich temporal dynamics correspond to a high-rank attention structure, while static videos exhibit a "temporal rank collapse," characterized by rank-1 degeneracy.
The core of MEDUSA is its optimization objective: minimizing the nuclear norm of the temporal attention matrix. This objective is designed to suppress the trailing singular values of the matrix, thereby inducing the desired rank-1 degeneracy. This approach is crucial because directly imposing rigid temporal mappings (e.g., forcing all frames to attend to the first frame) often leads to a vanishing gradient problem, hindering optimization. MEDUSA's spectral relaxation via the nuclear norm circumvents this issue, providing a stable gradient signal for effective optimization.
The attack is implemented using Projected Gradient Descent (PGD) on the conditioning input (e.g., a reference image), targeting specific timesteps and temporal attention layers where motion is most pronounced.
Datasets
The authors constructed a custom benchmark dataset of 300 image-text pairs, balanced across four semantic categories (Humans, Animals, Landscapes, and Objects). This dataset includes both real-world photographs and AI-generated images to ensure robust evaluation across different domain distributions.
Key Insights and Ideas
- Temporal Rank Collapse: The paper identifies a critical insight: static videos in VDMs correspond to a specific degenerate state of the temporal attention matrix, termed "temporal rank collapse," characterized by rank-1 degeneracy.
- Spectral Mechanism for Motion: The authors propose that the richness of temporal dynamics is directly tied to the spectral properties of the temporal attention matrix. Suppressing the "spectral tails" (trailing singular values) is key to eliminating motion.
- Nuclear Norm as a Solution: Minimizing the nuclear norm of the attention matrix is shown to be an effective and stable way to induce temporal rank collapse, circumventing the vanishing gradient problem associated with direct, rigid temporal constraints.
- Gradient Stability: MEDUSA's nuclear norm objective provides a consistent gradient pressure, unlike hard-target attacks that suffer from vanishing gradients due to the Softmax activation in attention mechanisms.
Key Results
MEDUSA achieves state-of-the-art motion suppression across three diverse VDMs (SVD, DynamiCrafter, and LTX-Video).
- Quantitative:
- Optical Flow reduced by up to 80% (e.g., from 2.7799 to 0.5980 on SVD).
- Dynamic Degree reduced by up to 70% (e.g., from 43.20% to 7.23% on SVD).
- Temporal SSIM increased significantly, reaching 97.33% on LTX-Video, indicating strong temporal consistency.
- Subject Consistency remained competitive, showing that MEDUSA preserves identity fidelity.
- Qualitative: Visual comparisons demonstrate that MEDUSA effectively freezes videos, producing near-static outputs without noticeable artifacts, outperforming baselines like PhotoGuard, MFA, I2VGuard, and Vid-Freeze. The attack is also shown to be robust against common defenses like JPEG compression and Gaussian noise.
Limitations and Future Work
- Computational Cost: While MEDUSA is designed to be computationally feasible by targeting specific blocks, the optimization process can still be resource-intensive.
- Targeted Layers: The paper identifies intermediate-to-deep temporal attention blocks as optimal targets. Further research could explore more dynamic layer selection strategies.
- Future Work: The authors suggest that their framework can be extended to other generative models that rely on attention mechanisms. Investigating more sophisticated spectral constraints or exploring the application of MEDUSA to other video manipulation tasks could be promising future directions.
Summary updated