---
title: Entropic Advantage Policy Optimization (EAPO) In RLVR
url: https://www.emergentmind.com/topics/entropic-advantage-policy-optimization-eapo
type: topic
---

# Entropic Advantage Policy Optimization (EAPO) In RLVR

Entropic Advantage Policy Optimization (EAPO) is an entropy-guided credit-assignment method for reinforcement learning with verifiable rewards (RLVR), designed to redistribute response-level policy advantages across token positions according to the policy’s next-token uncertainty. Introduced in “Surprising Success, Repeated Failure: Entropy-Guided Credit Assignment for Exploration in LLM Reasoning” [2609.33781], EAPO distinguishes successful and failed responses: it reinforces high-entropy decisions in successful responses, penalizes low-entropy decisions in failed responses, and attenuates penalties at uncertain positions in failed responses. The method retains the original response-level advantage in expectation while providing token-level credit without process-reward models, teacher supervision, additional rollouts, privileged information, or token-level labels.

## 1. Motivation and conceptual basis

RLVR generally evaluates a complete response using a verifier-derived reward. Let $x$ denote a prompt and $y_i=(y_{i,1},\ldots,y_{i,T_i})$ a sampled completion with reward $r^i=r(x,y_i)$. In group-relative policy optimization, $G$ responses are sampled for each prompt and normalized advantages are computed as

$$
\hat{A}^i =
\frac{r^i-\operatorname{mean}(\{r^j\}_{j=1}^{G})}
{\operatorname{std}(\{r^j\}_{j=1}^{G})+\varepsilon}.
$$

Standard GRPO assigns the same advantage to every valid completion token in a response:

$$
\hat{A}^{i}_{t}=\hat{A}^{i}.
$$

Consequently, a successful response reinforces every token uniformly, while a failed response penalizes every token uniformly. This outcome-level assignment does not distinguish exploratory branching decisions, routine continuation, repeated incorrect commitments, or positions where multiple recoverable continuations remain available.

EAPO uses policy entropy as a readily available uncertainty signal. For each valid completion position, it computes the Shannon entropy of the full next-token distribution under the rollout policy:

$$
H_{i,t}
=
-\sum_{v\in\mathcal V}
\pi_{\mathrm{old}}(v\mid x,y_{i,<t})
\log \pi_{\mathrm{old}}(v\mid x,y_{i,<t}),
$$

where $\mathcal V$ is the vocabulary and $y_{i,<t}$ is the prefix preceding token $t$. This is distinct from sampled-token surprisal, $-\log\pi(y_{i,t}\mid x,y_{i,<t})$: entropy measures uncertainty over all possible next tokens, whereas surprisal measures the unexpectedness of the realized token.

The method is motivated by an asymmetry between successful uncertainty and failed certainty. A high-entropy decision in a successful response represents an exploratory choice among alternatives that produced a correct outcome, but that choice may not yet be repeatable. By contrast, a low-entropy decision in a failed response represents a concentrated and repeatedly selected preference associated with failure. High-entropy positions in failed responses may still preserve alternative continuations through which recovery is possible.

The paper reports resampling evidence supporting this distinction. For Qwen3-4B-Base, correct responses resampled from low-entropy windows achieved reward $0.578$, compared with $0.390$ for correct responses resampled from high-entropy windows. For Qwen3-8B-Base, the corresponding high-minus-low difference was $-20.7$ percentage points. For incorrect responses, Qwen3-4B-Base achieved reward $0.070$ after low-entropy resampling and $0.163$ after high-entropy resampling; Qwen3-8B-Base achieved $0.032$ and $0.159$, respectively. These results suggest that successful high-entropy decisions are less repeatable, whereas uncertain regions of failed responses retain more recoverable alternatives.

## 2. Entropy normalization and advantage redistribution

