Principled Top-k Selection for Language Models with Hybrid Gradients
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
Selecting the best k items out of m candidates is a critical component of modern large language model systems, such as document selection in Retrieval-Augmented Generation (RAG) and expert routing in Mixture-of-Experts (MoEs). However, training these selection modules remains challenging due to weak gradient signals and suboptimal exploration-exploitation tradeoffs. Furthermore, prior works often rely on heuristics, lacking principled objectives and approaches that explicitly model and solve the top-k selection problem. In this work, we propose a principled objective for training selection modules, whose gradient naturally provides richer training signals in a hybrid form---containing a supervised-gradient component and a policy-gradient component. We show that the selection problem becomes harder as m increases, and our algorithm converges at rate O(1/√T), with the optimal upper bound achieved by balancing between bias and variance. Practically, we apply our method to a set of tasks involving top-k selection, including synthetic regression problems, RAG, and MoE systems, showing that our method outperforms the baselines in next-token prediction perplexity and QA accuracy.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. First posted on arXiv 3 Oct 2026.
Builds on
No reference list yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Direct Retrieval-augmented Optimization: Synergizing Knowledge Selection and Language Models
- 2025Training Matryoshka Mixture-of-Experts for Elastic Inference-Time Expert Utilization
- 2025Route Experts by Sequence, not by Token
- 2024GRIN: GRadient-INformed MoE
- 2026Training Dense Retrievers with Multiple Positive Passages
- 2024A Closer Look into Mixture-of-Experts in Large Language Models
- 2025Majority of the Bests: Improving Best-of-N via Bootstrapping
- 2025Advancing Expert Specialization for Better MoE