πŸš€ Explore Briefly, Then Decide: Mitigating LLM Overthinking via Cumulative Entropy Regulation

March 21, 2026 Β· View on GitHub


πŸ“„ Paper | πŸ€– Model | πŸ“Š Dataset

🌟 Introduction

Welcome to the official repository for Explore Briefly, Then Decide: Mitigating LLM Overthinking via Cumulative Entropy Regulation.

Our work investigates overthinking in Large Language Models (LLMs) from an entropy perspective.
We define the Token Entropy Cumulative Average (TECA) as the moving cumulative average of token entropy.
Based on this, we propose a new reasoning paradigm: "Explore Briefly, Then Decide".

We argue that overthinking often arises from uncertainty during exploration. Instead, models should explore briefly and then commit to an answer. By incorporating the final TECA value into reinforcement learning rewards, we train models that effectively reduce overthinking. Detailed analysis and results can be found in our paper.

Figure0

We open-source our models, datasets, and code here for the community. πŸŽ‰


βš™οΈ Environment

We mainly used the VERL training framework. Please follow the official installation guide. A simplified setup is shown below:

conda create --name CER python=3.10
conda activate CER

# only supports running with FSDP
USE_MEGATRON=0 bash scripts/install_vllm_sglang_mcore.sh

# install verl
cd verl
pip install --no-deps -e .

🧩 Models

We trained Qwen3-4B and Qwen3-8B models on the GSM8K training set. Open-source checkpoints are available on Hugging Face and ModelScope:

Model NameBase LLMHF LinkModelscope Link
Qwen3-4B-CERQwen3-4Blinklink
Qwen3-8B-CERQwen3-8Blinklink

πŸ“š Dataset

We used the GSM8K training set for model training and other datasets for evaluation.

DatasetHF LinkModelscope Link
GSM8Klinklink
MATH500linklink
AIME24linklink
AIME25linklink

πŸ‹οΈ Training

πŸ”‘ Getting Started

Fill in the hyperparameters, model paths, checkpoint locations, and dataset paths in the shell script, then run:

cd verl
bash examples/grpo_trainer/run_gsm8k_lora.sh

πŸ”§ Our Modification

To enable reward computation that incorporates TECA, we integrated token entropy into the dataproto object and modified VERL's source code and data flow:

  1. Added cer_manager.py, responsible for computing TECA-based rewards.
  2. Updated the dataproto pipeline to ensure entropy is correctly passed through from training to reward computation. The following files were modified:
    • main_ppo.py
    • fsdp_workers.py
    • dp_actor.py
    • ray_trainer.py

πŸ“Š Evaluation

All evaluation-related code is provided in the src folder, along with utility scripts for model merging, visualization, and result analysis:

merge_model.py       -> merge LoRA adapters with base models
plot_func.py         -> plotting functions (matplotlib-based)
show_res.py          -> display evaluation results
test_transformers.py -> evaluation script based on HuggingFace Transformers; 
					  automatically collects token entropy and TECA values

To run these scripts, simply adjust the path variables inside each file and execute:

python file.py

πŸ† Results

Table 1: Performance Comparison on GSM8K and MATH500

MethodGSM8KMATH500
ACCLENβ–³LENACCLENβ–³LEN
Qwen3-4B
w thinking92.801348.59-65.204458.60-
w/o thinking86.50260.9680.65%61.20846.3581.02%
CoD93.30385.5071.41%52.601159.7373.99%
CCoT82.56616.4254.29%64.002401.9446.13%
CER (ours)94.09391.0871.00%64.802708.6539.25%
Qwen3-8B
w thinking94.621491.38-65.804669.74-
w/o thinking88.86272.0279.83%59.00837.1681.22%
CoD94.40415.8072.12%60.801391.2270.21%
CCoT92.49739.0550.45%65.202761.1940.87%
CER (ours)92.57668.0655.21%65.803140.0432.76%

Table 2: Performance Comparison on AIME24, AIME25 and all average

MethodAIME24AIME25Average
ACCLENβ–³LENACCLENβ–³LENACCLEN
Qwen3-4B
w thinking64.4411343.57-48.8912119.62-67.837317.59
w/o thinking26.672132.2078.34%20.002503.9382.84%48.591435.86
CoD23.303607.8368.19%26.703535.2370.83%48.982172.07
CCoT56.679491.8716.32%40.0010775.9311.09%60.815821.54
CER (ours)61.119215.7718.76%51.119565.6421.07%67.785470.29
Qwen3-8B
w thinking63.3311247.68-46.6712708.16-67.607529.24
w/o thinking20.002399.1380.10%23.332300.1380.69%47.801452.11
CoD20.003657.5767.48%20.003709.2070.81%48.802293.45
CCoT63.339286.6317.44%53.3310438.0717.86%68.595806.23
CER (ours)65.569171.5618.46%53.339894.5122.14%69.325718.54