Kalman-Guided Prompt Selection Boosts RL Finetuning for LLMs

Haodong Zhu, Yangyang Ren, Yanjing Li, Sheng Xu, Haiguang Liu, Linlin Yang, Baochang Zhang· July 31, 2026 View original

Key takeaways

  • Prompt selection is crucial but challenging for RL finetuning of LLMs.
  • KGPS uses a Kalman filter to dynamically estimate and select optimal prompts.
  • The method adapts to non-stationary RL training dynamics, improving efficiency.
  • KGPS significantly reduces rollouts and boosts accuracy across reasoning benchmarks.

Who benefits

AI DevelopmentEdTechSoftware DevelopmentResearch & Development

Summary

Researchers introduce Kalman-Guided Prompt Selection (KGPS), a method that uses a Kalman filter to dynamically estimate prompt difficulty and select optimal prompts for reinforcement learning (RL) finetuning of large language models (LLMs). KGPS significantly improves both final accuracy and rollout efficiency by adapting to the non-stationary nature of RL training.

This paper addresses a critical challenge in finetuning large language models (LLMs) using reinforcement learning (RL): the effective selection of prompts. The success of RL finetuning heavily relies on presenting prompts of appropriate difficulty, which constantly changes as the policy evolves during training. Existing online methods struggle with this, either being accurate but computationally expensive or efficient but assuming static difficulty. The proposed solution, Kalman-Guided Prompt Selection (KGPS), reframes prompt selection as a dynamic state estimation problem. KGPS models each prompt's latent success rate using a linear-Gaussian state-space model, where uncertainty increases with policy updates. A Kalman filter then maintains a calibrated posterior over prompt difficulty, enabling the selection of intermediate-difficulty prompts while naturally revisiting uncertain ones. KGPS is adaptive to policy drift and requires no additional rollouts beyond standard policy training. Extensive experiments across various reasoning benchmarks (mathematics, planning, geometry) and RL algorithms demonstrate that KGPS consistently outperforms strong baselines in both final accuracy and rollout efficiency. For instance, it achieved an 83% reduction in rollouts for DeepSeek-R1-Distill-7B while improving average performance.

Why it matters

KGPS offers a more efficient and effective way to finetune LLMs with RL, reducing computational costs and accelerating the development of more capable reasoning models, especially in complex domains.

How to implement this in your domain

  1. 1Integrate KGPS into existing RL finetuning pipelines for LLMs to optimize prompt selection.
  2. 2Evaluate the efficiency gains and performance improvements of KGPS on specific LLM reasoning tasks.
  3. 3Adapt the KGPS methodology for other curriculum learning scenarios in AI training.
  4. 4Develop tools to visualize and monitor prompt difficulty and policy evolution during RL finetuning.

Original post by Haodong Zhu, Yangyang Ren, Yanjing Li, Sheng Xu, Haiguang Liu, Linlin Yang, Baochang Zhang

"arXiv:2607.27610v1 Announce Type: new Abstract: Reinforcement learning (RL) finetuning significantly enhances the reasoning capabilities of large language models (LLMs), yet its effectiveness critically depends on selecting prompts of appropriate difficulty for the current policy…"

View on X

Originally posted by Haodong Zhu, Yangyang Ren, Yanjing Li, Sheng Xu, Haiguang Liu, Linlin Yang, Baochang Zhang on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses