Lazy loaded image10.2 VLM-R1 Reproduction Results

Hardware Information

Component
Specification
CPU
Intel(R) Xeon(R) Gold 5317 CPU @ 3.00GHz
GPU
2 × A6000 (48GB)

Python Library

Task: Referring Expression Comprehension (REC)

Referring expression comprehension involves identifying and locating the target object in an image based on a natural language description. For example, given an input like "the student wearing yellow standing next to the car", the output would be the coordinates of that student in the image.

Script

Difference

  • GPU number
    • Official: 8
    • Ours: 2
  • per_device_train_batch_size
    • Official: 8
    • Ours: 4
  • gradient_accumulation_steps
    • Official: 2
    • Ours: 4
  • Total Batch Size
    • Official: 128
    • Ours: 32

Training Curve in Wandb Logs

notion image
This quite reproduces the official training curve, as shown below.
notion image
You can observe that the loss starts from 0 and gradually converges to 0.01, which is explained in 10.1 Why GRPO training loss starts at 0.

Evaluation (GRPO)

GRPO Performance comparison. Note that the 2500 step of checkpoint is not saved so we do not report it, which might be because of hard disk writing issue.
GRPO Performance comparison. Note that the 2500 step of checkpoint is not saved so we do not report it, which might be because of hard disk writing issue.
The orange lines are the official reported performance, and the blue ones are our reproduction. You can observe with lower batch size, the convergence is slower, but eventually, the model still reaches an even better level of performance on both in-domain and out-of-domain test data.

Evaluation (SFT)

SFT Performance comparison.
SFT Performance comparison.
Still, the orange lines are the official reported accuracies. Our reproduction of SFT shows that the performance of the SFT model on in-domain data will keep increasing and can even compete with the GRPO-trained model. But as the official reported, the performance on out-of-domain data is indeed worse than that of GRPO. This might suggest that the RL (e.g., GRPO) training method has a better performance trade-off between the in-domain and out-of-domain data.
Prev
10.1 Why GRPO training loss starts at 0
Next
10.3 KL(P||Q) or KL(Q||P)?
Loading...
Article List
LLM Learning Roadmap
✨ Awesome-Anything
🖼️ Digital Image Processing
🍃 LLM Components
🌱 LLM Pre-training
☘️ LLM Post-Training
🍀 LLM Popular Models
🪴 LLM Applications
🌿 LLM Optimization
🌾 LLM Compression
🌵 LLM Hands-on Practice
🌴 LLM Must-read Papers
🌳 LLM Q&A
🐝 VLM Image Encoders
📝 MISC.