TL;DR
This paper introduces a novel cross-modal distillation technique to improve video-based action anticipation by transferring knowledge from large language models (LLMs) to vision models. By leveraging the rich, text-derived understanding of action sequences, their method achieves state-of-the-art results on benchmark datasets, demonstrating that text can significantly augment visual understanding for predicting future actions.
What Problem Does This Paper Address?
Anticipating future actions in videos is crucial for applications like robotics and augmented reality. Current methods primarily rely on visual information from video frames, limiting their understanding to the action sequences present in specific, often small, video datasets. This leads to poor generalization, especially when dealing with a large number of possible actions. The core challenge is how to imbue these vision models with a broader, more robust understanding of action sequences, akin to what humans gain from language.
Methods
The authors propose a "teacher-student" distillation framework. The "teacher" is a pre-trained language model (like BERT) adapted to the action anticipation task using textual action sequences. This teacher model, trained on vast amounts of text data (e.g., recipes), possesses a rich understanding of how actions unfold. The "student" is a vision-based action anticipation model (specifically, the Anticipative Vision Transformer or AVT).
The key innovation is the distillation process:
- Teacher Training: A language model is fine-tuned on textual action sequences from the target domain. This teacher model learns to predict future actions based on observed action sequences.
- Student Training with Distillation: The vision-based student model is trained to perform two tasks simultaneously:
- Predict the correct future action based on video frames.
- Match the probability distribution of the teacher model's predictions. This is achieved by minimizing the KL divergence between the teacher's and student's output distributions, often with a temperature parameter to smooth the distributions.
They also explore domain-adaptive pre-training of the teacher on recipe datasets to further align its knowledge with the cooking domain, which is common in action anticipation benchmarks.
Datasets
The paper evaluates their method on two egocentric video datasets commonly used for action anticipation in the cooking domain:
- EPIC-Kitchens 55: Contains approximately 1 million action sequences from text recipes and 38K action sequences from video.
- EGTEA-GAZE+: Contains about 10.3K labeled action sequences.
Key Insights and Ideas
- Textual knowledge is complementary: Even when a vision model performs well, distilling knowledge from a text-based teacher can still lead to performance gains. This suggests that language models capture aspects of action sequences that are not easily learned from visual data alone.
- Teacher doesn't need to be better: The distillation benefits are observed even when the teacher model's performance on the anticipation task is lower than the student's. This highlights that the complementarity of knowledge, rather than absolute teacher performance, is key.
- Domain adaptation matters: Pre-training the teacher model on domain-specific text (like recipes) further boosts the student's performance, indicating that tailoring the textual knowledge to the target domain is beneficial.
- Large action spaces benefit most: The distillation approach is particularly helpful in scenarios with a large number of action classes, where vision-only models struggle to generalize.
Key Results
The proposed cross-modal distillation method achieves state-of-the-art results on both datasets:
- EGTEA-GAZE+: Achieved a 2.1% and 2% relative improvement in Acc@1 and Rec@1 respectively over the baseline AVT model. With domain-adaptive pre-training (RcpLM Distillation), these gains increased to 3.9% and 3.4%.
- EPIC-Kitchen 55: Achieved a 3.5% relative gain on MS-Rec@5 over the baseline AVT model. With domain-adaptive pre-training, this improved to a 7.2% relative gain.
The paper also includes qualitative examples showing how the distilled model corrects predictions where the video-only model fails.
Limitations and Future Work
- Zero-shot anticipation: The current work does not address zero-shot anticipation (predicting unseen actions). The authors believe text-to-video distillation holds promise for this, given recent successes of LLMs in zero-shot tasks.
- Performance gap: Despite improvements, a significant performance gap remains between the text-based teacher and the vision-based student, especially in domains with large label spaces. This suggests room for improvement in distillation techniques.
- Bias transfer: The method might transfer biases present in the pre-trained language models. Analyzing and mitigating bias propagation during distillation is an important future direction.
- Teacher quality: The paper notes that the teacher's performance is not always superior to the student's, and the distillation benefits stem from knowledge complementarity. Further research into how to best leverage this complementarity is needed.
Summary updated