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

Aperta
#21 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Python
Stelle
241
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.