Skip to content

RLOO (REINFORCE Leave-One-Out)

In one sentence: TODO — back to REINFORCE: sample k responses per prompt and use "the average reward of the other k1" as each response's baseline; unbiased and critic-free.

Paper: Back to Basics: Revisiting REINFORCE-Style Optimization for RLHF (2024) · Prerequisites: PPO, GRPO

Status

🚧 This page is a placeholder outline; the full text has not been written yet.

1. Intuition and Motivation

TODO:

  • [ ] In LLM-RLHF the initial policy is already strong; many PPO mechanisms (clip, GAE, critic) may be unnecessary complexity
  • [ ] The leave-one-out baseline: unbiased variance reduction

2. Method and Formulas

θJ=1ki=1k(r(x,yi)1k1jir(x,yj))θlogπθ(yi|x)

TODO:

  • [ ] Treating the whole response as a single action (sequence-level, no token-level credit assignment)
  • [ ] Differences from GRPO: the baseline is the leave-one-out mean rather than the full-group mean/std; usually single-step on-policy updates without clipping

3. Comparison with Baselines

DimensionPPOGRPORLOO
CriticRequiredNot requiredNot required
BaselineValue networkGroup mean (incl. self) / stdLeave-one-out mean
Unbiasednessstd scaling is biasedUnbiased
Clip / off-policyYesYesUsually none

4. Implementation Notes and Pseudocode

python
# TODO: RLOO gradient-estimation pseudocode

5. Experiments and Tuning Experience

TODO: choosing k (2~8); measured quality/cost comparison with PPO.

6. References

  • [ ] Ahmadian et al., 2024. Back to Basics. arXiv:2402.14740