Manuscript Offprint
arXiv:2611.02943Exact Fusion of Softmax Attention Heads Can Require Exponentially Many Atoms
HIROYASU USAMI¹, KEISUKE HARA¹, AYATO TSUBOI¹, and NAOHIKO MATSUDA²
¹Department of Computer Science, Graduate School of Engineering, Chubu University, Kasugai, Aichi 487-8501, Japan
²Heat Transfer Research Department, Research & Innovation Center, Mitsubishi Heavy Industries, Ltd., Takasago, Hyogo 676-8686, Japan
Corresponding author: Hiroyasu Usami (e-mail: usami@fsc.chubu.ac.jp).
ABSTRACT Fusing independently normalized attention heads can increase the number of explicit key-value entries, or atoms, needed to preserve their output. We prove a sharp separation for : its two-atom heads use head-atom terms, whereas its minimum single-head representation has exactly atoms, even with arbitrary fixed replacement keys, scalar values, and positive masses. The same lower bound holds for every fixed uniform error below on , and the threshold is sharp. The proof uses exposed-key normal cones; exact equality on any nonempty open query domain inherits the bound. The resulting atom bound for a fixed head count is tight when that count divides . A normalized family retains its exponential exact minimum while approaching a constant on fixed-radius query balls. For pretrained-model caches, a classical affine-rank bound and a certified instance exclude exact vector preservation at a specified atom count. Learned-cache comparisons on two disjoint banks of 64 contexts show budget-dependent reversals and calibration effects.
INDEX TERMS Attention mechanisms, head fusion, key-value cache, minimum realization, softmax, exponential sums.
I. INTRODUCTION
Fusing separately normalized attention heads into a single softmax head changes the normalization structure. Within one readout, an atom is one explicit key-value entry with a fixed positive weight. In the constructed family, 12 two-atom heads use 24 head-atom terms, but any exactly equivalent single-head readout needs at least 4,096 atoms. Multiplying the head denominators produces a cache indexed by tuples of atoms. The question is whether jointly reoptimizing the replacement keys, values, and masses can reduce this product expansion.
We resolve this minimum-realization question for . Its coordinate heads use two atoms each, while every single-head representation requires at least atoms, allowing arbitrary fixed real keys, scalar values, and positive constant masses. The obstruction is geometric: although has only distinct scalar limits along generic rays, a convex unique-winner region cannot combine directions across a coordinate jump. This forces exposed-key regions.
Keys, values, and masses are query-independent; queries range over .
-
Exactness and approximation. We distinguish exact preservation on open query domains from bounded-query approximation, and show that identical key geometry can have different exact atom requirements when values change.
-
Finite-query capacity and learned approximation. We apply a classical affine-rank bound to captured vector outputs and certify one native instance. We give separate and fused caches the same memory budget, fit both, and test how calibration-query placement changes their errors.
II. RELATED WORK AND POSITIONING
Jordan and Jacobs [1] express a two-way softmax gate as a logistic ridge (their Eq. 2.7). We ask how small a flat, query-independent affine-logit readout can be for a specified function.
Haverbeck et al. [2] analyze joint key-value compression by approximating a context measure under a query distribution, allowing new atoms and positive masses. Streaming memory bounds [5] and head-count or rank separations [6],
at Xiv:2611.02943v1 [cs.LG] 2 Nov 2026.
IEEE Access®
Usami et al.: Exact Softmax Head Fusion
[7], [8] address other targets and resources. Table 1 contrasts their interfaces with the minimum-realization question studied here.
Multi-query attention (MQA) shares one key-value cache across query heads, while grouped-query attention (GQA) shares a cache within each group [3], [4]. Both preserve head-specific queries and softmax normalizations. The family itself can use two shared scalar KV positions, with keys and values , coordinate queries , and output summation. Thus KV sharing preserves the factored normalizers; fusion here replaces their separate distributions by one affine-logit softmax denominator.
Mixture-of-experts identifiability concerns equality of entire conditional distributions under irreducibility and kernel-independence conditions [9]. It does not directly determine the minimum number of constant scalar experts representing a prescribed mean. In particular, the stated binomial criterion requires trials for experts, so its Bernoulli case does not cover . The cube construction also repeats expert values for . Our lower bound allows arbitrary fixed replacement keys, scalar values, and positive masses without an expert-density identifiability assumption.
III. READOUT MODEL AND FUSION IDENTITY
Let . For a positive integer , consider
where , , and are fixed. An atom is one indexed key-value-mass term in this expression. Identical keys can be merged by summing their masses and taking the mass-weighted value average. A constant positive mass is equivalent to a logit bias. Thus a lower bound for (1) also covers unit-mass replacement caches. A fixed scalar linear output projection can be absorbed into the values.
For head , fix , keys , scalar values , and positive masses . With query , its output is
Proposition 1 (product expansion; background identity). The sum has a representation of form (1) with at most atoms. A tuple has
Proof. Put the head outputs over the common denominator equal to the product of their denominators and expand. Each tuple contributes its product weight to the denominator. Its numerator coefficient is the same product weight multiplied by the sum of its selected values. All masses are positive. Coincident tuple keys may be merged, which only reduces the atom count.
IV. A SHARP EXPONENTIAL ATOM BOUND
Define
Each summand is a two-atom, unit-mass head with scalar keys 0, 1, values 0, 1, and coordinate query .
Theorem 2 (explicit-atom separation). The minimum number of atoms in (1) representing on all of is . More strongly, if a representation (1) satisfies
then . In contrast, coordinate heads represent using 2d head-atom terms and a linear sum.
We use the following geometric observation; Figure 1(b) illustrates its convexity obstruction. Panels (a) and (c) show the attaining cube construction and the fixed-head budget of Corollary 6, respectively.
Lemma 3 (an open cone cannot hide a coordinate jump). Let be nonempty, open, and convex. Suppose that a constant satisfies
for every with no zero coordinate. Then is contained in one open orthant.
Proof. If crosses a coordinate hyperplane , convexity supplies an intersection and openness supplies a relatively open slice. Choose a slice point whose other coordinates are nonzero, and perturb it a sufficiently small distance in the two coordinate-normal directions. Both perturbed points remain in , but their -values differ by one. The assumed bounds imply , a contradiction. If contains a point on a coordinate hyperplane, openness gives the same contradiction. The argument also covers .
Proof of Theorem 2. For the upper bound, take all cube keys , masses one, and values . The denominator factors as . Summing the marginal expectation of each bit gives exactly . These are also the tuples in Proposition 1.
For the lower bound, merge duplicate keys and let be the remaining finite key set. Each vertex of has the nonempty, ambient-open, convex strict normal cone
This remains true if the key polytope has a lower-dimensional affine span. A singleton key set has .
For , the unique dominant exponential gives
For a direction with no zero coordinate,
IEEE Access
TABLE 1. Closest results grouped by target, interface, and counted resource.
| Study | Target and interface | Guarantee or counted resource |
|---|---|---|
| Jordan–Jacobs [1] | Hierarchical conditional expert mixtures | Logistic gates and hierarchical products; construction background. |
| Haverbeck et al. [2] | Joint KV replacement, including new atoms and positive masses | Query-distribution approximation risk; broader than support-subset eviction. |
| Haris–Onak [5] | Worst-case autoregressive streaming | Memory bits with probabilistic guarantees. |
| Hsu–Xu [6] | Multi-task attention computation | Head count, dimension, precision, and threshold-degree tradeoffs. |
| Yu et al. [7] | Varying sequences, trainable encoders and post-attention networks | Transformer parameter approximation rates. |
| Amsel et al. [8] | Retrieval with varying contexts and queries | Rank, head-count, and weight-norm barriers. |
| Jiang–Tanner [9] | Full conditional expert densities under nonde-generacy | Parameter identifiability; not a scalar-mean minimum. |
| This work | Prescribed fixed scalar readout; arbitrary replacement keys, values, and positive masses | Minimum explicit atoms: exact on an open domain, or a sharp global uniform tolerance. |
(a) Cube attainment (d = 3)

