2025-07-11 · 专家 · 计算机视觉 · 机器学习 · 自然语言处理

Scaling RL to Long Videos

本文提出了一种全栈框架,通过强化学习将视觉语言模型(VLMs)的推理扩展到长视频,解决了长视频推理的独特挑战。

更新于 2025-07-15。作者:Yukang Chen、Wei Huang、Baifeng Shi、Qinghao Hu、Hanrong Ye、Ligeng Zhu、Zhijian Liu、Pavlo Molchanov、Jan Kautz、Xiaojuan Qi、Sifei Liu、Hongxu Yin、Yao Lu、Song Han。

中文摘要

我们介绍了一个全栈框架,通过强化学习将视觉语言模型(VLMs)的推理能力扩展到长视频。我们通过整合三个关键组件来解决长视频推理的独特挑战:(1)一个大规模数据集,名为LongVideo-Reason,包含52K个长视频问答对,涵盖了体育、游戏和vlog等多种领域的高质量推理标注;(2)一个两阶段训练流程,它通过链式思维监督微调(CoT-SFT)和强化学习(RL)扩展了VLMs;(3)一个名为多模态强化序列并行(MR-SP)的长视频RL训练基础设施,它结合了序列并行性和基于vLLM的针对长视频优化的引擎,利用缓存的视频嵌入来实现高效的 rollout和预填充。在实验中,LongVILA-R1-7B在长视频问答基准测试(如VideoMME)上取得了强劲的性能。它还优于Video-R1-7B,并在我们的LongVideo-Reason-eval基准测试中在时间推理、目标和目的推理、空间推理和剧情推理方面与Gemini-1.5-Pro相当。值得注意的是,我们的MR-SP系统在长视频RL训练上实现了高达2.1倍的加速。随着输入视频帧数的增加,LongVILA-R1表现出持续的性能提升。LongVILA-R1标志着VLMs在长视频推理方面的一个稳健的步伐。此外,我们还发布了我们的训练系统,使其公开可用,该系统支持各种模态(视频、文本和音频)、各种模型(VILA和Qwen系列),甚至图像和视频生成模型。在一个A100节点(8个GPU)上,它支持长达一小时的视频(例如,3,600帧/约256k个标记)的RL训练。

英文摘要

We introduce a full-stack framework that scales up reasoning in vision-language models (VLMs) to long videos, leveraging reinforcement learning. We address the unique challenges of long video reasoning by integrating three critical components: (1) a large-scale dataset, LongVideo-Reason, comprising 52K long video QA pairs with high-quality reasoning annotations across diverse domains such as sports, games, and vlogs; (2) a two-stage training pipeline that extends VLMs with chain-of-thought supervised fine-tuning (CoT-SFT) and reinforcement learning (RL); and (3) a training infrastructure for long video RL, named Multi-modal Reinforcement Sequence Parallelism (MR-SP), which incorporates sequence parallelism and a vLLM-based engine tailored for long video, using cached video embeddings for efficient rollout and prefilling. In experiments, LongVILA-R1-7B achieves strong performance on long video QA benchmarks such as VideoMME. It also outperforms Video-R1-7B and even matches Gemini-1.5-Pro across temporal reasoning, goal and purpose reasoning, spatial reasoning, and plot reasoning on our LongVideo-Reason-eval benchmark. Notably, our MR-SP system achieves up to 2.1x speedup on long video RL training. LongVILA-R1 demonstrates consistent performance gains as the number of input video frames scales. LongVILA-R1 marks a firm step towards long video reasoning in VLMs. In addition, we release our training system for public availability that supports RL training on various modalities (video, text, and audio), various models (VILA and Qwen series), and even image and video generation models. On a single A100 node (8 GPUs), it supports RL training on hour-long videos (e.g., 3,600 frames / around 256k tokens).

解读

一句话总结

本文提出了一种全栈框架,通过强化学习将视觉语言模型(VLMs)的推理扩展到长视频,解决了长视频推理的独特挑战。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt