Token-level Proximal Policy Optimization for Query Generation
Yichen Ouyang, Lu Wang, Fangkai Yang, Pu Zhao, Chenghua Huang, Jianfeng Liu, Bochen Pang, Yaming Yang, Yuefeng Zhan, Hao Sun, Qingwei Lin, Saravan Rajmohan
Abstract
Query generation is a critical task for web search engines (e.g. Google, Bing) and recommendation systems. Recently, state-of-the-art query generation methods leverage Large Language Models (LLMs) for their strong capabilities in context understanding and text generation. However, they still face challenges in generating high-quality queries in terms of inferring user intent based on their web search interaction history. In this paper, we propose Tokenlevel Proximal Policy Optimization (TPPO), a noval approach designed to empower LLMs perform better in query generation through finetuning. TPPO is based on the Reinforcement Learning from AI Feedback (RLAIF) paradigm, consisting of a token-level reward model and a token-level proximal policy optimization module to address the sparse reward challenge in traditional RLAIF frameworks. We conducted experiments on both open-source dataset and an industrial dataset that was collected from a globally-used search engine, demonstrating that TPPO significantly improves the performance of query generation for LLMs and outperforms its existing competitors. The code for TPPO is available at https://anonymous. 4open.science/r/TPPO-D6C6 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Token-level Direct Preference Optimization cites Fine-Grained Human Feedback Gives Better Rewards for Language Model Training
- Risk-aware Direct Preference Optimization under Nested Risk Measure cites Fine-Grained Human Feedback Gives Better Rewards for Language Model Training
- Risk-aware Direct Preference Optimization under Nested Risk Measure cites Token-level Direct Preference Optimization
- TGDPO: Harnessing Token-Level Reward Guidance for Enhancing Direct Preference Optimization cites Fine-Grained Human Feedback Gives Better Rewards for Language Model Training
- TGDPO: Harnessing Token-Level Reward Guidance for Enhancing Direct Preference Optimization cites Token-level Direct Preference Optimization
- Language Models as Implicit Tree Search cites Understanding the Effects of RLHF on LLM Generalisation and Diversity
- Language Models as Implicit Tree Search cites Token-level Direct Preference Optimization
Cited by top-tier papers3
- Risk-aware Direct Preference Optimization under Nested Risk MeasureLijun Zhang, Lin Li, Yajie Qi, Huizhong Song et al.NeurIPS 2025 · 3 citations
- TGDPO: Harnessing Token-Level Reward Guidance for Enhancing Direct Preference OptimizationMingkang Zhu, Xi Chen, Zhongdao Wang, Bei Yu et al.ICML 2025
- Language Models as Implicit Tree SearchZiliang Chen, Zhao-Rong Lai, Yufeng Yang, Liangda Fang et al.ICML 2025
Builds on8
- Fine-Grained Human Feedback Gives Better Rewards for Language Model TrainingZeqiu Wu, Yushi Hu, Weijia Shi, Nouha Dziri et al.NeurIPS 2023 · 516 citations
- Understanding the Effects of RLHF on LLM Generalisation and DiversityRobert Kirk, Ishita Mediratta, Christoforos Nalmpantis, Jelena Luketina et al.ICLR 2024 · 332 citations
- Token-level Direct Preference OptimizationYongcheng Zeng, Guoqing Liu, Weiyu Ma, Ning Yang et al.ICML 2024 · 136 citations
- Learning to summarize with human feedbackNisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel M. Ziegler et al.NeurIPS 2020 · 124 citations
- Can Small Language Models be Good Reasoners for Sequential Recommendation?Yuling Wang, Changxin Tian, Binbin Hu, Yanhua Yu et al.WWW 2024 · 69 citations
Related papers
- Improving the Language Understanding Capabilities of Large Language Models Using Reinforcement LearningSai Ashish Somayajula, Bokai Hu, Qi Cao, Xin Pan et al.EMNLP Findings 2025 · 1 citation
- DPO Meets PPO: Reinforced Token Optimization for RLHFHan Zhong, Zikang Shan, Guhao Feng, Wei Xiong et al.ICML 2025
- StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy OptimizationXuhui Zheng, Kang An, Ziliang Wang, Yuhang Wang et al.EMNLP 2025 · 41 citations
- SeRTS: Self-Rewarding Tree Search for Biomedical Retrieval-Augmented GenerationMinda Hu, Licheng Zong, Hongru Wang, Jingyan Zhou et al.EMNLP Findings 2024 · 6 citations
- Inverse-Q*: Token Level Reinforcement Learning for Aligning Large Language Models Without Preference DataHan Xia, Songyang Gao, Qiming Ge, Zhiheng Xi et al.EMNLP Findings 2024
