Abstract
Understanding human actions is a key problem in computer vision. However, recognizing actions is only the first step of understanding what a person is doing. In this paper, we introduce the problem of predicting why a person has performed an action in images. This problem has many applications in human activity understanding, such as anticipating or explaining an action. To study this problem, we introduce a new dataset of people performing actions annotated with likely motivations. However, the information in an image alone may not be sufficient to automatically solve this task. Since humans can rely on their lifetime of experiences to infer motivation, we propose to give computer vision systems access to some of these experiences by using recently developed natural language models to mine knowledge stored in massive amounts of text. While we are still far away from fully understanding motivation, our results suggest that transferring knowledge from language into vision can help machines understand why people in images might be performing an action.
Introduction: The "Why" Behind the "What"
While computer vision has become adept at recognizing what a person is doing—identifying labels like "riding a bike" or "sitting"—it struggles to understand why. Human social intelligence relies on "Theory of Mind," the ability to infer the intent or motivation behind actions. For instance, a person riding a bicycle might be commuting to work, competing in a race, or even selling ice cream.
The challenge lies in the fact that the "why" is often not explicitly visible in the pixels. Motivations frequently exist outside the frame, either spatially (a destination just out of view) or temporally (a goal that hasn't happened yet). Because computer vision models lack a "lifetime of experience," they cannot easily make these logical leaps.
Methodology: Bridging Vision and Language
The authors propose a hybrid approach that combines visual recognition with knowledge mined from the web to simulate human "common sense."
Visual and Linguistic Features
The system utilizes a VGG-16 network, pre-trained on the Places dataset, to extract features from both the full scene and a close-up crop of the person of interest. To incorporate common sense, the researchers query large-scale N-gram language models trained on billions of web pages. They use "fill-in-the-blank" templates—such as "the person is [action] in order to [motivation]"—to calculate the probability of specific action-motivation pairs.
The Factor Graph Model
The problem is represented as a third-order factor graph that jointly considers three concepts: the action, the motivation, and the scene.
- Unary potentials are derived from visual classifiers.
- Pairwise and tertiary potentials are estimated from the text models to capture linguistic likelihood.
The system is trained using a max-margin structured prediction objective (Structured SVM) to ensure the correct "action-motivation-scene" triplet scores higher than incorrect alternatives.
The Motivations Dataset
To study this problem, the authors introduced a new Motivations Dataset consisting of 10,191 images selected from Microsoft COCO. Using Amazon Mechanical Turk, workers provided short phrases for the person's action, the scene, and their likely motivation.
After clustering similar phrases, the dataset contains 100 actions, 256 motivations, and 100 scenes. Unlike typical datasets, the "ground truth" here is based on human consensus about intent, which is inherently subjective but highly consistent among humans.
Key Insights
- Actions ≠ Motivations: Entropy analysis reveals that while actions and motivations are correlated, they are not perfectly predictive of one another. For example, "looking" has high entropy because people look at things for a vast multitude of reasons.
- Text as a Regularizer: Visual features alone often overfit the training data. Transferring knowledge from text acts as a powerful regularizer, helping the model make more "sensible" guesses on novel images.
- Predicting the Future: Many motivations (like "to catch a ball") describe events that haven't happened yet. Language models excel at capturing these causal "if-then" relationships missing from static images.
Results and Discussion
The primary metric used was Median Rank (the rank of the correct motivation in a sorted list of 256 possibilities; lower is better).
- Random Guessing: Median Rank 62.
- Vision-Only: Median Rank 39.
- Vision + Text (Proposed): Median Rank 27.
The results show a significant jump in performance when language is introduced. Even when the model was "wrong," its top predictions were usually "plausible" (e.g., predicting "to eat" instead of "to socialize" for someone at a dinner table), whereas vision-only models made more nonsensical errors.
Conclusion and Future Work
While the model improves on the baseline, a median rank of 27 out of 256 suggests we are still far from human-level intent prediction. Future work could involve incorporating subtle visual cues like gaze direction or clothing styles, and extending the framework to video sequences where temporal context is clearer. Ultimately, this research suggests that transferring knowledge from language into vision is a promising path toward machines that truly understand human behavior.
Summary updated