HyperAIHyperAI

Command Palette

Search for a command to run...

Les tours comptent : faire progresser l’apprentissage par renforcement pour la vidéo en streaming grâce au crédit au niveau du tour

Résumé

La compréhension de vidéos en streaming exige que les modèles décident de manière répétée s’ils doivent répondre ou continuer à observer. Récemment, Group Relative Policy Optimization (GRPO) a été appliqué à ce cadre, les approches existantes mettant l’accent sur la conception de la récompense tout en conservant un seul avantage au niveau de la trajectoire pour l’ensemble des tours. Un tel crédit partagé peut renforcer des réponses redondantes après des succès antérieurs et décourager des relances utiles après des échecs antérieurs. Nous proposons TurnWise, un cadre GRPO au niveau du tour qui aligne l’apprentissage sur les décisions de streaming individuelles. TurnWise remédie à l’inadéquation entre le retour d’information au niveau de la trajectoire et l’interaction au niveau du tour, favorisant des réponses informatives et réduisant la redondance. Plus précisément, l’attribution de crédit au niveau du tour utilise l’évaluation de préfixes complétés par un silence pour construire des avantages relatifs au groupe à partir du gain restant de chaque décision, séparant ainsi son signal d’apprentissage des récompenses antérieures. L’optimisation de politique par moyenne de tour (Turn-mean) moyenne les pertes de jetons au sein de chaque tour puis entre les tours, accordant un poids égal aux décisions de réponse et d’attente, indépendamment de la longueur de la sortie. Ces conceptions complémentaires améliorent l’apprentissage de politiques de streaming sans recourir à un critique appris ni à des déploiements supplémentaires. Des expériences approfondies montrent que notre méthode surpasse les approches d’apprentissage par renforcement antérieures pour la compréhension de vidéos en streaming.

One-sentence Summary

Researchers from Fudan University, Shanghai Innovation Institute, JD.com, and other institutions propose TurnWise, a turn-level GRPO framework for streaming video understanding that combines silence-completed prefix scoring for credit assignment with turn-mean policy optimization to separate each decision's learning signal from earlier rewards, promote informative responses, reduce redundancy, and outperform prior RL approaches without a learned critic or additional rollouts.

Key Contributions

  • The paper identifies a granularity mismatch in streaming video RL: shared trajectory advantages can obscure the value of later decisions, while token-mean loss aggregation makes turn weights depend on response length.
  • TurnWise combines silence-completed prefix scoring for turn-specific remaining-return advantages with turn-mean loss aggregation, without a learned critic or additional rollouts.
  • TurnWise achieves the best aggregate scores on ProactiveVQA, OVO-Timing, and StreamingBench with both Qwen backbones, and turn-mean aggregation improves response timing while reducing repetition relative to credit-only optimization.

Introduction

Streaming video understanding requires models to decide, while observations are still arriving, whether to answer or keep observing, so the value of each response or wait depends on both current evidence and prior communication. Prior reinforcement learning methods such as GRPO-based approaches use trajectory-level rewards and shared advantages, which can assign positive credit to redundant later replies or negative credit to useful follow-ups after earlier mistakes; token-mean aggregation further makes turn weighting depend on response length. The authors introduce TurnWise, a turn-level GRPO framework that scores trajectory prefixes with all remaining turns set to silence, converts full trajectory rewards into turn-specific remaining-return advantages, and uses turn-mean loss aggregation to weight response and waiting decisions equally. TurnWise needs no learned critic or additional rollouts and reports the best aggregate results on ProactiveVQA, OVO-Timing, and StreamingBench with two Qwen backbones.

Method

The authors introduce TurnWise, a framework designed to align policy optimization with streaming decisions in video dialogue systems. TurnWise achieves this through two coupled mechanisms: group-relative remaining-return advantages for precise temporal credit assignment, and turn-mean policy optimization to ensure length-independent decision weighting.

As shown in the figure below:

The framework processes a streaming instance comprising video input xxx, user queries, initial dialogue history h0h_0h0​, and an observation plan. At each decision turn ttt, the policy πθ\pi_\thetaπθ​ generates either a textual response or an explicit waiting action denoted as ∅\varnothing∅. To learn these sequential decisions, the authors sample GGG trajectories τi\tau_iτi​ from the rollout policy. Each complete trajectory is evaluated using a PAUC-based reward RiR_iRi​ that measures response quality and timeliness while penalizing repetition, out-of-window responses, and shared-prefix violations.

Standard Group Relative Policy Optimization (GRPO) converts this trajectory score into a single global advantage, which fails to distinguish rewards earned before a turn from gains obtained afterward. To resolve this temporal mismatch, TurnWise introduces turn-level credit assignment without requiring a critic model. The authors exploit the sequential observation stream by scoring what a trajectory prefix achieves if all subsequent actions are set to silence. Specifically, they compute a silence-completed prefix score Ui,tU_{i,t}Ui,t​ by retaining the first ttt sampled actions and replacing later actions with ∅\varnothing∅. The turn-level reward increment is derived from the remaining return Fi,t=Ri−Ui,t−1F_{i,t} = R_i - U_{i,t-1}Fi,t​=Ri​−Ui,t−1​, which excludes earlier accrued rewards from the current decision's credit. These remaining returns are compared within each rollout group to compute the turn-specific advantage:

A^i,t=[Fi,t−FˉtσR+ϵ]−amax⁡amax⁡\hat{A}_{i,t} = \left[ \frac{F_{i,t} - \bar{F}_t}{\sigma_R + \epsilon} \right]_{-a_{\max}}^{a_{\max}}A^i,t​=[σR​+ϵFi,t​−Fˉt​​]−amax​amax​​