Absolute entropy varies across prompts, positions, models, and batches. EAPO therefore uses percentile normalization over valid completion tokens in the rollout batch. Let $Q_{\mathrm{lo}}$ and $Q_{\mathrm{hi}}$ be the 10th and 90th percentiles of batch token entropies. The normalized entropy is

$$
h_{i,t}
=
\operatorname{stopgrad}
\left[
\operatorname{clip}
\left(
\frac{H_{i,t}-Q_{\mathrm{lo}}}
{Q_{\mathrm{hi}}-Q_{\mathrm{lo}}+\varepsilon_H},
0,1
\right)
\right],
$$

where $\varepsilon_H=10^{-8}$. Values below the 10th percentile map approximately to zero, and values above the 90th percentile map approximately to one. The clipping limits the influence of extreme entropy values. The stop-gradient operation prevents entropy from becoming an additional differentiable optimization objective; it is used solely as a credit-allocation signal.

EAPO converts each response-level advantage into a token-level allocation weight:

$$
w_{i,t}
=
\frac{
\exp\!\left(
\kappa\,\operatorname{sign}(\hat A^i)\,h_{i,t}
\right)
}{
\frac{1}{T_i}
\sum_{u\in\mathcal I_i}
\exp\!\left(
\kappa\,\operatorname{sign}(\hat A^i)\,h_{i,u}
\right)
},
$$

where $\mathcal I_i$ is the set of valid completion-token positions and $\kappa\geq 0$ controls concentration. The EAPO token advantage is

$$
\boxed{
\hat A_{t}^{i,\mathrm{EAPO}}
=
\hat A^i w_{i,t}
}.
$$

The normalization ensures

$$
\frac{1}{T_i}
\sum_{t\in\mathcal I_i}
\hat A_{t}^{i,\mathrm{EAPO}}
=
\hat A^i.
$$

Thus, EAPO does not change the mean response-level signal. It redistributes that signal across positions.

At $\kappa=0$, all allocation weights equal one and EAPO reduces to uniform token credit:

$$
w_{i,t}=1,
\qquad
\hat A_{t}^{i,\mathrm{EAPO}}=\hat A^i.
$$

The reported default is $\kappa=\log 4$. Because $h_{i,t}\in[0,1]$, the ratio between the largest and smallest exponential scores is at most $e^\kappa$.

For positive-advantage responses, $\operatorname{sign}(\hat A^i)=1$, giving

$$
w_{i,t}\propto e^{\kappa h_{i,t}}.
$$

High-entropy tokens therefore receive larger positive advantages and stronger reinforcement. For negative-advantage responses, $\operatorname{sign}(\hat A^i)=-1$, giving

$$
w_{i,t}\propto e^{-\kappa h_{i,t}}.
$$

Low-entropy tokens receive larger weights; because the response advantage is negative, they receive stronger penalties. High-entropy tokens receive smaller-magnitude negative advantages, preserving uncertain positions where alternative continuations may support recovery.

The resulting rule can be summarized as follows:

| Response condition | Entropy-dependent treatment |
|---|---|
| Successful response | Reinforce high-entropy decisions more strongly |
| Failed response | Penalize low-entropy decisions more strongly |
| Failed response at high entropy | Attenuate the penalty |

EAPO therefore treats entropy asymmetrically according to the sign of the response advantage rather than applying a universally positive entropy bonus.

## 3. Policy objective and optimization procedure

EAPO retains a PPO/GRPO-style clipped policy objective and changes the token-level advantage. The importance ratio is

$$
\rho_{i,t}(\theta)
=
\frac{
\pi_\theta(y_{i,t}\mid x,y_{i,<t})
}{
\pi_{\mathrm{old}}(y_{i,t}\mid x,y_{i,<t})
}.
$$

The clipped objective is

