Inference, dynamics and causality

Information, entropy, maximum entropy and compression

Rajesh Ranjan Mahapatra

Entropy, mutual information, synergy and rate-distortion are not grades of meaning or mind; they answer different uncertainty and coding questions whose variables, constraints and loss functions must be declared.

© 2026 Rajesh Ranjan Mahapatra. 29 min read

Inference, dynamics and causality

Information, entropy, maximum entropy and compression

Entropy, mutual information, synergy and rate-distortion are not grades of meaning or mind; they answer different uncertainty and coding questions whose variables, constraints and loss functions must be declared.

TLDR

  1. Entropy measures average uncertainty under a declared probability model, not meaning.
  2. Mutual information measures reduced uncertainty between chosen variables, not causation.
  3. Maximum entropy formalises least-committal inference under stated constraints; change the constraints and the answer changes.
  4. Rate-distortion prices lossy compression only after a distortion function says which errors matter.
  5. Synergy describes joint access to target information, but no information number alone establishes experience.

Three sealed drives arrive at a laboratory. Each contains one megabyte. Drive A holds bits from a random source. Drive B holds a tightly compressed emergency manual. Drive C holds an encrypted diary. A byte-frequency estimator reports almost eight bits of entropy per byte for all three.

Which drive contains the most information? The tempting answer is that the manual or diary must win because each is meaningful. Another tempting answer is that the random drive wins because it is least predictable. Shannon’s engineering theory licenses neither conclusion without further specification. Under the model used by the estimator, the three byte streams can have nearly identical uncertainty. Yet a reader with the decompressor can recover instructions from B; a reader with the key can recover a life from C; no decoder can turn A into a message that was never encoded.

The same entropy can coexist with radically different meaning, use and causal consequence. The estimator did not fail. We asked it a narrower question than our language suggested.

The hidden assumption is that “information” is a substance carried inside a string, like water in a bottle. In the mathematics, an information value belongs to a probability model and a question. What outcomes are possible? Which one is uncertain? What observation is available? Which reconstruction errors count? Change any of these and the number can change while the physical artefact stays still.

This paper develops one rule: an information quantity becomes explanatory only inside a declared measurement contract. The contract names the ensemble, target, access boundary and consequence of error. It also states the inference the number is allowed to support. Entropy, mutual information, maximum entropy, rate-distortion and synergy then become precise instruments rather than interchangeable metaphors.

The number belongs to a question

Imagine a river leaving one source lake. Downstream it splits. One branch asks how unpredictable the source is. Another asks how much one observation tells us about another. A third chooses a distribution when knowledge is incomplete. A fourth asks how many bits preserve what a user cares about. A fifth asks whether several sources reveal a target separately, redundantly or only together. They share mathematical water, but they do not reach the same sea.

The information river delta A source ensemble flows into five branches labelled entropy, mutual information, maximum entropy, rate-distortion and partial information decomposition. Each branch terminates at a different question. Declared ensemble possible states and probabilities Entropy How uncertain? Mutual information Who reduces whose uncertainty? Maximum entropy What follows from constraints only? Rate-distortion What can be discarded? Synergy and PID Who knows jointly? One vocabulary five measurement questions
The information river delta. Shared formulae do not make the branches interchangeable. Select the branch by the decision question, not by the prestige of the word “information”. Conceptual synthesis.

A coin before an equation

A fair coin is hard to predict before it lands. A coin that shows heads 99 times in 100 is easy to predict most of the time. Suppose heads has probability 0.75 and tails 0.25. Seeing tails is more surprising because the model assigned it a smaller probability. Shannon’s key move was to measure the surprise of an outcome by the negative logarithm of its probability, then average that surprise across outcomes.1

H(X) = − Σx p(x) log2 p(x) X is the uncertain outcome; p(x) is the modelled chance of outcome x; base two reports the average in bits.

For the 75:25 coin, the entropy is about 0.811 bits per toss. A fair coin reaches one bit. A deterministic coin reaches zero. The equation compresses a practical result: a long sequence from the biased coin can, in principle, be encoded with fewer bits per toss than a fair sequence because its regularity is predictable.

Worked example: the smallest useful calculation

Why the rare outcome contributes more

Heads contributes 0.75 × (−log20.75) ≈ 0.311 bits to the average. Tails contributes 0.25 × (−log20.25) = 0.5 bits. The rare event occurs less often, but each occurrence is more surprising. Add the contributions and H(X) ≈ 0.811.

Entropy is average surprise under a model, not surprise felt by a subject. Nothing in the calculation says whether a coin, observer or computer experiences uncertainty.

