Human–Machine Convergence
Temperature, precision and gain
Rajesh Ranjan Mahapatra
A first-principles test of when softmax temperature, probabilistic precision and neural gain share a mathematical form, and when their causal roles force them apart.
© 2026 Rajesh Ranjan Mahapatra. 28 min read
Convergence hypotheses and executable tests
Temperature, precision and gain
Temperature, probabilistic precision and neural gain become interchangeable only inside a narrow causal corridor: the same statistic must be scaled at the same locus before the same normalisation.
TLDR
- A sharper distribution is an observable shape, not a diagnosis of the process that produced it.
- Softmax temperature rescales already formed score differences; it does not discover what the system knows.
- Probabilistic precision weights one source of evidence relative to other factors, often moving the estimate as well as narrowing it.
- Neural gain changes sensitivity at a physical or simulated locus, and can also change noise, saturation, routing and dynamics.
- Translate among the three only after testing the scaled quantity, causal locus, factorisation, timescale and intervention fingerprint.
A coastal inspection system must choose among continue, inspect and halt. In three control rooms, the screen shows exactly the same distribution: 0.70, 0.20 and 0.10. Room A obtained it by lowering the temperature of a softmax over fixed logits. Room B increased the assumed reliability of a camera measurement relative to a prior map. Room C increased gain inside a recurrent sensor network until its final readout reached the same numbers.
An observer sees one probability vector and reaches for one explanation: all three systems have become more certain. That intuition hides a large assumption. It treats the final distribution as a complete causal description. Now roll fog across the camera, change the prior map, or hold the recurrent network near saturation. The rooms stop agreeing. Room A still sharpens whatever scores it is given. Room B shifts towards or away from the prior according to the estimated observation variance. Room C may amplify a signal, amplify noise, cross a threshold or destabilise a trajectory.
The puzzle is not why three dials can cast the same shadow. Multiplication followed by normalisation makes that easy. The puzzle is what must remain fixed for the shadow to justify a translation among mechanisms.
Three dials coupled over a limited range
The shared shadow is real, but it is local. Move the intervention to another factor or another layer and the coupling usually disappears.
One distribution, three stories
Start with the final vector and the analogy looks irresistible. Start with the intervention and three different stories appear.
Temperature changes a comparison after scores exist
Suppose a model has produced three logits, 2, 1 and 0. A softmax converts their relative differences into positive values that sum to one. At temperature 1, the distribution is approximately 0.665, 0.245 and 0.090. Raise the temperature to 2 and it becomes 0.506, 0.307 and 0.186. Lower it to 0.5 and the leading class rises to roughly 0.867. The evidence, features and candidate labels did not change. Only the conversion from scores to a categorical distribution changed.
Here, zi is the score for option i. Temperature T divides every score before normalisation. The inverse temperature β = 1/T multiplies every score.
Two invariances matter. A positive temperature preserves the ordering of the logits, so a standard post-hoc temperature transform does not change the top class. Adding the same constant to every logit also changes nothing because only score differences survive normalisation. The odds between classes i and j are exp((zi − zj)/T). Temperature therefore governs the sensitivity of the output to already formed differences, not the truth of those differences.[1]
This single scalar is useful. Higher temperatures expose similarity structure in knowledge distillation, while a fitted temperature can improve the calibration of classifiers on held-out data.[2][3] Yet a useful calibration transform is not a universal uncertainty estimator. Its fitted value belongs to a model, dataset, scoring convention and calibration objective. Under distribution shift, a temperature learned on one distribution can become misleading, and newer architectures show calibration patterns that do not follow one simple historical rule.[4][5]
Take logits [2, 1, 0]. The class ranked first remains first at every positive temperature. If an application says that lowering temperature made the system “notice stronger evidence”, inspect the pipeline. No additional evidence entered this computation. A post-hoc decoder simply made the existing ranking more decisive. That can be desirable for sampling or harmful for decision calibration, but it is not new perception.
Temperature reshapes a fixed score vector
Temperature changes categorical sharpness while preserving the ordering of fixed logits.
Precision changes the weight of a probabilistic source
Now replace the score vector with a measurement. A prior model says a crack length is likely to be near zero millimetres, but a camera estimates two millimetres. The question is more than how sharply to display the final answer. It is how much weight to give each source. In a Gaussian model, precision is the inverse variance. A source with lower variance receives more weight because the model represents it as more reliable.
μposterior = (λprior μprior + λdata y) / (λprior + λdata)
λ is precision, μ is a mean, and y is the observation. The equations assume Gaussian prior and likelihood with known variances.
Precision therefore does two jobs in this simple case. It narrows or widens the posterior, and it moves the posterior mean when prior and observation disagree. A softmax temperature applied to a completed posterior cannot generally reproduce that factor-specific reweighting. Global tempering raises both prior and likelihood to the same power. Likelihood precision changes one factor relative to another. They coincide only under restrictive choices, such as a uniform prior or a deliberately matched scaling of the same log factor.
Let the prior be N(0, 2²), so its precision is 0.25. Let the camera report y = 2. If observation precision is 1, the posterior mean is 1.6 and posterior variance is 0.8. Reduce observation precision to 0.25 and the posterior mean falls to 1.0 while variance rises to 2.0. The system did more than become “less confident”. It changed which source governed the estimate.
Precision reweights evidence against a prior
When sources conflict, changing precision can move the estimate. Simple output sharpening need not.
Gain changes a response where it is implemented
Neural gain is broader still. In its cleanest form, one input changes a neuron’s sensitivity to another input without changing the feature to which the neuron is tuned. The modulation may look approximately multiplicative, but it can occur through several cellular, circuit and network mechanisms. It can scale an input before a nonlinearity, scale a response after a nonlinearity, alter thresholds, interact with divisive normalisation, or change recurrent stability.[11][20]
That variety matters. If a linear response g·z is passed directly into the same softmax, gain g is algebraically identical to inverse temperature β. If the gain multiplies a saturated sigmoid, changes correlated noise, or acts on only one population, the equivalence fails. At the organism level, arousal-linked gain may be associated with changes in sensory responsiveness, exploration, network integration and state transitions. Those effects cannot be reduced to a single final categorical sharpness.[15][16][17]
Some probabilistic population-code models make a precise bridge: under Poisson-like assumptions, population response amplitude can encode certainty, and Bayesian operations can be implemented by operations on population activity.[7][8] Predictive-coding accounts further propose that precision is encoded through synaptic gain on selected prediction-error units.[9][10] These are serious computational proposals with explicit commitments. They are not a licence to call every gain change “precision”.
Gain is a family of transfer changes
A single word, gain, covers interventions that can agree locally and diverge sharply at saturation or in recurrent dynamics.
flowchart TD A["One distribution, three stories"] --> B["The narrow corridor of equivalence"] B --> C["Counterfactuals that break the<br/>spell"] C --> D["Audit the parameter before you<br/>trust the analogy"] D -. "re-test" .-> A classDef first fill:#0a1424,stroke:#D95545,stroke-width:2px,color:#e6f3ff classDef step fill:#0a1424,stroke:#3f7da0,stroke-width:1px,color:#e6f3ff class A first class B,C,D step
The narrow corridor of equivalence
The analogy becomes useful when it is written as a conditional statement. It becomes dangerous when the conditions disappear from view.
Put the same statistic at the same place
Let z be a vector of sufficient statistics for a fixed set of alternatives. A softmax with inverse temperature β produces softmax(βz). A linear neural stage with gain g followed by the same softmax produces softmax(gz). A categorical likelihood whose log evidence is z and whose precision parameter λ multiplies that evidence produces softmax(λz), provided the prior is uniform or held outside the comparison in an exactly matched way. Set β = g = λ and the three outputs are identical.
That is not a metaphor. It is an algebraic identity. It also has a small domain. The identity says nothing about what z represents, how it was obtained, whether gain changes its noise, whether precision belongs to the likelihood or prior, or whether the downstream normaliser is biologically implemented. Shared multiplication is a formal relation; shared causal role requires additional preservation tests.
Call the mapping locus-conditional equivalence when seven conditions hold: the candidate set is the same; the same pre-normalised statistic is scaled; the scalar is positive; the transfer function remains in a locally linear regime; prior and likelihood factorisation stays fixed; noise covariance and recurrent state do not change; and the comparison concerns a single distribution rather than learning or long-horizon dynamics.
Each condition has a reason. Change the candidate set and normalisation compares different alternatives. Move the scalar after normalisation and a common multiplicative gain cancels when probabilities are renormalised. Enter saturation and equal score ratios no longer produce equal response ratios. Scale the whole posterior instead of one likelihood and prior conflict is handled differently. Change correlated noise and response amplitude no longer has the same evidential meaning. Let the parameter alter learning and two systems that agree now can disagree after one update.
The equivalence corridor is a constrained landscape
The corridor is a set of preserved relations, not a continuum of vague resemblance.
Two agents see evidence favouring option A, while a prior favours option C. Agent One applies inverse temperature 2 to the complete score prior + evidence. Agent Two doubles only the evidence precision. With a uniform prior, their outputs match. With the conflicting prior restored, what should happen? Agent One doubles both the prior and evidence log factors. Agent Two changes their relative weight. The same scalar now answers different questions. A prior swap is therefore a clean break experiment.
Factor placement is part of the meaning
In categorical inference, one can write a posterior as p(s|y) proportional to p(s)p(y|s). A likelihood precision λ may produce p(s|y,λ) proportional to p(s)p(y|s)λ. A global inverse temperature β applied after combining factors produces qβ(s) proportional to [p(s)p(y|s)]β. These expressions agree when the prior is uniform, when β = λ and the same normalisation follows. They do not generally agree when the prior contains information.
This is why the phrase “precision is inverse temperature” is both tempting and incomplete. In energy-based formulations, inverse temperature multiplies an energy or log-probability and can look exactly like a precision parameter. But a probabilistic model assigns that multiplier to a named distribution or prediction error. The factor placement determines which disagreement is being resolved. Without it, the same notation can hide different models.
Let prior logits be [0, 0, 1], favouring C, and evidence logits be [2, 0, 0], favouring A. Global inverse temperature 2 acts on [2, 0, 1], yielding a very sharp A preference while also strengthening C relative to B. Evidence precision 2 acts on [4, 0, 1], strengthening A without amplifying the prior’s C-over-B preference. One snapshot may still be tuned to look similar, but a second prior exposes the different factorisation.
A neural implementation needs its own commitments
Probabilistic population codes show how a bridge can be made responsibly. In a specified exponential-family code, neural population activity carries sufficient statistics of a probability distribution. Under particular Poisson-like response assumptions, total activity can vary with certainty while the activity profile carries the estimated value. Bayesian combination can then be implemented by operations on the population responses.[7][8]
The strength of this proposal is its specificity. The response model, noise family, kernel and prior assumptions are declared. Its limitation is the same specificity. Saturation, nuisance-dependent covariance, non-Poisson variability or a different coding scheme can break the gain-to-precision relation. Recent prediction-error circuit models continue to investigate how sensory and prediction uncertainty might be estimated and combined, which underscores that the biological implementation remains an active mechanistic question rather than a settled synonym.[18]
Place a gain control inside the sensory population and call its output “evidence”. Now move the same scalar outside the sensory model and apply it only to the policy softmax. The final choice distribution can be retuned to match. Has sensor precision moved with the scalar? No. The candidate system boundary changed what the intervention can causally affect. A parameter’s semantic owner follows its locus, not its numerical value.
One fit can hide several scales
Choice models often estimate an inverse-temperature parameter from behaviour. Yet multiplying all latent values by a constant and dividing the inverse temperature by the same constant preserves the choice probabilities. Unless the value scale is fixed by independent constraints, the fitted parameter absorbs both decision sensitivity and representation scale. A high inverse temperature may reflect more deterministic choice, larger value differences, or a modelling convention.
This is an identifiability problem, not a statistical nuisance to mention after interpretation. Computational cognitive modelling can fit behaviour well while assigning the fitted parameter the wrong psychological role. Simulation and recovery tests are needed to determine whether the proposed manipulation uniquely changes the parameter of interest.[19][21]
Promote a comparison through four grades. Shape resemblance means distributions look similarly sharp. Readout equivalence means one fixed input yields the same distribution. Intervention equivalence means preregistered changes to priors, offsets, noise and scale preserve the mapping. Mechanism equivalence requires the same causal role, locus and dynamics. Most temperature-precision-gain comparisons should stop at the second or third grade.
Counterfactuals that break the spell
A good comparison predicts not only where systems match, but also the intervention under which they must separate.
The saturation cliff
Imagine that the neural path applies tanh(gz) before a softmax. Near zero, tanh(x) is approximately x. Gain g then behaves like inverse temperature. Increase the input contrast and tanh approaches ±1. Score differences stop growing even as g rises. The temperature path continues scaling the original differences. The two outputs diverge. This is a local-to-global failure: a relation valid around one operating point was mistaken for a system-wide identity.
Match a temperature-controlled classifier and a gain-controlled neural model on low-contrast stimuli. Then double stimulus contrast while holding the fitted mapping fixed. If the neural units saturate, the classifier keeps sharpening while the neural distribution plateaus. A match that survives only low contrast supports a local linear bridge. It does not support global equivalence.
With evidence z = [0.4, 0, −0.4], gain 2 gives [0.8, 0, −0.8] before softmax, exactly like inverse temperature 2. Replace the linear stage with tanh. The transformed values are approximately [0.664, 0, −0.664], already softer. With z = [2, 0, −2], the linear path gives [4, 0, −4], but tanh gives about [0.999, 0, −0.999]. The numerical gap is now structural, not rounding error.
Common offsets reveal where gain sits
Softmax ignores a common offset: softmax(z + c1) equals softmax(z). A linear pre-softmax gain also preserves that invariance because g(z + c1) differs from gz by a common offset gc. A saturating gain does not. Adding a baseline can push some units towards a ceiling and compress their differences. A common-mode intervention therefore distinguishes pure score scaling from a nonlinear response change.
A post-normalisation response gain behaves differently again. Multiply every probability by the same positive constant and renormalise, and the original distribution returns unchanged. If a report says that “gain sharpened the probabilities” but the intervention was a common multiplier after normalisation, either another operation occurred or the description is wrong. Placement can turn an apparently powerful parameter into a mathematical no-op.
Intervention fingerprints identify the hidden locus
The discriminating evidence is the pattern across interventions, not the baseline probability vector.
A louder population need not be a more precise population
The gain-to-precision bridge also depends on the noise model. Imagine two populations with the same tuning curves. In the first, spikes fluctuate independently with approximately Poisson-like variance. In the second, every neuron receives a strong shared fluctuation. Doubling mean activity can improve the first population’s discriminability while doing little for the second, because shared noise does not average away. Precision concerns the shape of an encoded distribution or the information available for a declared estimate. It is not identical to total firing rate.
This distinction is built into careful probabilistic population-code work. The relationship among tuning curves, covariance and sufficient statistics must satisfy specific conditions. Contrast can sometimes act as a useful nuisance parameter because it changes means and covariances in a coordinated way. An arbitrary gain intervention need not preserve that coordination.[8] A circuit can therefore become more active while its estimate becomes no more reliable, or even less reliable if correlated variability grows.
A choir sings one pitch. First, every singer becomes louder independently, making the pitch easier to estimate. Next, the same average loudness increase is produced by a shared wobble in timing and pitch. A microphone reports more energy in both cases. Only the first necessarily supplies more independent evidence. Replace singers with neurons and energy with population response. The observable gain is matched, but the precision can move in opposite directions.
Normalisation adds another hidden dependency. Divisive normalisation computes a response relative to pooled activity, so increasing one channel can suppress its competitors, while increasing every channel may largely cancel. A scalar described as gain before the pool has a different effect from the same scalar after the pool. This is not a minor implementation detail. The normaliser defines the comparison class against which a response becomes large.[20]
A snapshot is not a trajectory
Suppose three systems produce the same action distribution at time t. The temperature-controlled system changes only the current readout. The precision-learning system updates its estimate of sensor reliability after surprising observations. The gain-controlled recurrent system changes state occupancy and may alter which information reaches later stages. At t + 1, the systems need not remain matched even if the external input repeats.
At the matching moment, copy each system. In one branch, repeat the same observation. In another, inject a contradictory observation. In a third, interrupt the recurrent state and resume. A pure temperature transform repeats the same mapping unless its controller changes. A precision learner may revise the reliability model. A recurrent gain intervention may carry or lose state. Identity at one frame is therefore weaker than equivalence under a trajectory.
Snapshot equivalence can hide trajectory divergence
Matching at one time does not preserve learning rules, interruption behaviour or recurrent state.
Calibration under shift is a mechanism challenge
Temperature scaling is often fitted on a validation set by minimising negative log-likelihood. This can make confidence frequencies better aligned with accuracy on similar data. It does not repair the representation that produced the logits. If a shift changes class-conditional structure, label prevalence or shortcut use, one global scalar may no longer be appropriate. Empirical studies have found that calibration methods can degrade under shift, while later work shows architecture and pretraining can change the pattern.[4][5]
This is another reason not to interpret temperature as latent precision. A model can be sharply wrong because its scores encode a spurious feature. Softening those scores may improve aggregate calibration without identifying which observations are unreliable. Conversely, a probabilistic model with explicit input-dependent variance can alter its weighting case by case, though that variance model can itself be misspecified. The relevant distinction is between reshaping reported confidence and modelling the source of uncertainty.
A calibration path can fail after the world changes
A scalar fitted to one score distribution can lose meaning when the score-generating process changes.
stateDiagram-v2 [*] --> Claim state "Temperature changes a<br/>comparison after scores exist" as Claim state "Precision changes the weight<br/>of a probabilistic source" as Test state "Gain changes a response where<br/>it is implemented" as Revision Claim --> Test: expose mechanism Test --> Decision: evidence survives Test --> Revision: rival survives Revision --> Claim: narrow or rebuild Decision --> [*]
Audit the parameter before you trust the analogy
The practical response is not to ban comparison. It is to make every comparison carry its locus, factorisation and break tests.
A configured system needs three separate controls
Consider a synthetic inspection assistant reviewing images of a bridge joint. The perception model estimates whether the joint is clear, needs inspection or requires a halt. The runtime also retrieves a prior from maintenance history. A policy proposes an action, while an authority kernel decides whether the proposal may execute. Three scalar controls may be present, but they belong to different contracts.
The perception layer may estimate observation precision from blur, occlusion or sensor diagnostics. That precision should control how current evidence combines with the prior. The policy layer may use a temperature to explore or calibrate among already formed action scores. A recurrent vision or attention module may have a gain parameter that changes feature sensitivity and network dynamics. None of these parameters should decide authority. A sharper proposal is still only a proposal; permission belongs to a deterministic policy and typed action contract.
Under clear imaging, the observation model assigns high precision and current evidence dominates an old “monitor” prior. Under fog, observation precision falls and the posterior returns towards the prior. Lowering policy temperature would instead make whichever action scores currently lead more decisive, including a confidently wrong “continue”. Raising recurrent gain may improve weak feature separation at first, then amplify artefacts or push the network into saturation. The same operational symptom, a sharper halt probability, therefore supports three different interventions and three different failure modes.
Keep the dials in their causal compartments
Precision, gain and temperature belong to different computational contracts. Authority belongs to none of them.
Executable lab: a locus-first parameterisation audit
The interactive lab below creates three distributions from the same prior and evidence. Temperature scales the whole combined score. Precision scales only the evidence factor. Gain scales evidence before a selectable transfer function. The controls let you enter the equivalence corridor, introduce prior conflict, and push gain into saturation. Jensen-Shannon divergence measures how far the distributions separate.
Parameterisation audit lab
Use the presets first. Then change one causal property at a time. Probabilities are synthetic and calculated in your browser.
Temperature path: softmax((prior + evidence) / T)
Precision path: softmax(prior + λ × evidence)
Gain path: softmax(prior + f(g × evidence))
The three paths match at this operating point.
A match permits only a local readout equivalence. Change the prior or transfer regime before assigning a shared meaning.
A positive result permits a narrow claim: the tested parameterisations produce similar distributions under the tested interventions. A negative result means the mapping fails even at that grade. Neither result establishes that a biological population represents precision, that a temperature is calibrated under future shift, or that one scalar is the unique cause of observed behaviour.
Runnable Python version of the audit
Save as parameter_audit.py and run with Python 3. It uses only the standard library.
from __future__ import annotations
import math
from dataclasses import dataclass
from typing import Callable, Sequence
Vector = tuple[float, ...]
def softmax(values: Sequence[float]) -> Vector:
peak = max(values)
weights = [math.exp(value - peak) for value in values]
total = sum(weights)
return tuple(weight / total for weight in weights)
def js_divergence(left: Vector, right: Vector) -> float:
midpoint = tuple((a + b) / 2 for a, b in zip(left, right))
def kl(p: Vector, q: Vector) -> float:
return sum(a * math.log(a / b) for a, b in zip(p, q) if a > 0)
return 0.5 * kl(left, midpoint) + 0.5 * kl(right, midpoint)
def transfer(name: str) -> Callable[[float], float]:
if name == "linear":
return lambda x: x
if name == "tanh":
return math.tanh
if name == "threshold":
return lambda x: max(0.0, x - 0.35)
raise ValueError(f"Unknown gain transfer: {name}")
@dataclass(frozen=True)
class Audit:
contrast: float = 1.0
prior_bias: float = 0.0
temperature: float = 1.0
precision: float = 1.0
gain: float = 1.0
gain_transfer: str = "linear"
def run(self) -> dict[str, Vector | float]:
evidence = (self.contrast, 0.0, -self.contrast)
prior = (0.0, 0.0, self.prior_bias)
f = transfer(self.gain_transfer)
temperature_path = softmax(
[(p + e) / self.temperature for p, e in zip(prior, evidence)]
)
precision_path = softmax(
[p + self.precision * e for p, e in zip(prior, evidence)]
)
gain_path = softmax(
[p + f(self.gain * e) for p, e in zip(prior, evidence)]
)
return {
"temperature": temperature_path,
"precision": precision_path,
"gain": gain_path,
"js_temperature_precision": js_divergence(temperature_path, precision_path),
"js_temperature_gain": js_divergence(temperature_path, gain_path),
"js_precision_gain": js_divergence(precision_path, gain_path),
}
if __name__ == "__main__":
experiments = {
"corridor": Audit(),
"prior_conflict": Audit(prior_bias=1.25, temperature=0.5, precision=2, gain=2),
"saturation": Audit(contrast=2, temperature=0.5, precision=2, gain=2, gain_transfer="tanh"),
}
for name, experiment in experiments.items():
print(f"\n{name}")
for key, value in experiment.run().items():
print(f" {key}: {value}")
The parameterisation audit
Before interpreting a parameter, write a one-page audit. The first line names the scaled quantity in physical or computational terms. The second marks the causal locus. The third states what remains fixed. The fourth specifies the downstream normalisation. The fifth lists the timescale. Only then record the proposed meaning, such as calibration sensitivity, likelihood precision or synaptic responsiveness.
Next, add break tests. Swap the prior while holding evidence fixed. Add a common offset. Vary input contrast to test linearity and saturation. Change noise covariance without changing the mean. Interrupt recurrent state. Repeat after one learning update. If the proposed translation survives the interventions it claims to preserve, promote it. If not, retain the narrower description.
- Source: name the observed variable and measurement path. “Confidence” is not a source; logits, variance estimates, firing rates and pupil diameter are.
- Map: write the equation that connects the variable to the claimed construct. Mark every assumption required by the equation.
- Counterfactual: specify one intervention that should preserve the map and one that should break it.
- Identifiability: list another parameterisation that can generate the same baseline observation, then design a recovery test.
- Decision: state the strongest action the evidence permits, plus the action that remains prohibited.
Applied to the bridge-joint assistant, the record might say: the source is a per-image log variance from the perception model; the map treats its negative as likelihood precision; a blur intervention should lower precision without changing the maintenance prior; a label-frequency shift should challenge calibration without necessarily changing blur; an alternative explanation is that the variance head merely tracks image brightness; and the permitted decision is to route low-precision cases for inspection, not to let the model authorise a halt. This compact record prevents one fluent word, “certainty”, from swallowing several contracts.
The parameterisation audit matrix
| Audit field | Temperature | Precision | Gain | Break test |
|---|---|---|---|---|
| Scaled quantity | Logit or energy differences | Named variance, likelihood or prediction error | Input, response or recurrent sensitivity | Relabel the factor and check whether the interpretation changes |
| Causal locus | Usually readout or sampling layer | Probabilistic factor or uncertainty estimator | Cell, population, circuit or network | Move the scalar across the boundary and refit the output |
| Invariance | Common logit offset; positive rank order | Depends on factorisation and distribution family | Depends on transfer, noise and normalisation | Add a common offset and vary baseline activity |
| Timescale | Snapshot unless controlled adaptively | May update with inferred reliability | May alter fast responses and slow state dynamics | Repeat, contradict, interrupt and resume |
| Permitted claim | Readout sensitivity or calibrated transform | Reliability weighting in the declared model | Response modulation at the measured locus | Promote only if intervention fingerprints match |
In a matched family of categorical agents, a temperature path, a factor-precision path and a gain path can be tuned to identical baseline outputs, yet a small set of orthogonal interventions will identify their causal locus. Prior swaps should isolate factor placement; common offsets and contrast sweeps should isolate nonlinearity; covariance changes should test coding assumptions; interruptions should expose recurrent state. The hypothesis is strengthened if the preregistered fingerprint recovers the hidden parameterisation across unseen configurations. It is weakened if several distinct mechanisms remain indistinguishable under all feasible interventions. A rival explanation is that flexible downstream readouts erase upstream differences. The smallest useful implementation is the three-class synthetic lab above with frozen mappings and blinded parameter labels.
The strongest boundary
A designed architecture can make the bridge stronger than it is in ordinary systems. An exponential-family code may deliberately represent natural parameters in neural activity. A precision controller may deliberately modulate the gain of selected prediction-error units. A policy may deliberately use the same sufficient statistic and normaliser. In such a system, a formal mapping can support real mechanistic work.
Even there, the claim remains scoped. A mechanism can implement a Bayesian precision term without making every firing-rate increase a precision estimate. A temperature can be part of a generative model rather than a post-hoc decoder. Gain can be measured at one layer while another layer compensates. Biological arousal can produce an inverted performance curve rather than monotonic sharpening. The audit is not scepticism for its own sake. It preserves the conditions under which a comparison earns explanatory force.
sequenceDiagram participant Q as Question participant M as Mechanism participant E as Evidence participant D as Decision Q->>M: One distribution, three stories M->>E: Temperature changes a comparison after scores exist E-->>M: compare rival explanations E->>D: Locate the dial before translating the label D-->>Q: revise scope or act
Locate the dial before translating the label
When a paper, model card or experiment says that a system became more precise, more confident, lower-temperature or higher-gain, do not begin by asking whether the words are approximately synonymous. Ask four concrete questions: what quantity was scaled, where was it scaled, what competing factor remained fixed, and what changed over time?
If the answer is “all logits at the final readout”, interpret the parameter as output sensitivity or a calibration transform. If a named likelihood or prediction error is weighted relative to a prior, interpret it as precision within that declared probabilistic model. If a response function or recurrent circuit is modulated, interpret it as gain at that locus and measure its effects on noise, saturation and dynamics. Translate among them only after the mapping survives the interventions that should leave it unchanged.
This changes model design as well as language. Keep sensor reliability separate from policy decisiveness. Keep policy decisiveness separate from action authority. Keep a fitted behavioural inverse temperature separate from a claim about neuromodulation. When one scalar is used for several roles, record the coupling as a design choice and test its failure modes rather than treating the coupling as natural law.
The same rule improves research communication. Report “temperature-scaled logits” rather than “increased certainty”. Report “likelihood precision in this Gaussian observation model” rather than “attention became more precise”. Report “multiplicative response gain in this population and operating range” rather than “the brain lowered its temperature”. When the evidence reaches only a structural comparison, say so. That wording preserves a useful bridge while keeping rivals alive.
The practical rule is locus before label. A matching distribution permits a local computational shortcut. A matching intervention fingerprint permits a stronger structural comparison. Only a preserved causal role permits a mechanism claim. The three dials can be coupled, but the coupling is something to establish, not something their names provide.
Glossary
- Calibration
- Agreement between reported probabilities and empirical outcome frequencies under a stated evaluation design.
- Gain
- A change in response sensitivity caused by a modulatory input or state, with several possible cellular and network implementations.
- Inverse temperature
- β = 1/T, a multiplier on scores or energies before a softmax or Boltzmann normalisation.
- Locus-conditional equivalence
- Equality that holds only when the same statistic is scaled at the same causal locus under preserved surrounding conditions.
- Precision
- Inverse variance in a Gaussian model, or more generally a parameter governing the reliability or concentration of a declared probabilistic factor.
- Sufficient statistic
- A function of data that retains the information required for inference about a parameter within a specified model family.
- Temperature
- A positive scalar that changes how strongly score differences affect a normalised distribution.
- Intervention fingerprint
- The pattern of changes produced by a set of counterfactual manipulations designed to distinguish rival mechanisms.
References
- Gao, B., & Pavel, L. (2017). “On the properties of the softmax function with application in game theory and reinforcement learning.” arXiv:1704.00805.
- Hinton, G., Vinyals, O., & Dean, J. (2015). “Distilling the knowledge in a neural network.” arXiv:1503.02531.
- Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). “On calibration of modern neural networks.” Proceedings of Machine Learning Research, 70, 1321–1330. Primary paper.
- Ovadia, Y., Fertig, E., Ren, J., et al. (2019). “Can you trust your model’s uncertainty? Evaluating predictive uncertainty under dataset shift.” arXiv:1906.02530.
- Minderer, M., Djolonga, J., Romijnders, R., et al. (2021). “Revisiting the calibration of modern neural networks.” Advances in Neural Information Processing Systems, 34. Primary paper.
- Jaynes, E. T. (1957). “Information theory and statistical mechanics.” Physical Review, 106, 620–630. DOI.
- Ma, W. J., Beck, J. M., Latham, P. E., & Pouget, A. (2006). “Bayesian inference with probabilistic population codes.” Nature Neuroscience, 9, 1432–1438. DOI.
- Beck, J. M., Ma, W. J., Kiani, R., et al. (2008). “Probabilistic population codes for Bayesian decision making.” Neuron, 60, 1142–1152. Open-access article.
- Feldman, H., & Friston, K. J. (2010). “Attention, uncertainty, and free-energy.” Frontiers in Human Neuroscience, 4, 215. Open-access article.
- Bastos, A. M., Usrey, W. M., Adams, R. A., Mangun, G. R., Fries, P., & Friston, K. J. (2012). “Canonical microcircuits for predictive coding.” Neuron, 76, 695–711. Open-access manuscript.
- Salinas, E., & Sejnowski, T. J. (2001). “Gain modulation in the central nervous system: where behavior, neurophysiology, and computation meet.” The Neuroscientist, 7, 430–440. Open-access manuscript.
- Servan-Schreiber, D., Printz, H., & Cohen, J. D. (1990). “A network model of catecholamine effects: gain, signal-to-noise ratio, and behavior.” Science, 249, 892–895. DOI.
- Aston-Jones, G., & Cohen, J. D. (2005). “An integrative theory of locus coeruleus-norepinephrine function: adaptive gain and optimal performance.” Annual Review of Neuroscience, 28, 403–450. DOI.
- Yu, A. J., & Dayan, P. (2005). “Uncertainty, neuromodulation, and attention.” Neuron, 46, 681–692. DOI.
- McGinley, M. J., Vinck, M., Reimer, J., et al. (2015). “Waking state: rapid variations modulate neural and behavioral responses.” Neuron, 87, 1143–1161. Open-access manuscript.
- Shine, J. M., Aburn, M. J., Breakspear, M., & Poldrack, R. A. (2018). “The modulation of neural gain facilitates a transition between functional segregation and integration in the brain.” eLife, 7, e31130. Primary paper.
- Wainstein, G., et al. (2025). “Evidence from pupillometry, fMRI, and RNN modelling shows that gain neuromodulation mediates task-relevant perceptual switches.” eLife, 13, RP93191. Primary paper and reviewed preprint history.
- Hertäg, L., Wilmes, K. A., & Clopath, C. (2025). “Uncertainty estimation with prediction-error circuits.” Nature Communications, 16, 3036. Primary paper.
- Palminteri, S., Wyart, V., & Koechlin, E. (2017). “The importance of falsification in computational cognitive modeling.” Trends in Cognitive Sciences, 21, 425–433. DOI.
- Carandini, M., & Heeger, D. J. (2012). “Normalization as a canonical neural computation.” Nature Reviews Neuroscience, 13, 51–62. Open-access manuscript.
- Robinson, O. J., & Chase, H. W. (2017). “Learning and choice in mood disorders: searching for the computational parameters of anhedonia.” Computational Psychiatry, 1, 208–233. Open-access article.