Efficient Hyperparameter Optimization for LLM Reinforcement Learning

Minping Chen, Bowen Xiao, Du Liang, Chuxuan Zeng, Zeyi WenarXiv 2026

TL;DR

Reinforcement learning for LLMs is notoriously sensitive to hyperparameter tuning, yet standard optimization methods are computationally prohibitive for multi-billion parameter models. This paper introduces Joint Fidelity Hyperparameter Optimization (JF-HPO), a framework that slashes tuning time by up to 14.9× by simultaneously scaling down model size (using tiny proxy models) and training budgets. The resulting tuned configurations yield massive performance boosts—up to 111.6% over standard baseline recipes.

What Problem Does This Paper Address?

Reinforcement Learning from Human Feedback (RLHF) and Reinforcement Learning with Verifiable Reward (RLVR) are crucial for unlocking advanced reasoning capabilities in modern LLMs (like OpenAI's o1 or DeepSeek-R1). However, RL training is incredibly finicky; tiny variations in the learning rate, clipping ratios, or KL divergence coefficients can completely destabilize training or tank final performance.

Finding the right hyperparameters requires Hyperparameter Optimization (HPO), which involves training the model repeatedly under different configurations. For large language models, this is practically impossible due to the massive compute and time required. Existing "multi-fidelity" methods try to save time by stopping bad runs early (allocating less training budget), but even a few steps on a giant model are too expensive.

Methods

The authors propose Joint Fidelity Hyperparameter Optimization (JF-HPO). Instead of just treating the training budget (number of steps) as the variable "fidelity" dimension, JF-HPO introduces a second dimension: model size.

Figure 2: Overview of our joint fidelity hyperparameter optimization (JF-HPO) method.

The framework is built on three core pillars:

  1. Proxy Models: It uses a tiny model from the same architecture family (e.g., a 0.5B or 1B parameter model) as a proxy to evaluate hyperparameter configurations for the target large model (e.g., 7B or 8B).
  2. Dynamics-Aware Early Stopping: Trials are terminated immediately if training dynamics look bad—specifically if the KL divergence spikes too quickly (indicating the model is drifting wildly from its reference policy) or if the training reward plummets or stalls at zero.
  3. Efficient Checkpointing: A registry tracks partial runs so that if a configuration successfully survives a low-fidelity round and is selected to move to a higher budget, it resumes from a saved checkpoint rather than training from scratch.

These components are orchestrated via a Bayesian Optimization loop using a Gaussian Process surrogate to predict performance across the joint model-size and step-budget space.

Datasets

The framework was evaluated across four diverse reasoning and knowledge benchmarks:

  • GSM8K: Grade-school math word problems requiring multi-step reasoning.
  • MATH: Challenging competition-level mathematics problems.
  • OpenBookQA: Question-answering requiring multi-step reasoning and commonsense knowledge.
  • MMLU: A massive multitask benchmark covering multiple-choice questions across various domains.

To test generalization, the authors also conducted Out-of-Distribution (OOD) evaluations using the AMC 2023 and AIME 2025 mathematics competition datasets.

Key Insights and Ideas

  • Hyperparameter Transferability is Real: The most critical insight is that hyperparameter performance rankings correlate strongly between a 0.5B proxy model and a 7B target model (achieving a Spearman rank correlation of 0.90). This validates the core premise that tiny models can act as effective stand-ins for giant ones during search.
  • Harder Tasks are More Sensitive: When breaking down the MATH dataset by difficulty, the performance gap between standard recipes and optimized hyperparameters widened dramatically on harder problems. For Level 5 (the hardest), JF-HPO saw an 18.7% absolute gain over the baseline, proving that proper tuning matters most when the task is difficult.
  • Learning Rate Dominates: The learning rate is by far the most influential hyperparameter. Interestingly, larger learning rates perform significantly better when paired with a cosine scheduler rather than a constant scheduler, as it allows the model to make refined adjustments near convergence without overshooting.

Key Results

  • Massive Speedups: JF-HPO achieved a 14.9× speedup per trial on Qwen-2.5 7B and a 9.1× speedup on LLaMA-3.1 8B compared to standard random search.
  • Beating the Standard Recipes: Compared to the recommended configurations from the popular VeRL Recipe, JF-HPO improved performance across the board, including a staggering +111.6% relative improvement on the MATH dataset for LLaMA-3.1 8B.
Figure 1: Performance improvements of our JF-HPO method across various tasks.
  • Resource Efficiency: Under the exact same 48-hour time budget, JF-HPO consistently identified superior configurations compared to standard HPO baselines like BOHB and Random Search because it could explore significantly more configurations.

Limitations and Future Work

  • Architectural Consistency: The method assumes the proxy and target models share the same architecture family. It remains unexplored whether this correlation holds up across major structural shifts, such as using a dense proxy model to optimize a sparse Mixture-of-Experts (MoE) target model.
  • Objective vs. Subjective Tasks: The evaluation focused heavily on hard reasoning benchmarks with clear, verifiable reward signals (math, multiple choice). Its effectiveness on open-ended, subjective tasks like creative writing remains untested.
  • Future Scaling: The authors plan to extend this framework to even larger scales (e.g., 70B models) and explore tighter theoretical bounds on proxy-to-target correlation.

Summary updated

BibTeX
@misc{chen2026efficient,
  author = {Minping Chen and Bowen Xiao and Du Liang and Chuxuan Zeng and Zeyi Wen},
  title = {{Efficient Hyperparameter Optimization for LLM Reinforcement Learning}},
  year = {2026},
  eprint = {2606.03073},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.03073},
}
Figure