Classification Matters: Improving Video Action Detection with Class-Specific Attention

Jinsung Lee, Taeoh Kim, Inwoong Lee, Minho Shim, Dongyoon Wee, Minsu Cho, Suha Kwak

Abstract

Video Action Detection (VAD) requires both the spatial localization of actors and the temporal classification of their actions. While traditional approaches treat VAD as an extension of object detection, this paper argues that the primary bottleneck in modern VAD is not localization—since the "objects" are almost always humans—but rather the fine-grained classification of actions. We present a novel architecture that utilizes class-specific queries and a specialized Classifying Decoder Layer (CDL). By allowing the model to attend to contextual clues outside the actor's immediate bounding box, our approach achieves state-of-the-art performance on benchmarks like AVA v2.2 while significantly reducing computational overhead.

1. Introduction

Video Action Detection (VAD) is a critical task in computer vision, involving the identification of "who is doing what and where" across a sequence of frames. Most contemporary VAD models are built upon Object Detection (OD) frameworks, which are optimized for identifying a vast array of distinct object categories. However, in the context of VAD, the localization task is relatively constrained because the subjects are consistently human.

The real complexity lies in action recognition. Distinguishing between subtle actions—such as "sitting" versus "watching TV" or "talking to" versus "listening to"—requires more than just observing the actor's body; it requires an understanding of the surrounding environment and the objects the actor is interacting with. This paper addresses the "actor-centric bias" prevalent in current models by refocusing the architecture on classification-driven feature extraction.

2. The Classification Bottleneck

To validate the hypothesis that classification is the primary hurdle, the authors conducted empirical tests comparing the impact of ground-truth localization versus ground-truth classification. The results were telling: providing the model with perfect bounding boxes yielded marginal gains, whereas providing perfect class labels resulted in a dramatic increase in Mean Average Precision (mAP). This confirms that the "room for improvement" in VAD lies in the classifier's ability to distinguish between actions, rather than the detector's ability to find the person.

Existing transformer-based models typically use a single attention map per actor. This forces the model to compress all necessary information for multiple potential actions into a single feature vector, often leading it to focus strictly on the actor's silhouette and ignore vital contextual cues like a cigarette, a musical instrument, or a second participant in a conversation.

3. Proposed Methodology

The proposed architecture introduces three specialized components designed to streamline localization and enhance classification.

3.1 3D Deformable Transformer Encoder

Processing high-resolution video data with standard global attention is computationally prohibitive. The authors implement a 3D Deformable Transformer Encoder that extends 2D deformable attention into the temporal dimension. This allows the model to efficiently sample features from relevant spatio-temporal points across the video volume without the memory overhead of a full dense attention matrix.

3.2 Localizing Decoder Layer (LDL)

The LDL is dedicated to the "where" of the task. It generates actor-specific queries to refine bounding boxes and extract initial features related to the actor's position and movement. This layer ensures that the model maintains a stable track of the human subjects (spatio-temporal tubes) throughout the clip.

3.3 Classifying Decoder Layer (CDL)

The CDL is the core innovation of this work. Instead of a single generic query, the CDL employs class-specific queries—one for every possible action category in the dataset. Each query is trained to look for specific evidence. For example, the "riding" query might learn to look for bicycles or horses, while the "eating" query looks for utensils or food. This mechanism allows the model to dynamically "look around" the scene, effectively breaking the actor-centric bias and gathering the context necessary for accurate fine-grained classification.

4. Experimental Results

The model was evaluated on three major benchmarks, demonstrating a superior balance of accuracy and efficiency.

  • AVA v2.2: On this large-scale movie dataset, the model achieved a state-of-the-art 38.4 mAP using a ViT-B backbone, outperforming previous high-performance models like EVAD and STMixer.
  • JHMDB51-21 & UCF101-24: The model showed robust performance on these datasets, particularly in its ability to distinguish action frames from background frames in untrimmed YouTube videos.

4.1 Computational Efficiency

By specializing the queries, the model requires fewer total actor candidates to achieve high accuracy. On the JHMDB51-21 dataset, the model requires only 3.26T FLOPs for a 40-frame tube, a significant reduction compared to the 10.68T FLOPs required by EVAD. This makes the architecture much more viable for real-world applications where low latency is required.

4.2 Interpretability

A significant advantage of class-specific attention is the inherent interpretability of the model's decisions. By visualizing the attention maps of different class queries, researchers can see exactly which parts of the frame influenced a specific label. For the action "listening to," the model's attention often shifts from the primary actor to the person speaking, demonstrating that the model has learned the relational nature of the action.

5. Conclusion and Future Work

This research demonstrates that prioritizing classification through class-specific attention is a highly effective strategy for Video Action Detection. By moving away from actor-centric feature extraction and embracing contextual, class-driven queries, the proposed model achieves state-of-the-art results with improved efficiency.

Currently, the decoder does not explicitly exchange information across different frames, leaving the temporal modeling largely to the encoder. Future iterations of this work could explore memory-efficient methods for cross-frame class query interaction, potentially further improving the detection of complex actions that evolve over longer durations.

Summary updated

BibTeX
@inproceedings{lee2024classification,
  author = {Jinsung Lee and Taeoh Kim and Inwoong Lee and Minho Shim and Dongyoon Wee and Minsu Cho and Suha Kwak},
  title = {{Classification Matters: Improving Video Action Detection with Class-Specific Attention}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72661-3\_26},
}
Figure