TL;DR
This paper introduces a neuro-symbolic approach to long-term action anticipation that excels even when given very short video context (e.g., just the first 5-10% of a clip). By augmenting a Transformer’s attention mechanism with a symbolic knowledge graph that understands object "affordances"—what actions an object can participate in—the model outperforms existing state-of-the-art methods by up to 9% on benchmark datasets.
What Problem Does This Paper Address?
Predicting what a human will do next in a video is a cornerstone of proactive AI, with applications ranging from smart video editing to assistive robotics. However, most current models, particularly Transformers, rely on a "long context window"—they need to see a significant portion of the preceding activity to make accurate guesses about the future.
When context is scarce (e.g., seeing only the first few seconds of someone starting to cook), standard models often fail because they lack the "common sense" to know which objects in the scene are relevant for future steps. This paper tackles the challenge of short-context, long-term action anticipation: predicting a sequence of future actions and their durations based on a tiny sliver of observed video.
Methods
The authors propose a three-step pipeline that integrates symbolic reasoning into a deep learning architecture, as illustrated in the overview below:
- Neuro-Symbolic Extraction: The system uses an object detector to identify items in the frame. These items are then mapped to a Knowledge Graph (KG). This graph doesn't just list objects; it links them to their affordances (e.g., a tomato is "cuttable") and the tools required (e.g., a knife). An iterative graph-search process expands these initial detections into a latent representation of all relevant concepts in the scene.
- Infer Rectification: These graph-based representations are passed through LSTMs to generate "rectification matrices" ($R_e$ and $R_d$).
- Knowledge-Guided Future Transformer (FUTR): The core model is based on the Future Transformer architecture. The authors modify the standard multi-head attention mechanism by injecting the rectification matrices. Essentially, the symbolic knowledge acts as a "boost" or "suppressor," forcing the Transformer to pay more attention to visual features that correspond to objects with relevant affordances for future actions.
Datasets
The model was evaluated on two standard long-term action anticipation benchmarks:
- 50Salads: Contains 50 videos of salad preparation with 17 fine-grained action labels.
- Breakfast: A larger dataset featuring 10 different breakfast-related activities (like making coffee or pancakes) with 48 fine-grained action labels.
Key Insights and Ideas
- Affordances as a Prior: The "aha moment" here is that visual features alone aren't enough for short-context prediction. By knowing that a "bowl" can "contain dough," the model can prioritize the bowl in its attention even if the person is currently just stirring a pan.
- Attention Rectification: Instead of just concatenating knowledge features, the authors directly modify the attention weights. This ensures the symbolic knowledge guides the interpretation of visual data rather than just acting as an extra input.
- Anticipating the Unused: As shown in the heatmaps (Figure 3), the model learns to focus on objects that aren't currently being used but are likely to be used soon. For example, while a user is stirring dough, the model's attention is already "boosting" the bowl because it knows the dough will eventually need to be poured into it.
Key Results
The proposed method consistently outperformed the baseline FUTR model and other competitors (like Video-Llama) across various observation/prediction ratios ($\alpha/\beta$).
- Quantitative: On the 50Salads dataset, the model achieved a frame-wise accuracy improvement of up to 9% over the state-of-the-art when observing only 10% of the video. On the Breakfast dataset, it showed a more modest but consistent improvement of about 1%.
- Qualitative: In head-to-head comparisons (Figure 2), the knowledge-guided model correctly predicted complex end-of-sequence actions like "put dough in bowl," whereas the baseline model failed to recognize the transition.
Limitations and Future Work
- Knowledge Graph Dependency: The method relies on a pre-defined, domain-specific knowledge graph. Expanding this to open-world scenarios where the KG might be incomplete or noisy remains a challenge.
- Dataset Specificity: While the model performs exceptionally well on 50Salads, the gains on the Breakfast dataset were smaller. This might be due to the higher complexity and variety of actions in the Breakfast dataset, suggesting that the symbolic "boost" might need to be more adaptive.
- Future Directions: The authors suggest that future work could involve automatically learning these knowledge graphs from large-scale text corpora or utilizing Large Language Models (LLMs) to dynamically generate affordance relations at run-time.
Summary updated