arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.07966cs.CVcs.AIcs.CL
收藏

将强化学习扩展至长视频

Scaling RL to Long Videos

NVIDIA;MIT(麻省理工学院);HKU(香港大学);UC Berkeley(加州大学伯克利分校)

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

AI总结:

本文提出全栈长视频推理框架,结合LongVideo-Reason数据集、CoT-SFT与RL两阶段训练及MR-SP基础设施,显著提升VLM长视频理解与训练效率。

摘要:

我们提出了一个全栈框架,利用强化学习将视觉语言模型(VLM)中的推理能力扩展到长视频。我们通过整合三个关键组件来应对长视频推理的独特挑战:(1)一个大规模数据集 LongVideo-Reason,包含104K个长视频问答对,并带有覆盖体育、游戏和视频博客等多样领域的高质量推理标注;(2)一个两阶段训练流程,通过思维链监督微调(CoT-SFT)和强化学习(RL)扩展VLM;以及(3)一个面向长视频RL的训练基础设施,名为多模态强化序列并行(MR-SP),它融合了序列并行和专为长视频定制的基于vLLM的引擎,使用缓存的视频嵌入来实现高效的rollout和预填充。在实验中,LongVILA-R1-7B在视频基准测试中取得强劲表现,在VideoMME无字幕和有字幕设置下分别达到65.1%和71.1%的准确率,并在多个基准测试中持续优于LongVILA-7B。此外,LongVILA-R1-7B支持每个视频处理多达8,192个视频帧,并支持可配置的FPS设置。值得注意的是,我们的MR-SP系统在长视频RL训练中实现了最高2.1倍的加速。除此之外,我们公开发布训练系统,该系统支持在多种模态(视频、文本和音频)、多种模型(VILA和Qwen系列)甚至图像和视频生成模型上进行RL训练。在单个A100节点(8个GPU)上,它支持对长达一小时的视频(例如3,600帧)进行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 104K 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 our experiments, LongVILA-R1-7B achieves strong performance on video benchmarks, reaching 65.1% and 71.1% accuracy on VideoMME without and with subtitles, respectively, and consistently outperforming LongVILA-7B across multiple benchmarks. Moreover, LongVILA-R1-7B supports processing up to 8,192 video frames per video, and configurable FPS settings. Notably, our MR-SP system achieves up to 2.1x speedup on long video RL training. 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).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