Scaling Reward Fine-Tuning Across Depths in Looped Models
Boshi Zhang · SiYuan Ma · Yudong Gao · Yutian Zhang
Fenghua Zhang · Xiaojin Huang · Runhan Huang
Paper ↗ · Project page ↗ · Two-minute film ↗
If a model uses four passes at inference, how many does it need during training? In a looped model, every pass uses the same weights. We fine-tune those weights using the reward from a shorter rollout, then give the model its usual number of passes at inference.
The prompt in the figure asks for four dogs. At four inference passes, the model trained at full depth draws five dogs. The model trained at one pass draws four. Across GenEval, the same comparison gives 81.0 for Full and 83.6 for Shallow on Looped-DiT B/16, with both models given the same training time.
How shallow should you go? On Ouro, one pass often produces answers that earn no reward. Two passes give the verifier more correct answers to work with. When we evaluate all three checkpoints at four passes, two-pass training leads on the seven-task mean, ahead of both one-pass and full-depth training.
Start from a clone of this repository. Each guide lists the model weights, runtime and data it uses.
git clone https://github.com/DocZbs/ShallowTraining.git
cd ShallowTraining| Experiment | What you can try | Run guide |
|---|---|---|
| Looped-DiT B/16 and B/32 | Train with GenEval rewards, then vary inference depth or choose which passes use the trained weights. | Image generation |
| Ouro and Dory | Train with GRPO and evaluate the same checkpoint across recurrent depths. | Language reasoning |
| Huginn and SenseNova-Loop | Fit a recurrent-block LoRA adapter and evaluate it on reasoning or visual question answering tasks. | Adapter training |
| LoopVL | Train on ChartQA with the original H800 configurations, then evaluate both adapters on ChartQA and AI2D at H2L3. | Vision–language training |
Which pass benefits from what the model learned? After the Looped-DiT setup and training run, generate a four-pass sample bank with pretrained weights on the first two passes and shallow-trained weights on the last two. Set GENEVAL_METADATA to the path of the official held-out GenEval prompt file.
python -m shallow_training.image.generate \
--backbone assets/b16/looped-dit-b16.pt \
--text-encoder assets/flan-t5-large \
--checkpoint runs/shallow/checkpoint_00400.pt \
--prompts "${GENEVAL_METADATA}" --loops 4 --pattern BBTT \
--out runs/eval-bbttIn BBTT, B selects the base weights and T selects the trained weights. To compare early and late reuse, repeat with TTBB and a fresh output directory. Both runs use the same seeds and apply the trained weights exactly twice. The evaluation guide shows how to score the images.
@misc{zhang2026shallow,
title = {{Shallow Training, Deep Gains: Scaling Reward Fine-Tuning Across Depths in Looped Models}},
author = {Zhang, Boshi and Ma, SiYuan and Gao, Yudong and Zhang, Yutian and Zhang, Fenghua and Huang, Xiaojin and Huang, Runhan},
year = {2026}
}