Tuning Large Multimodal Models for Videos using Reinforcement Learning from AI Feedback

Daechul Ahn, Yura Choi, Youngjae Yu, Dongyeop Kang, Jonghyun Choi

Abstract

Recent advancements in large language models have influenced the development of video large multimodal models (VLMMs). Previous approaches for VLMMs involve Supervised Fine-Tuning (SFT) with instruction-tuned datasets, integrating LLM with visual encoders, and additional learnable parameters. Here, aligning video with text, and vice versa, remains a challenge, primarily due to the insufficient quality and quantity of multimodal instruction-tune data compared to that of text-only. This discrepancy often results in alignments that poorly ground the video content. To address this, we present a novel alignment strategy that employs a multimodal AI system equipped with Reinforcement Learning from AI Feedback (RLAIF), providing self-preference feedback to refine itself and facilitating the alignment of video and text modalities. Our approach uniquely integrates detailed video descriptions as context into a multimodal AI system during the preference feedback generation to enrich the understanding of video content, a process we call context-aware reward modeling. Empirical evaluations on various video benchmarks demonstrate that our VLM-RLAIF outperforms existing approaches, including the SFT model.

Introduction: The Grounding Gap in Video LMMs

While Large Language Models (LLMs) have mastered text processing, extending these capabilities to the video domain—creating Video Large Multimodal Models (VLMMs)—presents significant challenges. A primary obstacle is the "data hunger" problem: high-quality, human-annotated video-text instruction data is scarce and expensive to produce compared to the vast availability of text-only corpora.

This lack of quality data often leads to poor grounding in current VLMMs, manifesting as "hallucinations" where models describe objects or actions not present in the video, or fail to grasp temporal sequences. While Reinforcement Learning from Human Feedback (RLHF) has been effective for text models, its cost and lack of scalability make it impractical for the complex requirements of video understanding.

Methodology: VLM-RLAIF

To bridge this gap, we introduce VLM-RLAIF, a three-stage pipeline designed to refine video-text alignment through self-preference feedback.

Overview of the VLM-RLAIF framework, illustrating the pipeline from multimodal instruction to the RLAIF loop.

The framework consists of three core components:

  1. Two-Stage Curriculum SFT: We employ a curriculum learning strategy, initially training the model on simpler tasks (short-form answers) before progressing to complex, detailed descriptions. This is supplemented by a new 180k object-centric narrative dataset derived from "Video Localized Narratives" to enhance the model's understanding of appearance and action.
  2. Context-Aware Reward Modeling: This stage introduces a "judge" model (Reward Model) that evaluates AI-generated responses. To ensure accuracy, the judge is provided with a detailed, segment-by-segment text narrative of the video. This context allows the judge to identify nuances that the raw video encoder might overlook.
  3. Reinforcement Learning from AI Feedback (RLAIF): Using Proximal Policy Optimization (PPO), the video model is fine-tuned based on rewards from the context-aware Reward Model. The model learns to prioritize responses that are accurately grounded in the visual and temporal context of the video.

Key Results and Evaluation

VLM-RLAIF was evaluated across a diverse set of benchmarks, including MSVD-VQA, MSRVTT-VQA, and ActivityNet-QA for question answering, and UCF101 for action recognition.

Radar chart comparing VLM-RLAIF performance against state-of-the-art models across various benchmarks and generative criteria.

The empirical results demonstrate significant improvements over existing baselines:

  • Generative Excellence: On a 5-point scale across five criteria, VLM-RLAIF significantly outperformed the SFT baseline, particularly in Temporal understanding (+0.95) and Correctness (+0.84).
  • Zero-Shot Performance: The model achieved 76.4% accuracy on MSVD-QA, surpassing LLaMA-VID (7B) by nearly 7%.
  • Action Recognition: On the HMDB51 benchmark, it reached 44.75% Top-1 accuracy, a notable improvement over previous state-of-the-art models like Video-LLaVA.

Qualitative analysis further confirms that VLM-RLAIF is better at identifying specific details, such as clothing colors and precise action sequences, where earlier models frequently failed.

Discussion and Conclusion

Our findings highlight that providing text-based context to the Reward Model is crucial for overcoming the limitations of current visual encoders. Additionally, the success of curriculum learning and scaling the Reward Model (using a 13B parameter model to teach a 7B model) underscores the importance of structured training and high-quality "teachers."

While VLM-RLAIF represents a significant step forward, challenges remain regarding potential biases in AI-generated feedback and the complexity of temporal reasoning in very long videos. Future research will explore applying this RLAIF approach to specialized tasks like long-form summarization and complex causal reasoning.

Summary updated

BibTeX
@inproceedings{ahn2024tuning,
  author = {Daechul Ahn and Yura Choi and Youngjae Yu and Dongyeop Kang and Jonghyun Choi},
  title = {{Tuning Large Multimodal Models for Videos using Reinforcement Learning from AI Feedback}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=dZLYQjYMtG},
}
Figure