CapRL++ video RL: reward peaks around step 20, then captions drift into a repetitive per-second template and collapse at ~step 66
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
- Bereich
- machine-learning
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
- 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
- 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)?
- How many steps did the released CapRL-Video-4B train, and which checkpoint did you release (final, or selected early)?
- Which checkpoint is the image-stage initialization for the video stage? Is it the released CapRL-Qwen3VL-4B?
train_caprl.shhas 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?- 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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Ähnliche Issues
-
accepted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
future-agi/future-agi#5908 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Placeholder export disables HTML image input for picture descriptionEvtl. vergeben @cloudiful hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
docling-project/docling-serve#817 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
Techiebutler/freeframe#687 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Parse truncated verbose GC logs up to the first XML errorEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug verbose GC
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
IBM/javacore-analyser#677 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
Maintainer antworten meist innerhalb von 2 Tagen