Owen-Shapley Policy Optimization (OSPO): A Principled RL Algorithm for Generative Search LLMs
Abhijnan Nath, Alireza Bagheri Garakani, Tianchen Zhou, Fan Yang, Nikhil Krishnaswamy
TL;DR
OSPO reframes credit assignment for generative search LLMs by distributing sequence-level rewards to semantically coherent token segments using Owen-Shapley values. By restricting coalitions to contiguous segments and mapping segment attributions to token-level advantages, OSPO achieves fine-grained credit without external value models and stabilizes training via potential-based reward shaping. Empirical results on ESCI and H&M show OSPO, particularly in its proportional form, delivering superior or competitive performance compared with online and offline baselines, while generalizing across retrievers and showing robustness to distribution shifts. The work highlights coalition structure as a key hyperparameter, with moderate-width, contiguous coalitions and sufficient sampling delivering the best generalization. Overall, OSPO offers a principled, efficient pathway to more interpretable and transferable RL-based optimization for retrieval-aligned generation in LLMs, with clear avenues for extension to multi-turn and multimodal settings.
Abstract
Large language models are increasingly trained via reinforcement learning for personalized recommendation tasks, but standard methods like GRPO rely on sparse, sequence-level rewards that create a credit assignment gap, obscuring which tokens drive success. This gap is especially problematic when models must infer latent user intent from under-specified language without ground truth labels, a reasoning pattern rarely seen during pretraining. We introduce Owen-Shapley Policy Optimization (OSPO), a framework that redistributes sequence-level advantages based on tokens' marginal contributions to outcomes. Unlike value-model-based methods requiring additional computation, OSPO employs potential-based reward shaping via Shapley-Owen attributions to assign segment-level credit while preserving the optimal policy, learning directly from task feedback without parametric value models. By forming coalitions of semantically coherent units (phrases describing product attributes or sentences capturing preferences), OSPO identifies which response parts drive performance. Experiments on Amazon ESCI and H&M Fashion datasets show consistent gains over baselines, with notable test-time robustness to out-of-distribution retrievers unseen during training.