where Fˉt\bar{F}_tFˉt​ is the group mean of the remaining returns, σR\sigma_RσR​ is the standard deviation of terminal rewards, and the operator clips the normalized advantage to [−amax⁡,amax⁡][-a_{\max}, a_{\max}][−amax​,amax​]. To smoothly transition from shared to turn-specific credit during training, an interpolation parameter α\alphaα scales the accrued-reward correction, linearly increasing from 0 to 1 over the initial training updates.

While turn-level advantages assign credit to individual decisions, standard token-mean loss aggregation still weights these decisions by response length, causing long responses to outweigh short waiting actions. The authors introduce turn-mean policy optimization to give each streaming decision equal aggregation weight regardless of its output length. They apply the corrected group-relative advantage to each token within its turn using a clipped probability-ratio surrogate ℓi,t,k(θ)\ell_{i,t,k}(\theta)ℓi,t,k​(θ). The final trajectory loss is computed by first averaging token losses within each turn and then averaging across all turns:

Li(θ)=1Ti∑t=1Ti1Li,t∑k=1Li,tℓi,t,k(θ)L_i(\theta) = \frac{1}{T_i} \sum_{t=1}^{T_i} \frac{1}{L_{i,t}} \sum_{k=1}^{L_{i,t}} \ell_{i,t,k}(\theta)Li​(θ)=Ti​1​t=1∑Ti​​Li,t​1​k=1∑Li,t​​ℓi,t,k​(θ)

where TiT_iTi​ is the number of decision turns and Li,tL_{i,t}Li,t​ is the number of generated tokens at turn ttt.

The unified TurnWise objective couples these turn-specific remaining-return advantages with length-independent decision weights. The training pipeline begins with supervised fine-tuning on a diverse corpus of video instruction examples, freezing the vision tower. This is followed by GRPO-style reinforcement learning optimization, where the policy is updated using the unified objective, turn-mean aggregation, and the PAUC-based reward judged by a large language model.

Experiment

The experiments fine-tune Qwen2.5-VL-3B and Qwen3-VL-4B on streaming instruction data and then optimize them with GRPO-style RL using a PAUC-based reward, evaluating on ProactiveVQA, OVO-Timing, and StreamingBench to cover proactive answer quality, event-triggered timing, and real-time visual understanding. Compared with SFT and GRPO baselines, TurnWise achieves the best aggregate scores on all three benchmarks with both backbones. Ablations and trajectory analyses show that turn-level credit assignment and turn-mean aggregation are complementary: credit assignment provides distinct per-turn learning signals, including negative signals for redundant replies, while turn-mean aggregation weights those signals to produce more selective responses, higher reward, lower repetition, and fewer outside-window replies.

TurnWise attains the best aggregate results on ProactiveVQA, OVO-Timing, and StreamingBench with both tested backbones. The gains over the strongest non-TurnWise methods are consistent across proactive interaction, response timing, and real-time visual understanding. Per-category results show broad advantages, especially on ProactiveVQA and StreamingBench. TurnWise outperforms all SFT and GRPO-based RL baselines on the three aggregate metrics for both Qwen2.5-VL-3B and Qwen3-VL-4B. On ProactiveVQA, TurnWise leads all four categories with the 3B backbone and three of four with the 4B backbone, with clear gains in VAD and Web for the 4B model. TurnWise achieves the highest real-time and proactive accuracy on StreamingBench for both backbones, improving the 4B proactive accuracy from 35.60 to 38.40 relative to the strongest baseline.

On Qwen2.5-VL-3B, combining turn-level credit with turn-mean aggregation yields the highest ProactiveVQA, OVO-Timing, and StreamingBench scores among the evaluated configurations. The combination improves timing F1 and task accuracy while substantially reducing repetition compared with credit-only and aggregation-only variants. Turn-level credit sets the learning direction for each decision, while turn-mean aggregation controls its policy update weight, making the full configuration stronger than either component alone. Adding turn-mean aggregation to credit-only optimization sharply reduces repetition while improving Timing F1 and StreamingBench average accuracy. Relative to turn-mean aggregation alone, adding turn-level credit substantially improves Timing F1 and further reduces repetition. The full TurnWise configuration achieves the highest ProactiveVQA PAUC, OVO-Timing F1, and StreamingBench average accuracy in the component comparison.

Under turn-mean aggregation, the full correction setting achieves the best results among the tested correction strengths on Qwen2.5-VL-3B. It ranks first on ProactiveVQA PAUC, OVO-Timing F1, StreamingBench accuracy, and repetition. This supports full accrued-reward correction as the operating point for the framework. Full correction outperforms partial correction strengths across all four evaluated metrics when turn-mean aggregation is used. Lower correction strengths do not surpass full correction on any metric in this configuration. The full accrued-reward correction is identified as the preferred operating point.

The experiments evaluate TurnWise against SFT and GRPO-based RL baselines on ProactiveVQA, OVO-Timing, and StreamingBench using Qwen2.5-VL-3B and Qwen3-VL-4B, covering proactive interaction, response timing, and real-time visual understanding. TurnWise achieves the best aggregate results with both backbones and shows broad per-category gains. Ablations show that combining turn-level credit with turn-mean aggregation yields the highest scores while substantially reducing repetition, and correction-strength experiments identify full accrued-reward correction as the preferred operating point.


Créer de l'IA avec l'IA

De l'idée au lancement — accélérez votre développement IA avec le co-codage IA gratuit, un environnement prêt à l'emploi et le meilleur prix pour les GPU.

Codage assisté par IA
GPU prêts à l’emploi
Tarifs les plus avantageux

HyperAI Newsletters

Abonnez-vous à nos dernières mises à jour
Nous vous enverrons les dernières mises à jour de la semaine dans votre boîte de réception à neuf heures chaque lundi matin
Propulsé par MailChimp