Papers
Topics
Authors
Recent
Search
2000 character limit reached

Entrocraft: Controlled Entropy in LLM RL

Updated 5 May 2026
  • Entrocraft is a reinforcement learning framework for LLMs that regulates entropy through user-specified schedules and rejection sampling, addressing performance saturation.
  • It employs a modular, advantage-based filtering mechanism during rollout sampling to dynamically adjust policy entropy without modifying gradient computations.
  • Empirical evaluations show up to 50% gains in pass@K metrics and extended productive training periods, underscoring its robustness in long-horizon RL tasks.

Entrocraft is a framework for reinforcement learning (RL) on LLMs that provides precise, user-customized control over the entropy curve during policy-gradient optimization. Developed to address performance saturation—a widespread problem where RL loses effectiveness due to entropy collapse—Entrocraft directly manipulates the advantage distribution through a rejection-sampling procedure, enabling explicit scheduling of entropy without requiring auxiliary loss regularization or changes to gradient computation. Its empirical and theoretical basis establishes entropy as a first-class, scheduleable hyperparameter for robust, long-horizon RL scaling in LLMs (Li et al., 29 Apr 2026).

1. Motivation: Entropy Collapse and Performance Saturation

Performance saturation in LLM RL emerges from the collapse of policy entropy during training. In standard policy-gradient updates, positive-advantage samples become increasingly dominant, systematically reducing both token-level and sequence-level entropy. Formally, Theorem 3.2 shows that every positive-advantage update results in a negative entropy change:

ΔHtAt(logπ(yx)–baseline),\Delta H_t \propto -A_t\cdot(\log \pi(y|x) – \text{baseline}),

so At>0    ΔHt<0A_t>0 \implies \Delta H_t<0. As entropy collapses, exploration vanishes, biasing the model toward a narrow, overfit solution space and severely curtailing the effectiveness of continued RL—“performance saturation.” Prior methods apply entropy regularization or use clipping, but these only indirectly affect the entropy and often lead to long-term instability.

Entrocraft counters this by directly enforcing a user-specified entropy trajectory, thereby sustaining exploration and avoiding premature saturation.

2. Algorithmic Structure of Entrocraft

Entrocraft is designed as a modular, advantage-estimator-agnostic filter interposed at rollout sampling time, compatible with any policy-gradient RL method (e.g., PPO, GRPO/GSPO). Its procedure for each batch is as follows:

  1. Compute the average entropy Hˉ\bar{H} of all sampled rollouts.
  2. Set a schedule-based entropy band [low, high][\text{low},~\text{high}] for allowable entropy at this step.
  3. Calculate an entropy-control flag m=1[Hˉ>high]1[Hˉ<low]m = 1[\bar{H} > \text{high}] - 1[\bar{H} < \text{low}]:
    • m=+1m=+1: entropy exceeds upper bound, decrease entropy.
    • m=1m=-1: entropy falls below lower bound, increase entropy.
  4. For each rollout yiy_i with estimated advantage A^(x,yi)\hat{A}(x, y_i), accept it into the update set SS with probability

At>0    ΔHt<0A_t>0 \implies \Delta H_t<00

with At>0    ΔHt<0A_t>0 \implies \Delta H_t<01 a tunable sharpness parameter. The surrogate RL objective is computed solely on At>0    ΔHt<0A_t>0 \implies \Delta H_t<02.

The algorithm’s pseudocode is as follows: [low, high][\text{low},~\text{high}]6 This adaptive filter re-weights advantages: when entropy is too low, negative-advantage samples (promoting stochasticity) are favored; when it is too high, positive-advantage samples are prioritized. Rollout selection is thus tightly coupled to a prescribed entropy schedule without modifying the policy-loss form.

3. Theoretical Foundations

Entrocraft’s approach is grounded in a set of minimal-assumption theorems analyzing entropy drift in policy gradient RL. The core assumptions are on-policy gradients and small learning rates At>0    ΔHt<0A_t>0 \implies \Delta H_t<03, such that At>0    ΔHt<0A_t>0 \implies \Delta H_t<04 (enabling Taylor expansion).

  • Token-Level Entropy (Theorem 3.1):

