ReToMe-VA: Recursive Token Merging for Video Diffusion-based Unrestricted Adversarial Attack

Ziyi Gao, Kai Chen, Zhipeng Wei, Tingshu Mou, Jingjing Chen, Zhiyu Tan, Hao Li, Yu-Gang Jiang

Abstract

Adversarial attacks on video models often suffer from visible noise, temporal flickering, and poor transferability across different architectures. This paper introduces ReToMe-VA, a framework for generating "unrestricted" adversarial videos that modify semantic attributes like color and texture to remain visually natural while effectively deceiving deep neural networks. By employing Timestep-wise Adversarial Latent Optimization (TALO) and a novel Recursive Token Merging (ReToMe) mechanism, the proposed method ensures temporal smoothness and significantly improves attack transferability. Experimental results on the Kinetics-400 dataset demonstrate state-of-the-art performance, with success rate improvements of up to 17.32% on Vision Transformers compared to existing unrestricted attacks.

Introduction

Traditional adversarial attacks typically rely on $L_p$-norm constraints to add imperceptible noise to inputs. However, these perturbations often manifest as high-frequency "static" that is easily detectable by humans or specialized defense algorithms. Unrestricted attacks offer a stealthier alternative by manipulating semantic features (e.g., style, lighting) to create adversarial samples that appear perfectly natural.

Extending unrestricted attacks to the video domain presents unique challenges: maintaining temporal consistency to avoid flickering, managing the high computational cost of diffusion models, and ensuring the attack can generalize to unseen "black-box" models. ReToMe-VA addresses these issues by leveraging the generative power of diffusion models in a structured, timestep-optimized manner.

Comparison of adversarial attack types.

Methodology

The ReToMe-VA framework consists of two core innovations designed to balance adversarial potency with visual fidelity.

Timestep-wise Adversarial Latent Optimization (TALO)

Unlike standard diffusion attacks that optimize the entire denoising chain—a process that is both memory-intensive and prone to destroying image structure—TALO optimizes perturbations at each individual denoising step.

A key feature of TALO is Incremental Iteration (II). During the early stages of diffusion, where global structure is established, the method uses fewer optimization iterations. In later stages, where fine details are refined, more iterations are applied. This strategy preserves the original video's semantic "bones" while maximizing the adversarial impact on textures and colors. This localized optimization significantly reduces memory overhead, making video-scale attacks feasible.

Recursive Token Merging (ReToMe)

To prevent temporal inconsistency (flickering), the authors adapt token-merging techniques for adversarial generation. ReToMe identifies and merges similar data patches (tokens) across different video frames during the self-attention process.

Overview of the ReToMe-VA framework.

This merging serves two purposes:

  1. Temporal Consistency: By sharing merged tokens across frames, adversarial perturbations are "locked" in time, ensuring smooth transitions.
  2. Gradient Diversity: Merging forces the optimization process to consider inter-frame interactions. This results in more robust adversarial gradients that are less likely to overfit to a single model's architecture, thereby enhancing transferability to black-box models.

Experimental Results

The researchers evaluated ReToMe-VA using the Kinetics-400 dataset, selecting 400 clips correctly classified by all target models to ensure rigorous testing.

Performance and Transferability

ReToMe-VA demonstrated superior transferability compared to state-of-the-art (SOTA) unrestricted attacks. It achieved an average improvement of 14.16% on CNN-based models and 17.32% on Vision Transformers (ViTs). In white-box scenarios, the attack reached a 100% success rate against Motionformer and TimeSformer.

Visual Quality and Robustness

Using metrics such as FID and VBench, the study confirmed that ReToMe-VA produces videos with higher temporal consistency and naturalness than previous methods. Furthermore, the attacks remained effective against various defenses, including JPEG compression and adversarial denoisers like HGD.

Conclusion

ReToMe-VA represents a significant advancement in video adversarial attacks. By combining timestep-wise optimization with recursive token merging, it overcomes the traditional trade-offs between visual quality, temporal stability, and attack transferability. While the computational cost of diffusion models remains a hurdle for real-time applications, the framework sets a new benchmark for stealthy, effective video-based adversarial research. Future work will focus on optimizing generation speed and exploring vulnerabilities in models with weaker temporal dependencies.

Summary updated

BibTeX
@inproceedings{gao2024retome,
  author = {Ziyi Gao and Kai Chen and Zhipeng Wei and Tingshu Mou and Jingjing Chen and Zhiyu Tan and Hao Li and Yu-Gang Jiang},
  title = {{ReToMe-VA: Recursive Token Merging for Video Diffusion-based Unrestricted Adversarial Attack}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3680959},
}
Figure