Know When to Explore: Difficulty-Aware Certainty as a Guide for LLM Reinforcement Learning

Ang Li, Zhihang Yuan, Yang Zhang, Shouda Liu, Yisen WangarXiv 2025 · DOI

Introduction

Reinforcement Learning (RL) has become a cornerstone for training Large Language Models (LLMs) in complex reasoning tasks. Current state-of-the-art models often employ Reinforcement Learning with Verifiable Feedback (RLVF), where a rule-based verifier provides a binary reward based on the correctness of the final answer. However, this "pass/fail" signal is inherently sparse and blunt. It fails to distinguish between a rigorous, elegant proof and a lucky guess, and it provides no guidance on how to avoid specific logical errors. While process-based rewards offer more granularity, they are difficult to scale due to the high cost of human or AI-assisted labeling.

The DACE Framework

To address these limitations, we introduce Difficulty-Aware Certainty-guided Exploration (DACE). DACE leverages the model's intrinsic self-certainty—defined as the negative average log-probability of generated tokens—to dynamically balance exploration and exploitation based on the real-time difficulty of the task.

The DACE algorithm operates through two primary mechanisms:

  1. Online Difficulty Estimation: During training, the system calculates a real-time failure rate for each problem based on the current batch of samples.
  2. Adaptive Certainty Guidance:
    • Hard Tasks: When the model frequently fails a problem, DACE penalizes high certainty. This encourages the model to increase its entropy, exploring diverse reasoning paths to find a correct solution.
  3. Easy Tasks: Once the model masters a problem, DACE rewards high certainty. This pushes the model to converge on the most direct and efficient reasoning chains, pruning away redundant or rambling steps.
Figure 1: DACE adapts its preference based on task difficulty. For hard problems (left), it favors exploratory reasoning even if incorrect. For easy problems (right), it rewards concise, high-certainty solutions.

DACE is integrated into the Group-wise Rejection Policy Optimization (GRPO) framework, ensuring computational efficiency by reusing samples for both RL updates and difficulty estimation.

Training and Evaluation

The models were trained on a de-duplicated mixture of the DAPO and MATH datasets. Performance was evaluated across several rigorous mathematical benchmarks, including AIME 24, AIME 25, AMC23, and MATH-500.

Key Insights and Results

DACE consistently outperforms standard GRPO baselines and other advanced exploration techniques.

Accuracy and Scaling

DACE achieved absolute accuracy improvements of +2.9 points on AIME24 and +1.3 points on AIME25. Notably, the performance gap widens with increased test-time compute. At pass@128 on AIME25, DACE maintained a +3.3 point lead over the baseline, indicating that the model learns a more robust and diverse set of solution strategies.

Policy Dynamics

Analysis of the training process reveals that DACE-trained models undergo a "discovery phase" mid-training, characterized by a spike in entropy and a drop in certainty. This suggests the model is actively exploring the solution space before settling on optimal paths.

Figure 2: Distribution of action values under different reward shapes. In difficult tasks (a), the policy spreads to explore; in easy tasks (b), it narrows to exploit high-reward regions.

Efficiency on Simple Tasks

On easier benchmarks like MATH-500, DACE maintains performance parity with baselines. This demonstrates that its adaptive mechanism does not introduce overhead or degradation when intensive exploration is unnecessary.

Conclusion and Future Work

DACE provides a scalable, intrinsic method for guiding LLM exploration without the need for expensive process-based feedback. By recognizing that "exploration isn't always a virtue," DACE allows models to discover robust solutions for hard problems while refining their reasoning for easier ones.

Future research will focus on moving beyond fixed difficulty thresholds toward curriculum-based learning and investigating the generalization of certainty-guided exploration to non-verifiable domains like creative writing or open-ended software engineering.

Summary updated

BibTeX
@misc{li2025know,
  author = {Ang Li and Zhihang Yuan and Yang Zhang and Shouda Liu and Yisen Wang},
  title = {{Know When to Explore: Difficulty-Aware Certainty as a Guide for LLM Reinforcement Learning}},
  year = {2025},
  eprint = {2509.00125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.00125},
}
Figure