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

Offen
#21 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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!

Vorherrschende Sprache
Python
Sterne
241
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.