English

Distributionally Robust Token Optimization in RLHF

Machine Learning 2026-05-12 v2 Artificial Intelligence

Abstract

Large Language Models (LLMs) tend to respond correctly to prompts that align well with the data they were trained and fine-tuned on. Yet, small shifts in wording, format, or language can trigger surprisingly large failures, especially on multi-step reasoning problems. To address this problem, we propose a Distributionally Robust Token Optimization (DRTO) approach, which combines token-level Reinforcement Learning from Human Feedback (RLHF) with Distributionally Robust Optimization (DRO). DRTO constructs f-divergence ambiguity sets over span-level actor losses, providing a principled way to emphasize difficult response segments during policy optimization. Empirically, DRTO enhances consistency under distribution shifts in multiple reasoning benchmarks among different tasks, achieving +4.4+4.4 percentage points on MATH-500 and +2.7+2.7 percentage points on LiveCodeBench over standard RTO.

Keywords

Cite

@article{arxiv.2604.08577,
  title  = {Distributionally Robust Token Optimization in RLHF},
  author = {Yeping Jin and Jiaming Hu and Ioannis Ch. Paschalidis},
  journal= {arXiv preprint arXiv:2604.08577},
  year   = {2026}
}
R2 v1 2026-07-01T12:01:46.225Z