Three high-entropy drives with different access structures Three vertical drives contain random bits, compressed instructions and encrypted diary text. A decoder and a key open the latter two, while the random stream has no recoverable message. A · random source B · compressed manual C · encrypted diary 1011100010110101001011101101001011100101001011010101110010100111 1101011000101110011011010110001110110011100101000011011010111001 0110101110010110101101001110100100101101101011001101001001110110 ≈ 8 bits per byte ≈ 8 bits per byte ≈ 8 bits per byte decompressor supplies structure key changes the access boundary no encoded message to recover
Equal byte entropy, unequal recoverability. Entropy of the visible stream does not encode the decoder, key, receiver or purpose. Moving the key across the system boundary changes what is recoverable without changing the ciphertext. Illustrative thought experiment.
Boundary thought experiment

Keep the encrypted diary fixed. Put the key outside the candidate system, then move it inside. With an ideal one-time pad and no key, ciphertext alone carries zero mutual information about the plaintext. With ciphertext and key together, the plaintext is exactly recoverable. The physical string did not change. Access changed because the boundary changed.

This is why statements such as “the information in the prompt” or “the information in the model” can be incomplete. A prompt may be decodable only with cultural knowledge. A model state may become useful only when paired with a tokenizer, runtime and observation interface. Information measures can represent those relations, but only after the variables and boundary are named.

Binary entropy as the probability of heads changes A smooth arch starts at zero entropy for a certain tails outcome, reaches one bit at a fair coin, and returns to zero for certain heads. 1 bit at p = 0.5 0 0.5 1 probability of heads, p H(X), bits certainty certainty
Entropy peaks at balanced alternatives. The curve is about uncertainty over a binary ensemble. It says nothing about whether “heads” means rain, a diagnosis or a meaningless label. Exact calculation from the binary entropy function.

A sample is not its own probability model

Write the sequence 0101010101 on a page. Count individual symbols and half are zero, half are one. An independent-symbol model therefore assigns one bit of entropy to each position. Yet after the first symbol, a reader who recognises the alternating rule predicts every later symbol perfectly. Under a model conditioned on the previous symbol, H(Xt|Xt−1) is zero. The page stayed fixed while the model’s state and unit of analysis changed.

This is not a trick. Entropy is calculated over random variables, not over uninterpreted ink. The variable might be the next bit, the next pair, a whole message, or a state transition. If we group the alternating sequence into pairs beginning at the first position, every pair is 01 and the pair entropy is zero. Shift the grouping by one position and every complete pair is 10. If the starting phase is itself uncertain, one bit may be needed once, after which the stream is determined.

Worked example: changing the grain

One string, three entropy claims

Claim A: the marginal symbol entropy is one bit because zeros and ones are balanced. Claim B: the entropy rate is near zero because long-run uncertainty per new symbol vanishes after the phase is known. Claim C: a compressor that has not yet learned the alternation may initially spend more bits than either ideal. All three can be correct because they concern different variables, histories and coding regimes.

The practical lesson is not that entropy is subjective. Once the variable and distribution are fixed, the calculation is objective. The lesson is that model selection precedes measurement.

Real datasets make this choice harder. A byte histogram ignores words, grammar and long-range structure. A token model sees some regularities and misses others. An empirical entropy estimate also carries finite-sample bias: unseen outcomes look impossible, rare outcomes are poorly estimated, and an over-flexible model can memorise the sample. Compression length can serve as a useful operational proxy, but it then measures performance of a particular compressor with its own vocabulary, context window and overhead.

Scaling thought experiment

Estimate entropy using single symbols, then pairs, then blocks of 16, while keeping the source unchanged. If the estimated uncertainty per symbol falls, did the source lose information? No. The larger model found dependencies the smaller one could not express. Apparent “information loss” belonged to the ruler.

Technical depth: why differential entropy needs extra care

For continuous variables, the integral analogue of entropy is differential entropy. Unlike discrete entropy, it can be negative and changes under a smooth rescaling of coordinates. If temperature is recorded in Celsius rather than millikelvin, the numerical differential entropy shifts. Mutual information remains invariant under invertible reparameterisations because the coordinate terms cancel. This is another warning that “entropy of a thing” is often incomplete without the variable, unit and reference measure.

The argument in one pass
Chart · flow
flowchart TD
  A["The number belongs to a question"] --> B["Four measures, four contracts"]
  B --> C["When the whole knows what no<br/>part knows"]
  C --> D["The measure-comparison lab"]
  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
A structural route through Information, entropy, maximum entropy and compression: from The number belongs to a question to Write the question beside the…. Reading use: follow the relation, then return to the surrounding argument for evidence and limits.

Four measures, four contracts

Mutual information asks what one variable reveals about another

Take a rain sensor in a city where rain and dry weather are equally likely. The sensor reports the correct state 90 per cent of the time. Before reading it, uncertainty about the weather is one bit. After reading it, some uncertainty remains because the sensor can be wrong. The average reduction is about 0.531 bits.

I(X;Y) = H(Y) − H(Y|X) = Σx,y p(x,y) log2[p(x,y)/(p(x)p(y))] Y is the target uncertainty; X is the observation; the joint distribution determines how much observing X changes predictions about Y.
Worked example: where 0.531 bits comes from

A useful sensor still leaves uncertainty

For a fair weather variable, H(Y) = 1 bit. A 10 per cent symmetric error rate leaves conditional entropy H(Y|X) = h2(0.10) ≈ 0.469 bits. Subtracting gives I(X;Y) ≈ 0.531 bits. The sensor removes a little more than half of the original uncertainty on average, not 90 per cent of a bit.

Now change only the base rate. Suppose rain occurs on one day in 100. “Ninety per cent accurate” no longer specifies the channel because a sensor that always says dry is already 99 per cent accurate. Sensitivity, specificity and prevalence determine the joint distribution, and therefore the mutual information. Performance language cannot replace the probability table.

Mutual information is zero when X and Y are independent under the distribution. It rises as knowledge of one reduces uncertainty about the other. It is symmetric, so I(X;Y) = I(Y;X). That symmetry is useful for dependence and dangerous for causal storytelling. Rain may cause a sensor reading; the sensor reading does not cause rain. A hidden controller could also cause two indicators to correlate.

Mechanism

Mutual information measures statistical dependence, not causal direction, understanding or reference. Causal claims require interventions or assumptions beyond the joint distribution. Semantic claims require an interpretation or consequence relation beyond dependence.

A bijection preserves mutual information while interpretation changes Weather causes a sensor reading through a noisy channel. A reversible relabelling of the sensor outputs leaves mutual information unchanged, although the labels rain and dry are swapped. A separate common-cause route shows that dependence alone does not identify direction. Weather Y rain / dry noisy physical channel Reading X wet / dry invertible relabelling Reading X′ labels swapped I(X;Y) = I(X′;Y) the statistic survives; the human label does not Z a common cause can create dependence without X causing Y
Dependence survives relabelling and underdetermines causation. An invertible recoding preserves mutual information. A shared cause can produce the same dependence pattern. Meaning and direction need additional structure. Conceptual causal comparison.
Replacement thought experiment

Replace every sensor label with a reversible code: rain becomes 7, dry becomes 2. Mutual information with weather is unchanged. Now tell the operator that 7 means dry. The human interpretation flips while the information value stays fixed. What survived was the dependency structure, not the truth of the label.

Maximum entropy asks how not to invent what is unknown

A colleague says a six-sided die will be rolled, but supplies no other information. The distribution with maximum entropy assigns one sixth to each face. Now the colleague adds one reliable constraint: the expected face value is 4.5. Uniform probabilities no longer satisfy what is known. Maximising entropy subject to the new constraint produces a tilted distribution, with more mass on high faces.

Jaynes presented maximum entropy as a rule for constructing the least-committal distribution compatible with stated knowledge.2 It does not say the physical die “seeks entropy”. It says the analyst should not insert distinctions that the constraints do not justify.

choose p* = arg maxp H(p), subject to Σ pi = 1 and Σ pi fk(i) = ck The functions fk encode what is known, and ck gives each known expectation. Remove or add a constraint and p* changes.
Maximum entropy distributions for a die under two constraint sets The left panel shows equal bars for a die with only support known. The right panel shows increasing bars when the mean is constrained to 4.5, with probabilities approximately 0.054, 0.079, 0.114, 0.165, 0.240 and 0.347. Only faces 1–6 are known Faces 1–6 and mean 4.5 are known 123456 123456 uniform, H ≈ 2.585 bits tilted, H ≈ 2.328 bits p ≈ [0.054, 0.079, 0.114, 0.165, 0.240, 0.347]
Maximum entropy follows the constraints. The right-hand distribution is not “more true” in isolation. It is the most noncommittal distribution among those whose mean is 4.5. Exact illustrative calculation.
Constraint intervention

Keep the mean at 4.5 but add reliable knowledge that even outcomes are twice as common as odd outcomes. The maximum-entropy distribution changes again. The method did not become inconsistent. The information state changed. Maximum entropy is disciplined ignorance relative to declared constraints.