8 unit-mass atoms; 4 scalar values
3 two-atom heads: 6 terms
Vertex labels are scalar values
(b) Convexity obstruction (d = 2)

One vertex gives constant on
Dashed rays and origin are excluded
(c) Fixed-H atom budget (d = 12)

; markers only for
Equal-size coordinate blocks attain
these markers
S counts head-atom terms
FIGURE 1. Attainment, convexity obstruction, and fixed-head atom budgets. (a) Eight unit-mass cube atoms realize ; three two-atom heads use six head-atom terms. Vertex labels are scalar values, taking four distinct values. (b) The strict-winner cone for against keys contains and with , and their midpoint with . One winning key gives one constant ray limit throughout its cone, requiring . Shading shows the clipped closure; dashed boundaries and the origin are excluded. (c) The curve is ; filled markers attain it for . Counts are head-atom terms.
Condition (4) therefore implies on the generic directions of . Lemma 3 places this cone inside a single orthant.
Every open orthant contains a direction avoiding all pairwise key-tie hyperplanes. In that direction a unique key maximizes the inner product, and it is an exposed vertex. A vertex cone cannot serve two orthants, so at least vertices, hence at least atoms, are necessary. This counts regions even though the ray limit takes only distinct values: equal values on disconnected orthants cannot be assigned to one open convex vertex cone. Exact equality is the case .
V. SHARPNESS OF THE UNIFORM-ERROR THRESHOLD
Proposition 4 (boundary construction). There is a -atom representation with uniform error 1/2 from . For d = 1, interpret it as a constant one-atom representation.
Proof. Drop the last coordinate and use
The cube construction in coordinates uses unit-mass atoms; its values are the retained bit count plus . Its error is , whose supremum is . Thus (4) cannot be extended to .
For every finite query the error in (7) is strictly less than , while its supremum is . Consequently pointwise strict error below does not imply the atom lower bound: a single fixed uniform tolerance strictly below is required.
IEEE Access™
Usami et al.: Exact Softmax Head Fusion
Corollary 5 (exact preservation on an open domain). Let be nonempty and open. If a readout of form (1) equals throughout , it has at least atoms. In particular, this applies to a bounded open box. It does not assert an approximation bound on a bounded domain.
Proof. For , write . Put and . Cross-multiplying the positive denominators gives the finite exponential sum
It vanishes on . Fix and any . On the line , group equal exponents to write with distinct real . The line remains in for sufficiently small , so derivatives of orders at zero vanish. The resulting Vandermonde system implies every . Hence , and positive denominators imply equality at every . Apply Theorem 2.
Corollary 6 (fixed-head lower bound; sharp when ). Suppose a sum of heads of the form preceding Proposition 1, with atoms in head , equals on a nonempty open subset of , or approximates uniformly on all of with fixed error . Then
If divides , the bound on is attained with total query width .
Proof. Proposition 1 produces a single-head representation with at most atoms. Theorem 2 or Corollary 5 requires at least . The arithmetic–geometric mean inequality gives the bound on . For attainment, partition the coordinates into blocks of size and apply the cube construction independently in each block. Every head has atoms, and summing the block outputs gives exactly.
The bound allows arbitrary fixed linear query projections and constant heads, with a normalizer for each head and a linear sum of their outputs. It leaves the optimum over integer head sizes unspecified when does not divide .
TABLE 2. Closed-form theoretical comparison for on . All cube keys have norm at most one and values lie in . is the minimum single-head atom count; head terms count the coordinate construction. is the optimal one-atom uniform error. Values follow the closed forms of Proposition 7.
| Head terms | |||
|---|---|---|---|
| 1 | 2 | 2 | 0.231059 |
| 2 | 4 | 4 | 0.122459 |
| 4 | 16 | 8 | 0.062177 |
| 8 | 256 | 16 | 0.031209 |
| 16 | 65536 | 32 | 0.015620 |
Proposition 7 (sharp one-atom comparison on a query ball). Let , and
On the origin-centered closed ball , the best one-atom approximation is the constant , with error
Exact preservation on this ball still requires atoms.
The elementary proof is given in Appendix A.
For , the cube representation has keys of norm at most one and values . Its exact minimum on the ball is , while
At fixed , this normalized family becomes nearly constant on the ball while retaining its exponential exact minimum (Table 2).
VI. RESOURCE ACCOUNTING AND NATIVE-CACHE ANALYSIS
The quantity counts head–atom pairs, not sequence positions: several heads can read the same two positions. Rescaling the target to puts cube values in without changing the exact atom bound, but changes the uniform-error threshold to . Scaling cube keys by changes the fixed-query target to ; a compensating query or temperature change must be counted.
Keep the cube key table and unit masses fixed. Values give after nuisance factors cancel, so the exact minimum is two atoms. Values give , which requires atoms by Theorem 2. Both value sets lie in , and the keys, rank, and key singular spectrum are identical. Thus key rank or key spectrum alone does not determine the minimum exact atom count.
For each context, normalized root mean squared error (NRMSE) is with the uncentered target in the denominator; macro results give each context equal weight.
IEEE Access
TABLE 3. Controlled FP64 evaluation at , , with 4,608 queries. KV counts explicit array storage. The first three methods attain the fixed-head atom bound with , 6, 12, respectively. The fixed mean is a prespecified two-atom approximation.
| Method | Terms | KV (KiB) |
|---|---|---|
| Cube head | 4096 | 416.000 |
| Block size 2 | 24 | 0.562 |
| Coordinate | 24 | 0.375 |
| Fixed mean | 2 | 0.203 |
A. CONTROLLED FIXED-CACHE READOUTS
We use and . For each , a paired query bank contains 512 PCG64 uniform points in (seed 20261101) and all sign corners, scaled by . Four methods use the same generic, batched double-precision (FP64) NumPy softmax kernel: the cube head, two-coordinate block heads, coordinate heads, and a fixed two-atom approximation . All K/V arrays are materialized; query reshaping and construction are outside kernel timing. Kernel timing details are retained in the supplement.
Across the 27 exact-method conditions, the maximum absolute error was . Figure 2 shows the finite-bank approximation error and explicit array storage. Table 3 reports the condition. At , the cube (), two-coordinate blocks (), and coordinate heads () attain Corollary 6 with 4,096, 24, and 24 terms, respectively. Conversely, the approximate two-atom form is accurate on the smallest bank radius; the unbounded-query theorem supplies no bounded-query approximation barrier.
B. PRETRAINED-MODEL TARGETS AND NUMERICAL IDENTITY
We capture a pretrained model's head outputs and ask how many atoms are needed to preserve them. We then fit compressed caches and measure how approximation changes with the storage budget and calibration queries.
We use the public CODI GPT-2 checkpoint zen-E/COD I-gpt2 [10]. We run ordinary text inference on 64 label-free public BoolQ validation texts [11], truncated to 96 GPT-2 tokens. We capture layer 0 and heads 0–3. Positions 0–15 supply a prefix cache, positions 16–47 calibrate compression, and positions 48 onward supply 2,932 held-out queries. The target renormalizes attention over that prefix. The vector analyses use concatenated head outputs before the model output projection.
Native 64-dimensional queries are divided by 8 before concatenation; the fused dot product applies no further scaling. In the initial two-head scalar-projection diagnostic, full Cartesian fusion agrees with the separate reference to in FP64 and in FP32. At fused subset sizes 32 and 64, calibration top-mass pruning has larger macro error than uniform pruning. The supplement contains this diagnostic, its array accounting, and warm-kernel timings. The learned comparison uses trainable keys, values, and log masses.
Fixed two-atom mean baseline

