Topics
Entropy minimisation sounds like a sensible semi-supervised principle.
If the model sees many unlabelled observations, encourage it to make confident predictions on them.
In binary classification, this means pushing predicted probabilities away from
and toward
or
The intuition is that class boundaries should pass through low-density regions, not through regions filled with uncertain predictions.
That intuition can be useful.
But there is a basic asymmetry hiding inside it:
it does not know whether the prediction is correct.
A confidently wrong prediction has very low entropy.
So does a confidently correct one.
The entropy term cannot distinguish them.
Binary Predictive Entropy
For a binary class probability
the Shannon entropy is
Its maximum occurs at
where uncertainty is highest.
Its minimum occurs at the extremes,
and
Formally,
while
So minimizing entropy encourages decisive predictions.
That is all it guarantees.
The Entropy Function Is Symmetric About the Wrong Answer
Suppose the true label for an observation is
Then
is excellent.
But
has exactly the same entropy:
The entropy term is indifferent between them.
It prefers both to
This single identity already gives the central warning:
The labelled loss has to supply the direction.
The Typical Semi-Supervised Objective
A simplified entropy-minimisation objective is
where
- $L_{\text{sup}}$ is the supervised loss,
- $U$ is the unlabelled sample,
- $\lambda$ controls the strength of the entropy penalty.
The supervised term says:
fit the trusted labels.
The entropy term says:
make the unlabelled predictions decisive.
Those two instructions are compatible only if the direction of confidence induced by the supervised signal is already approximately correct.
A One-Parameter Counterexample
Consider an intentionally simple classifier.
It predicts the same class-one probability
for every observation.
The model is obviously underpowered.
That is useful because it lets us see the objective exactly.
Suppose the trusted labelled set contains exactly two observations:
- one with label zero,
- one with label one.
The supervised cross-entropy loss is
Because the labels are balanced, the supervised optimum is
The classifier cannot distinguish the observations, so the best it can do is report the class frequency.
Now add
unlabelled observations and entropy weight
Because the classifier predicts the same $q$ for every unlabelled point, the entropy contribution is
Define
The full objective becomes
This one-dimensional function contains the entire conflict.
The Balanced Supervised Solution Is Always Stationary
Differentiate.
The supervised part gives
For the entropy term,
Therefore,
At
the first two terms cancel and
So
for every
The symmetric solution remains a stationary point no matter how much unlabelled entropy pressure we add.
But its stability changes.
The Second Derivative Reveals the Transition
Differentiate again.
For the supervised term,
For entropy,
Thus,
At
we obtain
Therefore:
and
So the balanced supervised solution changes from a local minimum to a local maximum at
That is the key result.
The Entropy Term Can Destabilise the Supervised Solution
Recall that
So the transition occurs when the total effective unlabelled entropy pressure exceeds
For
the objective is locally happy with the uncertain probability
For
that same point becomes locally unstable.
The entropy term now pushes the model toward one of two more confident alternatives.
Because the problem is symmetric, there is no information in the objective telling it which direction is substantively correct.
The unlabelled term has created confidence pressure.
It has not created class information.
The Two Confident Directions Are Symmetric
The objective satisfies
So whenever a minimum appears at
there is another at
One solution predicts class zero confidently for almost everyone.
The other predicts class one confidently for almost everyone.
The trusted labels are perfectly balanced.
The unlabelled entropy term creates no preference between the two collapse directions.
This is not a numerical artifact.
It follows from symmetry.
More Unlabelled Data Can Strengthen the Collapse
Because
increasing the size of the unlabelled sample increases the total entropy contribution unless the loss is normalized differently.
Even when implementations average the unlabelled term, an equivalent effect appears through the explicit weighting parameter.
The important quantity is the relative strength of the unlabelled regularizer compared with trusted supervision.
If that ratio grows too large, the model can be rewarded more strongly for becoming certain than for respecting the limited labelled evidence.
This gives another version of a recurring semi-supervised principle:
Entropy minimisation assumes that decisive predictions are useful.
It does not verify that assumption.
Confidence Collapse Is Not Always Visible in Accuracy
Suppose the true population is highly imbalanced.
Imagine
A model collapsing confidently to class zero can obtain
accuracy.
Its entropy is near zero.
Its accuracy looks strong.
Its minority-class recall is catastrophic.
So a low-entropy solution can look excellent under a coarse aggregate metric.
This is especially dangerous when the labelled set is small enough that minority examples are rare.
Entropy minimisation can reinforce the majority solution because confidence and prevalence point in the same direction.
Class Balance Changes the Geometry of the Objective
Now suppose the labelled sample contains
positive labels and
negative labels.
For the same constant classifier,
The supervised optimum is
This already reflects the observed class balance.
Add entropy minimisation and the optimum is pushed further away from
So if the labelled class proportion is itself noisy or unrepresentative, the unlabelled entropy term can amplify that sampling accident.
The mechanism is simple:
Entropy Minimisation Is a Decision-Boundary Assumption
Why can entropy minimisation work well in practice?
Suppose class probabilities are uncertain mainly near the decision boundary.
Then high entropy marks a region where the classifier changes class.
If the unlabelled data density is low there, pushing probabilities away from
encourages the boundary to move into the density valley.
This is closely related to low-density separation.
The method is therefore useful when the geometry looks roughly like
In that setting, unlabelled density contains information about where the decision boundary should not go.
The Assumption Can Fail at Maximum Density
Consider
with deterministic class rule
The Bayes decision boundary is
But zero is also the mode of the feature distribution.
The correct boundary passes through the region of highest density.
Any method that strongly prefers low-density separation is being pushed away from the true classifier.
The failure is not because the model is poorly trained.
The structural assumption is wrong.
Low Entropy Can Be Wrong Everywhere
Take the extreme classifier
for every $x$.
Its predictive entropy is tiny:
If the true population is balanced, its classification error is approximately
Now take the opposite constant classifier,
It has essentially the same entropy and the same error.
Entropy cannot distinguish between them.
A supervised signal is required to orient the decision.
Entropy Is Not Calibration
A classifier can be confidently wrong and badly calibrated.
Entropy minimisation tends to sharpen probabilities.
That can reduce predictive entropy while worsening calibration.
Suppose true conditional probability is
A calibrated model should predict approximately
Entropy minimisation may push the output toward
or
Classification may remain correct under a 0.5 threshold.
Calibration becomes worse.
So even when accuracy improves, probabilistic quality can deteriorate.
Proper Scoring Rules and Entropy Serve Different Roles
Cross entropy on labelled observations is a proper scoring rule.
In expectation, it is minimized by the true conditional probability.
Predictive entropy on unlabelled observations is not a proper scoring rule for the unknown labels.
It contains no observed outcome.
Its optimum is simply certainty.
That distinction is fundamental.
The supervised loss estimates
The unlabelled entropy term imposes a structural preference on that estimate.
It is regularization, not additional observed truth.
A Useful Decomposition
For binary prediction, one can conceptually separate three goals:
- discrimination: choose the correct class,
- calibration: match predicted probability to empirical frequency,
- confidence: move probabilities away from 0.5.
Entropy minimisation directly encourages the third.
It may help the first under suitable geometry.
It can hurt the second.
Those outcomes should not be conflated.
The Entropy Term Can Fight Label Noise in Either Direction
Suppose a few trusted labels are wrong.
Entropy minimisation might help by preventing the classifier from bending sharply around isolated mislabeled observations.
That can be beneficial.
But the same mechanism can also suppress a rare but correct class.
The method does not know whether a conflicting labelled point is:
- noise,
- a minority population,
- a boundary case,
- or evidence that the low-density assumption fails.
The interpretation comes from the data-generating context.
Entropy and Pseudo-Labelling Are Closely Related
Pseudo-labelling converts high-confidence predictions into hard targets.
Entropy minimisation instead directly rewards low-entropy predictions.
Both encourage the model to become more decisive on unlabelled observations.
In the binary case, pushing
toward
or
makes an eventual hard pseudo-label more stable.
So the two mechanisms can reinforce each other:
If the initial direction is wrong, the feedback can strengthen the error.
Consistency Regularisation Can Reinforce the Same Mistake
Suppose a model is confidently wrong on an unlabelled observation.
Entropy minimisation rewards the confidence.
Consistency regularisation then asks augmented versions of the observation to preserve that prediction.
The combination can produce a coherent but wrong local region.
This is why semi-supervised losses should not be evaluated one term at a time.
Their assumptions interact.
Entropy Minimisation Does Not Create Missing Classes
Suppose the labelled sample contains no examples from one rare class.
An unlabelled entropy term does not know that the class exists.
If the model's current representation assigns those observations confidently to a known class, entropy minimisation rewards that assignment.
The unlabelled data may contain the missing population geometrically.
But the entropy objective alone has no semantic mechanism for inventing a new class label.
This matters in open-set and class-mismatch settings.
Class-Mismatch Can Be Dangerous
Suppose the unlabelled pool contains observations from classes absent from the labelled problem.
A closed-set classifier still has to allocate them among known classes.
Entropy minimisation encourages that allocation to be confident.
The result can be confidently wrong by construction.
So before using entropy minimisation, one should ask whether labelled and unlabelled samples share the same label space.
That assumption is often left implicit.
Out-of-Distribution Inputs Can Receive Low Entropy
Many discriminative models produce high-confidence predictions far from the labelled support.
If such observations enter the unlabelled pool, entropy minimisation can make the problem worse by explicitly rewarding those confident extrapolations.
Low entropy therefore does not imply that an observation is in distribution.
Confidence, density and support are separate concepts.
Entropy Minimisation and Temperature
Suppose logits are
A softmax with temperature
uses
Lower temperature sharpens probabilities.
As
the distribution becomes nearly one-hot.
Entropy falls.
But class decisions may not change at all.
So one can reduce entropy dramatically without improving classification.
This gives a simple conceptual demonstration that entropy is not synonymous with accuracy.
Confidence Sharpening Can Be Purely Cosmetic
Suppose the predicted class is already fixed:
Changing
from
to
does not change the hard classification.
It only changes confidence.
If class $c$ is correct, the classifier becomes more decisive.
If class $c$ is wrong, it becomes more decisively wrong.
Entropy minimisation cannot tell which case it is in.
Why the Low-Density Assumption Helps
The strongest argument for entropy minimisation is not
confident predictions are good.
It is
under the assumed geometry, correct boundaries should lie in low-density regions, so uncertainty on high-density unlabelled observations is evidence that the current boundary is misplaced.
That is a much more specific statement.
It gives the method a mechanism.
It also gives us something to test.
Examine Entropy Against Feature Density
If entropy minimisation is justified through low-density separation, inspect whether high predictive entropy is actually concentrated in low-density or transition regions.
Let
be a density proxy or local-neighbour score.
Then examine the joint relationship between
and
If high entropy is concentrated in dense, well-supported regions, the low-density rationale is questionable.
Density estimation in high dimensions is difficult, so this is not a universal diagnostic.
But the justification and the diagnostic should at least point in the same direction.
Use Labelled Data to Check the Assumption
On a trusted labelled validation set, examine whether points near the estimated decision boundary tend to lie in lower-density regions than confidently classified observations.
For example, define a margin proxy
Small
indicates uncertainty.
Compare neighbourhood density for small- and large-margin observations.
If uncertainty frequently occurs in dense regions containing both classes, entropy minimisation may impose the wrong geometry.
Monitor Calibration Before and After Entropy Regularisation
Because entropy minimisation sharpens predictions, calibration should be measured explicitly.
Useful metrics include:
- reliability diagrams,
- class-conditional calibration,
- Brier score,
- log loss,
- expected calibration error,
- and selective accuracy at confidence thresholds.
An accuracy gain accompanied by severe overconfidence may be unacceptable in applications where probabilities drive decisions.
Compare Predictive Entropy With Error
On labelled validation data, estimate
If low-entropy predictions are genuinely reliable, this conditional error should fall as entropy decreases.
Do not assume the relationship.
Measure it.
A model whose lowest-entropy predictions still contain systematic errors is a poor candidate for entropy-driven self-training.
Sweep the Entropy Weight
The parameter
controls how strongly unlabelled certainty competes with trusted supervision.
A serious experiment should report performance over a range of values.
The one-parameter example showed why.
The effective objective can change qualitatively as the relative entropy weight grows.
In the toy problem, the symmetric solution changes stability at
Real models need not have such a clean threshold.
They can still undergo analogous changes in optimization behaviour.
Record Class Proportions
Entropy minimisation can amplify class imbalance.
Track the predicted class distribution on unlabelled data as
changes.
If one class suddenly absorbs most of the unlabelled pool while supervised validation does not improve, that is a warning sign.
The model may be reducing entropy through class collapse rather than discovering useful structure.
Conditional Entropy Alone Can Encourage Collapse
In some objectives, one minimizes conditional predictive entropy
on unlabelled data.
A constant deterministic classifier has
So conditional entropy alone admits complete class collapse.
Some methods counter this by also encouraging diversity in the marginal prediction distribution.
That distinction matters.
Mutual Information Shows the Missing Piece
Recall
Minimizing conditional entropy
encourages confident predictions.
Maximizing mutual information also rewards large marginal entropy
which discourages collapse to a single class.
This does not solve every problem.
But it reveals exactly what pure entropy minimisation omits.
A model that confidently predicts one class for everything has low conditional entropy but low marginal class entropy as well.
Marginal Entropy Introduces Another Assumption
Encouraging high
can prevent trivial collapse.
But it may implicitly favour balanced class usage.
If the true class distribution is highly imbalanced, forcing high marginal entropy can be wrong.
So the correction introduces another structural assumption.
There is no free objective.
Every regularizer expresses a preference.
Distribution Alignment Makes Priors Explicit
Some semi-supervised methods explicitly align predicted class frequencies with an estimated class prior.
If the true prior
is known or reliably estimated, this can constrain entropy collapse.
But if the unlabelled population has a different class prior from the labelled sample, using the labelled prior can introduce bias.
Prior alignment should therefore be justified by the sampling design.
A Good Negative Control
One useful experiment is to destroy the relationship between labels and unlabelled geometry while preserving the feature distribution.
For example:
- keep the unlabelled features fixed,
- permute trusted labels in a controlled experiment,
- fit the semi-supervised method,
- inspect whether entropy minimisation still produces confident structure.
It often will.
That is expected.
The negative control reveals how much apparent certainty can be generated by the regularizer without genuine label information.
Another Negative Control: Unimodal Data
Use a continuous unimodal distribution with a label boundary that cuts through its dense region.
This directly violates low-density separation.
Compare:
- supervised learning,
- entropy-minimised learning,
- calibration,
- boundary location,
- and error.
If the entropy method degrades, the experiment confirms that the failure is structural rather than implementation-specific.
The Supervised Baseline Is the Control Arm
The simplest question remains:
The baseline should use:
- the same architecture,
- the same labelled data,
- the same optimization budget where possible,
- and the same evaluation set.
Otherwise, gains can be attributed to unrelated changes.
Semi-supervised learning needs a clean control condition.
Report Negative Transfer
Define
where lower risk is better.
Then
indicates negative transfer.
Do not report only the average gain.
Report:
and
across seeds or resamples.
Entropy minimisation can help on average while harming a substantial subset of datasets or subgroups.
Entropy by Subgroup Matters Too
Suppose a model is confident on the majority population but uncertain on a minority subgroup.
Entropy minimisation may preferentially force that subgroup into the majority decision geometry.
So examine predictive entropy and error by subgroup.
Global entropy reduction can hide concentrated harm.
This is especially important when representation quality differs across populations.
Confidence Is Not Evidence of Support
An observation can have:
- low predictive entropy,
- high model confidence,
- and almost no nearby labelled support.
Those are not contradictory.
A discriminative model can extrapolate confidently.
So entropy-based semi-supervised learning should be paired with support diagnostics where extrapolation is a concern.
Possible proxies include:
- nearest-labelled distance,
- ensemble disagreement,
- density ratio estimates,
- representation-space coverage,
- or conformal-style nonconformity scores.
None is universal.
The point is to avoid treating certainty as evidence that the model has seen enough relevant supervision.
Entropy Minimisation Can Be Useful
The critique should not be overextended.
When:
- labelled and unlabelled distributions are aligned,
- the label space is shared,
- boundaries lie in relatively low-density regions,
- the initial supervised model is directionally reasonable,
- and class proportions are handled appropriately,
entropy minimisation can improve semi-supervised learning.
The method is not flawed.
Its success is conditional.
The Correct Interpretation
The entropy term does not say
these predictions are probably correct.
It says
among otherwise plausible solutions, prefer one that is more decisive on the unlabelled sample.
That is a regularization principle.
Its validity depends on the structure of the problem.
Once stated that way, the method becomes easier to evaluate honestly.
A Practical Validation Contract
Before trusting entropy minimisation, I would require several checks.
1. Preserve the supervised baseline
Measure exactly what the entropy term adds.
2. Sweep the entropy weight
Look for collapse, instability and calibration changes.
3. Track predicted class proportions
A sudden drift toward one class can indicate entropy-driven collapse.
4. Measure calibration
Low entropy should not be mistaken for reliable probability estimates.
5. Examine low-entropy error
Check whether the most confident predictions are actually the most accurate on trusted labels.
6. Stress-test class imbalance
Repeat experiments under plausible changes in class prior.
7. Stress-test low-density separation
Use synthetic or controlled examples where the true boundary crosses dense regions.
8. Check class-space alignment
Do not assume the unlabelled pool contains only known classes.
9. Report negative transfer
Retain seeds and subgroups where the entropy term hurts.
The Core Counterexample
The constant-classifier example is deliberately crude because it isolates the objective.
With one labelled example from each class,
The balanced solution
is always stationary.
Its curvature is
Therefore,
A sufficiently strong entropy term creates pressure toward confident alternatives even though the trusted labels are exactly balanced.
That is the whole warning in one equation.
The unlabelled term creates certainty.
It does not create direction.
Conclusion
Entropy minimisation is useful because many classification problems do have low-density decision boundaries.
When that assumption is approximately correct, unlabelled data can reveal where uncertain boundaries are geometrically implausible.
But predictive entropy itself contains no notion of correctness.
For binary probability $p$,
So a confidently wrong prediction is just as attractive to the entropy term as a confidently correct one.
The key principle is therefore
The supervised loss must orient the classifier.
The geometry of the unlabelled data must make that orientation compatible with decisive predictions.
And the relative weight of the entropy term must not overwhelm the trusted signal.
Use entropy minimisation as a structural prior.
Do not interpret it as supervision magically extracted from uncertainty itself.
References
- Chapelle, O., Schölkopf, B., & Zien, A. (Eds.). (2006). Semi-Supervised Learning. MIT Press.
- Grandvalet, Y., & Bengio, Y. (2005). Semi-supervised learning by entropy minimization. Advances in Neural Information Processing Systems, 17.
- Lee, D.-H. (2013). Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. ICML 2013 Workshop on Challenges in Representation Learning.
Embed interactive plots, widgets, and demos using <figure>, <iframe>, or <div class="interactive-embed"> containers. Ensure each embed includes descriptive captions for accessibility.
How to cite
Use the quick export buttons to save citations for reference managers or copy the formatted text directly.
Diogo Ribeiro (2025). Entropy Minimisation Can Make the Wrong Answer More Confident. Faculty of Media Arts and Design, Technical University of Porto. https://diogoribeiro7.github.io/machine-learning/entropy_minimisation_can_make_the_wrong_answer_more_confident/.