What maximum entropy cannot repair

The method inherits every mistake in the state space and constraints. If the die is chipped so that it can rest on an edge, a six-face support is wrong. If the reported mean came from a biased sample, enforcing 4.5 with certainty is too strong. If a hidden manufacturing process couples consecutive rolls, a distribution over isolated faces misses the dependence. Maximum entropy prevents unsupported detail within a model; it does not certify that the model contains the right possibilities.

There is also a difference between uncertainty about the world and randomness in the world. The maximum-entropy distribution may represent an analyst’s limited knowledge even when the underlying mechanism is deterministic. Conversely, a physically stochastic process can be described badly by a low-entropy model. The numerical entropy alone does not reveal whether uncertainty is epistemic, aleatory or a mixture.

Inference boundary

A maximum-entropy answer is strengthened when its constraints are independently measured, stable and sufficient for predictions on held-out cases. It is weakened when plausible omitted constraints change the result. A rival explanation is model misspecification rather than a failure of the principle itself.

Rate-distortion asks what may be lost at a given cost

Lossless compression tries to reconstruct the source exactly. Many systems do not need exact reconstruction. A music codec can discard differences people rarely hear. A maintenance system may discard most vibration detail while preserving short transients that predict bearing damage. Rate-distortion theory makes the trade explicit: what is the smallest information rate that keeps expected distortion below a chosen threshold?3

R(D) = min I(X; X̂), subject to E[d(X, X̂)] ≤ D X is the source; X̂ is its reconstruction; d is the declared penalty for a particular error; D is the tolerated average penalty.

The distortion function is not an afterthought. It decides which differences count. Mean-squared error treats every numerical deviation according to its square. A lesion-weighted medical loss can penalise a tiny missed region more than a large harmless background shift. A text summariser might preserve named obligations while tolerating changes in style. The achievable rate changes because the task changes.

Worked example: a fair binary source

One bit becomes cheaper when some errors are allowed

Let X be a fair bit and let distortion be Hamming loss: zero when X̂ = X and one when X̂ differs. With no errors allowed, R(0) = 1 bit per source symbol. If an error rate of 0.10 is tolerated, R(0.10) = 1 − h2(0.10) ≈ 0.531 bits. At D = 0.5, random guessing is acceptable and the minimum rate falls to zero.

The number is exact for this source and loss. Change the source bias or the loss and the curve changes.

Rate-distortion curve for a fair binary source A decreasing convex curve runs from one bit at zero Hamming distortion to zero bits at distortion one half. Markers show approximately 0.531 bits at distortion 0.1 and 0.189 bits at distortion 0.25. D = 0.10, R ≈ 0.531 D = 0.25, R ≈ 0.189 0 0.25 0.5 allowed Hamming distortion, D minimum rate R(D), bits random guessing is sufficient
Compression is a negotiated loss. Fewer bits become sufficient only because a specific error class has been declared tolerable. Exact binary rate-distortion curve for Hamming loss.
Boundary condition

The distortion function is part of the conclusion. A low rate at low mean-squared error does not prove that medically, legally or experientially important structure was preserved. It proves only that the chosen loss remained small.

Loss-function thought experiment

Compress the same emergency call twice. Codec A preserves waveform shape and speaker tone but occasionally changes a street number. Codec B sounds metallic but preserves every address and medication name. Under mean-squared audio error, A may win. Under an action loss that heavily penalises wrong entities, B wins. The bit rate is unchanged; the preferred system reverses because the decision changed.

This reversal matters in machine learning because convenient losses often stand in for inaccessible consequences. Pixel error stands in for perceptual fidelity. Token likelihood stands in for usefulness. Reconstruction accuracy stands in for preserved state. These proxies can be good engineering choices, but their legitimacy is empirical. They must be checked against the downstream decision rather than treated as neutral definitions of quality.

Rate-distortion can also illuminate representation design without deciding semantics. If a compact state preserves all variables needed for a control task under the chosen loss, it is sufficient for that task. It may still discard autobiographical context, social meaning or any structure a theory of experience considers relevant. Task sufficiency is not ontological sufficiency.

The information bottleneck extends this intuition by defining relevance through another variable Y: compress X while preserving information useful for Y.5 This is powerful precisely because relevance is named. It is not an intrinsic halo around a representation. Change Y from “speaker identity” to “words spoken” and a different compression becomes useful.