Explicit numeric arrays

FIGURE 2. Controlled readouts. Top: observed normalized maximum error for the fixed two-atom mean baseline, evaluated on paired finite query banks in boxes. Bottom: FP64 storage used by each method's K/V arrays. Exact-method errors across all banks are at most .
For , the target is the concatenation of the first head-output vectors before the fixed output projection:
C. NATIVE-CACHE CAPACITY AT FIXED KV PAYLOAD
An -atom readout produces vectors in the affine hull of its values. Let stack target vectors from any fixed bank of queries, and let . An -atom readout has prediction matrix , where , so . Orthogonal centering and the low-rank approximation theorem [12] give
We evaluate this floor numerically in FP64. It applies to the single-head class even with arbitrary replacement keys and values; softmax need not attain it.
IEEE Access®
Usami et al.: Exact Softmax Head Fusion
A scalar target matrix has centered rank at most one, so the affine-rank floor vanishes for two or more atoms and cannot detect the exponential scalar minimum.
A second bank contains the next 64 texts in the same label-independent ordering, disjoint from the first bank. The same checkpoint, layer, two heads, and 16-position prefix define its targets.
Each original two-head cache occupies 16 KiB of FP32 key/value arrays. A 16-atom single head with 128-dimensional keys and values has the same KV payload. We additionally grant its 64 bytes of log masses free, enlarging the comparison class. On the 32 early calibration queries of each new context, (10) gives a macro NRMSE floor of 0.02486, ranging from 0.01773 to 0.03270 across all 64 contexts. The original separate heads realize their target exactly. Thus these native targets exhibit a finite-query fusion cost at equal dense KV payload. For the interval certificate, the captured FP32 query, key, and value entries define exact real constants, and the certified output is the corresponding real-exponential attention map. For one fixed native instance, an outward-rounded interval computation certifies a nonzero minor of the augmented output matrix . Its rank is therefore at least 17, excluding exact preservation by any 16-atom single head on those 17 queries. Appendix B specifies the instance and verification.
D. LEARNED APPROXIMATION UNDER AN EQUAL-BYTE BUDGET
On the first bank, we fit vector-valued records of form (1), with . The exported keys, values, and masses are fixed at evaluation.
The two-head condition is primary; the four-head condition is a prespecified nested comparison on the same capture. For , the separate heads receive block-local atoms and the single head receives full-dimensional atoms, at the same allocated memory budget (Table 4).
Each cache uses 32 calibration queries, four fixed -means++ initializations, and 512 Adam updates of keys and log masses, at learning rate 0.03. Values are solved conditionally by ridge regression at each update and once after the final update. We scale the target using its calibration RMS and denote the result by . For and , the objective shared by both architectures is
Separate-head residuals and penalties are summed with the same denominator . FP64 Cholesky solves give ; envelope gradients update the keys and log masses. Initial keys come from native-key clusters for separate heads and Cartesian-key clusters for the single head. The four-head initializer samples 512 fixed tuples; subsequent keys are unrestricted. The query scaling obtained only from calibration data is folded into the exported keys. We export the final caches in FP32. For each cache, the start
with lowest exported calibration MSE is fixed before opening held-out assets.
: Results.
The primary two-head comparison does not meet the prespecified two-budget superiority criterion: at , the single-head macro error is lower (0.4467 versus 0.4948); at , separate heads are lower (0.3363 versus 0.5269). Separate heads have lower errors on 32/64 and 62/64 contexts, respectively. The median single-minus-separate differences are and . At , separate heads are lower at both budgets, on 42/64 and 60/64 contexts.
Calibration error decreases with capacity in both classes, whereas the fitted single head's held-out error increases in the primary condition (Table 5). Across starts, the largest NRMSE range within a context is 1.8158 for separate heads at , and 1.1793 for the single head at . Macro rank floors are 0.2539 and 0.1265 for two heads, and 0.2559 and 0.1495 for four heads. Every selected separate fit lies above its corresponding single-head floor, so this native bank supplies no separation certified by that bound.
E. CALIBRATION-QUERY COVERAGE
We compare calibration-query placement on the second bank. Both policies retain 32 calibration queries and share the final 16 queries as their held-out set. The early policy uses positions 16–47. For a text of tokens, the distributed policy uses positions , before the held-out interval . Here . Keys, values, fitting steps, starts, and retention budgets follow the same procedure; all eight selectors are fixed before evaluating either policy. Changing the calibration queries also changes the scaling and initialization used by the fitting procedure.
Distributed calibration lowers macro NRMSE in all four planned contrasts: by 0.0250 and 0.0098 for separate and single heads at 4.031 KiB, and by 0.0129 and 0.0918 at 8.062 KiB. At the smaller budget, the two errors are close (0.4717 and 0.4711); at the larger budget, separate heads are lower (0.3515 versus 0.4817). The worst per-context separate-head error at the smaller budget decreases from 1.5183 to 0.8585. The mean nearest-calibration cosine distance of held-out queries decreases from 0.4916 to 0.4240 in the fixed native query coordinates.
VII. IMPLICATIONS FOR KV COMPRESSION
A factored evaluator computes with sigmoid evaluations; a single normalized exponential sum of form (1) needs atoms.
The scalar obstruction also transfers to vector targets through a fixed linear functional. If satisfies for a fixed nonzero , applying to vector values preserves the keys, positive masses, and atom count. Theorem 2 and Corollary 5 therefore give the same exact lower bound. A global uniform vector error also gives whenever .
IEEE Access
TABLE 4. Resource allocation in the equal-byte learned comparison. Both architectures retain the same number of key/value coefficients and receive the same FP32 storage budget. Normalizer count, atom count, coordinate access, and weight sharing vary together, allowing different training arithmetic at the same memory budget.
| Resource | Separate heads | Single head |
|---|---|---|
| Softmax normalizers | H | 1 |
| Atoms; log masses | n; n | |
| Key and value width per atom | 64 each | 64H each |
| Query and output coordinates | Fixed 64D block per head | All 64H coordinates per atom |
| Mixture-weight sharing | Within each 64D output block | Across all 64H output coordinates |
| Key coefficients; value coefficients | 64Hn; 64Hn | 64Hn; 64Hn |
| FP32 array payload | 4(129Hn) bytes | 4(128Hn + n) bytes |
| Unused allocated padding | 0 | 4n(H - 1) bytes |
| Total allocated retention | 4(129Hn) bytes | 4(129Hn) bytes |
TABLE 5. Learned compression with equal FP32 storage budgets. Each result uses all 64 prompts. Cal.: macro calibration NRMSE from FP32 exports; held: macro held-out NRMSE from FP32 records selected by calibration error. Lower is better. S/F denote separate/single-head fits. Separate/single allocations retain total atoms. Fits use 512 updates and four starts; Table 4 details the resource allocation.
| H | n per head | KiB each | Cal. S | Cal. F | Held S | Held F | S lower |
|---|---|---|---|---|---|---|---|
| 2 | 4 | 4.031 | 0.1901 | 0.2355 | 0.4948 | 0.4467 | 32/64 |
| 2 | 8 | 8.062 | 0.0573 | 0.1179 | 0.3363 | 0.5269 | 62/64 |
| 4 | 4 | 8.062 | 0.1550 | 0.2845 | 0.4855 | 0.5135 | 42/64 |
| 4 | 8 | 16.125 | 0.0463 | 0.2071 | 0.3657 | 0.4896 | 60/64 |
(a) Native-cache capacity

