Abstract
Actions are more than just movements and trajectories: we cook to eat and we hold a cup to drink from it. A thorough understanding of videos requires going beyond appearance modeling and necessitates reasoning about the sequence of activities, as well as the higher-level constructs such as intentions. We propose a fully-connected temporal CRF model for reasoning over various aspects of activities that includes objects, actions, and intentions, where the potentials are predicted by a deep network. End-to-end training of such structured models is a challenging endeavor: For inference and learning we need to construct mini-batches consisting of whole videos, leading to mini-batches with only a few videos. This causes high-correlation between data points leading to breakdown of the backprop algorithm. To address this challenge, we present an asynchronous variational inference method that allows efficient end-to-end training. Our method achieves a classification mAP of 22.4% on the Charades benchmark, outperforming the state-of-the-art (17.2% mAP), and offers equal gains on the task of temporal localization.
Introduction
Most deep learning models for video recognition focus on "appearance" (what a frame looks like) and "motion" (how pixels move between frames). However, human activities are more than just trajectories; they are driven by goals. For example, a person doesn't just "move their hand toward a cylinder"; they "reach for a cup to drink."
Reasoning about these high-level intentions and the long-term sequence of activities is difficult for standard neural networks like LSTMs or 3D-Convnets. While Graphical Models, such as Conditional Random Fields (CRFs), are effective at structured reasoning, they are notoriously hard to train end-to-end with deep learning. The main bottleneck is that training a CRF usually requires processing an entire video at once. Because videos are data-intensive, a "mini-batch" might only contain one or two videos, leading to highly correlated data that destabilizes standard backpropagation algorithms.
Methodology
The proposed Asynchronous Temporal Fields framework addresses these challenges through two main components:
1. A Rich Structured Model
The authors construct a CRF where each frame is a node containing variables for the activity category, objects involved, specific actions, action progress (start/middle/end), and the scene. Crucially, they introduce a latent "Intent" node that connects to every frame, representing the underlying goal of the actor. This "Intent" serves as the temporal glue, bridging gaps where visual information might be ambiguous or occluded.
2. Asynchronous Variational Inference
To solve the training bottleneck, the model moves away from the standard Markov assumption. Instead, it uses a fully-connected model where every frame can interact with every other frame.
- The Message Server: During training, instead of loading a whole video, the system samples random frames from across the entire dataset. A central "Message Server" stores the most recent predictions (messages) for every frame in every video.
- Training Loop: When a single frame is trained, it retrieves the latest messages from its video-mates from the server, updates its own state, and sends its new message back. This breaks the data correlation and allows for stable, efficient end-to-end training.
Experimental Setup
The primary dataset used is Charades, a large-scale benchmark containing approximately 10,000 videos of daily household activities. Unlike sports datasets, Charades features complex, overlapping activities (e.g., a person sitting down while holding a book and drinking coffee), making it an ideal testbed for reasoning about intent and multi-step sequences.
Results and Discussion
The model achieved a classification mean Average Precision (mAP) of 22.4% on Charades, a significant improvement over the previous state-of-the-art of 17.2%. It also excelled at temporal localization, outperforming LSTMs in pinpointing action boundaries.
Key Insights
- Intent as the "Glue": Treating intent as a latent variable allows the model to maintain confidence across long temporal gaps. For instance, seeing a person "holding a cup" at the start and "placing a cup" at the end helps the model infer the "drinking" intent even if the middle frames are occluded.
- Breaking the Mini-batch Curse: The asynchronous training method demonstrates that sequential data does not need to be processed in order to learn temporal relationships, provided a global context is maintained via a Message Server.
- Beyond Markovian Chains: By making the CRF fully connected, the model recognizes long-range dependencies, such as the logical necessity that "opening a fridge" must precede "closing a fridge."
Conclusion and Future Work
While the model shows strong performance, it is sensitive to the quality of relational data; for example, reasoning about "scenes" sometimes reduced performance due to noisy scene labels in the dataset. Future work may involve exploring more complex, learned kernels for temporal connections to better handle extremely long-term dependencies and optimizing the Message Server to prevent memory bottlenecks in even larger datasets.
Summary updated