InstrumentQuestion answeredRequired contractDoes not by itself establish
Entropy H(X)How uncertain is X on average?Variable, state space, distribution, logarithm baseMeaning, value, intelligence, experience
Mutual information I(X;Y)How much does either variable reduce uncertainty about the other?Two variables and their joint distributionCausal direction, reference, mechanism
Maximum entropyWhich distribution adds the fewest unsupported commitments?Candidate distributions and valid constraintsPhysical tendency, truth of constraints
Rate-distortion R(D)What minimum rate achieves a declared fidelity?Source, reconstruction family, distortion function, toleranceTask value outside the declared loss
PID / synergyHow is target information distributed across sources?Sources, target, joint distribution, decomposition definitionUnique universal “integration” or consciousness score

When the whole knows what no part knows

Two fair coins are tossed. Let X1 and X2 record their outcomes. Define a target Y that is one when the coins differ and zero when they match. If you see only X1, the target remains a fair guess. The same is true for X2. See both and Y is certain.

Worked example: XOR

A bit available only to the pair

H(Y) = 1 bit. I(X1;Y) = 0 and I(X2;Y) = 0 because either coin alone leaves Y balanced. Yet I((X1,X2);Y) = 1 bit. The target information is jointly accessible.

This is the clean intuition behind synergistic information: the combination reveals what no component reveals alone.

XOR makes target information jointly accessible A four-cell truth table shows two independent bits and their exclusive-or target. Side panels indicate that each source alone leaves the target at fifty-fifty, while the pair identifies it exactly. Y = X₁ XOR X₂ X₁X₂Y 000 011 101 110 See X₁ only Y remains 50:50 See X₂ only Y remains 50:50 See the pair: Y is certain
XOR exposes joint-only access. Pairwise mutual information misses the bit because neither source carries it alone. The pair does. Exact synthetic example.

Now change one causal property. Let X1, X2 and Y all be identical copies of the same fair bit. Each source individually provides one bit about Y. The pair still provides only one bit because the second copy adds nothing. This is redundancy. XOR and duplicate-copy systems have the same joint mutual information with Y, one bit, but distribute access differently.

A three-variable quantity called co-information can distinguish the signs of these clean cases. In one common sign convention, I(X1;Y) + I(X2;Y) − I((X1,X2);Y) is +1 for duplicate copies and −1 for XOR. Yet when redundancy and synergy coexist, the signed total can cancel them. It cannot tell how much of each is present.

Partial information decomposition, or PID, was introduced to split target information into redundant, unique and synergistic atoms.6 The ambition is clear. The measurement is not uniquely settled. Different redundancy definitions yield different decompositions; later work has supplied alternative operational criteria and logical constructions.789 A 2026 analysis proves important inconsistency results for lattice-based multivariate decompositions beyond the simplest cases, while proposing alternatives.11

Evidence status

Synergy is a useful target-relative question, not a single universally agreed scalar for arbitrary multivariate systems. XOR supplies a compelling two-source case. Larger decompositions require an explicit PID definition, estimator, sample regime and axiom trade-off.

Synergy belongs to a target, not to a system in isolation

Keep the two input coins and their physical relation fixed. First choose Y = X1 XOR X2; the target is available only jointly. Then choose Y = X1; the first source alone carries the target and the second adds nothing. Next choose Y as the ordered pair (X1, X2); each source contributes unique information about one component. The mechanism did not change. The informational decomposition changed because the question did.

Target intervention

A researcher reports that a neural or artificial network has “high synergy”. Ask: synergy about what target? Future action, current stimulus, reward, another layer or the system’s own state can yield different decompositions. Removing the target label from the claim removes its meaning.

Estimation adds another layer. Mutual information is difficult to estimate in high-dimensional or continuous spaces. Binning can create or erase dependencies. Flexible density estimators can overfit. Sparse samples can make rare joint events invisible. A PID then inherits the joint-distribution error and adds dependence on a decomposition rule. The correct response is not to abandon the question, but to use synthetic ground truths, estimator comparisons, uncertainty intervals and held-out perturbations.

A useful synergy claim therefore has two levels. The mathematical level says how information is decomposed under a named definition. The mechanistic level asks whether ablating, combining or rerouting sources changes target performance as predicted. Agreement strengthens the interpretation. A numerical atom without intervention remains a description of the fitted distribution.

The metric-laundering failure

Information language often travels through a chain of substitutions. High entropy becomes “rich information”. Rich information becomes “complexity”. Dependence becomes “integration”. Integration becomes “awareness”. Each step may be defensible inside a specific theory, but the numerical measure alone does not supply the bridge.

