Consistency-aware Entropy Reweighting in ML
- CER is an entropy-guided reweighting approach that adjusts prediction entropy with consistency signals to mitigate overconfidence during distribution shifts.
- It modulates entropy via measures such as semantic committee agreement or gradient smoothing, recalibrating confidence for improved learning.
- CER enhances mechanisms in cache construction, distillation, and policy optimization, benefiting applications from vision-language models to long-tailed learning.
Consistency-aware Entropy Reweighting (CER) denotes a class of entropy-guided reweighting mechanisms in which entropy is not treated as a sufficient confidence proxy by itself, but is modulated by some explicit notion of consistency, stability, or reliability. In the explicit use of the term, CER is introduced inside ReTA for test-time adaptation of vision-LLMs, where prediction entropy is reweighted by semantic committee agreement before samples are admitted to a dynamic cache (Liang et al., 13 Jul 2025). Closely related constructions appear in long-tailed class-incremental learning, multi-head reward aggregation, conformal classification, and rule-based reinforcement learning for LLMs, where entropy controls distillation strength, rule weights, conformal score transformations, or local–global loss blending (Sakai et al., 5 May 2026, Li et al., 26 Mar 2025, Luo et al., 2024, Han et al., 6 Aug 2025).
1. Terminology and scope
The term “CER” is not uniform across the literature. In information-theoretic linguistics, “CER” refers to Constant Entropy Rate, the hypothesis that conditional entropy remains constant along a sequence; that usage is unrelated to the machine-learning notion of Consistency-aware Entropy Reweighting (Ferrer-i-Cancho et al., 2013). The linguistic paper states explicitly that it uses “CER” exclusively for Constant Entropy Rate, not for any machine-learning method.
Within machine learning, by contrast, “Consistency-aware Entropy Reweighting” is best understood as a methodological pattern rather than a single canonical algorithm. One formulation uses consistency to inflate or attenuate entropy before entropy is used for cache selection, another uses entropy to modulate distillation strength while consistency is enforced in gradient space, and others use entropy to weight rule heads, transform conformal scores, or interpolate between policy-gradient objectives. This suggests that CER is a family resemblance among methods whose common structure is: an entropy statistic is measured, a consistency statistic is introduced, and some downstream optimization or selection rule is reweighted accordingly.
A frequent misconception is that CER means “use low entropy samples.” The papers do not support that simplified reading. The central point is instead that low entropy may be unreliable under distribution shift, imbalance, or outcome collapse, so entropy is reinterpreted through an auxiliary consistency signal.
2. Core mechanism
Across the ML formulations, CER-like methods share three ingredients: an entropy term, a consistency term, and a reweighted target. In ReTA, the reweighted target is cache priority, and the entropy of a sample is modified as
where measures committee stability and measures whether the committee majority agrees with the original prediction (Liang et al., 13 Jul 2025).
In long-tailed class-incremental learning, the entropy term is a normalized Shannon entropy over the accumulated class distribution,
and it modulates the distillation coefficient through
There, the consistency component is not prediction agreement but gradient consistency, implemented as
with an exponential moving average of past gradients (Sakai et al., 5 May 2026).
In COPO, entropy is computed over the empirical distribution of final answers sampled for a single prompt,
and it controls a soft interpolation between local and global policy optimization,
High outcome entropy emphasizes local GRPO-style optimization; low outcome entropy shifts weight to a prompt-level global signal (Han et al., 6 Aug 2025).
These formulations are mathematically different, but they instantiate the same design principle: entropy becomes operational only after being filtered through a consistency criterion.
3. CER in reliable test-time adaptation of vision-LLMs
The most direct formulation of Consistency-aware Entropy Reweighting appears in ReTA, a cache-based test-time adaptation method for CLIP-like vision-LLMs under visual distribution shift (Liang et al., 13 Jul 2025). The problem setting is a dynamic cache of test-time image features and pseudo-labels. Earlier cache-based methods prioritized entries purely by low prediction entropy, but the paper argues that under distribution shift CLIP can be overconfident on wrong predictions, so low-entropy samples are often wrongly labeled and progressively corrupt the cache.
ReTA begins with standard CLIP probabilities
where 0 is an image feature and 1 is a class text embedding. Instead of trusting the entropy
2
directly, CER constructs a semantic committee of adjacent text embeddings for each class. Multiple prompts 3 are encoded, intra-class similarities
4
are computed, and embeddings are sorted from semantic outliers to centroids. The method then uses ascending progressive binning with
5
to form adjacent embeddings 6 as averages of the first 7 sorted embeddings.
To reduce the modality gap between image and text representations, ReTA applies SVD to the matrix of adjacent text embeddings, keeps the top-8 right singular vectors, and defines a projection
9
The projected feature is then classified by each committee member,
0
yielding a set of committee predictions 1. The majority-voted class 2 and its vote count 3 define a stability factor
4
Agreement with the original prediction
5
defines a consistency factor
6
These are combined into
7
The practical effect is entirely on cache construction. Samples with low raw entropy but unstable or inconsistent committee behavior receive a larger 8 and are more likely to be evicted or rejected. CER does not alter the retrieval formula itself; it changes which samples are allowed to define the class-wise cache prototypes. The paper characterizes this as a committee-based, semantic-consistency filter on top of entropy.
4. CER in long-tailed class-incremental learning
A second major instantiation appears in “Dynamic Distillation and Gradient Consistency for Robust Long-Tailed Incremental Learning,” which does not name CER explicitly but matches the pattern exactly (Sakai et al., 5 May 2026). The setting is long-tailed class-incremental learning (LT-CIL), where new classes arrive sequentially and the class distribution is imbalanced. The paper separates two sources of difficulty: intra-task imbalance and inter-task imbalance.
The entropy-driven part is a dynamic distillation coefficient based on the accumulated global class distribution. If 9 is the proportion of class 0 among all classes observed so far, then the normalized entropy
1
acts as a measure of how balanced the stream is. A time-based schedule
2
is multiplied by this entropy to obtain the final distillation weight
3
When the class distribution is balanced, 4, so distillation can become strong late in the task. Under severe imbalance, 5, so distillation remains limited even at late epochs, reducing over-preservation of majority-class bias.
The consistency component is Gradient Consistency Regularization (GCR). Let 6 be the current gradient and
7
its exponential moving average, with 8. The update uses
9
with 0. The stated effect is to suppress abrupt fluctuations, stabilize training across task boundaries, and reduce forgetting, especially for minority classes. The paper also retains gradient reweighting for intra-task imbalance through
1
where 2 is the cumulative gradient norm for class 3.
Viewed through CER, this formulation couples entropy-aware reweighting of distillation with temporal consistency of optimization dynamics. The resulting objective remains
4
but the optimization trajectory is further constrained in gradient space.
5. Related CER-style formulations
The same pattern appears in several adjacent areas. The details differ, but each method uses entropy as a reliability-sensitive control variable rather than a standalone score.
| Paper | Consistency signal | Reweighted quantity |
|---|---|---|
| ENCORE (Li et al., 26 Mar 2025) | Rule reliability via low rating entropy | Multi-head reward aggregation weights |
| ER-CP (Luo et al., 2024) | Alignment between predictive uncertainty and set size | Input-dependent logit scaling for conformal scores |
| COPO (Han et al., 6 Aug 2025) | Outcome consistency across sampled responses | Mixing weights for local and global policy losses |
ENCORE computes per-rule discrete entropies 5 over rule-level safety ratings and assigns
6
with default 7. Rules with high rating entropy are treated as less reliable and receive lower weight in the aggregated scalar reward 8 (Li et al., 26 Mar 2025). The paper further argues, through a Bradley–Terry analysis, that maximally entropic rules naturally receive minimal weighting.
Entropy Reweighted Conformal Classification applies entropy directly to logits. For classifier logits 9 and predictive entropy
0
it defines
1
These reweighted probabilities replace the original probabilities inside APS-style conformal scores, and a validation split selects the temperature 2 that minimizes average prediction-set size (Luo et al., 2024). The paper interprets this as making conformal set sizes more consistent with local uncertainty.
COPO uses entropy over the empirical distribution of final answers within a sampled response group for a prompt,
3
then blends a local GRPO-style objective with a prompt-level global objective: 4 Low entropy indicates high intra-group consistency and shifts weight to the global signal; high entropy indicates answer diversity and shifts weight to local optimization (Han et al., 6 Aug 2025). This is a direct entropy-based reweighting of policy-gradient components.
6. Empirical profile, implementation patterns, and limitations
Empirically, CER-style methods are presented as reliability mechanisms under conditions where raw entropy is known to be brittle. In ReTA, Table 3 reports a baseline of 5 on Natural Distribution Shifts and 6 on Cross-Datasets; adding CER alone raises these to 7 and 8, and the full ReTA model reaches 9 and 0. The same study reports that ascending progressive binning reaches 1, versus 2 for descending and 3 for uniform, and that SVD projection reaches 4, versus 5 for PCA and 6 for LDA (Liang et al., 13 Jul 2025). These numbers support the claim that the consistency mechanism is not incidental but structurally tied to performance.
In LT-CIL, experiments on CIFAR-100-LT, ImageNetSubset-LT, and Food101-LT show consistent accuracy improvements of up to 7, with particularly strong gains in the challenging In-ordered setting. The paper also reports a training-time increase of about 8 and no additional inference cost, because the method modifies only training-time weighting and gradients rather than model architecture (Sakai et al., 5 May 2026). This supports the interpretation of CER as a lightweight control mechanism rather than a heavy auxiliary module.
In multi-head reward modeling, ENCORE reports a RewardBench safety score of 9, compared with 0 for uniform weights and 1 for MoE weights; an entropy-based top-5 rule selection reaches 2. In conformal classification, ER-CP on AG News at 3 reports coverage 4 and size 5, versus APS coverage 6 and size 7. In rule-based RL for LLM reasoning, COPO with Qwen2.5-Instruct 7B improves MATH-500 mean@8 from 8 to 9 and maj@8 from 0 to 1 (Li et al., 26 Mar 2025, Luo et al., 2024, Han et al., 6 Aug 2025). Taken together, these results suggest that entropy reweighting is most useful when entropy alone is misaligned with the downstream notion of reliability.
The limitations are equally consistent across papers. ENCORE notes that a rule may be high-entropy but still conceptually important, or low-entropy but trivial, and that the method depends on judge quality and does not explicitly encode rule importance. ER-CP leaves the exact effect of validation-based temperature selection on finite-sample validity to future work. COPO assumes enough variation in prompt difficulty across a mini-batch to maintain a non-zero batch standard deviation for the global reward, and it does not outperform GRPO on Qwen2.5-Math-1.5B-Instruct. ReTA, for its part, depends on multiple prompts per class, projection dimensionality, and committee size; the reported best settings use cache size 2 per class, 3, and 4 (Li et al., 26 Mar 2025, Luo et al., 2024, Han et al., 6 Aug 2025, Liang et al., 13 Jul 2025).
A final point of clarification follows from the surveyed literature. CER is not a single objective with a universal formula. The explicit ReTA formulation, the LT-CIL formulation, and the CER-like variants in reward modeling, conformal prediction, and RL all use different entropy definitions, different consistency notions, and different reweighted quantities. What unifies them is narrower and more precise: entropy is treated as a useful but unreliable signal, and consistency is introduced to decide when, where, and how that signal should influence learning or selection.