(b) 4.031 KiB fitted cache
(c) 8.062 KiB fitted cache
FIGURE 3. Native capacity and calibration on the second, disjoint 64-context bank. (a) The original two-head cache realizes its target with a 16 KiB KV payload. Gray points are classical affine-rank error floors for arbitrary 16-atom single heads with the same KV payload and free masses, evaluated on 32 early queries per context; the red bar is their mean. (b,c) Macro error on the common final-16-query bank when the 32 calibration queries are early or distributed. Both architectures improve at both fitted-cache budgets.
TABLE 6. Calibration-policy follow-up on 64 unused contexts. Held-out NRMSE is averaged equally across prompts on the common bank of final-16 queries. S/F: separate/single-head fits.
| n | KiB | Early | Distributed | ||
|---|---|---|---|---|---|
| S | F | S | F | ||
| 4 | 4.031 | 0.4967 | 0.4809 | 0.4717 | 0.4711 |
| 8 | 8.062 | 0.3644 | 0.5734 | 0.3515 | 0.4817 |
Key/value dimensions, precision, normalizers, and evaluation kernels determine how atoms translate into storage and time. Table 4 records the matched storage resources and the architectural differences in the learned comparison.
VIII. CONCLUSION
Fusing softmax heads can require exponentially many atoms even after all replacement keys, scalar values, and masses are reoptimized. The minimum single-head representation of has atoms, with a sharp all-query uniform-error threshold of . For separately normalized heads, the total atom count is at least , attained when divides . The normalized family becomes nearly constant on a bounded query ball while retaining its exact minimum.
For one native vector target, the certificate rules out exact single-head preservation at the original dense KV payload. Learned-cache rankings vary with storage budget, while distributed calibration reduces macro error in both allocations.
IEEE Access™
Usami et al.: Exact Softmax Head Fusion
CODE AND DATA AVAILABILITY
The reproducibility materials are maintained at https://github.com/usamihiroyasu/attention-head-fusion. The same files are supplied as supplementary material. They include diagnostic and learned-cache implementations, frozen protocols, both query banks with upstream attribution, complete results and all-start diagnostics, and environment and asset identifiers. Model weights are retrieved from the cited pinned repository rather than redistributed.
The checkpoint revision is fd641b3d3edc59e4f534b55588e906588c9e36bb. All 251 checkpoint entries have the expected keys and shapes. Every loaded tensor equals its checkpoint value after conversion to FP32. The dataset Parquet file has SHA-256 prefix 52355d11524b4b87; the supplement records the full digest and all input hashes. All 36 method-bank conditions completed. All eight conditions completed for all 64 contexts.
APPENDIX A PROOF OF PROPOSITION 7
Proof. Every one-atom readout is constant. Put for . This function is increasing and concave. Odd symmetry of , Jensen's inequality, and Cauchy–Schwarz give
The opposite points attain the two symmetric extrema. Their output separation is twice the displayed error, so no constant does better. Exact preservation follows from Corollary 5 after the invertible query scaling by and output scaling by ; the ball has nonempty interior.
APPENDIX B A CERTIFIED NATIVE-CACHE INSTANCE
Take context 0 of the second bank (BoolQ validation row 842), its first 17 early queries (positions 16–32), and the fixed prefix from positions 0–15. Treat the captured FP32 query, key, and value entries as exact real constants. Form a matrix with a constant-one column, output coordinates 0–14 of head 0, and coordinate 0 of head 1.
The certificate encloses every dot product, exponential, positive normalization, and output using 80-digit decimal arithmetic. Correctly rounded endpoint exponentials [13] are expanded outwards using next_minus and next_plus in the same 80-digit context; the remaining interval operations use directed rounding. Interval elimination gives
An independent check uses a proposed numerical inverse only as an exact rational preconditioner. Exact fraction arithmetic shows that every matrix in the stored entry enclosure
has strictly row diagonally dominant, with all dominance margins exceeding 0.9999999993. Hence it is nonsingular. The input arrays, entry enclosures, preconditioner, and two verification programs accompany the supplement.
For an -atom flat readout, and , so has rank at most . The certified rank 17 excludes for this instance.
REFERENCES
[1] M. I. Jordan and R. A. Jacobs. Hierarchical Mixtures of Experts and the EM Algorithm. Neural Computation, 6(2):181–214, 1994. https://doi.org/10.1162/neco.1994.6.2.181 [2] L. Haverbeck, C. Amo Alonso, A. F. Posada-Moreno, S. Trimpe, and M. Pavone. The risk of KV cache compression. arXiv:2607.01520v1, 2026. https://arxiv.org/abs/2607.01520v1 [3] N. Shazeer, “Fast Transformer Decoding: One Write-Head is All You Need,” arXiv:1911.02150v1, 2019. https://arxiv.org/abs/1911.02150v1 [4] J. Ainslie, J. Lee-Thorp, M. de Jong, Y. Zemlyanskiy, F. Lebrón, and S. Sanghai, “GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints,” in Proceedings of EMNLP, pp. 4895–4901, 2023, doi: 10.18653/v1/2023.emnlp-main.298. https://aclanthology.org/2023.emnlp-main.298/ [5] T. Haris and K. Onak. Compression Barriers in Autoregressive Transformers. Proceedings of the 38th Conference on Learning Theory, PMLR 291, pp. 2757-2785, 2025. https://proceedings.mlr.press/v291/haris25a.html [6] D. Hsu and M. Xu. Attention-based representations for multi-task computation. arXiv:2608.04243v1, 2026. https://arxiv.org/abs/2608.04243v1 [7] P. Yu, H. Jiang, Z. Bao, R. Yu, and Q. Li. The Effect of Attention Head Count on Transformer Approximation. arXiv:2510.06662v2, 2026. https://arxiv.org/abs/2510.06662v2 [8] N. Amsel, G. Yehudai, and J. Bruna. Quality over Quantity in Attention Layers: When Adding More Heads Hurts. International Conference on Learning Representations, 2025. ICLR 2025 proceedings [9] W. Jiang and M. A. Tanner. On the identifiability of mixtures-of-experts. Neural Networks, 12(9):1253–1258, 1999. https://doi.org/10.1016/S0893-6080(99)00066-0 [10] Z. Shen, H. Yan, L. Zhang, Z. Hu, Y. Du, and Y. He. CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillation. Proceedings of EMNLP, pp. 677–693, 2025. https://aclanthology.org/2025.emnlp-main.36/ [11] Google. BoolQ validation dataset, revision 35b264d03638db9f4ce671b711558bf7ff0f80d5. CC BY-SA 3.0. Pinned public dataset. Only public input texts are used in this diagnostic. [12] C. Eckart and G. Young, “The approximation of one matrix by another of lower rank,” Psychometrika, vol. 1, no. 3, pp. 211–218, 1936, doi: 10.1007/BF02288367. [13] Python Software Foundation, “decimal—Decimal fixed-point and floating-point arithmetic,” Python 3.12 Documentation, accessed Nov. 1, 2026. https://docs.python.org/3.12/library/decimal.html
IEEE Access

HIROYASU USAMI received the Ph.D. degree in engineering from Chubu University in 2019. He is a Senior Assistant Professor at Chubu University and a Researcher at Aichi Medical University. His research focuses on computer vision, machine learning, and medical image analysis. He serves on the Editorial Board of Scientific Reports and the editorial committee of the IPSJ Journal/Journal of Information Processing.

KEISUKE HARA received the B.E. degree in computer science from Chubu University, Kasugai, Japan, in 2026. He is currently pursuing the M.E. degree in computer science at the Graduate School of Engineering, Chubu University. His research interests include computer vision, image decomposition, shape from shading, 3-D reconstruction, depth estimation, and medical image computing.

AYATO TSUBOI received the B.E. degree in computer science from Chubu University, Kasugai, Japan, in 2026. He is currently pursuing the M.E. degree in computer science at the Graduate School of Engineering, Chubu University. His research interests include computer vision, image decomposition, inverse rendering, 3-D reconstruction, shape from polarization, and medical image processing.
NAOHIKO MATSUDA is with the Heat Transfer Research Department, Research & Innovation Center, Mitsubishi Heavy Industries, Ltd., Japan. His current work includes the application of large language models to engineering analysis and energy-system modelling.