Metric laundering from uncertainty to experience A staircase rises from entropy to information richness, complexity, integration and experience. Red break marks between steps show missing assumptions: model choice, mechanism, causal role and consciousness theory. Entropy “Rich information” Complexity Integration Experience Which ensemble? Which mechanism? Which causal role? Which theory of experience? A valid argument must write the missing bridges, not hide them in a noun.
The metric-laundering staircase. Every upward step needs a new premise. Entropy does not become experience by verbal promotion. Failure-path analysis.
Counterfactual mechanism experiment

Build two systems with the same input-output distribution and therefore the same measured entropy and mutual information at the chosen interface. One uses a recurrent sensorimotor loop; the other samples a precomputed table. Their information profiles can match while their internal causal organisations differ. A functionalist may ask whether the preserved causal roles are sufficient. A biological naturalist may ask whether living substrate dynamics are indispensable. A physicalist or emergentist may seek a mechanism-level bridge. An idealist, neutral monist, panpsychist or process philosopher may treat the statistics as relational structure while denying that they reveal intrinsic nature. The statistic does not adjudicate among them.

This underdetermination is not a defect in information theory. Shannon deliberately isolated an engineering problem from semantics.1 Later proposals can add semantics by adding structure. Kolchinsky and Wolpert, for example, define semantic information through correlations that are causally necessary for a system to maintain its own viability.10 Their intervention and viability criterion do conceptual work that Shannon entropy alone does not.

Strongest boundary

An information quantity can constrain a theory of experience, but it cannot substitute for one. A consciousness theory may predict that certain causal information structures matter. It must state the candidate system, relevant structure, measurement bridge and discriminating intervention. Equal bits do not imply equal experience, and unequal bits do not by themselves imply unequal experience.

How the claim changes under pressure
Chart · state
stateDiagram-v2
  [*] --> Claim
  state "A coin before an equation" as Claim
  state "Why the rare outcome<br/>contributes more" as Test
  state "A sample is not its own<br/>probability model" as Revision
  Claim --> Test: expose mechanism
  Test --> Decision: evidence survives
  Test --> Revision: rival survives
  Revision --> Claim: narrow or rebuild
  Decision --> [*]
The revision loop begins with A coin before an equation and keeps counterexamples inside the reasoning path. Reading use: follow the relation, then return to the surrounding argument for evidence and limits.

The measure-comparison lab

A realistic configured-system example

Consider a synthetic maintenance system monitoring a pump. Eight vibration sensors produce high-rate waveforms. A model estimates whether a bearing fault will occur within thirty seconds. A compressor stores only a compact trace. A human operator sees an alert and may stop the pump.

The raw stream can have high entropy because it contains noise. That does not make the noise useful. Mutual information between a sensor feature and the future-fault variable measures predictive dependence. It does not prove the feature causes the fault or that the model uses it. PID can ask whether sensors carry redundant or jointly available fault information, but the answer depends on the decomposition and estimator. Maximum entropy can fill an unknown joint distribution from declared moments, but only if those constraints are defensible. Rate-distortion can reduce storage, but the loss must penalise erased fault transients rather than only waveform error.

Information measures placed across a synthetic pump-monitoring system A pump with eight sensors feeds a narrowing stream through feature extraction, compression, fault estimation and a human decision. Labels place entropy at the raw stream, mutual information and PID at sensor-target relations, rate-distortion at storage, and outcome verification after the human action. Pump 8 sensors Raw stream entropy and noise model Features I(sensor; fault) Compressed trace R(D), event loss Fault estimate target and calibration Human action verified outcome PID asks how sensors combine about the declared fault target none of these measures proves that the system understands or experiences the alert
Place each measure at its proper system relation. The same configured system supports several information questions. No single value describes the whole system. Synthetic configured-system example.

The failure mode is easy to imagine. Engineers optimise compression with mean-squared error, demonstrate a good rate-distortion curve, then discover that brief fault signatures were smoothed away. The mathematics was correct. The loss was wrong for the decision. A second failure occurs when a sensor’s mutual information with faults comes from a common operating regime rather than a causal precursor. The dependency disappears after the plant schedule changes.

The five-line information contract

The paper’s practical contribution is a compact contract that must accompany every consequential information claim. The first four lines determine what is measured. The fifth prevents the result from being promoted beyond its warrant.

  1. Ensemble. Name the random variables, possible states, probability model, sampling window and units.
  2. Target. State exactly which uncertainty or reconstruction is being evaluated.
  3. Access. State what observations, keys, conditioning variables, boundaries and joint sources are available.
  4. Loss or constraint. State which errors, moments, costs or fidelity conditions shape the quantity.
  5. Licensed inference. Write the strongest conclusion allowed and the tempting conclusion that remains prohibited.
