NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Query Efficient Cross-Dataset Transferable Black-Box Attack on Action Recognition

Rohit Gupta, Naveed Akhtar, Gaurav Kumar Nayak, Ajmal Mian, Mubarak Shah

TL;DR

Researchers have developed a new adversarial attack for video action recognition that is both highly query-efficient and works across different datasets. By disrupting a model's internal feature representations rather than just its final labels, this "Video Representation Attack" (VRA) achieves significantly higher fooling rates with fewer than a dozen queries, compared to thousands required by previous methods.

What Problem Does This Paper Address?

Adversarial attacks—small, imperceptible perturbations that trick AI models—are well-studied for images but much harder for video due to the added temporal dimension and data redundancy. Existing "black-box" attacks (where the attacker doesn't know the target model's internal weights) suffer from two major practical limitations:

  1. Query Inefficiency: Query-based attacks often require tens of thousands of interactions with the target model to find a successful perturbation. This is computationally expensive and easily detectable for video systems.
  2. Unrealistic Assumptions: Transfer-based attacks usually assume the attacker knows exactly what data the target was trained on and what its specific output classes are. In the real world, a "black-box" is truly opaque.

This paper introduces a more realistic and dangerous threat model: the attacker has no knowledge of the target's training data, limited overlap in label categories, and a very tight "query budget."

Figure 1. Existing approaches for generating black-box attacks: (a) Transfer-based attacks generate perturbations using a substitute model Fsource without querying the model. (b) Query-based attacks generate a perturbation using many queries of the black-box model Ftarget. (c) Surrogate model-based attacks train a surrogate model to mimic the target black-box model, this requires many queries of the black-box to obtain the transfer set used for training the surrogate model. Query-based attacks typically achieve higher fooling rate than transfer-based attacks, however they often require tens of thousands of queries of the black-box (i.e. are not query-efficient).

Methods

The authors propose the Video Representation Attack (VRA), which bridges the gap between transfer-based and query-based methods.

  • Feature Space Disruption: Instead of trying to flip the predicted label of a substitute model, VRA generates perturbations designed to shift the input's internal feature representation in a random "adversarial direction." The intuition is that if you disrupt the core features a model uses to understand a video, the target model (which likely uses similar features) will also be fooled, regardless of its specific output classes.
  • Orthogonal Attack Directions (OAD): To make the attack query-efficient, the authors use an iterative search based on Gram-Schmidt Orthogonalization. When one perturbation direction fails, the algorithm ensures the next query explores a direction completely orthogonal to all previous ones. This prevents redundant queries and covers the high-dimensional feature space much faster than random search.
  • Single-Step Optimization: Interestingly, the authors found that for cross-dataset transfers, a single gradient step works better than the multi-step iterative approaches common in image-based attacks, which tend to "overfit" to the substitute model.
Figure 2. Video Representation Attack (VRA) to unify the benefits of query-based and transfer-based approaches to achieve query efficient at- tack in a hard cross-dataset attack setting. VRA targets the internal rep- resentation of source model (fs) in order to generate transferable pertur- bations (∆xi). The attack direction (⃗ei) in which the representation is to be shifted is orthogonalized using Gram-Schmidt process. Cosine loss between the original representation and the attack direction is used as the objective, and the perturbation is generated by backpropagating the gradi- ents to the input. The perturbed video is then sent to the black-box target model (ft) as a query to verify if the attack succeeded. The attack can be iterated as a multi-query attack by varying the attack direction to find a perturbation to successfully fool the black-box.

Datasets

The study focuses on cross-dataset transferability, using different datasets for the substitute and target models:

  • Substitute (Source) Models: Trained on UCF101 (101 action classes) and HMDB51 (51 action classes).
  • Target Models: Evaluated on Kinetics400 (a massive 400-class dataset) and Something-Something-v2 (SSv2), which focuses on object-centric interactions.

The limited label overlap between these pairs (e.g., UCF101 and Kinetics400 only share about 70 classes) makes this a rigorous test of real-world applicability.

Key Insights and Ideas

  • Representations > Labels: Attacking the "latent space" is a more universal way to fool models than attacking specific class boundaries. This is why VRA transfers so well across different datasets and label ontologies.
  • Systematic Exploration: High-dimensional spaces are vast. Using Gram-Schmidt to ensure every query provides new information is the "secret sauce" for query efficiency.
  • The SSL Advantage: The authors discovered that source models pre-trained with Self-Supervised Learning (SSL), like TCLR, produce even stronger attacks. Because SSL models learn general features without being tied to specific labels, the perturbations they generate are more "semantically meaningful" and transferable.
The OAD search process uses Gram-Schmidt to find mutually orthogonal attack directions on a unit hypersphere.

Key Results

  • Superior Fooling Rates: On the UCF $\rightarrow$ Kinetics transfer task, VRA achieved a 12.4% higher deception rate than state-of-the-art transfer attacks while using only 10 queries.
  • Efficiency: VRA reached fooling rates with 10 queries that previous query-based methods couldn't match even with 100 queries.
  • Cross-Domain Success: Even on the difficult UCF $\rightarrow$ SSv2 task (where the types of actions are very different), VRA outperformed baselines by 5.3% in deception rate.
  • Architecture Agnostic: The attack was effective against various 3D-CNN architectures (R3D, MC3, S3D), though it was notably less effective against Vision Transformers (MViT), highlighting the inherent robustness of transformer architectures.

Limitations and Future Work

  • Transformer Robustness: While VRA is effective, Vision Transformers remain a tougher nut to crack than CNNs. Future work could investigate specialized representation attacks for attention-based models.
  • Perceptibility Trade-off: The authors noted that adding constraints like "sparsity" (to make the noise even harder for humans to see) significantly reduces how well the attack transfers between models.
  • Defense Research: This work highlights a significant vulnerability; the next step is developing defenses that can detect or mitigate these representation-level shifts.

Summary updated

BibTeX
@misc{gupta2022query,
  author = {Rohit Gupta and Naveed Akhtar and Gaurav Kumar Nayak and Ajmal Mian and Mubarak Shah},
  title = {{Query Efficient Cross-Dataset Transferable Black-Box Attack on Action Recognition}},
  year = {2022},
  eprint = {2211.13171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.13171},
}
Figure