$$
\mathcal L_{\mathrm{EAPO}}(\theta)
=
\mathbb E_{(x,y_i)}
\left[
\frac{1}{T_i}
\sum_{t\in\mathcal I_i}
\min
\left(
\rho_{i,t}(\theta)\hat A_{t}^{i,\mathrm{EAPO}},
\operatorname{clip}
\left(
\rho_{i,t}(\theta),
1-\epsilon_{\mathrm{low}},
1+\epsilon_{\mathrm{high}}
\right)
\hat A_{t}^{i,\mathrm{EAPO}}
\right)
\right].
$$

The reported DAPO-style configuration uses asymmetric clipping,

$$
\epsilon_{\mathrm{low}}=0.2,
\qquad
\epsilon_{\mathrm{high}}=0.28,
$$

together with token-level truncated importance sampling with cap $2.0$. The implementation uses group advantage standardization, token-mean loss aggregation, response-length limits, masking of invalid positions, a soft overlong penalty, and no explicit KL or entropy bonus. The exploratory effect therefore arises from the entropy-dependent redistribution of the outcome advantage rather than from adding an entropy term to the reward or policy loss.

In unclipped policy-gradient form, the update is

$$
\nabla_\theta J(\theta)
=
\mathbb E
\left[
\sum_{t\in\mathcal I_i}
\hat A_{t}^{i,\mathrm{EAPO}}
\nabla_\theta
\log\pi_\theta(y_{i,t}\mid x,y_{i,<t})
\right].
$$

Substitution gives

$$
\nabla_\theta J_{\mathrm{EAPO}}
=
\mathbb E
\left[
\sum_{t\in\mathcal I_i}
\hat A^i w_{i,t}
\nabla_\theta
\log\pi_\theta(y_{i,t}\mid x,y_{i,<t})
\right].
$$

A complete rollout iteration consists of sampling prompts, generating grouped responses under $\pi_{\mathrm{old}}$, verifying the responses, calculating group-relative advantages, computing full-vocabulary token entropies, applying batch-wide percentile normalization, forming sign-dependent weights, and optimizing the clipped objective. The reported procedure samples $16$ prompts and $8$ responses per prompt, performs $100$ rollout iterations, and uses AdamW.

The principal training configuration includes a generation batch size of $128$, minibatch size of $64$, learning rate $10^{-5}$, warmup of $10$ steps, weight decay $0.01$, maximum gradient norm $1.0$, temperature $1.0$, top-$p=1.0$, no top-$k$, and seed $42$. Both LoRA and full fine-tuning are evaluated. LoRA uses rank $32$, alpha $64$, dropout $0$, and targets attention and MLP projections. Rollouts use vLLM, training uses TRL, and experiments are reported on a single NVIDIA H200 GPU.

## 4. Interpretation as entropy-conditioned credit assignment

EAPO can be interpreted as a signed, entropy-dependent transformation of the response-level policy gradient. It does not infer causal token-level responsibility from a verifier. Rather, it combines two available signals:

1. the sign and magnitude of the response-level advantage; and
2. the policy’s uncertainty over next-token alternatives.

For a successful response, high entropy indicates that the policy considered multiple continuations before selecting a path that obtained positive reward. EAPO increases the relative reinforcement of such positions, making successful exploratory decisions more likely to recur.

For a failed response, low entropy indicates a concentrated decision associated with failure. EAPO assigns stronger negative credit to such positions, correcting confident repeated errors. At high-entropy positions in a failed response, the method attenuates the negative signal. The rationale is that uncertainty can represent residual alternative paths rather than an already-determined error.

This mechanism differs from simply maximizing entropy. EAPO maintains higher entropy than GRPO late in training but finishes with lower average entropy than EntropyAdv and HAPO. Its objective is selective exploration rather than indiscriminate entropy inflation.

The method also differs from sampled-token surprisal. A token may have high surprisal because it is rare, even when the overall policy distribution is concentrated. The paper reports that replacing full-vocabulary entropy with sampled-token surprisal caused declining reward and eventual collapse to zero reward in one Qwen3-4B-Base experiment. Full-vocabulary entropy is therefore used as the uncertainty measure.