The five-line information contract as a decision gate Five vertical gates labelled ensemble, target, access, loss or constraint, and licensed inference lead to a valid decision. Missing any gate diverts the claim to a stop path labelled underspecified. 1 2 3 4 5 EnsembleTargetAccessLoss / constraintLicensed inference states and probabilitiesuncertainty about what?available to whom?which errors matter?what may be concluded? Missing gate → underspecified claim
A number passes only when its contract is complete. The fifth gate is deliberately epistemic: it stops an engineering statistic from silently becoming a claim about meaning, mechanism or experience. Practitioner synthesis and decision instrument.
Open research hypothesis: contract sensitivity

A claim should be treated as specification-sensitive when its system ranking reverses under plausible alternative targets, access boundaries or losses. Confidence should rise when a preregistered family of defensible contracts preserves the conclusion. It should fall when small, reasonable contract changes reverse it.

Estimator bias or limited samples can mimic sensitivity, so the audit needs uncertainty intervals and synthetic controls. The method should not be used to manufacture ambiguity when a protocol already fixes the engineering contract. The smallest useful implementation is the binary lab below.

A contract-sensitivity protocol

The five lines become more useful when treated as variables rather than paperwork. Start with a baseline contract. Then define a small set of plausible alternatives before looking at the result. Change the temporal window, target granularity, access boundary or loss one at a time. Recompute the quantity and the resulting system ranking. Record which conclusions remain stable and which reverse.

For the pump system, compare two compressors. Under waveform error, compressor A wins. Under a fault-event loss, compressor B wins. Under a combined loss, the choice depends on the cost assigned to missed events. This does not mean “anything goes”. It identifies the decision surface that was hidden by a single score. Engineers can then negotiate costs, collect outcome data or design a representation that lies on a better frontier.

The protocol has three safeguards. Plausible alternatives must be specified from domain knowledge, not selected after seeing which one favours a preferred system. Estimation uncertainty must be separated from contract sensitivity. Finally, the allowed conclusion must remain scoped to the tested family. Stability across four losses does not prove stability across every future use.

Smallest useful implementation

Choose two candidate representations, one target and two defensible losses. Compute the relevant information or rate-distortion result under both losses. If the ranking flips, the representation claim is consequence-relative. If it holds, repeat with an access-boundary change. This is enough to expose whether the headline depends on an unspoken choice.

Executable measure-comparison notebook

Change one contract field at a time. The calculations use exact synthetic distributions. Values update locally in the browser; no data leaves the page.

1. Source entropy

0.75
H(coin)0.811 bits
Most predictable atp near 0 or 1

2. Noisy-channel information

0.10
I(input; output)0.531 bits
Assumptionfair binary input

3. Joint access pattern

I(X₁;Y)0.000
I(X₂;Y)0.000
I((X₁,X₂);Y)1.000
Joint excess*1.000

*I(X₁,X₂;Y) − I(X₁;Y) − I(X₂;Y). It is not a general PID synergy measure.

4. Binary rate-distortion

0.10
R(D)0.531 bits
LossHamming

5. Maximum-entropy die

4.50
Entropy2.328 bits
ConstraintE[face] = 4.50

The notebook tests whether a conclusion survives a change in specification. A positive stability result permits a claim within the tested contract family. It does not make the metric intrinsic. A ranking reversal means the original claim depended materially on target, boundary or loss. A flat result can mean genuine invariance, an insensitive example or insufficient measurement resolution.

How to read the lab

A positive information result licenses the relation it computed, not a neighbouring concept. High mutual information supports dependence under the model. Joint excess in XOR highlights joint access. Low rate supports compression under Hamming loss. None establishes causation, semantic truth, intelligent use or experience.

Implementation source and assumptions

The JavaScript computes discrete entropy and mutual information from exact probability tables, the analytic binary symmetric-channel and binary rate-distortion formulae, and a maximum-entropy die distribution of the form p(i) ∝ exp(λi), with λ solved by bisection. It assumes finite discrete variables and exact synthetic probabilities. It does not estimate from samples, correct bias, compute a general PID or test consciousness.

JavaScript · core calculations
const log2 = x => Math.log(x) / Math.log(2);
const h2 = p => (p <= 0 || p >= 1) ? 0 : -p*log2(p) - (1-p)*log2(1-p);

function entropy(values) {
  return -Object.values(values)
    .filter(p => p > 0)
    .reduce((s, p) => s + p * log2(p), 0);
}

