「‍」 Lingenic

Maximum Entropy

(⤓.md ≡ ◇.md); γ ≜ [2026-07-17T135416.643, 2026-10-22T054143.488] ∧ |γ| = 3

Maximum Entropy

Origin. Jaynes (1957). Least biased distribution given constraints. Information-theoretic foundation. Exponential families emerge naturally. Foundation for statistical mechanics and machine learning.

Models. Maximize entropy subject to moment constraints. Entropy: H(P) = -∑P(x)log P(x). Constraints: E[fᵢ] = cᵢ. Solution: exponential family.

Formalism.

Entropy: H(P) = -∑ₓ P(x) log P(x) (discrete) H(P) = -∫ p(x) log p(x) dx (continuous)

Maximum entropy problem: maximize H(P) subject to: E_P[fᵢ(X)] = cᵢ for i = 1, ..., k ∑ₓ P(x) = 1

Lagrangian: L = H(P) - ∑ᵢ λᵢ(E[fᵢ] - cᵢ) - μ(∑P - 1)

Solution: P*(x) = (1/Z) exp(∑ᵢ λᵢfᵢ(x)) Z = ∑ₓ exp(∑ᵢ λᵢfᵢ(x)) (partition function) Exponential family.

Dual problem: minimize log Z(λ) - ∑ᵢ λᵢcᵢ Convex optimization.

Maximum entropy logic: Background: first-order constraints. Find P maximizing entropy satisfying constraints. Markov logic: weighted FOL rules.

Properties: Unique solution (convex). Sufficient statistics: fᵢ. Connection to maximum likelihood.

Symbols.

SymbolUnicodeNameMeaning
H—EntropyInformation measure
E—ExpectationExpected value
λU+03BBGreek small lambdaLagrange multiplier
λᵢ—Indexed multiplierThe multiplier attached to constraint i
μU+03BCGreek small muMultiplier enforcing normalization
Z—PartitionNormalization
exp—Exponentiale^x
P—DistributionThe variable of the optimization
P*—OptimumThe maximizing distribution
fᵢ—FeatureThe constrained statistic
cᵢ—Target momentThe value fᵢ is required to average to
L—LagrangianThe objective with constraints adjoined
∑U+2211N-ary summationSum over outcomes and over constraints
∫U+222BIntegralThe continuous form of the entropy
log—LogarithmBase fixes the unit of entropy
-U+002DHyphen-minusSign of the log-sum, and the dual objective
=U+003DEquals signThe moment constraint
X—Random variableThe argument of the features

Metatheory. The problem is a convex program with a unique answer: entropy is strictly concave on the simplex and the moment constraints are linear, so where the feasible set is nonempty the maximizer is unique, and it has exponential-family form P*(x) ∝ exp(∑ᵢ λᵢfᵢ(x)) with the λᵢ the multipliers of the constraints. Convex duality turns the constrained maximization into the unconstrained minimization of log Z(λ) − ∑ᵢ λᵢcᵢ, and that dual is precisely the negative log-likelihood of the exponential family evaluated on data whose empirical moments are the cᵢ — so maximum entropy under moment constraints and maximum likelihood in the induced exponential family are one optimization, a duality made explicit by Della Pietra, Della Pietra and Lafferty (1997). Csiszár (1975) gave the geometric form: the solution is the I-projection of the reference measure onto the linear family, characterized by a Pythagorean identity for relative entropy, which yields the convergence of iterative proportional fitting; Darroch and Ratcliff (1972) proved generalized iterative scaling converges monotonically for nonnegative features with constant sum. Shore and Johnson (1980) derived the principle from consistency axioms — uniqueness, invariance, system independence, subset independence — rather than postulating it.

Applies to. Statistical mechanics. Natural language processing. Image reconstruction. Prior specification. Markov logic networks.

Limitations. The dual is convex but not evaluable: log Z is a sum over the whole outcome space, and for a structured model such as a Markov logic network computing Z is #P-hard, as is the gradient, which is the model expectation of each feature. Attainment can fail — if the constraints are satisfiable only on the boundary of the simplex the maximizer lies in the closure of the exponential family, no finite λ realizes it, and the scaling algorithms drive weights to infinity. In the continuous case the principle is not coordinate-free: differential entropy shifts by the log of the Jacobian under a change of variable, so "the" maximum entropy density depends on the parameterization, and the repair — maximizing relative entropy against a stated reference measure — relocates the arbitrariness rather than removing it. Updating by maximizing entropy under a new constraint conflicts with conditionalization: van Fraassen's (1981) Judy Benjamin case imposes a conditional probability and the entropy maximizer moves the marginal of the conditioning event, which Bayesian updating leaves fixed, so the two rules are incompatible rather than merely different.

© 2026 Lingenic LLC