CapRL++ video RL: reward peaks around step 20, then captions drift into a repetitive per-second template and collapse at ~step 66
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Python
- Star
- 241
- Fork
- 9
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue tương tự
-
accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
future-agi/future-agi#5908 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Placeholder export disables HTML image input for picture descriptionCó thể đã có người làm @cloudiful đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
docling-project/docling-serve#817 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Techiebutler/freeframe#687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Parse truncated verbose GC logs up to the first XML errorCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug verbose GC
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
IBM/javacore-analyser#677 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 2 ngày