English

GIFT: Group-Relative Implicit Fine-Tuning Integrates GRPO with DPO and UNA

Machine Learning 2026-05-15 v5 Computation and Language

Abstract

This paper investigates whether reward matching is a viable alternative to reward maximization methods for on-policy RL of LLMs. Group-relative Implicit Fine-Tuning (GIFT) is proposed, combining GRPO-style group sampling, DPO-style implicit reward, and UNA-style MSE between implicit and explicit advantages. By applying z-score standardization, the intractable partition function Z(x)Z(x) in the DPO implicit reward is canceled, and the KL coefficient β\beta is eliminated from the RLHF and RLVR objective. The population minimizers of LGIFT\mathcal{L}_{\text{GIFT}} are characterized in closed form: they coincide exactly with the GRPO/RLHF solution family πβ(yx)πref(yx)e1βrϕ(x,y)\pi^{*}_{\beta}(y|x)\propto\pi_{\text{ref}}(y|x)e^{\frac{1}{\beta}r_{\phi}(x,y)}, with a prompt-dependent, variance-determined KL coefficient β(x)=σϕ(x)σ^θ(x)\beta(x)=\frac{\sigma_\phi(x)}{\hat{\sigma}_\theta(x)}. GIFT therefore solves the same parametric policy family as GRPO while replacing GRPO's externally tuned scalar β\beta with a prompt-adaptive β(x)\beta(x) optimized endogenously by matching reward distributions. Empirically, on 7B-32B backbones, GIFT converges faster than GRPO, DAPO and GSPO and overfits less on RLVR (GSM8K, MATH, AIME) and produces higher length-controlled win rates on RLHF (AlpacaEval, Arena-Hard). All proofs and detailed background are deferred to the appendix.

Keywords

Cite

@article{arxiv.2510.23868,
  title  = {GIFT: Group-Relative Implicit Fine-Tuning Integrates GRPO with DPO and UNA},
  author = {Zhichao Wang},
  journal= {arXiv preprint arXiv:2510.23868},
  year   = {2026}
}