Papers › Reinforcement Learning Tuning for VideoLLMs: Reward Design and Data Efficiency

Reinforcement Learning Tuning for VideoLLMs: Reward Design and Data Efficiency

2 Jun 2025arXiv:2506.01908archive 2025-07-28

Hongyu Li, Songhao Han, Yue Liao, Junfeng Luo, Jialin Gao, Shuicheng Yan, Si Liu

Understanding real-world videos with complex semantics and long temporal dependencies remains a fundamental challenge in computer vision. Recent progress in multimodal large language models (MLLMs) has demonstrated strong capabilities in vision-language tasks, while reinforcement learning tuning (RLT) has further improved their reasoning abilities. In this work, we explore RLT as a post-training strategy to enhance the video-specific reasoning capabilities of MLLMs. Built upon the Group Relative Policy Optimization (GRPO) framework, we propose a dual-reward formulation that supervises both semantic and temporal reasoning through discrete and continuous reward signals. To facilitate effective preference-based optimization, we introduce a variance-aware data selection strategy based on repeated inference to identify samples that provide informative learning signals. We evaluate our approach across eight representative video understanding tasks, including VideoQA, Temporal Video Grounding, and Grounded VideoQA. Our method consistently outperforms supervised fine-tuning and existing RLT baselines, achieving superior performance with significantly less training data. These results underscore the importance of reward design and data selection in advancing reasoning-centric video understanding with MLLMs. Notably, The initial code release (two months ago) has now been expanded with updates, including optimized reward mechanisms and additional datasets. The latest version is available at https://github.com/appletea233/Temporal-R1 .

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2506.01908")

Code

Syntology Ran 2 of 17 code samples harvested from 1 repository linked to this paper; 15 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

appletea233/temporal-r1 officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 2 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran
15unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from appletea233/temporal-r1. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

prepare_fa2_from_position_ids appletea233/temporal-r1/verl/models/transformers/flash_attention_utils.py official repository ran Apache-2.0 (permissive) · 4049cf08f994464e · report
unpad_dataproto appletea233/temporal-r1/verl/protocol.py official repository ran Apache-2.0 (permissive) · a91c18341292d50e · report
collate_fn appletea233/temporal-r1/verl/utils/dataset.py official repository unverified Apache-2.0 (permissive) · 69132eba50f047ff · report
compute_gae_advantage_return appletea233/temporal-r1/verl/trainer/core_algos.py official repository unverified Apache-2.0 (permissive) · 50c3a8a4aeafdc74 · report
compute_grpo_outcome_advantage appletea233/temporal-r1/verl/trainer/core_algos.py official repository unverified Apache-2.0 (permissive) · 17a3ed8bc3471fb5 · report
flash_attention_forward appletea233/temporal-r1/verl/models/transformers/flash_attention_utils.py official repository unverified Apache-2.0 (permissive) · 75ed715f4ad2c9ee · report
get_device_flops appletea233/temporal-r1/verl/utils/flops_counter.py official repository unverified Apache-2.0 (permissive) · 2834aeaea2e7ac96 · report
get_fsdp_wrap_policy appletea233/temporal-r1/verl/utils/fsdp_utils.py official repository unverified Apache-2.0 (permissive) · e1f276b55b00a4bc · report
get_init_fn appletea233/temporal-r1/verl/utils/fsdp_utils.py official repository unverified Apache-2.0 (permissive) · c368b2c9057dd0f3 · report
get_kl_controller appletea233/temporal-r1/verl/trainer/core_algos.py official repository unverified Apache-2.0 (permissive) · d61a07d67d82ec38 · report
get_model_size appletea233/temporal-r1/verl/utils/model_utils.py official repository unverified Apache-2.0 (permissive) · 72a08db62254116d · report
get_rope_index appletea233/temporal-r1/verl/models/transformers/qwen2_vl.py official repository unverified Apache-2.0 (permissive) · 627247bc47104fec · report
pad_dataproto_to_divisor appletea233/temporal-r1/verl/protocol.py official repository unverified Apache-2.0 (permissive) · 55a806cde98a3aa5 · report
process_image appletea233/temporal-r1/verl/utils/dataset.py official repository unverified Apache-2.0 (permissive) · f433212ee73a9aaa · report
qwen2_vl_attn_forward appletea233/temporal-r1/verl/models/transformers/qwen2_vl.py official repository unverified Apache-2.0 (permissive) · 1e90bebc7c04c766 · report
reduce_metrics appletea233/temporal-r1/verl/trainer/ray_trainer.py official repository unverified Apache-2.0 (permissive) · 61a9c6ca3868b95a · report
union_tensor_dict appletea233/temporal-r1/verl/protocol.py official repository unverified Apache-2.0 (permissive) · ad658a1d6fe829ba · report

Tasks

Reinforcement LearningVideo GroundingVideo Understandingreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections