Papers
Topics
Authors
Recent
Search
2000 character limit reached

Entropy-Adaptive Loss Modulation

Updated 8 July 2026
  • Entropy-adaptive loss modulation is a design pattern that adjusts training signals by weighting examples based on entropy measures, differentiating between easy, hard, and noisy cases.
  • It spans diverse applications including classification, segmentation, self-training, test-time adaptation, and reinforcement learning, balancing exploration and exploitation.
  • Empirical studies show that these methods can reduce error rates and stabilize adaptation with minimal computational overhead.

Entropy-adaptive loss modulation denotes a class of training strategies in which an objective is reshaped by an entropy-derived signal—predictive entropy, confidence, answer-cluster entropy, response-level uncertainty, or local free entropy—so that optimization assigns different emphasis to easy, hard, noisy, conflicting, or geometrically fragile cases. Recent instantiations range from modified cross-entropy for one-hot classification and adaptive pseudo-target construction, to robust entropy minimization for test-time adaptation, token-level gating in supervised fine-tuning, response-level advantage rescaling in reinforcement learning, and anisotropic local-entropic smoothing in parameter space (Shim, 10 Jul 2025, Xu et al., 2023, Seto et al., 2023, Wang et al., 31 Mar 2025, Diao et al., 5 Jan 2026, Zhao et al., 1 May 2026, Musso, 2020).

1. Conceptual scope and recurring design patterns

Across the literature, entropy-adaptive modulation is not a single loss but a design pattern. The modulating quantity may be the probability of the true class, Shannon entropy over model outputs, entropy over clustered self-generated answers, response-level uncertainty proxies in policy optimization, or a local free-energy construction over parameter perturbations. What unifies these methods is that entropy is not merely measured; it directly alters the contribution of samples, tokens, pixels, responses, or neighborhoods in weight space to the training signal (Shim, 10 Jul 2025, Seto et al., 2023, Wang et al., 31 Mar 2025, Diao et al., 5 Jan 2026, Zhao et al., 1 May 2026, Musso, 2020).

A second recurring pattern is selective emphasis. In some formulations, high-uncertainty instances are up-weighted because they are assumed to be informative, as in self-training and pixel-boundary weighting. In others, high-entropy instances are down-weighted because they are treated as noisy or unreliable, as in single-sample test-time adaptation. A third pattern is entropy scheduling: several reinforcement-learning and local-entropy methods explicitly use entropy dynamics to move from exploration to exploitation or from coarse smoothing to fine-grained refinement (Seto et al., 2023, Wang et al., 31 Mar 2025, Zhao et al., 1 May 2026, Zhang et al., 15 Feb 2026, Musso, 2021).

Formulation Modulation signal Reported setting
AdpLoss (1qc)(1-q_c) multiplying logqc-\log q_c one-hot classification
REALM ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda) single-sample online TTA
EAST normalized hiah_i^a self-training
EAFT token gate g(Ht)g(H_t) supervised fine-tuning
AEM response coefficient α(s,a)\alpha(s,a) agentic RL
Partial local entropy covariance Σ\Sigma or mask UU weight-space smoothing

The literature also distinguishes several meanings of entropy. Output-space entropy concerns uncertainty over labels or tokens. Grouped-answer entropy summarizes disagreement among multiple sampled reasoning paths. Response-level entropy in RL aggregates uncertainty at the level of complete actions rather than individual tokens. Local entropy in weight space instead smooths the original loss over neighborhoods of parameters. These are mathematically distinct objects, even when they serve analogous modulation roles (Wang et al., 31 Mar 2025, Zhao et al., 1 May 2026, Musso, 2020, Musso, 2021).

2. Confidence-adaptive cross-entropy and supervised prediction losses

A direct supervised formulation appears in "Enhancing Cross Entropy with a Linearly Adaptive Loss Function for Optimized Classification Performance" (Shim, 10 Jul 2025). For one-hot labels with true class index cc and softmax probability qcq_c, standard cross-entropy is

logqc-\log q_c0

while the proposed Linearly Adaptive Cross Entropy Loss is

logqc-\log q_c1

The paper interprets this as an information-theoretic approximation to Jeffreys divergence for one-hot logqc-\log q_c2 and softmax logqc-\log q_c3, stating that logqc-\log q_c4 and logqc-\log q_c5, so that logqc-\log q_c6 (Shim, 10 Jul 2025). Operationally, when logqc-\log q_c7 is small, logqc-\log q_c8 and the loss behaves similarly to cross-entropy; when logqc-\log q_c9, the factor tends to zero, down-weighting very confident correct predictions. The paper explicitly contrasts this with focal loss, noting that focal loss uses ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)0 with ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)1, whereas AdpLoss uses the linear factor ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)2, described as preserving simplicity and interpretability (Shim, 10 Jul 2025).

The reported experiment uses ResNet-18 adapted for CIFAR-100, with per-pixel mean subtraction, random horizontal flips, random ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)3 crops with padding, SGD with momentum ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)4, weight decay ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)5, initial learning rate ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)6, StepLR decay by factor ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)7 at epochs ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)8 and ρ(Lent;α,λ)\rho(\mathcal L_{\mathrm{ent}};\alpha,\lambda)9, batch size hiah_i^a0, and hiah_i^a1 total epochs. The metric is top-5 error rate averaged over five independent runs over epochs hiah_i^a2–hiah_i^a3. Cross-entropy yields hiah_i^a4, whereas AdpLoss yields hiah_i^a5, corresponding to a hiah_i^a6 percentage-point lower error. The paper also states that AdpLoss requires exactly two extra arithmetic operations per sample, namely one subtraction and one multiplication (Shim, 10 Jul 2025).

Entropy-adaptive supervision also appears in structured prediction. In stereo matching, "Adaptive Multi-Modal Cross-Entropy Loss for Stereo Matching" constructs a per-pixel pseudo-ground-truth as a mixture of Laplacians whose number of modes hiah_i^a7 is determined by DBSCAN over local disparity geometry (Xu et al., 2023). For pixel hiah_i^a8,

hiah_i^a9

and the training loss is a standard cross-entropy between this adaptive target and the predicted disparity distribution. The paper makes the entropy-adaptive mechanism explicit: when g(Ht)g(H_t)0, the target is uni-modal; when g(Ht)g(H_t)1, typically at depth discontinuities, the target becomes multi-modal and its Shannon entropy increases. The scalars g(Ht)g(H_t)2 and g(Ht)g(H_t)3 control peak sharpness and central-mode dominance, with reported settings g(Ht)g(H_t)4, g(Ht)g(H_t)5, g(Ht)g(H_t)6 on SceneFlow, g(Ht)g(H_t)7 on KITTI, and g(Ht)g(H_t)8 (Xu et al., 2023). Reported gains include SceneFlow test EPE g(Ht)g(H_t)9, KITTI 2015 D1-all α(s,a)\alpha(s,a)0, and strong synthetic-to-real generalization improvements (Xu et al., 2023).

A related but distinct supervised construction is the Adaptive Hybrid Focal-Entropy Loss (AHFE) for diabetic retinopathy detection (Malarvannan et al., 2024). For a batch of α(s,a)\alpha(s,a)1 samples and α(s,a)\alpha(s,a)2 classes, the paper defines

α(s,a)\alpha(s,a)3

with adaptive class weights α(s,a)\alpha(s,a)4. Here entropy is combined with focal modulation and inverse-frequency weighting. The report gives example hyperparameters α(s,a)\alpha(s,a)5, α(s,a)\alpha(s,a)6, and α(s,a)\alpha(s,a)7, and frames the entropy term as penalizing high-entropy predictions while the focal term emphasizes hard examples (Malarvannan et al., 2024). This suggests that entropy-adaptive modulation in supervised classification can serve either sample-difficulty shaping, class-imbalance correction, or both.

In binary segmentation, "Uncertainty-Guided Attention and Entropy-Weighted Loss for Precise Plant Seedling Segmentation" computes per-pixel entropy

α(s,a)\alpha(s,a)8

and converts it into a weight

α(s,a)\alpha(s,a)9

The weighted binary cross-entropy is then combined with Dice loss using Σ\Sigma0 and Σ\Sigma1 (Ehab et al., 12 Apr 2026). Because Σ\Sigma2 peaks at Σ\Sigma3, uncertain boundary pixels receive the largest penalty. The paper reports Dice gains for both U-Net and LinkNet under a “Loss-only” setting and under the full UGDA-Net configuration, indicating that entropy weighting alone already contributes the largest single gain in the ablation sequence (Ehab et al., 12 Apr 2026).

3. Adaptive sample weighting in self-training and test-time adaptation

In self-training for mathematical reasoning, "Entropy-Based Adaptive Weighting for Self-Training" defines uncertainty not over class logits but over the empirical distribution of self-generated answer clusters (Wang et al., 31 Mar 2025). For question Σ\Sigma4, if Σ\Sigma5 generated solutions are partitioned into Σ\Sigma6 clusters with proportions Σ\Sigma7, the entropy is

Σ\Sigma8

Writing Σ\Sigma9, the paper maps entropy to a nonnegative normalized weight

UU0

so that the mean weight is UU1. The training objective becomes

UU2

The exponent UU3 controls sharpness: UU4 amplifies entropy differences, UU5 compresses them, and UU6 inverts the ranking (Wang et al., 31 Mar 2025). The paper evaluates this on GSM8K and MATH using LLaMA-3.2-1B as backbone, reporting that plain self-training gives virtually no improvement on MATH, whereas EAST yields around a UU7 gain over the backbone model; on GSM8K, EAST gives a further UU8–UU9 boost compared with the vanilla method (Wang et al., 31 Mar 2025).

In online fully test-time adaptation, the entropy-adaptive role is reversed. "REALM: Robust Entropy Adaptive Loss Minimization for Improved Single-Sample Test-Time Adaptation" starts from predictive entropy

cc0

and replaces it with a robustified penalty

cc1

The final objective may also include a diversity mask cc2:

cc3

The paper explicitly frames this as a self-paced-learning and robust-loss alternative to hard thresholding. Instead of skipping high-entropy samples, REALM smoothly down-weights them (Seto et al., 2023).

The empirical motivation is instability in batch-size-cc4 adaptation. The paper states that naïve entropy minimization in the single-sample setting often collapses to a degenerate solution in which the model predicts one class for everything. EATA and SAR address this by skipping high-entropy samples or adding sharpness-aware updates, but the paper argues that skipping can discard much of the adaptation signal and bias the update procedure (Seto et al., 2023). On CIFAR-10-C with ResNet-26+GN at severity cc5, REALM reports cc6 average accuracy versus cc7 for EATA, cc8 for SAR, and instability for TENT. On ImageNet-C with ResNet-50+GN at severity cc9, it reports qcq_c0 versus qcq_c1 for EATA and qcq_c2 for SAR. The paper further reports adaptation on roughly qcq_c3 more samples than EATA and faster attainment of peak adaptation accuracy in the first few thousand samples (Seto et al., 2023).

Taken together, EAST and REALM illustrate a central ambiguity in entropy-adaptive design: high entropy may be treated as an indicator of informational value or as an indicator of unreliability. Which interpretation is appropriate depends on the learning regime. This suggests that entropy itself is rarely the objective; rather, the task is to determine how entropy should alter trust in a training signal.

4. Token-level entropy gating and the mitigation of forgetting

Entropy-adaptive modulation has also been used to suppress destructive supervised updates in LLMs. "Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgetting" identifies a category of tokens called “Confident Conflicts,” defined by low probability for the ground-truth token together with low token-level entropy (Diao et al., 5 Jan 2026). At decoding step qcq_c4, with vocabulary distribution

qcq_c5

the Shannon entropy is

qcq_c6

and the probability of the gold token is qcq_c7. Tokens with qcq_c8 and qcq_c9 are treated as confident conflicts (Diao et al., 5 Jan 2026).

EAFT replaces standard cross-entropy with a gated version. Using a top-logqc-\log q_c00 approximation,

logqc-\log q_c01

and the loss becomes

logqc-\log q_c02

In practice, logqc-\log q_c03 is treated as a constant during backpropagation. The paper reports that with logqc-\log q_c04, the top-logqc-\log q_c05 entropy approximation has Pearson correlation logqc-\log q_c06 with full-vocabulary entropy at negligible extra memory of approximately logqc-\log q_c07 KB (Diao et al., 5 Jan 2026).

The key claim is that probability alone is insufficient to distinguish uncertainty from conflict with stored knowledge. Under standard supervised fine-tuning, tokens with low logqc-\log q_c08 and low logqc-\log q_c09 yield very large gradients of size approximately logqc-\log q_c10, which the paper interprets as destructive shifts away from the pretrained basin. By driving logqc-\log q_c11 when entropy is low, EAFT suppresses those updates while preserving learning from genuinely uncertain tokens (Diao et al., 5 Jan 2026). Variants explored in the paper include polynomial, sigmoid, and hard-mask gates, with the soft variants reported to occupy the Pareto-optimal frontier of target adaptation versus general capability retention (Diao et al., 5 Jan 2026).

The experimental evidence spans Qwen and GLM families from logqc-\log q_c12B to logqc-\log q_c13B parameters across math, medical, and agentic domains. The paper reports that EAFT consistently matches or slightly trails standard SFT by less than logqc-\log q_c14 point on target tasks in math and medical settings while substantially reducing general-capability degradation. For example, average general-capability drop is reported as logqc-\log q_c15 points for SFT versus logqc-\log q_c16 for EAFT on Qwen3-4B-Instruct, and logqc-\log q_c17 versus logqc-\log q_c18 on Qwen2.5-32B-Instruct (Diao et al., 5 Jan 2026). A common misconception addressed by this work is that low ground-truth probability always indicates a useful hard example; the paper’s claim is that some low-probability cases instead represent confident internal disagreement and should be de-emphasized.

5. Entropy modulation in reinforcement learning

Recent reinforcement-learning work extends entropy-adaptive modulation from supervised losses to policy updates. "AEM: Adaptive Entropy Modulation for Multi-Turn Agentic Reinforcement Learning" argues that the relevant action granularity for LLM agents is the complete response rather than the token (Zhao et al., 1 May 2026). For state logqc-\log q_c19 and response action logqc-\log q_c20, response-level entropy is

logqc-\log q_c21

and the paper derives that the directional derivative of response entropy along the policy-gradient update induced by a sampled logqc-\log q_c22 is

logqc-\log q_c23

where logqc-\log q_c24 is response-level surprisal. Aggregated over states, the entropy change is written as a covariance between advantage and surprisal (Zhao et al., 1 May 2026). This motivates a practical uncertainty proxy based on per-token entropies:

logqc-\log q_c25

followed by within-group min-max normalization to produce logqc-\log q_c26, and then

logqc-\log q_c27

so that the modulated advantage is logqc-\log q_c28 (Zhao et al., 1 May 2026). The paper reports an extra cost of less than logqc-\log q_c29 of iteration time and gains of logqc-\log q_c30 on ALFWorld, logqc-\log q_c31 on WebShop, and logqc-\log q_c32 on SWE-bench-Verified when AEM is integrated into strong baselines (Zhao et al., 1 May 2026).

A different RL perspective appears in "Policy Gradient with Adaptive Entropy Annealing for Continual Fine-Tuning" (Zhang et al., 15 Feb 2026). This work formulates classification as a one-step MDP and contrasts cross-entropy with Expected Policy Gradient (EPG). The paper writes

logqc-\log q_c33

whereas

logqc-\log q_c34

The contrast is interpreted as a sample-weighting difference: cross-entropy carries a factor logqc-\log q_c35 and thus emphasizes low-confidence examples, while EPG prioritizes high-confidence ones. To interpolate between these behaviors, the paper defines

logqc-\log q_c36

and uses the mixed update

logqc-\log q_c37

Reported results across Split-ImageNet-R, Split-Food101, Split-CUB200, and CLRS25 with LoRA, Adapter, and Prefix modules indicate that aEPG outperforms CE and fixed entropy regularizers by logqc-\log q_c38–logqc-\log q_c39, with a specific ImageNet-R LoRA example of logqc-\log q_c40 for CE, logqc-\log q_c41 for EPG, and logqc-\log q_c42 for aEPG (Zhang et al., 15 Feb 2026).

"Rethinking Exploration in RLVR: From Entropy Regularization to Refinement via Bidirectional Entropy Modulation" pushes the argument further by distinguishing informative from spurious entropy (Gu et al., 6 Apr 2026). The paper defines entropy on successful rollouts logqc-\log q_c43 and failing rollouts logqc-\log q_c44 as

logqc-\log q_c45

logqc-\log q_c46

Its AsymGRPO objective introduces separate coefficients logqc-\log q_c47 and logqc-\log q_c48 for these two components, together with asymmetric positive and negative rollout advantages parameterized by logqc-\log q_c49 and logqc-\log q_c50 (Gu et al., 6 Apr 2026). The central claim is not blanket entropy maximization but entropy refinement: preserve informative entropy on positives while suppressing spurious entropy on negatives. On five mathematical reasoning benchmarks with Qwen3-4B, AsymGRPO reports average accuracy logqc-\log q_c51 versus logqc-\log q_c52 for GRPO, and logqc-\log q_c53 when combined with Clip-higher (Gu et al., 6 Apr 2026).

These RL papers collectively challenge a common simplification that entropy regularization is inherently equivalent to exploration. The reported results instead treat entropy as structured: response-level uncertainty can rescale advantages, annealed entropy can mediate exploration–exploitation trade-offs, and positive versus negative trajectories can require opposite entropy updates.

6. Local entropic smoothing, anisotropy, and layer-wise information shaping

A distinct lineage of entropy-adaptive loss modulation operates in parameter space rather than output space. In "Partial local entropy and anisotropy in deep weight spaces," the starting point is the local free-entropy

logqc-\log q_c54

or, more generally, a Gaussian-smoothed form with covariance logqc-\log q_c55 (Musso, 2020). The paper introduces partial local entropy by restricting the smoothing to a subset of directions or by using an anisotropic covariance, including block-diagonal, layer-wise temperatures. In the Gaussian formulation,

logqc-\log q_c56

The resulting gradient is an average of perturbed-loss gradients under a tilted density logqc-\log q_c57 (Musso, 2020).

The paper’s reported findings emphasize anisotropy. On fully connected networks for MNIST and Fashion-MNIST, partial layer-wise entropy regularization is said to outperform isotropic smoothing by a large margin, with the best results often obtained by smoothing only one suitably chosen layer, typically the deepest hidden layer. In a 3-layer MLP, isotropic smoothing is reported as always worst once the smoothing radius grows beyond a tiny regime. In convolutional networks for CIFAR10 and STL10, smoothing convolutional kernels tends to hurt, whereas smoothing only the fully connected head still yields gains, especially with early stopping (Musso, 2020). This is an explicit warning against the misconception that more entropy smoothing is necessarily better.

"Entropic alternatives to initialization" develops a related local free-energy formalism and emphasizes scheduled fading of the smoothing covariance logqc-\log q_c58 or radius logqc-\log q_c59 over training time (Musso, 2021). The paper writes

logqc-\log q_c60

with an anisotropic Gaussian kernel logqc-\log q_c61 of covariance logqc-\log q_c62, and recommends schedules such as

logqc-\log q_c63

Reported experiments include a small CNN on MNIST, where scheduled anisotropic entropic smoothing matched Kaiming initialization at approximately logqc-\log q_c64 after logqc-\log q_c65 epochs, and a deeper network on STL-10, where scheduled fading protocols outperformed random initialization by logqc-\log q_c66–logqc-\log q_c67 and matched or slightly exceeded Kaiming initialization at approximately logqc-\log q_c68 (Musso, 2021). The scoping interpretation is that strong early smoothing acts as a coarse-grained search that progressively fades into low-entropy refinement.

A third information-theoretic line is "Entropy-based Guidance of Deep Neural Networks for Accelerated Convergence and Improved Performance" (Meni et al., 2023). Rather than smoothing the loss over perturbations, this paper derives layer-wise entropy-change quantities from network parameters themselves. For dense layers,

logqc-\log q_c69

and for convolutional filters,

logqc-\log q_c70

These are added to the task loss through regularizers logqc-\log q_c71 and logqc-\log q_c72 with layer-wise coefficients. The reported results include up to logqc-\log q_c73 faster convergence in dense autoencoders, statistically significant logqc-\log q_c74–logqc-\log q_c75 validation gains when applying the convolutional entropy loss only to the first layer of small CNNs on CIFAR-10, and logqc-\log q_c76–logqc-\log q_c77 percentage-point top-1 validation gains in logqc-\log q_c78 Imagenette experiments for VGG-16 and ResNet-50 when entropy placement is chosen appropriately (Meni et al., 2023). The paper also warns that applying the entropy loss to all layers generally gives no reliable improvement.

This parameter-space literature broadens the meaning of entropy-adaptive modulation. Here entropy does not weight examples but instead changes the geometry of the optimization landscape. A plausible implication is that “entropy-adaptive” methods should be understood at two levels: output-space mechanisms that redistribute gradient mass across data instances, and weight-space mechanisms that reshape the effective loss surface itself.

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 Entropy-Adaptive Loss Modulation.