CapRL++ video RL: reward peaks around step 20, then captions drift into a repetitive per-second template and collapse at ~step 66

オープン
#21 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Start by reading CapRL++/train/scripts/train_caprl.sh and the recipe/video_captionrl configuration, then compare the reported training setup with the repository's video RL recipe. The issue asks the maintainers for training curves, checkpoint details, and stability guidance; a useful resolution would answer those questions with the relevant settings or artifacts. No specific code change or completion test is identified.

索引モデルが issue の本文から書いたものです。

説明

Hi, thanks for releasing CapRL++, the training code and the checkpoints!

We are reproducing the video stage of CapRL++ and would really appreciate your advice. We reimplemented the recipe in our own RL framework (not verl), following CapRL++/train/scripts/train_caprl.sh and recipe/video_captionrl as closely as we could.

Setup (everything below matches train_caprl.sh unless noted)

Item Value
Policy init internlm/CapRL-Qwen3VL-4B (as a stand-in for the image-stage checkpoint of S2D-Boot)
Data CapRL-Video-QA-20K, no prompt filtering
Judge Qwen3-4B-Instruct-2507, 8 MCQs sampled with replacement, shuffled options + "cannot answer" option, temperature 0.6
Reward R_acc + 0.2·R_format + 0.2·R_len (R_len: 1 up to 2048 tokens, linear to 0 at 3072); truncated captions are still scored
Advantage / loss RLOO (no std normalization), seq-mean-token-mean
Rollout n = 8, temperature 1.0, top_p 1.0, max response 4096, fps 2
Batch 128 prompts × 8 = 1024 rollouts per step, 1 update per step (on-policy)
Optimizer AdamW, lr 1e-5, 20 warmup steps then constant, weight decay 0, grad clip 1.0
KL / entropy none
Vision tower trained
Total steps 468 (3 epochs)

Differences we know of: no dual-clip (but < 0.2% of tokens ever have ratio > 2), SGLang instead of vLLM for rollouts, and a slightly smaller per-frame pixel budget (qwen-vl-utils factor 28 vs 32).

What we observe

image
  • Reward rises from 0.97 to about 1.0 by step 20 (end of warmup).
  • From step ~22, R_acc slowly drops from 0.62 to 0.32 by step 50, and the judge picks "cannot answer" more and more often (0.28 → 0.65).
  • Captions drift into a fixed template: one [00:0x - 00:0y] segment per second, each repeating the same appearance attributes, while the events stop progressing. Example (step-50 checkpoint):
[00:01 - 00:02] The woman in the green dress is holding a dark gray, thick fabric garment and is actively unfolding and examining it, while the woman in the orange jacket is holding her hands together and looking at the other woman.
[00:02 - 00:03] The woman in the green dress is now holding a dark gray, thick fabric garment and is actively unfolding and examining it, while the woman in the orange jacket is holding her hands together and looking at the other woman.
[00:03 - 00:04] The woman in the green dress is holding a dark gray, thick fabric garment and is actively unfolding and examining it, while the woman in the orange jacket is holding her hands together and looking at the other woman.
  • Around step 64–70, captions start looping a few sentences until the 4096-token cap (truncated share 0 → 99.5%) and reward collapses to about 0.2.
  • A second run initialized from Qwen3-VL-4B-Instruct showed the same pattern and collapsed at step ~72. Training itself looks stable (grad norm decreasing, clip fraction < 1%, train/rollout KL < 0.002).

Questions

  1. Did you see a similar R_acc decline or repetitive captions during video RL? Could you share the reward / R_acc / response-length curves for the video stage (similar to Fig. 8)?
  2. How many steps did the released CapRL-Video-4B train, and which checkpoint did you release (final, or selected early)?
  3. Which checkpoint is the image-stage initialization for the video stage? Is it the released CapRL-Qwen3VL-4B?
  4. train_caprl.sh has no KL or entropy term. Did you try KL (CapRL v1 used it for stability) or any repetition penalty / early stopping for the video stage?
  5. Anything else in the setup that you found important for stability?

Thanks a lot!

主要言語
Python
スター
241
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。