The exponential allocation has a KL-regularized interpretation. Let $u_{i,t}=1/T_i$ denote uniform allocation over completion positions and let $q$ be a distribution over positions. EAPO solves

$$
\max_{q\in\Delta(\mathcal I_i)}
\left\{
\operatorname{sign}(\hat A^i)
\mathbb E_{t\sim q}[h_{i,t}]
-
\frac{1}{\kappa}
D_{\mathrm{KL}}(q\|u_i)
\right\}.
$$

The unique solution is

$$
q^*_{i,t}
\propto
u_{i,t}
\exp\left(
\kappa\,\operatorname{sign}(\hat A^i)h_{i,t}
\right).
$$

The KL term anchors the allocation near uniform credit, while increasing $\kappa$ concentrates credit more strongly according to signed entropy.

## 5. Relationship to related methods

EAPO is built on the same grouped, clipped policy-optimization structure as GRPO, but GRPO assigns a uniform response-level advantage to every token. EAPO replaces this assignment with

$$
\hat A^i
\longrightarrow
\hat A_{t}^{i,\mathrm{EAPO}}
=
\hat A^i w_{i,t}.
$$

Unlike process-reward or value-based methods, EAPO does not require an auxiliary process model, learned intermediate rewards, token-level labels, or a critic. Unlike teacher- or oracle-conditioned methods, it does not use privileged information or additional teacher forward passes. Unlike tree-search or additional-sampling methods, it obtains fine-grained credit from the existing rollout batch.

EAPO also differs from conventional entropy regularization. A conventional maximum-entropy method adds an entropy term to the objective or reward, such as an entropy bonus proportional to $H(\pi(\cdot\mid s))$. EAPO instead modifies the coefficient multiplying each token’s policy-gradient term. Its entropy signal is detached from backpropagation and used to allocate outcome feedback.

The method is related to earlier entropy-advantage and entropy-controlled approaches, but the terminology must be distinguished carefully. “Maximum Entropy On-Policy Actor-Critic via Entropy Advantage Estimation” [2407.18143] is relevant because its title indicates separate entropy-advantage estimation for on-policy actor-critic methods, although the supplied material does not establish its exact equations or equivalence to EAPO. “Soft policy optimization using dual-track advantage estimator” [2009.06858] proposes SPOD, an entropy-regularized PPO variant with dynamic temperature and a dual-track advantage estimator; it is EAPO-like in a broad sense but does not use the EAPO name. “Entropic Risk Measure in Policy Search” [1906.09090] provides a different theoretical foundation based on exponential utility and an entropic certainty equivalent. Its transformed return is advantage-like at the episode level, but it does not derive a temporal state-action entropic advantage.

Other methods described in the supplied research material also use entropy to modify advantages. AEPO—Agentic Entropy-Balanced Policy Optimization—uses token entropy to shape a group-relative advantage, protects selected high-entropy gradients through stop-gradient clipping, and dynamically allocates global and branch rollout budgets [2510.14545]. GEPO—Group Entropy-Controlled Policy Optimization—uses prompt-group entropy and asymmetric advantage attenuation for heterogeneous task mixtures [2607.16850]. These methods are conceptually related to EAPO, but neither is identical to the EAPO algorithm defined in [2609.33781].

The distinctions can be summarized as follows:

| Method | Entropy role | Credit granularity |
|---|---|---|
| GRPO | No entropy-dependent credit allocation | Uniform response-level advantage |
| Conventional entropy regularization | Direct entropy bonus | Policy or state level |
| AEPO | Token entropy, rollout allocation, and clipping | Token and agentic rollout level |
| GEPO | Group entropy conditions advantage scaling | Prompt-response group level |
| EAPO | Signed token entropy redistributes outcome advantage | Token level within responses |

## 6. Empirical results, limitations, and significance

