Reproduce “PORT: Preference Optimization via Robust Token-Level Reweighting” 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

Ding Zhu, Xiukun Wei, Tian Xie, Zhihui Zhu, Xueru Zhang, Mohammad Mahdi Khalili

PORT assigns token-level weights to chosen and rejected responses during preference training. It uses each token’s percentile rank among batch scores to downweight positions where the rejected-token rank exceeds the chosen-token rank. On AlpacaFarm with LLaMA2-7B and 30% flipped labels, PORT reports a Gold Reward Model score of 3.82 versus 3.42 for β-DPO, supporting gains in that experiment, not arbitrary noise.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.