Reproduce “Beyond Imitation: Recovering Dense Rewards from Demonstrations” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jiangnan Li, Thuy-Trang Vu, Ehsan Abbasnejad, Gholamreza Haffari
This research reinterprets Supervised Fine-Tuning (SFT) for Large Language Models as implicitly learning a dense, token-level reward function, rather than merely imitating expert behavior. The proposed Dense-Path REINFORCE (DPR) method leverages these recovered rewards to consistently improve LLM performance across various benchmarks, operating solely on demonstration data without needing explicit preference labels.
Key insights
- SFT implicitly learns a dense, token-level reward model that rationalizes expert behavior, rather than just imitating actions.
- The error in the implicitly learned reward function is bounded by the policy's occupancy error, indicating stable reward estimation near optimal policies.
- The SFT log-probabilities can be directly used as shaped token rewards, and a baseline-relative reward effectively cancels length bias and stabilizes policy updates.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.