Published November 1, 2026 | Version 6.2

MLP Set Functions Are Interaction-Dominated: A Möbius Decomposition of Neuron Subsets in GPT-2 and Pythia-160m, with Lean-Formalized Set-Function Theory

Authors/Creators

  • 1. UQAC, Saguenay, Canada

Description

Attribution methods for language models overwhelmingly report additive, per-component contributions. We measure how much of the function an MLP layer actually computes over subsets of its neurons such reports leave out. For a prompt and a target token, define f(A) as the log-probability of the target when exactly the intermediate neurons in A of one MLP layer remain active and the rest are ablated. Enumerating all 2^10 subsets of 10-neuron sets — exhaustively, not by sampling — in GPT-2 small and Pythia-160m, we decompose f by Möbius inversion and find that interaction terms of order ≥ 2 carry the majority of the coefficient mass (GPT-2: 57% and 63% at layers 5 and 10; Pythia-160m: 74–78%), and the error of the modular (separable) approximation f̂ averages 43–48% of f's range over the subset lattice in GPT-2 and 18% in Pythia-160m. The finding is robust across neuron-set selection rules (shared and per-prompt top-activation sets, with random controls), across GPT-2 layers 1–10 (easing at the final layer), under zero ablation and, attenuated, under mean ablation, and across target types (the model's own argmax and curated correct answers); under the Shapley symmetrization of the same coefficients, the interaction ratio is 0.495 — at parity with the singleton terms — so the conclusion does not hinge on the unsymmetrized coordinates. The set-function theory used — Möbius inversion, the characterization of modularity by vanishing higher-order coefficients, the exact decomposition of a set function into a modular approximation plus a higher-order tail, and its stability bound — is classical; we contribute a machine-checked formalization in Lean 4 / Mathlib, audited at the level of axiom dependencies: every theorem cited here depends only on the standard axioms, and the core development assumes no monotonicity, normalization, or nonnegativity of v. That generality is necessary, because measured f is a signed set function, not a fuzzy measure: monotonicity fails on 42–49% of comparable pairs (GPT-2) and the full neuron set scores below the empty set in 7 of 24 cases. The measured decomposition is, numerically exactly (max discrepancy 0.0 in float64), the decomposition the formalization proves. The implication is scoped but load-bearing: an additive per-neuron account of these set functions reports f̂, and the tail it discards is a fifth to a half of the function's range.

Notes

Supplementary material packaged in supplementary.zip: Lean 4 formalization with full axiom audit (supplementary/lean), experiment code Exp1-Exp3d (supplementary/experiments), and per-case data (supplementary/data), including the invalidated float16 run preserved as evidence. Published version 6.2.

Files

geometry-of-information-v6.2.pdf

Files (3.6 MB)

Name Size
md5:5dc7f3687c2bc151922ae754430e4351
41.9 kB Download
md5:8b8d3c2d40ee2b33b2d493a30553cd8a
6.2 kB Download
md5:13f4f430a89cb7e8406e01bda1442ae0
356.4 kB Preview Download
md5:0d156e9243d2ef7890481a4840b919ac
35.1 kB Download
md5:2e68415151ab7e14ba53b6a8d6e05f79
7.3 kB Download
md5:387d1ad4c38ad5d63fa4b73bd86e4319
9.7 kB Download
md5:249d8433b1975b38913cf095d7171234
13.8 kB Download
md5:9b9cd95ff1292f70d3bda71509a5814e
5.6 kB Download
md5:4dc3199fbb3ad8c56f9dcb29fcea1f7c
3.6 kB Download
md5:7096044b9912751f9c7a0ab222c8404c
7.4 kB Download
md5:56715d48f9f630abfc5312dcce48e433
41.6 kB Download
md5:2d2faa7264f020160dae323421bb86ff
3.0 MB Preview Download

Additional details

Related works

Is new version of
10.5281/zenodo.23458504 (DOI)