Introduction
Long-term action anticipation (LTA) in egocentric video is a challenging task that involves predicting a sequence of future actions based on a first-person observation. Unlike short-term prediction, LTA requires understanding complex human behaviors and environmental contexts over extended periods. Traditional methods often struggle with the high variability of human activities and the scarcity of annotated video data. PALM (Predicting Actions through Language Models) addresses these challenges by leveraging the extensive procedural knowledge embedded in Large Language Models (LLMs).
Methodology
The PALM framework translates visual information into a textual representation that an LLM can process. The pipeline consists of three primary components:
- Action Recognition Model (ARM): This module identifies the sequence of immediate past actions from the video. By using a sliding window approach, the ARM captures the natural continuity of human movement.
- Vision-Language Model (VLM): To provide environmental context, a VLM (specifically VideoBLIP) generates narrations describing the scene (e.g., "A person is cooking in a kitchen").
- Large Language Model (LLM): The past actions and narrations are combined into a prompt for an LLM (Llama 2).
To enhance the LLM's predictive capabilities, PALM employs In-Context Learning with Maximal Marginal Relevance (MMR). MMR selects a diverse and relevant set of exemplars from the training data to guide the model. The LLM is further refined using LoRA (Low-Rank Adaptation), allowing it to adapt to specific action taxonomies efficiently.
Experimental Setup
The model was evaluated on three major benchmarks: Ego4D (v1 and v2), EPIC-KITCHENS-55, and EGTEA Gaze+. These datasets cover a wide range of daily activities and specialized cooking tasks.
Results and Discussion
PALM achieved state-of-the-art results on the Ego4D benchmark, reaching an Action Edit Distance of 0.8503 on version 2. Ablation studies highlighted the importance of combining action sequences with environmental narrations; narrations significantly improved object (noun) prediction, while action sequences bolstered verb accuracy. Furthermore, the MMR-based example selection proved superior to simple similarity-based retrieval, demonstrating that diversity in context helps the LLM generalize to novel scenarios.
Conclusion
PALM demonstrates that treating video anticipation as a language modeling task allows for the effective use of LLMs' reasoning capabilities. While the model shows strong generalization, future work could involve fine-tuning video encoders specifically for egocentric data and improving the handling of rare action categories.
Summary updated