Abstract
Video transformers have recently established themselves as the state-of-the-art for video understanding, yet they often treat video frames as a grid of uniform, "unaware" patches. This approach ignores the inherent object-centric nature of human action recognition. We present Object-Region Video Transformers (ORViT), a novel architecture that integrates object-centric information directly into the internal layers of a video transformer. By allowing standard image patches to attend to specific object regions and their trajectories from the earliest layers, ORViT achieves state-of-the-art performance across compositional action recognition, spatio-temporal detection, and fine-grained video tasks.
Introduction
While video transformers have overtaken traditional Convolutional Neural Networks (CNNs), they share a common limitation: they process video as a sequence of generic patches. In contrast, humans recognize actions by focusing on specific objects—identifying a hand, a cup, and a coaster—and tracking how those entities interact over time.
Existing object-centric methods typically treat object detection as a post-processing step, often running a graph neural network on top of a pre-trained backbone. However, if the backbone itself lacks object awareness, it cannot learn the nuanced spatio-temporal representations required for complex tasks like distinguishing between "picking up a knife" and "picking up a cup." ORViT bridges this gap by fusing object-level reasoning directly into the transformer's backbone.
Methods
The core innovation of this work is the ORViT Block, a plug-and-play module that can be inserted into existing transformer architectures such as TimeSformer or MViT. The block processes information through two parallel streams to capture both appearance and motion dynamics.
Object-Region Attention (Appearance)
This stream uses RoIAlign to extract feature descriptors for specific objects (defined by bounding boxes) from the current patch tokens. These object tokens are then appended to the standard patch tokens. During the transformer's self-attention phase, the patches can "talk" to the objects, enriching the scene representation with explicit object context.
Object-Dynamics Module (Trajectories)
This stream focuses purely on motion geometry. It takes bounding box coordinates over time, encodes them, and performs self-attention to model how objects move relative to one another. These motion features are then projected back into the spatial grid using a Box Position Encoder, which utilizes bilinear interpolation to place the motion data back into the correct regions of the video volume.
Early Fusion Strategy
The authors advocate for early fusion rather than late-stage integration. By replacing layers at the beginning, middle, and end of the network (e.g., layers 2, 7, and 11), object information is allowed to propagate through the entire feature extraction process, helping the model learn better low-level visual features.
Experimental Evaluation
ORViT was evaluated on five diverse and challenging benchmarks:
- SomethingElse: Compositional action recognition (recognizing new combinations of verbs and nouns).
- AVA (Atomic Visual Actions): Spatio-temporal action detection.
- Something-Something V2 (SSv2): Large-scale human-object interactions.
- Diving48: Fine-grained motion dynamics.
- Epic-Kitchens 100: Egocentric daily kitchen activities.
Key Results
ORViT consistently outperformed strong transformer baselines:
- SomethingElse: Achieved 69.7% Top-1 accuracy, a significant +9.5% improvement over the Mformer baseline.
- Diving48: Saw an 8.0% improvement over TimeSformer, highlighting the efficacy of the dynamics module for fine-grained motion.
- AVA: Improved Mean Average Precision (mAP) by +1.1 over the state-of-the-art MViT-B model.
- SSv2: Achieved a 1.4% gain, demonstrating effectiveness even when using bounding boxes from off-the-shelf detectors.
Insights and Discussion
- Compositionality: By explicitly modeling objects, ORViT generalizes better to unseen combinations, effectively using objects as the "glue" for learning complex actions.
- The Importance of Trajectories: The Object-Dynamics stream significantly improved results even without looking at pixels, confirming that the geometry of motion is a powerful cue.
- Efficiency: The authors demonstrated a "Light" version of the dynamics module with reduced embedding dimensions, maintaining high accuracy while reducing computational overhead.
Conclusion and Future Work
ORViT demonstrates that integrating object-level awareness into the transformer backbone is essential for advanced video understanding. Currently, the model relies on external object detectors to provide bounding boxes. A promising future direction is the end-to-end integration of object proposal mechanisms, allowing the model to autonomously discover relevant regions of interest during training.
Summary updated