function maxEntDie(targetMean) {
  const faces = [1,2,3,4,5,6];
  let lo = -40, hi = 40;
  const distribution = lambda => {
    const w = faces.map(x => Math.exp(lambda * x));
    const z = w.reduce((a,b) => a+b, 0);
    return w.map(v => v/z);
  };
  for (let k=0; k<100; k++) {
    const mid = (lo+hi)/2;
    const p = distribution(mid);
    const mean = p.reduce((s,v,i) => s + v*faces[i], 0);
    if (mean < targetMean) lo = mid; else hi = mid;
  }
  return distribution((lo+hi)/2);
}
The evidence conversation
Chart · sequence
sequenceDiagram
  participant Q as Question
  participant M as Mechanism
  participant E as Evidence
  participant D as Decision
  Q->>M: The number belongs to a question
  M->>E: A coin before an equation
  E-->>M: compare rival explanations
  E->>D: Write the question beside the information number
  D-->>Q: revise scope or act
Question, mechanism, evidence and decision exchange the burdens developed in Information, entropy, maximum entropy and compression. Reading use: follow the relation, then return to the surrounding argument for evidence and limits.

Write the question beside the information number

Stop asking “How much information does this system contain?” as though the answer were a single property. Ask which uncertainty, for which observer or subsystem, under which distribution, with which access, and at what cost of error.

Use entropy when the decision concerns uncertainty or coding length. Use mutual information when the decision concerns statistical dependence between declared variables. Use maximum entropy when partial knowledge must become a probability distribution without adding unsupported structure. Use rate-distortion when loss is acceptable and the loss function is decision-valid. Use PID when the distribution of target information across sources matters, while declaring the decomposition and its limits.

For claims about minds, add a further obligation. State the consciousness theory or metaphysical bridge that makes the measured structure relevant. Then specify an intervention that could distinguish that account from a rival generator. A high number may become evidence inside such an argument. It is never the argument by itself.

The five-line contract changes design reviews, research papers and public claims. It turns “the model has more information” into a checkable statement. It exposes when a compression win depends on the wrong loss. It shows when a synergy claim depends on a contested decomposition. It prevents an information statistic from being laundered into meaning, agency or experience.

The practical decision is simple: never optimise, compare or philosophise from an information number until the question that gives the number its meaning has been written beside it.

Glossary

Entropy
Expected surprise of outcomes under a declared probability distribution.
Conditional entropy
Remaining uncertainty about one variable after another is observed.
Mutual information
Average reduction in uncertainty shared by two random variables.
Maximum entropy
A method for selecting the least-committal distribution satisfying stated constraints.
Distortion function
A declared penalty for reconstructing one source outcome as another.
Rate-distortion function
The minimum information rate needed to keep expected distortion below a tolerance.
Redundancy
Target information available from more than one source separately.
Synergy
Target information available only from sources considered jointly, relative to a decomposition.
PID
Partial information decomposition, a family of frameworks for splitting multivariate target information.
Measurement contract
The ensemble, target, access, loss or constraints, and licensed inference attached to a quantity.

References

  1. Shannon, C. E. (1948). A mathematical theory of communication. Bell System Technical Journal, 27, 379–423 and 623–656.
  2. Jaynes, E. T. (1957). Information theory and statistical mechanics. Physical Review, 106, 620–630.
  3. Shannon, C. E. (1959). Coding theorems for a discrete source with a fidelity criterion. IRE National Convention Record, 4, 142–163.
  4. Kullback, S., & Leibler, R. A. (1951). On information and sufficiency. Annals of Mathematical Statistics, 22(1), 79–86.
  5. Tishby, N., Pereira, F. C., & Bialek, W. (2000). The information bottleneck method. Proceedings of the 37th Allerton Conference on Communication, Control and Computing.
  6. Williams, P. L., & Beer, R. D. (2010). Nonnegative decomposition of multivariate information. arXiv:1004.2515.
  7. Bertschinger, N., Rauh, J., Olbrich, E., Jost, J., & Ay, N. (2014). Quantifying unique information. Entropy, 16(4), 2161–2183.
  8. Ince, R. A. A. (2017). Measuring multivariate redundant information with pointwise common change in surprisal. Entropy, 19(7), 318.
  9. Gutknecht, A. J., Wibral, M., & Makkeh, A. (2021). Bits and pieces: understanding information decomposition from part-whole relationships and formal logic. Proceedings of the Royal Society A, 477, 20210110.
  10. Kolchinsky, A., & Wolpert, D. H. (2018). Semantic information, autonomous agency and non-equilibrium statistical physics. Interface Focus, 8, 20180041.
  11. Lyu, A., Clark, A., & Raviv, N. (2026). Multivariate partial information decomposition: constructions, inconsistencies, and alternative measures. Physical Review E, 113, 034102.