Abstract: We introduce the task of weakly supervised learning for detecting human and object interactions in videos. Our task poses unique challenges as a system does not know what types of human-object interactions are present in a video or the actual spatiotemporal location of the human and the object. To address these challenges, we introduce a contrastive weakly supervised training loss that aims to jointly associate spatiotemporal regions in a video with an action and object vocabulary and encourage temporal continuity of the visual appearance of moving objects as a form of self-supervision. To train our model, we introduce a dataset comprising over 6.5k videos with human-object interaction annotations that have been semi-automatically curated from sentence captions associated with the videos. We demonstrate improved performance over weakly supervised baselines adapted to our task on our video dataset.
Introduction
Identifying "who is doing what to what"—known as Human-Object Interaction (HOI) detection—is a cornerstone of computer vision. While significant progress has been made in static images, interactions like "drinking," "pushing," or "washing" are inherently temporal and best understood through video.
Existing video-based HOI methods typically rely on "strong supervision," requiring thousands of manually drawn bounding boxes across millions of video frames. This approach is prohibitively expensive to scale and struggles with the "long-tail" problem, where rare interactions (like "throwing a javelin") lack sufficient training data. This paper addresses these challenges by proposing a Weakly Supervised Learning framework. The goal is to enable a model to localize and identify interactions using only video-level captions (e.g., "a person is washing a bike") without explicit information about the spatial location of the person or the object.
Methodology
The core of the approach is a Contrastive Spatiotemporal Learning framework. Instead of direct supervision, the model learns by comparing "matching" pairs against "non-matching" pairs across visual and linguistic domains.
1. Region Attention Module
The system first extracts candidate regions using standard tools like Faster R-CNN and DensePose. It then employs an attention mechanism to "softly" select which regions are most relevant to a specific verb-object query, such as "washing" + "bike."
2. Language-Embedding Alignment
Using word embeddings (Word2Vec), the model maps visual features and text labels into a shared latent space. It minimizes a contrastive loss that pulls the "correct" visual regions closer to the text query while pushing irrelevant words or regions away.
3. Self-Supervised Temporal Continuity
A key innovation is using the video's inherent structure as a "free" signal. The model assumes that if a person is interacting with an object in one frame, they are likely interacting with that same object in the next. A temporal contrastive loss ensures the visual appearance of the detected object remains consistent throughout the sequence.
4. Sparsity and Classification
To prevent the model from simply attending to the entire frame, a sparsity loss forces it to select a single, high-confidence human-object pair. This ensures precise localization rather than broad scene recognition.
The V-HICO Dataset
To support this research, the authors introduced V-HICO (Video Humans Interacting with Common Objects), a large-scale dataset curated semi-automatically from the "Moments in Time" collection.
- Scale: 6,594 videos.
- Diversity: 244 object classes and 99 action classes, forming 756 unique verb-object pairs.
- Zero-Shot Split: The researchers reserved a test set of 51 object classes that the model never encountered during training to evaluate its ability to generalize to unseen interactions.
Key Results and Insights
The proposed model significantly outperformed existing weakly supervised baselines adapted for video HOI:
- Mean Average Precision (mAP): On the V-HICO dataset, the model achieved a "Relation mAP" of 18.56%, a massive improvement over the 2.06% achieved by prior state-of-the-art weakly supervised methods.
- Zero-Shot Generalization: On the unseen test set, the model achieved 25.10% mAP. This demonstrates that by learning in a shared language-vision space, the model can compose new interactions. For example, if it learns "washing" from "washing a bike" and recognizes a "car" from other data, it can successfully localize "washing a car."
- Human-Centric Priors: Incorporating human segmentation masks (via DensePose) provided a significant boost, as it gave the model a spatial hint that objects of interest are typically near the human body.
Limitations and Future Work
While the model shows strong performance, three primary failure modes were identified:
- Pose Failures: Heavy occlusion or unusual camera angles can cause the initial human pose estimation to fail, cascading into poor HOI detection.
- Small/Fast Objects: The system struggles with rapidly moving or very small objects, such as a ball being thrown.
- Environmental Factors: Performance decreases in challenging lighting, such as nighttime scenes.
Future research may explore more robust tracking mechanisms or "open-vocabulary" models to handle even more complex, multi-person interactions in diverse environments.
Summary updated