Video classifiers that use 3D convolutions, meaning filters that slide over time as well as space, are expensive to run. They are even more expensive to harden by adversarial training, where every update first runs a multi-step attack against the network. The one systematic study of adversarial training on video found that clean accuracy of a 3D ResNeXt on UCF-101 falls from 92% to 28%. Its best curriculum variant reaches only 29.2% robust accuracy at $\epsilon=8$ (Analysis and Extensions of Adversarial Training for Video Classification). Purification offers a different route: a generative model maps an attacked input back toward the clean data distribution before a frozen classifier sees it. VideoPure (VideoPure) shows this works for video, but it takes about 8.5 seconds per clip. It also relies on an optical-flow network (RAFT) for temporal consistency, which an attacker can target, and it is evaluated with approximate gradients (BPDA) rather than exact ones.
This note proposes a simpler and cheaper video purifier. We start from a few-step image "adversarial bridge," a diffusion model fine-tuned to map attacked images to clean ones in one to five denoising steps (ADBM). We turn it into a video model by inserting temporal channel shifts, which move a quarter of the feature channels one frame forward or backward and add no parameters (TSM). We then fine-tune it on perturbations crafted against a cheap 2D surrogate classifier instead of the expensive 3D target. The question is whether this keeps nearly all the training savings of purification while closing the gap that frame-by-frame purification leaves open on motion-dependent videos.
Core Claim
We claim three things. First, a pretrained image adversarial bridge can be turned into a temporally coherent video purifier with zero new parameters and no optical flow, by placing temporal shifts inside its residual blocks. Latent-Shift (Latent-Shift) shows that this kind of inflation works for text-to-video generation, but nobody has tried it for purification.
Second, the costly part of training such a purifier is generating adversarial examples. ADBM fine-tunes against a fixed classifier, which on video would bring back the expensive 3D attack loop. That cost can be cut by attacking a 2D temporal-shift surrogate classifier and relying on the perturbations transferring well enough to teach the bridge.
Third, because the purifier uses only one to five steps, attackers can backpropagate exactly through the whole pipeline. This makes the robustness evaluation stricter than VideoPure's approximate-gradient protocol, and the stricter evaluation is part of what the work contributes.
What would be new is the combination of three things: a direct few-step bridge rather than an inversion trajectory, temporal mixing built into the architecture rather than supplied by flow, and a training-cost budget that is explicitly accounted for and compared against video adversarial training.
Research Program
The method side builds the video purifier in three stages.
We begin from an ADBM-style bridge trained on frames, whether a pixel-space model at UCF-101 resolution or a latent model.
We then insert bidirectional temporal shifts into each residual block, so that the model processes clips of $T$ frames. The shift fraction $s$ starts at the 1/4 that TSM found best for its trade-off between temporal mixing and data movement.
Finally, we fine-tune on clips perturbed by a surrogate attack. The training objective is the bridge objective applied to whole clips:
$$\min_\phi \; \mathbb{E}_{x,\,t}\; \big\| g_\phi(\tilde x_t(x+\delta_S),\,t) - x \big\|^2 .$$
In this objective, $x$ is a clean clip and $\delta_S$ is a perturbation found by a few PGD steps against a surrogate classifier $S$. The input $\tilde x_t(\cdot)$ is the clip after forward diffusion to step $t$, and $g_\phi$ is the shifted bridge that predicts the clean clip.
We compare two surrogate regimes. In the cheap regime, $S$ is a 2D TSM network. In the expensive regime, $S$ is the 3D target itself. The gap between them tells us how much training cost can be removed before robustness falls.
The analysis side has two parts. We separate how much of any gain comes from temporal mixing as opposed to simply more fine-tuning, and we check whether robustness transfers to classifiers the purifier never saw during training: 3D ResNeXt, SlowFast, X3D (X3D), and Non-local Networks.
Two prior results constrain the design. Work on diffusion purification (Towards Understanding the Robustness of Diffusion-Based Purification) shows that drowning attacks in heavy Gaussian noise destroys clean semantics. That argues for a learned bridge with small diffusion depth rather than a stock denoiser. NCIS (Self-Supervised Iterative Contextual Smoothing) argues the opposite, that adversarial noise is locally near zero-mean and that smoothing suffices (48.06% robust accuracy on ImageNet). We do not dismiss this; we treat it as a baseline.
Baselines
Undefended model. The naive reference point is the frozen classifier with no defense. Under Masked PGD this falls to 7.0% on UCF-101 (Analysis and Extensions of Adversarial Training for Video Classification). We rerun it under our own attacks so every method faces the same threat model.
VideoPure. The strongest existing purification method is VideoPure, which uses temporal DDIM inversion, a spatial loss and a RAFT-based temporal loss during denoising, and voting over intermediate denoising steps. It reports 100% robust accuracy for a Non-local Network on UCF-101 under PGD+BPDA, against 72.3% for frame-wise DiffPure, at about 8.5 versus 37.8 seconds per clip. It is the strongest competitor because it is the only video-specific purifier in the file. We run it with its released configuration on the same clips and classifiers, and measure wall-clock time on the same GPU. We attack it in two ways. One uses its own BPDA protocol. The other is a flow-targeted attack that perturbs the clip to corrupt RAFT's output, since the authors flag this weakness themselves. Beating it means matching its robust accuracy under our strongest attack applicable to each method, while running at least an order of magnitude faster.
Video adversarial training. The strongest training-based competitors are curriculum adversarial training (29.2% robust accuracy at $\epsilon=8$ on UCF-101) and GAT, which pairs adversarial training with a 3D APE-GAN cleaner (81.9% under Masked PGD), both from the same study. We retrain curriculum adversarial training on the same backbone and data and log GPU-hours. The file reports no training-cost figures for these methods, so we will measure them ourselves. Beating them means higher robust accuracy with less clean-accuracy loss, at a training cost that is a small fraction of theirs.
Frame-wise bridge. The key ablation is the identical bridge with the shift fraction set to $s=0$: same weights, same surrogate perturbations, same fine-tuning steps, applied frame by frame. Any advantage of the full method over this ablation is attributable to temporal mixing alone.
Surrogate ablation. A second ablation swaps the cheap 2D surrogate for the 3D target during fine-tuning. This isolates the cost-saving ingredient.
Smoothing baselines. We include NCIS-style Gaussian smoothing with a restoration network as the cheap non-generative reference.
Why not just…?
Why not just run ADBM or OSCP frame by frame? This is the real threat. OSCP purifies an ImageNet image in about 0.1 seconds at 74.19% robust accuracy against AutoAttack (Instant Adversarial Purification with Adversarial Consistency Distillation), and a classifier may tolerate some flicker between frames. The 72.3% frame-wise figure in VideoPure comes from DiffPure, not from a learned bridge, so it does not settle the question. The $s=0$ ablation settles it directly. We expect the shifted version to matter most on Something-Something V2, where temporal order defines the class. If the frame-wise bridge ties it on UCF-101, Kinetics, and Something-Something, we will report that temporal coupling is unnecessary for purification and reframe the contribution around the cheap surrogate training and the exact-gradient evaluation.
Why not just adversarially train an efficient backbone like TSM or X3D? Factorized backbones reduce the cost of each attack step but do not remove the inner attack loop. The only direct video evidence shows clean accuracy collapsing under standard adversarial training, and the robust accuracy of the curriculum variant is low. Still, an efficient backbone might behave better than 3D ResNeXt. We therefore run curriculum adversarial training on TSM itself and compare robust accuracy, clean accuracy, and GPU-hours against purifier training plus a frozen TSM classifier.
Why not just smooth frames, or regularize with TAF? Arguments from sparse representations (Combating Adversarial Attacks Using Sparse Representations) suggest that structured perturbations survive generic filtering. TAF (Improve Video Representation with Temporal Adversarial Augmentation) improves representations at 15–25% extra training cost but was never meant to stop test-time attacks. We include both under the same adaptive attacks. If NCIS-style smoothing matches the bridge once attacks pass exact gradients through it, the generative component is not justified.
Proposed Experiments
The main benchmarks are UCF-101, for comparability with VideoPure and the video adversarial training study, Kinetics-400 with SlowFast and X3D classifiers, and Something-Something V2 as the motion-critical stress test. We report clean accuracy, robust accuracy, purification latency per clip, and total training GPU-hours, with the cost of generating adversarial examples counted inside the training budget.
Attacks are $L_\infty$ PGD with exact end-to-end gradients through the few-step purifier. Where the purifier's noise is random, we average gradients over many noise draws, known as expectation over transformation. We add AutoAttack-style ensembles, Masked PGD on sparse frames, and temporally structured flicker perturbations. All attacks are run against both the purifier and VideoPure.
Three outcomes are decisive. The first is whether the shifted bridge beats the $s=0$ ablation on Something-Something V2 under exact-gradient attacks. The second is whether the cheap-surrogate purifier keeps most of the robustness of the target-surrogate purifier on classifiers held out from training. The third is whether the whole pipeline, compared with VideoPure and with curriculum adversarial training, gives higher robust accuracy per unit of training compute and per second of inference. A negative result on any of these is informative. If the first fails, temporal shifts add nothing to purification. If the second fails, the training overhead cannot be avoided this way. If the third fails, approximate-gradient results for video purification have been overstating robustness.
References
- Analysis and Extensions of Adversarial Training for Video Classification
- VideoPure: Diffusion-Based Adversarial Purification for Video Recognition
- ADBM: Adversarial Diffusion Bridge Model for Reliable Adversarial Purification
- TSM: Temporal Shift Module for Efficient Video Understanding
- Latent-Shift: Latent Diffusion with Temporal Shift for Efficient Text-to-Video Generation
- X3D: Expanding Architectures for Efficient Video Recognition
- Towards Understanding the Robustness of Diffusion-Based Purification: A Stochastic Perspective
- Self-Supervised Iterative Contextual Smoothing for Efficient Adversarial Defense against Gray- and Black-Box Attack
- Instant Adversarial Purification with Adversarial Consistency Distillation
- Combating Adversarial Attacks Using Sparse Representations
- Improve Video Representation with Temporal Adversarial Augmentation