Efficient Reinforcement Learning with Semantic and Token Entropy for LLM Reasoning

Hongye Cao, Zhixin Bai, Ziyue Peng, Boyan Wang, Tianpei Yang, Jing Huo, Yuyao Zhang, Yang GaoarXiv 2025 · DOI

Introduction

Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a powerful paradigm for enhancing the reasoning capabilities of Large Language Models (LLMs) in domains like mathematics and programming. However, this approach often suffers from "entropy collapse," where the model's probability distribution becomes excessively narrow. As the model identifies a single successful path to a correct answer, it stops exploring alternative reasoning chains, leading to local optima and a lack of creative problem-solving.

This paper introduces SENT (Semantic ENtropy with Token-level entropy optimization), a framework designed to maintain healthy exploration throughout the RL process. SENT addresses entropy collapse through a dual-pronged strategy: a data-level curriculum based on semantic entropy and an algorithmic-level token-selective regularization.

Methodology: The SENT Framework

The SENT framework optimizes the training process by focusing on both the selection of training data and the granularity of the optimization objective.

1. Semantic Entropy-Guided Curriculum

Rather than training on a static dataset, SENT employs curriculum learning. The difficulty of a problem is quantified using Semantic Entropy (SE). By generating multiple rollouts for a single question and clustering them based on semantic meaning (e.g., final numerical answers), the model identifies high-SE problems as those where it produces diverse, potentially conflicting results. Training begins with low-SE (easier) problems to establish a stable baseline before progressing to high-SE (harder) ones, preventing the model from being overwhelmed early in the training cycle.

2. Token-Selective KL Regularization

Standard RL methods often apply uniform regularization across all generated tokens. SENT identifies that entropy collapse is most prevalent in "low-entropy" tokens—points where the model is highly confident but potentially rigid. Within these tokens, SENT targets "high-covariance" segments where internal state changes significantly impact output diversity. By applying a surgical Kullback–Leibler (KL) divergence penalty to these specific tokens, SENT forces the model to retain its exploratory distribution at critical decision points without introducing noise into linguistically trivial tokens.

The SENT framework: (a) Curriculum learning via semantic entropy and (b) Token-level optimization targeting low-entropy, high-covariance tokens.

Experimental Setup

The authors evaluated SENT using models ranging from 1.5B to 14B parameters, trained on the DAPO-MATH-17K dataset. Performance was benchmarked across several rigorous mathematical datasets, including AIME 2024 & 2025, AMC 2023, MATH500, OlympiadBench, and Minerva. To assess cross-domain generalization, the models were also tested on LiveCodeBench for programming tasks.

Key Results and Discussion

SENT demonstrated superior performance across nearly all benchmarks and model sizes. Notably, on the AIME24 Pass@32 metric, SENT outperformed the baseline Group Relative Policy Optimization (GRPO) by significant margins, often exceeding 20 percentage points.

Performance comparison of SENT against various baselines across multiple mathematical reasoning benchmarks.

Beyond raw accuracy, SENT-trained models exhibited distinct qualitative improvements:

  • Reasoning Depth: SENT models generated responses that were approximately 1,000 tokens longer than baselines. This increased length was not redundant; it correlated with higher accuracy, suggesting the models were engaging in more thorough "thinking" and self-correction.
  • Exploratory Language: Qualitative analysis showed an increase in reflective markers such as "maybe" or "rewriting," indicating a more non-linear and robust reasoning process compared to the "straight-line" logic of standard GRPO models.
  • Generalization: Despite being trained on math, SENT improved coding performance on LiveCodeBench by approximately 2.5 points, suggesting that the entropy-aware training fosters generalizable reasoning skills.

Conclusion

The SENT framework effectively mitigates entropy collapse in LLM reasoning by combining macro-level curriculum design with micro-level token optimization. By ensuring that models remain "uncertain" at the right times and on the right tokens, SENT enables more robust, creative, and accurate reasoning. Future research may extend this approach to even finer granularities, such as step-level entropy, to further refine the training of next-generation reasoning models.

Summary updated

BibTeX
@misc{cao2025efficient,
  author = {Hongye Cao and Zhixin Bai and Ziyue Peng and Boyan Wang and Tianpei Yang and Jing Huo and Yuyao Zhang and Yang Gao},
  title = {{Efficient Reinforcement Learning with Semantic and Token Entropy for LLM Reasoning}},
  year = {2025},
  eprint = {2512.04359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.04359},
}
Figure