Kalman Meets Curriculum: Efficient Dynamic Prompt Selection for Adaptive RL Finetuning

📅 2026-07-29
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of dynamic prompt selection in reinforcement learning fine-tuning of large language models by formulating prompt difficulty as a non-stationary state estimation problem. It introduces, for the first time, a Kalman filter to track the latent success probability of each prompt in logit space, adaptively adjusting uncertainty based on the magnitude of policy updates. This enables efficient online curriculum learning without incurring additional inference overhead. By integrating a linear Gaussian state-space model with posterior expected utility optimization, the method achieves substantial improvements over existing approaches across multiple benchmarks in mathematical reasoning, planning, and geometric tasks—reducing rollout counts by 83% on DeepSeek-R1-Distill-7B while yielding an average performance gain of 0.12 points.
📝 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. This is challenging because prompt difficulty evolves throughout training. Existing online methods therefore face a trade-off: evaluation-based approaches are accurate but expensive, while prediction-based approaches are efficient but typically assume stationary difficulty, making them ill-suited to RL's non-stationary training dynamics. To address these issues, we propose a Kalman-Guided Prompt Selection method (KGPS), which reformulates prompt selection as a dynamic state estimation problem rather than static difficulty prediction. KGPS models each prompt's latent success rate in logit space using a linear-Gaussian state-space model, with process noise coupled to the magnitude of policy updates so that uncertainty increases when the policy changes more substantially. A Kalman filter then maintains a calibrated Gaussian posterior over prompt difficulty, and prompts are selected by maximizing a posterior-expected training utility that favors intermediate-difficulty prompts while naturally revisiting uncertain ones. The resulting procedure is adaptive to policy drift and requires no additional rollouts beyond standard policy training. Extensive experiments across mathematics, planning, and geometry reasoning benchmarks, as well as multiple RL algorithms, show that KGPS consistently improves both final accuracy and rollout efficiency over strong baselines, establishing state-of-the-art performance among online prompt selection methods. For example, on DeepSeek-R1-Distill-7B, KGPS uses 83% fewer rollouts than DS while even improving the average performance by 0.12 point across six math reasoning benchmarks.
Problem

Research questions and friction points this paper is trying to address.

prompt selection
reinforcement learning finetuning
non-stationary difficulty
adaptive training
large language models
Innovation

Methods, ideas, or system contributions that make the work stand out.

Kalman filter
dynamic prompt selection
reinforcement learning fine-tuning
non-stationary difficulty
state estimation
🔎 Similar Papers
No similar papers found.