Defending Against Multiple and Unforeseen Adversarial Videos

Shao-Yuan Lo, Vishal M. Patel

Introduction

Deep neural networks (DNNs) have achieved remarkable success in video recognition tasks, yet they remain highly susceptible to adversarial attacks. These attacks involve carefully crafted, often imperceptible perturbations that can lead models to make confident but incorrect predictions. In the context of video, these vulnerabilities are particularly concerning for security-critical applications like autonomous surveillance or content moderation.

Existing defense mechanisms, primarily based on adversarial training (AT), face two significant hurdles. First is the issue of specialization: a model trained to resist $L_\infty$-bounded noise (like PGD) often remains vulnerable to physically realizable attacks (like rectangular occlusions) or other noise types. Second is the "clean data tax": hardening a model against adversarial examples frequently leads to a drop in performance on standard, unperturbed data. This performance degradation is largely attributed to a distribution mismatch between clean and adversarial samples, which standard Batch Normalization (BN) layers struggle to reconcile.

Visual examples of clean and adversarial video frames across different attack types: PGD, ROA, AF, and the proposed SPA.

The MultiBN Framework

To address these challenges, we propose MultiBN, a novel defense framework designed for robust video recognition. The core philosophy of MultiBN is distribution disentanglement. Instead of forcing a single set of BN parameters to model multiple disparate data distributions, MultiBN employs multiple specialized BN branches.

As illustrated in Figure 2, the architecture consists of three primary components:

  1. Multiple BN Branches: Every BN layer in the network is replaced with a multi-branch structure. In our implementation, we use three branches: BN-Clean for standard data, BN-Lp for $L_p$-bounded perturbations, and BN-Physical for physically realizable attacks. This allows the model to maintain "universal" features in the shared convolutional weights while tailoring normalization statistics to specific noise profiles.
  2. Adversarial Video Detector (BN Selection Module): A lightweight 3D ResNet-18 serves as a traffic controller. It analyzes the input video to predict the likelihood of it belonging to one of the three categories (Clean, $L_p$, or Physical).
  3. Differentiable Selection: To enable end-to-end training, we utilize the Gumbel-Softmax trick. This allows the discrete selection of a BN branch to be approximated by a continuous, differentiable operation, ensuring that gradients can flow back to the selection module during the optimization process.
The MultiBN framework architecture, featuring the BN Selection Module and the multi-branch Batch Normalization structure within a video recognition model.

Experimental Evaluation

We evaluated MultiBN on two prominent action recognition benchmarks: UCF-101 and HMDB-51. To test the framework's versatility, we considered a suite of attacks:

  • PGD ($L_\infty$): A standard iterative gradient-based attack.
  • ROA (Rectangular Occlusion Attack): A physically realizable attack that places adversarial patches on frames.
  • AF (Adversarial Framing): An attack that adds adversarial borders to the video.
  • SPA (Salt-and-Pepper Attack): A new $L_0$ attack introduced in this work to evaluate robustness against unforeseen $L_p$ perturbations.

Key Results and Insights

Our experiments demonstrate that MultiBN significantly outperforms existing multi-perturbation defenses such as AVG, MAX, and MSD.

Superior Robustness and Generalization: On the UCF-101 dataset, MultiBN achieved a mean accuracy of 55.1% across all tested attacks, compared to 45.3% for the next best method (AVG). More importantly, in terms of Union Accuracy—the percentage of samples correctly classified under all attack types simultaneously—MultiBN reached 34.8%, nearly doubling the performance of its closest competitor (17.3%). This suggests that MultiBN is not just robust to individual attacks but provides a more comprehensive shield.

Mitigating the Clean Data Tax: One of the most striking advantages of MultiBN is its ability to preserve high accuracy on clean data. While other robust training methods often see clean accuracy drop significantly (sometimes into the 60s), MultiBN maintained a clean accuracy of 74.2% on UCF-101. This confirms that the multi-branch approach effectively resolves the distribution mismatch problem.

Unforeseen Attack Robustness: We found that you do not need a dedicated branch for every possible attack. By grouping attacks into broad families, a branch trained on one specific attack (e.g., PGD) provides substantial "unforeseen" robustness to others in the same category (e.g., SPA).

Conclusion

MultiBN represents a significant step toward practical, robust video recognition. By disentangling the normalization of clean and adversarial distributions, it achieves state-of-the-art robustness against diverse attacks without sacrificing performance on standard videos. Future work will explore incorporating temporal consistency into the selection module and scaling the framework to handle an even wider array of attack families.

Summary updated

Abstract

Adversarial robustness of deep neural networks has been actively investigated. However, most existing defense approaches are limited to a specific type of adversarial perturbations. Specifically, they often fail to offer resistance to multiple attack types simultaneously, i.e., they lack multi-perturbation robustness. Furthermore, compared to image recognition problems, the adversarial robustness of video recognition models is relatively unexplored. While several studies have proposed how to generate adversarial videos, only a handful of approaches about defense strategies have been published in the literature. In this paper, we propose one of the first defense strategies against multiple types of adversarial videos for video recognition. The proposed method, referred to as MultiBN, performs adversarial training on multiple adversarial video types using multiple independent batch normalization (BN) layers with a learning-based BN selection module. With a multiple BN structure, each BN brach is responsible for learning the distribution of a single perturbation type and thus provides more precise distribution estimations. This mechanism benefits dealing with multiple perturbation types. The BN selection module detects the attack type of an input video and sends it to the corresponding BN branch, making MultiBN fully automatic and allowing end-to-end training. Compared to present adversarial training approaches, the proposed MultiBN exhibits stronger multi-perturbation robustness against different and even unforeseen adversarial video types, ranging from Lp-bounded attacks and physically realizable attacks. This holds true on different datasets and target models. Moreover, we conduct an extensive analysis to study the properties of the multiple BN structure.
BibTeX
@article{lo2021defending,
  author = {Shao-Yuan Lo and Vishal M. Patel},
  title = {{Defending Against Multiple and Unforeseen Adversarial Videos}},
  journal = {IEEE Transactions on Image Processing},
  year = {2021},
  doi = {10.1109/tip.2021.3137648},
}
Figure