Learning travels and cools
Follow one Beta belief as a moving point and a thermal cloud. An exact Gibbs identity reveals how direction, spread, and accumulated trials fit together.
Imagine tracking a flock of birds through fog. You could draw an arrow toward the flock’s center, or sketch the cloud occupied by all the birds. The arrow tells you where the flock is heading. The cloud tells you how scattered it is. Watching only one of them leaves half the story invisible.
A belief has a similar double life. Its mean probability can travel toward support or opposition while its distribution changes width. In the evidence cone, we describe the first story using direction and velocity. In statistical mechanics, we can describe the second using an energy landscape and temperature.
Can both descriptions belong to the same belief? They can, and there is an exact equation connecting them. The surprise is that cooling does not guarantee a narrower cloud after every new observation. Sometimes the ground beneath the cloud moves too.
One state, two maps
Let an unknown probability
Define the total weight
Our first map places the belief at
Here
An incoming stream changes the mean when its direction differs from the existing balance. The same discrepancy produces a smaller change in a belief carrying more weight: greater resistance to change, or less malleability.
Our second map follows the entire distribution over possible probabilities. Its natural coordinate will be log odds,
Log odds stretch the bounded interval
A Gibbs ensemble hiding inside a Beta belief
A Gibbs ensemble assigns greater weight to states with lower energy. With temperature measured in suitable dimensionless units, its density has the form
The Beta density, including its normalization, is
Here
Changing coordinates requires the Jacobian
This is an exact normalized Gibbs representation with energy
The energy has a familiar meaning. If a candidate probability is
This is the average surprisal, or cross-entropy, of predictions
Its slope and curvature are simple:
The landscape therefore has one valley, at
This is the mode of the log-odds density. Its inverse transform equals the probability mean
Try moving the valley and changing the temperature
Predict what one opposing trial will do to a belief with weights
Choose the cloud shape you expect, then add the opposing trial. The next two experiments change both weights together, holding the mean fixed. Open the density controls afterward to explore freely.
Will cooling widen the cloud?
Choose the cloud you expect, then carry out the experiment. Temperature and probability spread have different jobs.
Experiment 1 of 3 · A surprising trial
The belief is near the edge. Predict what happens to its probability spread.
Starting mean
95.2%Starting weights
20 : 1Explore the actual density and weight controls
Rose dashed: experiment's starting density. Teal: current density over log odds. Both share the same vertical scale; the view is clipped to log odds −6 to 6.
Current mean 95.2%; weights (20.0, 1.0).
Rescaling includes the prior and is hypothetical, rather than additional independent trials. The preview silhouettes indicate only wider or narrower probability spread; the plotted curves are normalized log-odds densities. Exploring these controls leaves the recorded mission verdict unchanged.
The rose curve remembers the preceding state, while teal shows the current one. The curves use log odds; the variance readout uses centered probability. These two measures of spread need not move together, because log odds stretch the probability axis unevenly. A new trial can move the valley and change the temperature together. Doubling both weights preserves their ratio, so the valley stays put while the Gibbs distribution concentrates around it.
That second operation is a hypothetical change of weight. It includes the prior and does not imply that the same data were observed independently twice. In log-odds coordinates, scaling
This distinction matters whenever “tempering” is used to mean changing a posterior’s temperature. Specify which density or likelihood is being tempered and which prior remains fixed.
The two factors in the cloud’s width
Let
The directional factor is largest at equal support and opposition and smaller near either edge. The thermal factor shrinks as total weight grows. The variance of
These factors reveal why “learning is travel” and “learning is cooling” can coexist:
| Face of the belief | Quantity followed | What changes it |
|---|---|---|
| Direction in the cone | Mean | A different balance in incoming trials |
| Thermal concentration | Total prior-inclusive weight | |
| Actual probability spread | Direction and concentration together |
For
One opposing trial produces
The temperature fell from
A scientist who receives a surprising measurement may revise a near-certain-looking estimate into a broader distribution. This is perfectly compatible with accumulating another trial. Nor is equal balance a unique psychological state: many opposing trials can represent sustained conflict, while a very small total weight near the same mean can represent little information.
How one count acquires several jobs
With a symmetric prior of total weight
These are different roles of the same bookkeeping count:
Calling
The geometric bridge can be written another way. For a single Bernoulli observation, Fisher information about its probability
Here the Fisher quantity belongs to the one-parameter Bernoulli model. The full two-parameter Beta family’s Fisher metric is a different object. The identity relates two useful quantities without identifying their whole geometries.
Cooling toward a Gaussian cloud
Hold
Substitute this into the Gibbs density and recognize a Gaussian:
The log-odds width is approximately
For repeated independent Bernoulli data generated at a fixed interior probability, with a suitable positive prior, the related Bernstein-von Mises result describes a posterior becoming approximately Gaussian around a data-dependent estimate that approaches the true parameter. The centering remains random across repeated experiments. Boundary cases require different limits; Bochkina and Green’s research on nonregular models shows how non-Gaussian components can arise.
The small parameter
A warm belief in a changing environment
A learner that continually discounts old weights need never reach zero temperature. Consider a simple recursion for its centered mean,
where independent incoming outcomes
Across many independent histories, the stationary variance
For slow forgetting,
This is a useful place to explore fluctuation-dissipation ideas, which connect random fluctuations with a system’s response to disturbances. The factor here follows from the chosen averaging recursion. It is not by itself an equipartition theorem, and changing the memory rule can change the comparison. Temperature language helps organize the experiment while the recursion supplies its actual dynamics.
Pilot a changing world
Take this recursion into a world with changing seasons. On each leg, choose whether to keep a long memory or let new trials turn the forecast quickly. The forecasting bill is charged before each outcome arrives. Compare your route with fixed-memory routes, then replay the same weather. When the gain changes between legs, the fixed-gain stationary formula above no longer describes the whole journey.
Pilot a forecast through three seasons
Choose how strongly the next eight trials can turn your forecast. A light touch smooths noise; a strong turn follows a changed world faster.
Leg 1 of 9 · 0/72 trials traveled
Sky: your forecast. Dashed: the season's true rate, revealed as you travel.
Forecast of plus
50.0%Forecasting bill
0.0 bitsThe first season begins with a forecast of 50%. Choose a memory response to launch.
Why memory helps and hurts
The chart shows probability (1+v)/2. Gains are constant within each eight-trial leg, and may change between legs. The stationary-variance formula in the article applies only to a fixed gain. All routes start at 50% and see the same seeded, conditionally independent sequence with plus rates 80%, 20%, then 65%. Dashed lines show each season's rate after entering it. A forecast is scored before seeing its outcome using −log₂ of the probability assigned to that outcome. Lower total bits means a better prediction record for this one route; a single replay does not establish an optimal policy.
The imaginary-time trail
There is a deeper trail worth following. In quantum theory, a Hamiltonian
where
Our Gibbs factor
An especially inviting target is an epistemic counterpart of the Unruh effect. In quantum field theory, uniform acceleration through the vacuum produces a thermal detector response. Its derivation uses a field state, correlation functions along the accelerated trajectory, and the Kubo-Martin-Schwinger, or KMS, equilibrium condition. KMS relates differently ordered correlations by an imaginary-time shift; see Crispino, Higuchi, and Matsas.
An epistemic experiment could begin by specifying a fluctuating field over the cone and a detector coupled to it along a hyperbolic lineage. Then ask whether the sampled correlations satisfy KMS, and whether the detector’s transition-rate ratio defines a temperature proportional to acceleration. This makes the speculation testable as mathematics: the proposed field and coupling must produce the thermal relation, rather than having it inserted into the detector’s rule.
More thermodynamics from the same valley
At fixed
The first derivative gives mean energy; the second gives its fluctuations. Define free energy
These identities follow by differentiating the normalized integral, holding the landscape fixed. Tong’s statistical mechanics notes develop the general partition-function method.
For one proper Beta belief,
For now, one lineage already carries plenty to explore: a point advancing through a cone, a cloud changing shape, a prediction valley being revised, and a temperature set by accumulated weight. The next surprising trial can affect all four at once.
Further reading
- NIST: Beta distribution, for the probability model and its moments.
- Tong: statistical mechanics, for ensembles, partition functions, and thermodynamic derivatives.
- Tong: path integrals, for the imaginary-time connection.
- Bochkina and Green: nonregular Bernstein-von Mises limits, for what changes at parameter boundaries.
- Crispino, Higuchi, and Matsas: the Unruh effect, for the field-theory target behind the proposed accelerated-detector experiment.