EAPO is evaluated on DAPO-Math-17k-Processed using Qwen3-4B-Base, Qwen3-8B-Base, Qwen3-4B, and Olmo-3-7B-Think-DPO. The main evaluation contains 297 mathematical problems from AIME24, AIME25, AIME26, HMMT26, AMC23, and the MATH500-H level-5 subset. The reported metrics are avg@32 and pass@32. Out-of-distribution evaluation uses eight Reasoning Gym tasks with avg@16 over 50 problems per task.

Baselines include GRPO, EntropyAdv, HAPO, 80/20 or Forking Tokens, and RLRT. RLRT uses privileged teacher-conditioned information, unlike EAPO.

Across the six mathematical benchmarks, EAPO obtains the best mean avg@32 and pass@32 for all four backbones. Its reported mean avg@32 values are:

| Backbone | EAPO mean avg@32 |
|---|---:|
| Qwen3-4B-Base | $31.0\%$ |
| Qwen3-8B-Base | $34.0\%$ |
| Qwen3-4B | $72.4\%$ |
| Olmo-3-7B-Think-DPO | $74.3\%$ |

On the two base models, EAPO improves over the strongest entropy-oriented comparison by $5.6$ points for Qwen3-4B-Base and $4.3$ points for Qwen3-8B-Base. On out-of-distribution Reasoning Gym tasks, EAPO improves the macro avg@16 over the best baseline by $1.46$ points for Qwen3-4B-Base and $3.02$ points for Qwen3-8B-Base.

The exploration analysis reports higher pass-$k$ performance across sampling budgets from $1$ to $256$ on AIME26 with Qwen3-4B-Base. At $k=256$, EAPO solves one additional problem that none of the baselines solves. On low-accuracy problems, EAPO produces normalized answer entropy of $0.751$ and collision rate $0.101$, compared with $0.657$ and $0.166$ for GRPO. The paper also reports the highest frequency of exploratory markers such as “wait,” “try,” and “instead,” measured per 1,000 tokens, across the six mathematical benchmarks.

Ablation results support the sign–entropy coupling. For Qwen3-4B-Base, the default configuration that reinforces high-entropy successful decisions and penalizes low-entropy failed decisions produces macro-averaged avg@32/pass@32 of $31.00/61.27$. With uniform credit, the result is $24.48/50.43$. The paper reports that switching the negative-advantage allocation from high entropy to low entropy improves avg@32 by $5.64$ points when high-entropy reinforcement is fixed. Increasing $\kappa$ generally accelerates learning but can destabilize optimization; $\kappa=\log 4$ is selected as a stability-performance compromise.

EAPO has several limitations. Entropy is only a proxy for uncertainty and does not establish causal token-level responsibility. High entropy may reflect useful exploration, poor calibration, incoherent generation, or response-length effects. Low entropy may indicate either desirable confidence or harmful mode collapse. The theoretical interpretation of entropy-dependent credit is therefore not a proof that entropy identifies causal errors; it is a heuristic supported by empirical resampling and optimization results.

The method requires full-vocabulary entropy computation during rollout or training. It does not require additional sampling, teacher models, or privileged information, but it does incur computation and storage associated with token distributions and entropy aggregation. High values of $\kappa$ can concentrate credit sharply and destabilize optimization. EAPO also tends to produce longer reasoning traces, although longer responses are not themselves evidence of improved exploration. Finally, the reported evidence is strongest in verifiable mathematical and reasoning settings; improved performance there does not establish reliability or safety in open-ended tasks.

EAPO’s principal contribution is the coupling

$$
\text{response advantage sign}
\quad+\quad
\text{normalized token entropy}
\quad\longrightarrow\quad
\text{token-level credit allocation}.
$$

This coupling converts outcome-level RLVR feedback into a structured policy-gradient signal without introducing a process-reward model. Its central operational distinction is that successful uncertainty should be consolidated, confident failure should be corrected, and uncertain failure should retain room for recovery.

Source: https://www.emergentmind.com/topics/entropic-advantage-policy-optimization-eapo