At>0    ΔHt<0A_t>0 \implies \Delta H_t<05

For a token At>0    ΔHt<0A_t>0 \implies \Delta H_t<06 where At>0    ΔHt<0A_t>0 \implies \Delta H_t<07 and At>0    ΔHt<0A_t>0 \implies \Delta H_t<08:

At>0    ΔHt<0A_t>0 \implies \Delta H_t<09

with high probability if Hˉ\bar{H}0 exceeds the “output-space baseline”: Hˉ\bar{H}1.

  • Sequence-Level Entropy (Theorem 3.2):

Hˉ\bar{H}2

where Hˉ\bar{H}3.

Hˉ\bar{H}4

whenever Hˉ\bar{H}5.

These results explain why standard RL, dominated by positive-advantage trajectories, inherently reduces entropy and why strategies such as clipping provide only coarse control. Entrocraft, by shaping the distribution of accepted advantages, provides precise, parametric steering of policy entropy.

4. Entropy Schedule Design

The core benefit of Entrocraft is the ability to enact arbitrary entropy trajectories via user-defined schedules Hˉ\bar{H}6, mapping training step to target entropy. Common choices are:

  • Constant: Hˉ\bar{H}7 for all Hˉ\bar{H}8.
  • Linear annealing: Hˉ\bar{H}9.
  • Cosine decay: [low, high][\text{low},~\text{high}]0.

Entrocraft instates these by setting [low, high][\text{low},~\text{high}]1 bounds around [low, high][\text{low},~\text{high}]2 and applying the filtered-sampling algorithm per batch.

Empirical evidence supports the use of a high initial entropy (e.g., [low, high][\text{low},~\text{high}]3) linearly annealed to a moderate target (e.g., [low, high][\text{low},~\text{high}]4), yielding optimal early-stage exploration and late-stage convergence. Constant or high entropy schedules can destabilize training, emphasizing the importance of annealing.

5. Empirical Evaluation and Results

Evaluation was conducted primarily on the Qwen3-4B-Base model, with comparisons to Qwen3-8B, Qwen3-14B, and Llama-3.1-8B, trained on the Numina-Math corpus (440K math reasoning samples) and evaluated on benchmarks such as MATH-500, AMC-23, and AIME-24/25/26. Rollout inference was performed with 32 samples per question at [low, high][\text{low},~\text{high}]5.

Key metrics and improvements using Entrocraft (especially with linear annealing) in comparison to existing baselines (GRPO/GSPO, entropy-preserving techniques):

  • Qwen3-4B + Entrocraft exceeded the baseline Qwen3-8B performance.
  • Achieved a 50% relative gain in pass@32 on MATH-500/AIME.
  • Prolonged productive RL training by up to 4× before plateau onset.
  • Output diversity, as measured by pass@K growth, increased more rapidly, signaling sustained exploration.

These results establish Entrocraft as an effective means for overcoming saturation and enhancing output quality and diversity in LLM RL.

6. Discussion, Significance, and Limitations

By directly regulating the distribution of accepted advantages at each RL iteration, Entrocraft neutralizes the self-amplifying drift toward low entropy found in standard RL while preserving upward reward optimization. The filter dynamically tracks any user-specified entropy schedule within a few steps, obviating the need for auxiliary regularization or explicit entropy terms in the loss.

Limitations and open questions include:

  • Fixed, excessively high entropy schedules can severely limit the supply of positive-advantage (reward-improving) samples, leading to unstable long-run training. Annealing from high to moderate entropy is necessary for balance.
  • Extensions to multi-turn dialogue RL, sparse-MoE policies, or more complex reward structures are unexplored.
  • Theoretical developments assume on-policy gradients and modest learning rates; behavior under heavy off-policy trajectories or quickly shifting baselines remains undetermined.

Entrocraft reframes policy entropy as an actively managed hyperparameter rather than a passive diagnostic, providing a foundation for robust, scalable RL in LLM systems (Li et al., 29 Apr 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Entrocraft Framework.