Manuscript Offprint
arXiv:2611.07233Neural Compression over Equivalence Classes: Exact Gauges and Functional Rate-Distortion
ABSTRACT
Neural networks admit many parameterizations of the same or nearly the same function, but deployment typically stores whichever parameter vector training happens to produce. We show that this representational freedom can itself be used for compression. Rather than redesigning the codec, we search over exact function-preserving transformations and controlled functional perturbations, using the unchanged physical compressor itself to select cheaper representations. Exact gauge families provide a zero-distortion reference under the strict audit; allowing small functional changes exposes much larger rate–distortion gains. Across SmolLM2 and Qwen3, our method reduces Zstandard-compressed checkpoint size by up to 23.4%, with similar relative reductions under gzip, Brotli, and ZipNN, establishing trained-network representational freedom as a practical storage resource.
1 INTRODUCTION
Training produces one parameter vector for a neural network, but that vector is not the only way to represent the learned computation. Hidden channels can be permuted, neighboring layers can be rescaled together, and internal bases can sometimes be changed without altering the network function. These familiar non-identifiabilities create a practical opportunity: different parameterizations of the same predictor can produce different byte patterns and therefore different compressed sizes.
We study this representational freedom as a compression resource. In the strictest setting, we search only transformations that preserve the neural function exactly. When small behavior changes are acceptable, we enlarge the search to nearby models whose activations or outputs remain within a declared tolerance. This gives a natural progression from exact equivalence to functional rate–distortion (RD), without requiring the stored tensors to match the original checkpoint bit-for-bit.
We keep the physical compressor unchanged, using standard backends such as Zstandard and gzip. Algebraic structure and differentiable signals only propose representations; each is audited for functional admissibility and scored by the real compressor, so measured bytes—not a smooth surrogate—remain the objective.
The experiments support three main observations. First, exact function-preserving transformations provide real but comparatively modest compression headroom. Second, controlled functional neighborhoods expose much larger gains: on SmolLM2-360M, the measured Zstandard reduction reaches 23.4% along the rate–distortion frontier. Third, the effect is not tied to one backend or one architecture: the selected endpoints retain similar relative gains under gzip, Brotli, and ZipNN, and the approach also reduces compressed size on Qwen3. Detailed operating points, preservation audits, scale studies, and negative cases are deferred to the experimental sections and appendices.
The contributions are:
- We formulate neural compression over functional equivalence classes as minimizing measured physical storage cost over exact function-preserving representations or explicitly audited functional neighborhoods.
- We distinguish an exact functional regime from a functional rate–distortion regime, making clear what is preserved when the parameter bit pattern changes.
- We develop a proposal–audit–measure pipeline in which model structure proposes candidates while the unchanged physical compressor remains the final byte-level authority.

Figure 1: Conceptual overview. Exact gauges move on a function-preserving orbit; controlled neighborhoods enlarge it. Functional audits constrain behavior, and the unchanged physical codec selects the smallest admissible representation.
- We demonstrate the compression hierarchy across scales, architectures, and codecs, with controlled negative cases that delimit useful representational freedom.
Thus the optimization target is not a learned entropy model or differentiable rate proxy, but the realized byte count of the serialized checkpoint.
2.1 EXACT FUNCTION-PRESERVING COMPRESSION
For exact equivalence, we optimize
The physical codec is lossless on serialized bytes, while the representation transform preserves the network function. Because the optimized parameterization need not recover the original checkpoint bytes, we call this the exact-functional regime rather than a lossless regime. The function defines an equivalence class on which may vary, so exact compression selects a representative within a fixed function; Appendix A.11 formalizes this quotient-space view.
For the transformer multilayer perceptron (MLP) and attention blocks studied here, exact search covers hidden-channel permutations, reciprocal power-of-two Swish-gated linear unit (SwiGLU)
Table 1: Exact function-preserving gauge families. Algebraic identities are audited after storage; strict runs additionally require zero sampled output error.
| Gauge family | Representative transform | Preserved object |
|---|---|---|
| SwiGLU channel/scale | MLP function | |
| Attention value/output | value/output map | |
| Low-rank factor | BA update |
Table 2: Exactness tiers. “Exact gauge” names the algebraic transform family; the post-storage audit determines the reported claim.
| Tier | Post-storage audit | Claim used in this paper |
|---|---|---|
| Strict stored-precision | sampled maximum absolute and relative output errors are both exactly zero | algebraically function-preserving; zero error on the executed audit |
| Finite-precision tolerance | sampled stored-precision error is below a declared numerical threshold | numerically equivalent within tolerance |
| Data-conditioned functional | activation/logit/NLL distortion is measured on real text | functional rate–distortion, not exact equivalence |
scalings, grouped attention value/output gauges, and low-rank factor gauges. Table 1 summarizes them; Appendix A gives derivations and stored-precision audit tiers.
Toy intuition. With , , and , the low-rank factor gauge from Table 1, , , gives , , yet . The eight stored scalars go from six distinct values (empirical symbol entropy 2.5 bits/value) to (1.0 bit/value). This only illustrates repetition; selection uses measured codec bytes (Appendix A.2).
2.2 WHAT EXACTNESS MEANS AFTER FINITE-PRECISION STORAGE
The algebraic identities in Table 1 are defined over exact arithmetic, whereas deployment executes stored BF16/FP16/FP32 tensors with finite-precision kernels and potentially reordered reductions. We therefore separate the mathematical gauge from the numerical claim made after serialization. Table 2 summarizes the audit tiers used throughout the paper. The strict branch underlies our exact functional terminology. Relaxed stored-precision and data-conditioned branches are reported separately and are never relabeled as bitwise-exact transformations.
2.3 CONTROLLED FUNCTIONAL NEIGHBORHOODS
When exact equality is unnecessarily restrictive, define a behavior distortion on calibration data and optimize
For a linear map with calibration activations , one local criterion is
For , , so is the empirical plug-in geometry of linear-layer output distortion (Appendix A.11). In the largest output-functional experiments, the primary distortion is the mean Kullback–Leibler (KL) divergence between original and candidate next-token distributions. Pinsker’s and Jensen’s inequalities bound the average one-step total variation by ; this does not imply rollout identity (Appendix A.11). Negative log-likelihood (NLL)/perplexity, tail KL, and top-1 agreement are independent diagnostics or held-out audits. Matched pure-KL frontiers receive post hoc codec and downstream audits, with complete WikiText test and streamed C4 audits at 360M; historical guarded endpoints retain separate provenance.
2.4 PROPOSAL—AUDIT—PHYSICAL SELECTION
The physical objective is never replaced by a differentiable proxy. At each coordinate, algebraic structure or a differentiable surrogate generates a small candidate set. A staged audit cheaply removes inadmissible proposals, measures each surviving whole checkpoint with the real codec, and runs expensive block- or logit-level audits only for byte-improving candidates. A candidate is committed only if it satisfies the declared functional condition and strictly lowers the physical objective. Appendix D shows that differentiable rate surrogates can mis-rank discrete codec outcomes even when exact physical reranking remains reliable.
Algorithm 1 gives the output-functional search. Validation and test data never select updates; they are evaluated only after the endpoint is frozen. Exact-gauge search uses the same physical-selection loop with the distortion predicate replaced by the declared exactness audit.
Algorithm 1: Core proposal, physical scoring, and behavior-audit search for one distortion threshold.
Input: original state theta0, codec c, distortion limit eps
State: theta = theta0; R = CodecBytes(theta, c)
for sweep = 1, ..., max_sweeps:
accepted = 0
for tensor coordinate k:
P = GenerateCandidates(theta0[k], theta[k], ...)
improving = []
for cand in P:
tc = theta with tensor k replaced by cand
r = CodecBytes(tc, c) # real whole-model codec
if r < R: add (r, cand) to improving
for (r, cand) in sort_by_rate(improving):
tc = theta with tensor k replaced by cand
if BehaviorDist(theta0, tc, calibration) <= eps:
theta, R = tc, r
accepted += 1
break
if accepted == 0: break
Freeze theta; evaluate validation/test/cross-domain afterward.
Because each commit strictly lowers a nonnegative integer byte count, updates cannot cycle and finite descent must terminate. An exhaustive no-accept sweep is coordinatewise optimal for the scanned proposals (Appendix A.11).
2.5 SINGLE- AND MULTIBIT WEIGHT-SPACE SEARCH
We use two complementary free-weight proposal families: significand snapping and -regularized sparsification. For a floating tensor with significand bits, rounds each significand to a grid with fewer low-order bits while preserving tensor shape and dtype. Thus is a proposal depth, not deployment bitwidth: is the single-bit proposal, while multibit search exposes for . Appendix A gives a BF16 bit-level example.
The second family minimizes a weighted quadratic reconstruction term plus the entrywise penalty , yielding soft thresholding and exact zeros; denotes the resulting candidate tuned to target sparsity . The candidate set is a union, not a composition,
where is the immutable original tensor. The dense experiments reported here use . We call 1-bit+ and multibit+. Every alternative is constructed from ; later sweeps may replace a candidate but never recursively round an already modified tensor. Appendix A gives exact constructions and pseudocode.
3 EXPERIMENTAL SETUP
We study SmolLM2-135M and SmolLM2-360M causal language models (Ben Allal et al., 2025), with Qwen3-0.6B-Base (Yang et al., 2025) as an architecture-transfer target. Whole-model experiments
Table 3: Cross-codec transfer of Zstandard-selected SmolLM2-135M representations. Rows are matched to their recorded Zstandard conditions; gzip, Brotli, and ZipNN are post hoc, and multibit+ uses the matched pure-KL frontier.
| Representation class | Zstd gain | gzip gain | Brotli gain | ZipNN gain |
|---|---|---|---|---|
| Strict exact gauge | 14.4 KB | 6.1 KB | 5.0 KB | 0.3 KB |
| Finite-precision gauge | 16.2 KB | 13.5 KB | 8.8 KB | 1.4 KB |
| Weight-space | 32.5 KB | 25.0 KB | 36.7 KB | -5.0 KB |
| Block activation | 253.7 KB | 225.2 KB | 271.4 KB | 261.4 KB |
| Local activation | 1.43 MB | 1.24 MB | 1.48 MB | 1.44 MB |
| Output functional, 1-bit+ | 12.84 MB | 10.18 MB | 12.57 MB | 11.77 MB |
| Output functional, multibit+ | 43.41 MB | 44.20 MB | 44.47 MB | 39.38 MB |
use deterministic sorted-key serialization. Zstandard is the primary optimization backend because it combines strong baseline compression with evaluation that is fast enough for repeated search; gzip and Brotli provide generic cross-codec controls, while ZipNN 0.5.4 in Huffman mode (Hershcovitch et al., 2025) provides a tensor-specialized post hoc control. Codec version is part of the experimental condition, and absolute byte counts from different versions are not mixed. We evaluate strict and finite-precision gauges, token-free weight-space perturbations, activation-aware neighborhoods, and output-space functional neighborhoods.
Search and candidate acceptance use only a WikiText-2 raw training calibration sample (Merity et al., 2017). The disjoint validation sample never selects updates; after endpoint freeze, its measured distortion defines the empirical RD coordinate in Figure 2. Where reported, WikiText test and streamed C4 (Colossal Clean Crawled Corpus) (Raffel et al., 2020) provide subsequent in-domain and cross-domain audits. We make no universal claim for unseen sequences, instead reporting distortion on increasingly independent data; Appendix B gives the full protocol, search budgets, cache semantics, and split details.
4 LARGE LANGUAGE MODEL (LLM) EXPERIMENTS AND RESULTS
4.1 EXACT GAUGES ESTABLISH THE EXACT FUNCTIONAL REGIME
The strict gauge result anchors Table 3. On SmolLM2-135M, whole-model strict gauge search saves 14,416 bytes under Zstandard. The gain is small relative to the approximate regimes, but it anchors the zero-distortion reference: compressed size changes under an algebraically exact gauge while the strict stored-precision audit reports zero output error. Module-framed optimization initially suggested a 67,971-byte gain, but only 6,194 bytes survived monolithic serialization; moving the whole-model codec into the optimization loop recovered 14,416 bytes. Thus even exact gauge optimization must respect the global physical stream rather than add local byte improvements independently.
A public Qwen3 module probe isolates this mechanism more directly. On a reversible channel-major serialization of a contiguous 32-channel SwiGLU window, all eight tested random shared channel permutations preserve the module function yet reduce exact Zstandard size by 18–92 bytes. Eight DiffZstd-guided proposals also reduce the real codec size, but their surrogate/exact Spearman correlation is −0.193; the best surrogate-guided candidate saves 78 bytes, below the 92-byte best random proposal under the same evaluation budget. This separates two claims: exact symmetry can change physical compressed size, but a differentiable rate surrogate need not rank discrete codec outcomes reliably; the production codec remains authoritative.
4.2 FUNCTIONAL NEIGHBORHOODS EXPOSE MUCH LARGER PHYSICAL HEADROOM
The hierarchy widens dramatically once exact equality is relaxed. Block and local activation save 253,728 and 1,432,379 bytes under pinned Zstandard v1.5.5. The initial logit-constrained sweep also imposed a hard local-activation prefilter, limiting the admissible search. Removing it while retaining output-space behavior checks changes the scale: the 1-bit+ search edits all 90 eligible MLP projections and reduces the 208,502,655-byte baseline by 12,841,952 bytes (6.1591%).
Table 4: Representative frozen 1-bit+ SmolLM2 downstream preservation (original compressed). Appendix C.9 reports full five-task audits and both matched pure-KL multibit+ frontiers.
| Metric | SmolLM2-135M | SmolLM2-360M | ||||
|---|---|---|---|---|---|---|
| Original | Endpoint | Original | Endpoint | |||
| LAMBADA accuracy | 0.4287 | 0.4306 | +0.0019 | 0.5333 | 0.5337 | +0.0004 |
| LAMBADA perplexity | 19.0560 | 19.0044 | -0.0516 | 9.3938 | 9.3794 | -0.0144 |
| PIQA accuracy | 0.6812 | 0.6866 | +0.0054 | 0.7165 | 0.7187 | +0.0022 |
| ARC-Easy accuracy | 0.6427 | 0.6410 | -0.0017 | 0.7033 | 0.7058 | +0.0025 |
Table 5: Held-out audits of the frozen SmolLM2-135M 1-bit+ endpoint (WikiText in-domain; C4 cross-domain).
| Audit | rel. PPL | mean KL | P99 KL | P99.9 KL | top-1 |
|---|---|---|---|---|---|
| WikiText test | +0.0346% | 0.00185644 | 0.00868125 | 0.0552182 | 97.31% |
| C4 validation | +0.0624% | 0.00202928 | 0.00845627 | 0.0911304 | 97.05% |
The endpoint remains close to the original model on independent data. Table 5 summarizes the held-out audit detailed in Appendix C. On 8,192 WikiText test tokens, PPL increases by 0.0346%, mean KL is 0.001856, and top-1 agreement is 97.31%; on a separately streamed 8,192-token C4 validation sample, these are 0.0624%, 0.002029, and 97.05%. Post hoc ZipNN 0.5.4 compresses the original and Zstandard-selected endpoint to 179,380,579 and 167,612,739 bytes, a gain of 11,767,840 bytes, and never selects candidates.
4.3 POST HOC DOWNSTREAM PRESERVATION
Frozen output-functional endpoints are also evaluated post hoc with EleutherAI lm-eval on tasks never used in search. Table 4 reports representative 1-bit+ endpoints on LAMBADA (Paperno et al., 2016), PIQA (Bisk et al., 2020), and ARC-Easy (Clark et al., 2018); Appendix C.9 adds HellaSwag (Zellers et al., 2019), ARC-Challenge, normalized variants, and both matched pure-KL frontiers. At 135M, the control reduces Zstandard size by 20.695% with raw-accuracy deviations within 0.52 percentage points and LAMBADA PPL +0.35%; adds only 0.126 percentage points of compression but raises LAMBADA PPL to +3.92%. The 360M sweep shows the same saturation: reaches 23.344% with WikiText/C4 PPL +0.668/ + 0.293%, maximum raw-accuracy deviation 0.49 percentage points, and LAMBADA PPL +2.35%; adds only 0.061 percentage points of compression but raises LAMBADA PPL to +5.02%.
Figure 2 combines the corrected SmolLM2-135M and completed SmolLM2-360M multibit+ pure-KL frontiers, Qwen3-0.6B architecture transfer, and full cross-codec transfer at both SmolLM2 sizes. Both SmolLM2 multibit sweeps use independent restarts and calibration mean-KL-only acceptance.
Panel (a) shows that the larger multibit+ candidate set does not uniformly dominate the 1-bit+ greedy search in the low-distortion regime at either SmolLM2 scale, even though it contains the one-bit significant proposal plus the same alternatives. This is consistent with optimization-path dependence across independently restarted trajectories. Panel (b) shows the additional high-distortion headroom under a matched pure-KL protocol. At 135M, the first multibit+ endpoint above the frozen 1-bit+ ceiling occurs at the search control, saving 14.84 MB (7.115%) at measured validation mean KL 0.003536; the sweep reaches 43.41 MB (20.82%) at KL 0.010321. At 360M, the same control first exceeds the 39.84-MB 1-bit+ ceiling, saving 65.65 MB (11.72%) at measured KL 0.002904, and the sweep reaches 131.09 MB (23.41%) at KL 0.008871. The widest boundary points have validation NLL +0.01203 and +0.00783, so we treat them as RD boundary observations rather than low-distortion operating points. The requested calibration KL limits remain search controls; plotted distortion is remeasured on the disjoint validation split after endpoint freeze.

Figure 2: Measured LLM functional rate–distortion and codec transfer. All panels use held-out validation mean token KL on the x-axis. (a) Low-distortion SmolLM2-135M/360M and Qwen3-0.6B. (b) Matched pure-KL SmolLM2 multibit+ under Zstandard. (c) Frozen 135M/360M endpoints recompressed by four codecs and normalized to each codec baseline; only Zstandard selects.
Table 6: Matched SmolLM2-135M/360M scale study under Zstandard v1.5.5 and post hoc ZipNN 0.5.4; positive ZipNN gain indicates transfer.
| Representation | 135M Zstd | 360M Zstd | 135M ZipNN | 360M ZipNN | 360M mean KL | 360M top-1 |
|---|---|---|---|---|---|---|
| Strict exact gauge | 14,416 | 14,205 | 256 | 7,742 | - | - |
| Weight-space | 32,471 | 90,068 | -4,963 | -25,366 | 0.001302 | 97.72% |
| Block activation | 253,728 | 397,107 | 261,398 | 363,229 | 0.001355 | 97.71% |
| Local activation | 1,432,379 | 8,064,543 | 1,437,369 | 7,262,940 | 0.001518 | 97.72% |
4.4 ARCHITECTURE TRANSFER AND PROPOSAL-FAMILY CEILINGS
On Qwen3-0.6B, the 1-bit+ search edits all 84 MLP projections with , saving 44.29 MB (4.802%) at validation KL 0.001631 and NLL +0.001082. Restarts through reproduce the same edit sequence and a zero-accept second sweep, exposing a proposal-family ceiling.
SmolLM2-360M shows the same 1-bit+ saturation. At it saves 39.84 MB (7.113%) from a 560.07-MB Zstandard v1.5.7 baseline; a permissive KL-only probe edits all 96 searchable tensors, reaches the same gain, then has a zero-accept sweep, making 39.84 MB a proposal-family ceiling. Multibit+ reaches 65.65 MB (11.72%) at validation KL 0.002904 and 131.09 MB (23.41%) at KL 0.008871. Widest matched pure-KL boundaries reduce Zstandard size by 20.82% (135M) and 23.41% (360M); two sizes do not establish a scaling law. Experiment 109 audits all 360M points on WikiText test, streamed C4, and A40-matched downstream tasks: near-saturated points stay close while the widest boundary degrades more sharply.
Table 6 gives an older Zstandard v1.5.5 scale control across stricter representation classes: exact-gauge savings stay nearly constant, whereas local-activation savings grow from 1.43 to 8.06 MB and the corresponding ZipNN gain grows from 1.44 to 7.26 MB.
4.5 CROSS-CODEC TRANSFER
At 135M, Zstandard-selected block-activation, local-activation, and 1-bit+ endpoints save 0.261/1.437/11.768 MB under ZipNN; matched 360M block- and local-activation endpoints save 0.363/7.263 MB. Weight-space perturbations instead make ZipNN output larger.
Panel (c) of Figure 2 shows matched transfer of both pure-KL frontiers. At the widest boundaries, Zstandard/gzip/Brotli/ZipNN reductions are 20.82/20.68/21.24/21.95% (135M) and 23.41/23.09/23.89/24.43% (360M); ZipNN bitwise verifies all 272/290 floating tensors without fallback.
Table 7: Representative mechanism-validation studies across physical storage objectives.
| Physical objective | Admissible freedom / proposal model | Representative measured result | Why it matters |
|---|---|---|---|
| DEFLATE / gzip | soft Bellman parse + exact byte repair; exact hidden permutation | raw DEFLATE 208→168 bits; gzip 352→312 bits; seed-7 surrogate Pearson 0.93587 | differentiable rate proposal, real codec authority |
| Checkpoint delta | exact hidden permutation + SoftDelta placement | compression-aware alignment evaluated by exact decodable DiffDelta and Git binary patch | representation choice affects cross-checkpoint rate |
| Rabin dedup | exact hidden permutation + SoftDedup | exact trajectory 4,084→3,662 B; oracle recovered; max function error | extends beyond entropy/LZ coding |
| Zstandard | structured SoftZstd parser/rate model | exact Zstd 344→216 bits; Pearson 0.98916, Spearman 1.0 | codec-specific proxy can guide proposals |
| Brotli | soft LZ + context/dictionary proxy | differentiable proposal model with unchanged production Brotli final evaluation | same architecture with a different codec grammar |
Table 8: Exact-gauge boundary cases: large algebraic freedom need not yield large physical headroom in natural training.
| Case | Exact freedom | Physical outcome |
|---|---|---|
| Static rank-8 Qwen3 LoRA | rank-space GL(8) | best 857 B of 4.29 MB (0.020%) |
| Qwentaur, 5 checkpoints | 784 exact gauge coordinates | 97 B of 60.57 MB (0.000160%) |
| Synthetic scrambled history | full GL(4) | 3,418 B of 6,162 B removed (55.5%) |
A separate whole-file safetensors check confirms that the effect survives ordinary checkpoint serialization. The 135M raw files remain 269.06 MB before compression (optimized files differ by only 32 B); opaque whole-file Zstandard/gzip/Brotli yield 6.17/4.78/5.90% reductions for the 1-bit+ endpoint and 20.81/20.63/21.10% for the historical guarded multibit+ boundary. Appendix C.6 gives exact sizes; Table 14 reports tensor-aware ZipNN separately. Together, these results show that representation shaping complements independent compressors rather than replacing codec design.
4.6 MECHANISM BREADTH BEYOND WHOLE-MODEL ZSTANDARD
Whole-model LLM experiments are the primary evidence, but the proposal–audit–physical-selection architecture was also validated across distinct non-differentiable storage mechanisms. Table 7 summarizes controlled studies from Appendix D; these small or synthetic tests establish mechanism breadth rather than model-scale claims.
5 DISCUSSION AND LIMITATIONS
The results suggest three regimes. First, exact gauges show that functional equivalence does not imply physical equivalence, although trained models may already occupy stable gauges that limit exact savings. Second, activation-aware neighborhoods expose substantially more freedom than parameter-space distance alone. Third, output-functional neighborhoods can expose an order of magnitude more physical headroom, but necessarily as rate-distortion rather than exact equivalence. The negative cases in Table 8 reinforce this boundary: natural LoRA trajectories can be nearly gauge-stable even though the same machinery removes large injected gauge drift (Appendix E).
The study does not establish a universally best distortion metric. Mean KL is natural for preserving output distributions, while NLL/perplexity is task- and corpus-dependent. We therefore report multiple diagnostics and separate calibration, validation, test, cross-domain, downstream, and cross-codec audits. The plotted 135M and 360M multibit+ sweeps use matched pure-KL acceptance; both have complete five-task and four-codec frontier audits, while 360M additionally has complete WikiText test and streamed C4 frontier audits. Historical guarded 135M checkpoints remain only for provenance and the earlier whole-file serialization audit. At both scales, byte savings nearly saturate before LAMBADA perplexity degrades sharply, reinforcing the interpretation of the widest endpoints as RD boundaries rather than preferred preservation points. These audits remain finite: WikiText/C4 each use 8,192 tokens and downstream coverage is five zero-shot tasks, so they do not establish universal preservation over unseen corpora or long-horizon generation.
6 RELATED WORK
Symmetries and reparameterization. Neural networks possess non-identifiabilities under permutations and rescalings; these symmetries can alter parameter-space geometry without changing the represented function (Dinh et al., 2017). Permutation-aware alignment has been used for mode connectivity and model merging (Entezari et al., 2022; Ainsworth et al., 2023), and transformer permutation equivariance has been studied directly (Xu et al., 2024). Closest to our compression motivation, Martinez et al. (2021) use function-preserving permutations to facilitate product quantization. We instead optimize the measured output of an arbitrary physical backend directly, include non-permutation gauges, and extend exact invariance to explicitly audited functional neighborhoods.
Activation-aware model compression. Modern pruning, quantization, and low-rank methods exploit activation information to preserve model behavior under constrained representations (Frantar et al., 2023; Frantar & Alistarh, 2023; Sun et al., 2024; Dettmers et al., 2022; Lin et al., 2024; Yuan et al., 2023; Wang et al., 2025). We share the activation-aware principle but optimize a different variable: tensor shapes and dtypes are retained, and candidate weights are selected by the exact output of an unchanged physical compressor rather than by a prescribed bitwidth, sparsity, or rank target.
Lossless neural-weight compression. ZipNN specializes lossless compression to neural tensors (Hershcovitch et al., 2025). Our approach is complementary: instead of designing a new codec for a fixed model, we optimize which functionally admissible representation is presented to the codec. Cross-codec transfer therefore tests whether a discovered representation is broadly compressible or merely exploits one backend. Appendix G gives a fuller comparison.
7 CONCLUSION
Neural compression need not change precision, sparsity, architecture, or codec: trained networks already contain representational freedom. Exact gauges preserve the predictor while changing its physical representation; functional neighborhoods extend this to rate–distortion. Across SmolLM2 scales, headroom grows from KB-scale exact-gauge gains to MB-scale activation-aware and output-functional gains that transfer across generic and tensor-specialized codecs.
The broader lesson is not that every equivalence class offers useful compression headroom: natural LoRA histories provide a clear counterexample. Rather, functional non-identifiability is itself a deployable resource whose value depends on the model, representation family, and physical objective. The proposal–audit–physical-selection framework provides a way to exploit that resource while leaving the final discrete storage system unchanged and authoritative.
AI USE STATEMENT
OpenAI ChatGPT assisted with software prototyping and refactoring, test generation, experiment scripting and job-launcher preparation, literature triage, and manuscript drafting and editing. Figure 1 was generated with OpenAI ChatGPT's image-generation capability and selected and reviewed by the authors. All experiments were conducted by the authors, primarily on NVIDIA A40 GPUs. AI-assisted code was validated with automated tests and consistency checks, and AI-assisted citation suggestions were checked against primary publication records. OpenAI ChatGPT did not create, alter, or impute experimental measurements; empirical plots, tables, and quantitative claims derive from author-executed code and recorded artifacts. The authors take responsibility for the final manuscript and evidence.
REFERENCES
Samuel K. Ainsworth, Jonathan Hayase, and Siddhartha Srinivasa. Git Re-Basin: Merging models modulo permutation symmetries. In International Conference on Learning Representations, 2023.
Loubna Ben Allal, Anton Lozhkov, Elie Bakouch, Gabriel Martín Blázquez, Guilherme Penedo, Lewis Tunstall, Andrés Marafioti, Hynek Kydlíček, Agustín Piqueres Lajarín, Vaibhav Srivastav, Joshua Lochner, Caleb Fahlgren, Xuan-Son Nguyen, Clémentine Fourrier, Ben Burtenshaw, Hugo Larcher, Haojun Zhao, Cyril Zakka, Mathieu Morlon, Colin Raffel, Leandro von Werra, and Thomas Wolf. SmolLM2: When smol goes big – data-centric training of a small language model. arXiv preprint arXiv:2502.02737, 2025.
Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: Reasoning about physical commonsense in natural language. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 7432–7439, 2020. doi: 10.1609/aaai.v34i05.6239.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.
Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. LLM.int8(): 8-bit matrix multiplication for transformers at scale. In Advances in Neural Information Processing Systems, volume 35, 2022.
Laurent Dinh, Razvan Pascanu, Samy Bengio, and Yoshua Bengio. Sharp minima can generalize for deep nets. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 1019–1028. PMLR, 2017.
Rahim Entezari, Hanie Sedghi, Olga Saukh, and Behnam Neyshabur. The role of permutation invariance in linear mode connectivity of neural networks. In International Conference on Learning Representations, 2022.
Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In International Conference on Learning Representations, 2019.
Elias Frantar and Dan Alistarh. SparseGPT: Massive language models can be accurately pruned in one-shot. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 10323–10337. PMLR, 2023.
Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. GPTQ: Accurate post-training quantization for generative pre-trained transformers. In International Conference on Learning Representations, 2023.
Song Han, Huizi Mao, and William J. Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and Huffman coding. In International Conference on Learning Representations, 2016.
Babak Hassibi, David G. Stork, and Gregory J. Wolff. Optimal brain surgeon and general network pruning. In IEEE International Conference on Neural Networks, pp. 293–299, 1993. doi: 10.1109/ICNN.1993.298572.
Moshik Hershcovitch, Andrew Wood, Leshem Choshen, Guy Girmonsky, Roy Leibovitz, Or Ozeri, Ilias Ennmouri, Michal Malka, Peter Chin, Swaminathan Sundararaman, and Danny Harnik. ZipNN: Lossless compression for AI models. In 2025 IEEE 18th International Conference on Cloud Computing (CLOUD), pp. 186–198, 2025. doi: 10.1109/CLOUD67622.2025.00028.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022.
Yann LeCun, John S. Denker, and Sara A. Solla. Optimal brain damage. In Advances in Neural Information Processing Systems, volume 2, pp. 598–605, 1989.
Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei-Ming Chen, Wei-Chen Wang, Guangxuan Xiao, Xingyu Dang, Chuang Gan, and Song Han. AWQ: Activation-aware weight quantization for on-device LLM compression and acceleration. In Proceedings of the Seventh Annual Conference on Machine Learning and Systems, volume 6, 2024.
Julieta Martinez, Jashan Shewakramani, Ting Wei Liu, Ioan Andrei Barsan, Wenyuan Zeng, and Raquel Urtasun. Permute, quantize, and fine-tune: Efficient compression of neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15699–15708, 2021. doi: 10.1109/CVPR46437.2021.01544.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. In International Conference on Learning Representations, 2017.
Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc Quan Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The LAMBADA dataset: Word prediction requiring a broad discourse context. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, pp. 1525–1534, 2016. doi: 10.18653/v1/P16-1144.
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140):1–67, 2020.
Claude E. Shannon. Coding theorems for a discrete source with a fidelity criterion. In IRE National Convention Record, volume 7, pp. 142–163, 1959.
Mingjie Sun, Zhuang Liu, Anna Bair, and J. Zico Kolter. A simple and effective pruning approach for large language models. In International Conference on Learning Representations, 2024.
Xin Wang, Yu Zheng, Zhongwei Wan, and Mi Zhang. SVD-LLM: Truncation-aware singular value decomposition for large language model compression. In International Conference on Learning Representations, 2025.
Mitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs, Raphael Gontijo-Lopes, Ari S. Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: Averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 23965–23998. PMLR, 2022.
Hengyuan Xu, Liyao Xiang, Hangyu Ye, Dixi Yao, Pengzhi Chu, and Baochun Li. Permutation equivariance of transformers and its applications. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5987–5996, 2024. doi: 10.1109/CVPR52733.2024.00572.
An Yang et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.
Zhihang Yuan, Yuzhang Shang, Yue Song, Qiang Wu, Yan Yan, and Guangyu Sun. ASVD: Activation-aware singular value decomposition for compressing large language models. arXiv preprint arXiv:2312.05821, 2023.
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a machine really finish your sentence? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 4791–4800, 2019. doi: 10.18653/v1/P19-1472.
A MATHEMATICAL DETAILS OF THE REPRESENTATION CLASSES
A.1 PHYSICAL OBJECTIVE AND FUNCTIONAL NEIGHBORHOODS
Let initialize all stored tensors in a fixed deterministic order and let be a concrete physical codec implementation. We optimize the measured byte length
The exact equivalence class is
For finite-precision or data-conditioned equivalence, let be a behavior distortion measured on samples from and define
Our generic problem is therefore
If is separating over the intended function domain, recovers exact functional equivalence; under a finite sampled audit, zero empirical distortion remains sample-conditioned. Because is external and algorithmic, it is used only for exact evaluation and monotone accept/reject decisions.
A.2 A TWO-BY-TWO STRICT-GAUGE TOY EXAMPLE
The simplest intuition is already visible in a two-layer linear map . For any invertible hidden-space transform , the low-rank factor reparameterization from Table 1,
preserves the composed operator exactly because . Concretely, choose
The product is unchanged explicitly:
Thus the eight entries of use six distinct values, , whereas uses only ; their empirical symbol entropies are 2.5 and 1.0 bits/value. Figure 3 visualizes the calculation. Entropy is only a repetition proxy: strict-gauge search evaluates serialized candidates with the physical codec and accepts them only when bytes decrease and the declared exactness audit passes. The toy isolates the mechanism—same function, different representation, different low-level repetition—without conflating the method with an entropy model.
Because the entries of are powers of two, the scaling itself is exactly representable in binary floating-point. That fact does not by itself guarantee bitwise-identical execution after arbitrary finite-precision reductions, so the model-scale strict regime still uses the stored-precision audit defined below. The example is intentionally illustrative rather than a codec benchmark: with only eight scalar entries, container and codec headers would dominate any meaningful physical-byte comparison.
A.3 SWIGLU PERMUTATION AND RECIPROCAL-SCALING GAUGES
Consider a bias-free SwiGLU MLP, where SiLU denotes the sigmoid linear unit,

Figure 3: Toy strict gauge. A power-of-two diagonal gauge preserves the product while reducing six stored values to two; entropy is illustrative and selection uses real codec bytes.
Let be a permutation matrix over the intermediate channels and an invertible diagonal matrix. A function-preserving transform is
Because SiLU and the elementwise product commute with permutation, and because acts on the linear branch after permutation,
so . In strict stored-precision experiments we restrict to exactly representable power-of-two scalings and audit the realized BF16 computation after storage.
A.4 ATTENTION VALUE/OUTPUT BASIS GAUGE
For a value subspace associated with a key/value head , write the relevant value and output maps as and , where multiple query heads may share the same KV head. For any invertible basis transform ,
which preserves the composed value/output operator because
Group permutations are applied consistently to queries, keys, values, and matching output-projection channels. Arbitrary dense is algebraically exact but can change stored-precision reductions after casting back to the stored dtype; such cases are separated from strict equality by an explicit finite-precision or data-conditioned audit.
A.5 LOW-RANK FACTOR GAUGE
For a low-rank update , any invertible matrix in the latent rank space gives
and therefore . This gauge applies to static adapters and low-rank checkpoint histories; our experiments distinguish injected gauge drift from naturally continuous optimizer trajectories.
A.6 FINITE-PRECISION AUDIT TIERS
Table 2 summarizes the three audit tiers in the main paper. Algebraic equality need not imply bitwise equality after BF16/FP16 storage and reordered reductions. In detail, we separate:
-
strict stored-precision audit: sampled maximum absolute and relative output errors are both exactly zero;
-
finite-precision tolerance: sampled stored-precision error is below a declared numerical threshold;
-
data-conditioned functional neighborhood: activation/logit/NLL metrics are constrained on real text rather than on synthetic probes.
This distinction avoids relabeling an algebraically exact transform as bitwise exact when finite-precision execution changes the realized computation.
A.7 ACTIVATION-AWARE LOCAL DISTORTION
For a linear map and calibration inputs , define the empirical Gram matrix
The local functional distortion is
For SwiGLU, gate and up projections use the MLP-input second-moment matrix. The down projection uses a separate second-moment matrix from the post-SiLU-product intermediate activation, so the distortion is measured in the actual input geometry of each map.
A.8 FREE-WEIGHT PROPOSAL FAMILIES
The first proposal family uses a diagonal approximation and solves
The coordinate solution is weighted soft thresholding,
which creates exact zeros. The diagonal approximation is used only for proposal generation; admissibility is re-evaluated with the full empirical Gram matrix in Eq. 24.
The second family applies a significand-snapping operator that rounds each value to a grid retaining significand bits while preserving tensor shape and dtype. The implementation counts significand bits for BF16, FP16, FP32, and FP64, respectively. Writing a finite scalar in frexp form as , the implementation computes
Thus “1-bit” means in this snapping operator; it does not mean that the tensor is stored as a 1-bit integer. The multibit setting generates separate candidates for . This operation can increase repetition in low-level floating-point patterns but is not assumed to be function preserving. It must pass the selected functional trust region and exact physical reranking.
Table 9: Free-weight proposal semantics. “Bit” denotes the number of removed low-order significand bits; it is not a quantized deployment bitwidth.
| Proposal | Construction | Shape/dtype | Exact? |
|---|---|---|---|
| 1-bit significand snap | unchanged | no | |
| alternatives | unchanged | no | |
| soft threshold, target | unchanged | no | |
| Exact gauge | algebraic reparameterization | unchanged | yes (algebraic) |
BF16 toy for and . BF16 stores seven explicit fraction bits plus the implicit leading one, so the normalized significand has bits. Consider
All four entries lie in and therefore share sign bit 0 and exponent field 01111111. Their stored seven-bit fraction fields are
| 0011011 | 0011110 | 0011111 | 0100001 | |
| 0011100 | 0011110 | 0100000 | 0100000 | |
| 0011100 | 0100000 | 0100000 | 0100000 |
Thus rounds to a coarser significand grid rather than applying a literal bit mask: rounding may propagate a carry (for example, 0011111→0100000). Here already creates repeated BF16 values and creates more, exposing byte-level regularity without changing dtype.
For the activation-aware family, let and define scores . For target sparsity , we take and choose as the th order statistic of the scores. Equation 26 then creates approximately the requested fraction of exact zeros. The token-free weight-only baseline uses the same construction with a uniform metric .
Importantly, the significand-snap and candidates form a union, not a composed transform. For each tensor, the candidate generator evaluates
with all candidates constructed from the immutable original tensor ; the current tensor only removes duplicates and defines the physical baseline. Later sweeps may replace by , or an candidate by a significand candidate, but never recursively round an already modified tensor. Dense RD experiments use . We call -bit+ and multibit+; legacy internal experiment logs may use the label mantissa-L1; the label denotes this union, not a composed operator.
A.9 BLOCK AND LOGIT TRUST REGIONS
For a complete MLP block , we use a normalized block-output distortion
For final logits, let and be the original and candidate next-token distributions at position . We report
together with high token-wise KL quantiles and causal negative-log-likelihood drift
Cumulative behavior metrics always compare with the immutable original model, preventing accepted small changes from resetting the trust region.
A.10 PROPOSAL-AUDIT-RERANK ALGORITHM
The implementation separates proposal construction, physical scoring, and behavioral auditing. The dense free-weight path applies a cheap local filter, evaluates whole-model compressed bytes, then spends a forward pass only on physically improving candidates. Every commit must satisfy both the behavior constraint and strict physical improvement. Disjoint validation occurs only after endpoint freeze and never selects updates; its measured distortion defines the held-out RD coordinate rather than certifying exact transfer of the calibration limit.
Algorithm 2 summarizes dense candidate construction. Using keeps proposal depth interpretable across sweeps and prevents recursive numerical error.
Algorithm 2: Dense free-weight candidate construction. is the immutable original tensor; is the current committed tensor.
GenerateCandidates(W0, W, bit_set B, sparsities S, Gram G):
P = empty set
for s in S:
cand = Diagonal1(W0, G, target_sparsity=s)
if cand differs from W0 and W:
if LocalDistortion(W0, cand, G) <= eps_local:
add cand to P
for b in B:
cand = SnapSignificant(W0, depth=b) # Q_b(W0)
if cand differs from W0 and W:
if LocalDistortion(W0, cand, G) <= eps_local:
add cand to P
remove duplicate byte strings
sort P by (local compressed bytes, local distortion)
return first scan_limit candidates
Algorithm 1 in the main paper shows the coordinate search used for the output-functional experiments. The exact-candidates-per-weight parameter controls how many generated alternatives receive whole-model codec evaluation; setting it to zero means all candidates surviving the scan limit are evaluated. In the multibit+ experiments this value is zero, so aggressive candidates cannot exclude safer alternatives through candidate truncation.
For exact-gauge search the outer physical-selection logic is the same, but candidate generation is algebraic and the behavior predicate is replaced by the declared exactness audit. If is the current state and is the selected admissible candidate, then
Thus is non-increasing without requiring derivatives.
A.11 FORMAL MOTIVATION AND GUARANTEES
This section formalizes the representation-selection view used throughout the paper. The statements are intentionally modest: they explain why functional non-identifiability creates a compression domain, what the empirical rate-distortion curves mean, and what the greedy physical search guarantees. They do not claim global optimality for the implemented finite proposal families or generalization beyond the measured data.
A.11.1 COMPRESSION AS REPRESENTATIVE SELECTION ON A FUNCTIONAL QUOTIENT
Let be the parameter space and define functional equivalence by
The represented neural function is therefore associated with an equivalence class rather than with a unique parameter vector. In contrast, the physical storage cost
depends on the serialized parameter bytes. In general, is not constant on and therefore does not descend to a well-defined scalar on the quotient space . This mismatch is the basic opportunity exploited by exact function-preserving compression.
Suppose a symmetry family acts on parameters through and satisfies for every admissible . Its orbit
is the exact search domain available to that gauge family. The codec-specific orbit rate is
Different serializers or codecs can prefer different representatives because they induce different on the same orbit; no single gauge need be universally canonical for compression.
Proposition 1 (exact-orbit safety). If the identity transform belongs to , then . Any selected remains functionally equivalent to in exact arithmetic. Moreover, any finite composition of such exact transforms remains in .
Proof. The identity is a feasible member of the infimum in Eq. 37, giving the rate inequality. Functional equality follows from the defining symmetry property, and transitivity of equality gives the composition statement.
The proposition guarantees safety, not a strict byte improvement: if happens to be constant over the explored orbit, exact gauge search has zero compression headroom. The natural-LoRA negative results in Appendix E are an empirical example of this boundary.
A.11.2 FUNCTIONAL RATE—DISTORTION AS AN ENLARGEMENT OF THE QUOTIENT CLASS
Let be a functional distortion with . The ideal codec-specific rate-distortion envelope is
When is separating—that is, only when —Eq. 38 at reduces to optimization over exact functional equivalence; increasing enlarges the feasible set.
Proposition 2 (monotonicity of the ideal envelope). If , then
Proof. The feasible set for is contained in the feasible set for . Taking an infimum over a superset cannot increase the optimum.
The implemented method searches only a finite, structured subset generated by exact gauges, significant snaps, and proposals. Its best attainable rate
satisfies . Thus, for any fixed distortion definition and evaluation sample, an achieved endpoint is feasible at its own measured distortion and therefore gives an upper bound on the unknown minimum achievable byte cost for that empirical problem, not a certificate of the globally optimal neural compression frontier.
The experiments additionally separate search-time and report-time distortions. For a calibration limit , let
(41) denote the frozen endpoint returned by the search algorithm . The plotted empirical RD point is
where validation is disjoint from candidate selection. Consequently, indexes a search run but is not itself the reported distortion coordinate. The finite greedy algorithm also need not produce points that are monotone in after held-out remeasurement; the non-dominated subset of the points defined by Eq. 42 is the achieved empirical envelope.
A.11.3 MONOTONE PHYSICAL DESCENT AND FINITE TERMINATION
For coordinate , let be the finite set of candidates generated from the immutable original tensor at that coordinate. At a current state , define the one-coordinate neighborhood
and let contain the candidates that pass the declared cumulative behavior or exactness audit relative to the original model. The physical search commits only satisfying
Proposition 3 (finite strict descent). Assume is measured as a nonnegative integer number of bytes and every accepted update strictly decreases it. If is any lower bound on the attainable byte count, then the number of accepted updates is at most
Hence the accepted-update sequence cannot cycle and must terminate after finitely many commits.
Proof. A strict decrease between integer byte counts reduces by at least one byte per accepted update. A sequence of more than such decreases would fall below the lower bound.
Surrogate quality does not affect the guarantee: poor surrogates may waste evaluations or miss regions, but accepted steps cannot increase bytes because the real codec is evaluated before commitment.
Proposition 4 (coordinatewise local optimality of an exhaustive no-accept sweep). Suppose a sweep evaluates every member of and accepts none. Then
so is a one-coordinate local optimum with respect to the declared proposal family and audit.
Proof. If some feasible one-coordinate neighbor had smaller physical cost, the exhaustive sweep would evaluate it and the strict-improvement acceptance rule would permit a commit.
When a scan limit truncates the generated set, the same statement applies only to the scanned neighborhood. Likewise, coordinatewise local optimality does not imply a global optimum: two individually inadmissible or non-improving edits may become useful when applied jointly. The LoRA-history experiments in Appendix E motivate this type of interaction.
A.11.4 WHY THE ACTIVATION GRAM MATRIX IS THE LOCAL FUNCTIONAL GEOMETRY
The activation-aware metric in Eq. 24 follows directly from the expected perturbation of a linear map. Let and let be a random layer input with second moment . Then
(48)
For calibration activations , the empirical second moment is therefore the plug-in estimator of this exact linear-layer output distortion. Normalizing by yields the dimensionless relative criterion used in Eq. 24.
Approximating by makes the quadratic proposal objective separable across scalar weights. Adding an penalty gives
whose minimizer is the weighted soft-threshold operator in Eq. 26. Thus activation-aware is the closed-form proximal solution under a diagonal approximation to the measured local functional geometry, not an arbitrary sparsifier. The approximation only proposes candidates; block/logit audits and physical codec evaluation remain authoritative.
A.11.5 WHY MEAN TOKEN KL IS A USEFUL OUTPUT-SPACE DISTORTION
For each token position , let and be the original and candidate next-token distributions. With natural logarithms, Pinsker's inequality gives
where . Averaging over positions and applying Jensen's inequality yields
Thus mean token KL controls average one-step distributional deviation but not argmax identity, long-horizon rollouts, or downstream accuracy; small shifts can cross decision boundaries and compound after generation leaves the original prefix. We therefore report top-1 agreement, NLL/perplexity, tail KL, cross-domain C4, and downstream benchmarks separately.
A.11.6 SCOPE OF THE GUARANTEES
The theory above separates three kinds of statements. Exact algebraic gauges preserve the represented function by construction; strict stored-precision claims remain tied to the declared execution audit. The physical search guarantees monotone byte descent and, under exhaustive sweeps, a coordinatewise local optimum over the implemented proposal neighborhood. Functional RD points are empirical operating points measured on held-out data, not guarantees for arbitrary unseen sequences and not proofs of the global envelope in Eq. 38. This separation is deliberate: the mathematical structure motivates and constrains the search, while the real codec and independent behavioral measurements determine the reported empirical outcome.
B EXPERIMENTAL DETAILS
B.1 MODELS AND SERIALIZATION
The principal model is SmolLM2-135M (Ben Allal et al., 2025); SmolLM2-360M provides scale validation, and Qwen3-0.6B-Base (Yang et al., 2025) provides architecture transfer from a distinct grouped-query-attention (GQA) family. Every physical comparison uses deterministic sorted-key serialization, and whole-model optimization recompresses the full stream after each candidate patch. Module-framed experiments are reported only to study local versus global physical objectives.
B.2 CODEC SPECIFICATION AND PROVENANCE
The primary codec is Zstandard level 9; gzip and Brotli provide cross-codec evaluation. Backend and version are part of each experimental condition: the same 269,030,016-byte SmolLM2-135M tensor stream compresses to 208,502,655 bytes under Zstandard CLI v1.5.5 but 209,332,798 bytes under v1.4.8 on another system. Absolute byte counts are therefore never mixed across these environments; cross-method gains use a pinned codec build.
B.3 CALIBRATION, VALIDATION, AND TEST SPLITS
Table 10 summarizes the split roles. Activation-aware search uses WikiText-2-raw-v1 with 32 sequences of length 256 for calibration (8,192 tokens) and an independent 8,192-token validation sample. Saved free-weight endpoints are evaluated post hoc on 8,192 tokens from the test split. For cross-domain auditing, C4 en validation is streamed only until an 8,192-token sample is assembled; that sample is cached, and C4 is never used for endpoint search. For SmolLM2-135M, this corresponds to approximately 5.33 calibration token samples per dimension for the 1,536-dimensional down-projection input and 14.22 for the 576-dimensional MLP input. For SmolLM2-360M, the corresponding ratios are 3.20 for the 2,560-dimensional down-projection input and 8.53 for the 960-dimensional MLP input.
Table 10: Data-use protocol for the LLM experiments. Each listed stage uses 32 sequences of length 256 (8,192 tokens) when run.
| Data source | Role | Selects updates? |
|---|---|---|
| WikiText-2 raw train | calibration / behavior gate | yes |
| WikiText-2 raw validation | held-out RD measurement | no |
| WikiText-2 raw test | final in-domain audit | no |
| C4 en validation | streamed cross-domain audit | no |
B.4 REPRESENTATION CLASSES
Exact gauge. We optimize SwiGLU permutations/reciprocal power-of-two scalings and grouped-query-attention permutations/value-output gauges. Strict experiments require zero sampled stored-precision output error.
Finite-precision gauge. The same algebraic families are admitted under a declared BF16 numerical tolerance rather than strict sampled equality.
Weight-space free weights. The proposal families are identical to the activation-aware methods, but admissibility uses normalized parameter MSE only and requires no calibration data.
Local activation. Candidates must satisfy the full-Gram local reconstruction criterion in Eq. 24.
Block activation. Candidates satisfy local reconstruction and end-of-MLP output constraints.
Output-space functional rate–distortion. Each distortion point restarts from the immutable original model. The primary distortion coordinate is mean next-token KL between the original and candidate output distributions; high token-wise KL quantiles, NLL/perplexity, and top-1 agreement are reported separately. Measured validation KL defines the held-out RD coordinate.
Qwen3 architecture transfer follows the same split and physical-objective semantics, with six independent search limits ( through ) and the same 1-bit+ proposal family. Its measured validation KL, not the requested calibration limit, is used in Figure 2.
Experiments 106 and 104 use matched 135M/360M multibit+ pure-KL semantics: calibration mean KL alone controls acceptance, with max-token-KL and absolute-NLL gates set to ; validation remains post-search and never selects updates. The historical guarded 135M 1-bit+ and multibit+ endpoints are retained separately for provenance and the earlier whole-file serialization audit. Experiments 107 and 105 provide matched 135M and 360M cross-codec transfer, respectively; Experiments 108 and 109 provide the corresponding post hoc behavioral audits. Experiment 109 evaluates all thirteen 360M endpoints on 8,192 WikiText test tokens, 8,192 streamed C4 tokens, and five zero-shot downstream tasks. Each downstream baseline/endpoint pair runs sequentially within one NVIDIA A40 allocation, eliminating heterogeneous-GPU variation from the paired comparison.
The earlier local+logit sweep additionally applied a full-Gram local activation threshold before evaluating KL/NLL; it is therefore reported separately from the local-gate-off output-functional frontier. In these dense runs, “1-bit+” means significant-snap depth set plus the default sparsity proposals, while “multibit+” expands the significant-snap depth set to ; neither term denotes integer quantization.
B.5 CROSS-CODEC PROTOCOL
We report two cross-codec protocols. The legacy 135M representation-class matrix optimizes each class independently for Zstandard, gzip, and Brotli, then cross-evaluates every endpoint under all three. The main functional-RD transfer lets only Zstandard select frozen 135M/360M pure-KL endpoints; gzip, Brotli, and tensor-aware ZipNN then remeasure those states without refinement. Older scale controls with short target-codec refinement keep all behavior constraints referenced to the immutable original model, not an intermediate Zstandard endpoint.
C DETAILED EXPERIMENTAL EVIDENCE
C.1 EXACT WHOLE-MODEL GAUGES
Independent module-framed optimization initially produced a 67,971-byte reduction on SmolLM2-135M, but only 6,194 bytes survived when the entire model was serialized and compressed as one stream. Moving the whole-model codec into the coordinate-descent loop increased the converged strict-equality gain to 14,416 bytes. A finite-precision tolerance tier reached 16,154 bytes. The mismatch between module-framed and monolithic optima demonstrates that a physical objective cannot in general be decomposed into a sum of local codec objectives.
C.2 ACTIVATION-AWARE FREE-WEIGHT HIERARCHY
Under Zstandard CLI v1.5.5, the completed controlled study gives the following gains for Zstandard-optimized endpoints: The local activation criterion exposes about 99 times the Zstandard gain of
Table 11: Hierarchy of Zstandard-optimized representation classes on SmolLM2-135M. Cross-codec values are obtained without reoptimizing the endpoint.
| Method | Zstd | gzip | Brotli |
|---|---|---|---|
| Strict gauge | 14,416 | 6,134 | 5,039 |
| Finite-precision gauge | 16,154 | 13,503 | 8,776 |
| Weight-space | 32,471 | 24,984 | 36,688 |
| Block activation | 253,728 | 225,237 | 271,357 |
| Local activation | 1,432,379 | 1,237,083 | 1,480,472 |
the strict exact-gauge endpoint, while the block-constrained criterion exposes about 18 times the exact-gauge gain.
C.3 HELD-OUT ENDPOINT BEHAVIOR
A separate Zstandard v1.4.8 run saved complete free-weight endpoints and evaluated them on 8,192 untouched WikiText test tokens. Because the codec build differs, the byte gains from this run are not numerically merged with the v1.5.5 table above; the behavioral metrics are reported as an independent replication of the same method ordering.
Table 12: Held-out behavior of saved SmolLM2-135M free-weight endpoints. PPL is relative to baseline perplexity 29.3441.
| Endpoint | NLL | PPL (%) | mean KL | P99.9 KL | top-1 agreement |
|---|---|---|---|---|---|
| Weight-space | +0.0333 | 0.001456 | 0.0516 | 97.28% | |
| Local activation | +0.0613 | 0.001669 | 0.0481 | 97.50% | |
| Block activation | +0.0222 | 0.001286 | 0.0426 | 97.71% |
The block-activation endpoint improves physical gain while lowering every reported held-out distortion statistic relative to weight-space. The local endpoint is more aggressive—it changes more tensors and incurs more mean distortion—but keeps the perplexity increase below 0.1%.

Figure 4: Zstandard gain versus held-out perplexity change for saved free-weight endpoints from one pinned run. Values come directly from recorded endpoint files.
C.4 EXHAUSTIVE METHOD–CODEC MATRIX
Table 13 reports the complete 21-run study. Each row is optimized for one codec and cross-evaluated under the other two. Some gzip/Brotli runs hit the sweep cap before an explicit zero-gain sweep; these rows are marked, and byte differences of only hundreds or thousands should not be over-interpreted.
Table 13: Complete SmolLM2-135M method–codec matrix. Entries are byte gains under the evaluation codec; bold marks the optimization codec.
| Method | Optimized for | Zstd gain | gzip gain | Brotli gain |
|---|---|---|---|---|
| Block activation | Zstd | 253,728 | 225,237 | 271,357 |
| Block activation | gzip | 253,330 | 225,361 | 271,015 |
| Block activation | Brotli | 253,227 | 225,043 | 270,984 |
| Strict gauge | Zstd | 14,416 | 6,134 | 5,039 |
| Strict gauge | gzip | 3,344 | 14,487 | 6,570 |
| Strict gauge | Brotli | 2,482 | 10,501 | 15,801 |
| Finite-precision gauge | Zstd | 16,154 | 13,503 | 8,776 |
| Finite-precision gauge | gzip | 5,882 | 19,678 | 10,877 |
| Finite-precision gauge | Brotli | 2,613 | 13,182 | 22,061 |
| Local activation | Zstd | 1,432,379 | 1,237,083 | 1,480,472 |
| Local activation | gzip | 1,430,444 | 1,235,934 | 1,479,248 |
| Local activation | Brotli | 1,431,300 | 1,235,829 | 1,481,369 |
| Weight-space | Zstd | 32,471 | 24,984 | 36,688 |
| Weight-space | gzip | 32,341 | 25,677 | 36,511 |
| Weight-space | Brotli | 32,345 | 24,410 | 37,391 |
| Logit (initial strict gate) | Zstd | 0 | 0 | 0 |
| Logit (initial strict gate) | gzip | 0 | 0 | 0 |
| Logit (initial strict gate) | Brotli | 0 | 0 | 0 |
| Joint (initial strict gate) | Zstd | 0 | 0 | 0 |
| Joint (initial strict gate) | gzip | 0 | 0 | 0 |
| Joint (initial strict gate) | Brotli | 0 | 0 | 0 |

Figure 5: Target-codec gain from Zstandard-selected endpoints. Activation-aware endpoints transfer strongly; exact gauges remain codec-specific; values above 100% reflect path-dependent target-codec search.
C.5 ZIPNN SPECIALIZED-CODEC TRANSFER
Experiment 95 evaluates saved Zstandard-selected endpoints under ZipNN 0.5.4 with its Huffman safetensors path. ZipNN is not used to select or refine any endpoint. Every state is first canonicalized to the same sorted-key single-file safetensors representation, every size-reducing compressed tensor is decompressed and checked bit-for-bit against an immutable pre-compression snapshot, and gains are measured relative to the untouched model compressed by the identical ZipNN configuration. The real-backend BF16 preflight passes at both scales. ZipNN 0.5.4 mutates its disposable compression inputs, but immutable-reference verification remains unaffected: all 272 floating tensors at 135M and all 290 at 360M are successfully compressed and verified for every row with zero fallbacks.
Table 14: Post hoc ZipNN 0.5.4 transfer of Zstandard-selected SmolLM2 endpoints; positive gain indicates transfer.
| Representation | 135M ZipNN bytes | 135M gain | 360M ZipNN bytes | 360M gain |
|---|---|---|---|---|
| Original | 179,380,579 | 0 | 481,538,381 | 0 |
| Strict gauge | 179,380,323 | +256 | 481,530,639 | +7,742 |
| Weight-space | 179,385,542 | -4,963 | 481,563,747 | -25,366 |
| Block activation | 179,119,181 | +261,398 | 481,175,152 | +363,229 |
| Local activation | 177,943,210 | +1,437,369 | 474,275,441 | +7,262,940 |
The scale extension reproduces the pattern. Block-activation ZipNN gain rises from 261,398 bytes at 135M to 363,229 at 360M; local gain grows from 1,437,369 to 7,262,940 bytes. At 360M these retain about 91.5% and 90.1% of the corresponding Zstandard gains (397,107 and 8,064,543 bytes), although ZipNN never ranks candidates. Weight-space perturbations instead enlarge the ZipNN representation at both scales, while exact gauges remain much weaker than activation-aware shaping. Thus ZipNN supports codec complementarity and transferable representation shaping, not replacement or superiority over the codec.
C.6 WHOLE-FILE SAFETENSORS SERIALIZATION CHECK
The primary generic-codec experiments use deterministic tensor serialization inside the evaluation pipeline. To verify that the measured gain survives a standard deployable checkpoint container, we additionally materialize the untouched SmolLM2-135M model and the two saved output-functional endpoints as complete single-file .safetensors artifacts and compress each file as one opaque byte stream. Table 15 reports the resulting file sizes. The raw serialized checkpoints are essentially unchanged in nominal size: the optimized files are only 32 bytes smaller than the 269,060,552-byte original. The substantial reductions therefore appear only after lossless compression and cannot be explained by a smaller tensor inventory, shape change, or lower-precision deployment format.
This whole-file check complements controlled codec accounting: gains remain after ordinary serialization introduces headers, metadata, and cross-tensor byte-stream interactions. Because the listing records artifact sizes but not generic-codec executable/library versions or hashes, we treat it as deployment-style validation rather than a version-normalized codec benchmark; Experiment 103 retains the raw and normalized records.
Table 15: Whole-file SmolLM2-135M serialization. Zstandard, gzip, and Brotli compress each complete .safetensors file as one opaque stream; percentages are reductions from the original.
| Checkpoint | Raw safetensors | Zstd file | gzip file | Brotli file |
|---|---|---|---|---|
| Original | 269,060,552 | 208,496,205 | 213,332,680 | 209,496,002 |
| 1-bit+ℓ₁ | 269,060,520 | 195,630,069 (6.17%) | 203,141,714 (4.78%) | 197,136,946 (5.90%) |
| guarded multibit+ℓ₁ | 269,060,520 | 165,110,519 (20.81%) | 169,332,666 (20.63%) | 165,302,676 (21.10%) |
C.7 SmoLLM2-360M SCALE VALIDATION
Experiment 94 repeats the four most informative methods on SmoLLM2-360M with the same 8,192-token calibration and validation protocol, then audits saved endpoints on 8,192 untouched WikiText test tokens. The run uses Zstandard CLI v1.5.5, matching the 135M matrix. Table 6 gives the cross-model Zstandard/ZipNN summary and held-out 360M behavior.
The 360M Zstandard baseline is 560,070,491 bytes versus 208,502,655 at 135M (2.686×). For strict-gauge, weight-space, block-activation, and local-activation endpoints, gzip gains are 12,004/49,039/316,621/6,309,191 bytes and Brotli gains 4,729/73,136/392,380/7,901,788 bytes. Strict-gauge gain is nearly unchanged (14,205 versus 14,416 bytes); weight, block, and local gains grow 2.77×, 1.57×, and 5.63×, with local reaching 8,064,543 bytes (1.4399%). Its perplexity ratio is 1.00081285 (+0.0813%), mean KL 0.00151764, P99.9 KL 0.0318769, and top-1 agreement 97.7173%. Two sizes provide scale validation, not a scaling law.
C.8 OUTPUT-SPACE RATE–DISTORTION AND MATCHED CONTROLS
Experiment 93 isolates an important distinction between a hard local-activation proposal filter and a pure output-space trust region. The initial MODE=logit sweep retained a local activation threshold of 10⁻⁵ before evaluating KL/NLL, so it is properly a local+logit-constrained frontier rather than a pure output-space frontier. A subsequent local-gate-off 1-bit+ℓ₁ run kept the same whole-model Zstandard objective, two sweeps, and |ΔNLL| ≤ 2 × 10⁻³, but made the local proposal/validation limits effectively inactive. With a permissive mean-KL limit of 0.1, all 90 eligible MLP projection tensors accepted one edit in sweep 1 and sweep 2 found no further byte-improving move. The Zstandard v1.5.5 compressed size falls from the 208,502,655-byte baseline to 195,660,703 bytes, a gain of 12,841,952 bytes (6.1591%). Despite the permissive limit, the endpoint naturally lands at validation mean KL 0.00185345 and validation ΔNLL +2.14 × 10⁻⁴.
The held-out WikiText/C4 audit is summarized in Table 5 in the main body. Post hoc ZipNN 0.5.4 in Huffman mode compresses the untouched canonical state to 179,380,579 bytes and the same Zstandard-selected endpoint to 167,612,739 bytes, a gain of 11,767,840 bytes (6.5603% of the ZipNN-compressed original). This retains 91.64% of the Zstandard byte gain. All 272 floating tensors are successfully compressed and verified bit-for-bit after round trip, with zero fallbacks.
The older local+logit frontier remains useful for showing how a stricter local notion of admissibility contracts the physical search space. Table 16 records that completed sweep. The 2×10⁻³ limit accepts 12 physical improvements and saves 1,434,249 bytes, ending at validation mean KL 1.6759 × 10⁻³ and validation ΔNLL +6.80 × 10⁻⁴. Tightening the limit to 10⁻³ leaves three accepted updates and 258,412 bytes of gain at mean KL 9.4690 × 10⁻⁴. At 6 × 10⁻⁴, the run accepts no update from the original model. Since each threshold restarts from the original state and the lower thresholds only tighten the same deterministic mean-KL gate, the 3 × 10⁻⁴ and 10⁻⁴ controls cannot admit an update once the 6 × 10⁻⁴ control accepts none; they are therefore omitted rather than interpolated.
Table 16: SmoLLM2-135M local+logit validation sweep with a 10⁻⁵ local-activation prefilter. KL and NLL are measured on the optimizer validation split.
| Mean-KL limit | Zstd gain | accepted | val. mean KL | val. P99.9 KL | val. ΔNLL |
|---|---|---|---|---|---|
| 2.0 × 10⁻³ | 1,434,249 | 12 | 0.00167586 | 0.0731186 | +0.000679794 |
| 1.0 × 10⁻³ | 258,412 | 3 | 0.000946901 | 0.00779131 | +0.000242316 |
| 6.0 × 10⁻⁴ | 0 | 0 | 0 | 0 | 0 |
The completed local-gate-off 1-bit+ℓ₁ 135M frontier under Zstandard v1.5.7 is strongly discrete: measured gains are 12,851,750 B at the 2 × 10⁻³ limit, 10,652,457 B at 1.8 × 10⁻³, 8,152,470 B at 1.6 × 10⁻³, 3,354,034 B at 1.4 × 10⁻³, 2,623,192 B at 1.2 × 10⁻³, 507,272 B at 10⁻³, 278,015 B at 8 × 10⁻⁴, and zero at 6 × 10⁻⁴. Because calibration and validation are disjoint, figures use the measured validation KL on the horizontal axis for every endpoint. The nominal calibration limit is retained only as search provenance; whether the held-out estimate lies numerically above or below that limit is not treated as RD pass/fail.

Figure 6: Local+logit validation frontier with a local-activation proposal filter. The local-gate-off 1-bit+ point isolates the filter's effect.
A matched SmolLM2-360M 1-bit+ sweep under Zstandard v1.5.7 uses a 560,070,082-byte baseline. At a calibration-KL limit, the endpoint saves 39,839,878 B (7.1134%), accepts 96 updates, and has validation mean KL 0.001805929 with NLL . A permissive KL-only probe edits all 96 searchable tensors in sweep 1, reaches exactly the same gain, then completes a zero-accept sweep, identifying 39.84 MB as the current 1-bit+ proposal-family ceiling. We do not report the full WikiText test/C4 suite for this endpoint; it establishes the one-bit ceiling and representative downstream behavior.
SmolLM2-135M multibit+ pure-KL frontier. Experiment 106 records the corrected parallel 135M sweep after an earlier model-identity mismatch was resolved and the true SmolLM2-135M checkpoint was verified (hidden size 576, intermediate size 1,536, 30 layers; Zstandard v1.5.7 baseline 208,502,655 B). Each KL control is an independent restart from the original model. Candidate acceptance uses calibration mean token KL only; max-token-KL and absolute-NLL gates are set to , and validation is post-search measurement only. Table 17 reports all fourteen controls.
The corrected frontier first exceeds the 12.852-MB 1-bit+ ceiling at the control, saving 14.836 MB (7.115%) at held-out KL 0.003536. Its widest boundary saves 43.413 MB (20.821%) at KL 0.010321 with validation NLL , so we treat it as high-distortion rather than preferred. Experiment 106 supplies the 135M curve in Figure 2; the earlier auxiliary-NLL sweep remains separate because its downstream and whole-file audits use historical checkpoints.
Matched 135M pure-KL cross-codec transfer. Experiment 107 evaluates every Experiment 106 endpoint post hoc under gzip, Brotli, and tensor-aware ZipNN while Zstandard alone selects the states. At the control, Zstd/gzip/Brotli/ZipNN reductions are 7.12/6.88/7.23/7.66%; at they are 15.97/15.65/16.25/16.92%; and at the boundary they are 20.82/20.68/21.24/21.95%. ZipNN bitwise-verifies all 272 floating tensors with zero fallbacks at every endpoint.
SmolLM2-360M multibit+ pure-KL frontier. Experiment 104 records the completed parallel multibit+ sweep under the same Zstandard v1.5.7 baseline. Each KL control is an independent restart from the original model. Candidate acceptance uses calibration mean token KL only; the max-token-KL and absolute-NLL gates are set to , so these diagnostics do not constrain search. Validation remains post-search and never selects updates. Table 19 reports all thirteen controls using measured held-out validation mean KL as the distortion coordinate.
The positive 360M multibit+ points form a monotone physical frontier as measured held-out KL increases. The larger proposal family still does not dominate the recorded 1-bit+ greedy search at tight distortion: for example, the multibit+ control saves 22.37 MB at validation KL 0.001971, whereas the 1-bit+ endpoint saves 39.84 MB at KL 0.001806. This is consistent with path dependence of the greedy coordinate search and does not imply a worse attainable optimum
Table 17: Complete corrected SmolLM2-135M multibit+ pure-KL sweep. Each row is an independent restart.
| Search KL | Zstd gain | Reduction (%) | Accepted | Val. mean KL | Val. NLL |
|---|---|---|---|---|---|
| 0 B | 0.000% | 0 | 0 | 0 | |
| 0 B | 0.000% | 0 | 0 | 0 | |
| 0.128 MB | 0.062% | 1 | 0.0005136 | -0.0004320 | |
| 0.129 MB | 0.062% | 1 | 0.0007464 | -0.0009368 | |
| 0.874 MB | 0.419% | 5 | 0.0009862 | -0.0019206 | |
| 4.643 MB | 2.227% | 25 | 0.0015587 | -0.0005922 | |
| 6.694 MB | 3.211% | 25 | 0.0020983 | +0.0008426 | |
| 9.783 MB | 4.692% | 30 | 0.0028557 | +0.0015110 | |
| 14.836 MB | 7.115% | 45 | 0.0035355 | +0.0026570 | |
| 25.888 MB | 12.416% | 71 | 0.0043785 | +0.0034335 | |
| 33.301 MB | 15.972% | 84 | 0.0053522 | +0.0036164 | |
| 38.958 MB | 18.685% | 88 | 0.0064986 | +0.0073230 | |
| 43.149 MB | 20.695% | 90 | 0.0084364 | +0.0075504 | |
| 43.413 MB | 20.821% | 90 | 0.0103206 | +0.0120284 |
Table 18: Post hoc transfer across the SmolLM2-135M matched pure-KL multibit+ frontier. Endpoints are Zstandard-selected; gzip, Brotli, and ZipNN never enter search.
| Search KL | Val. mean KL | Zstd | gzip | Brotli | ZipNN |
|---|---|---|---|---|---|
| 0.0002 | 0 | 0.000% | 0.000% | 0.000% | 0.000% |
| 0.0004 | 0 | 0.000% | 0.000% | 0.000% | 0.000% |
| 0.0006 | 0.000514 | 0.062% | 0.053% | 0.064% | 0.073% |
| 0.0008 | 0.000746 | 0.062% | 0.053% | 0.064% | 0.073% |
| 0.0010 | 0.000986 | 0.419% | 0.362% | 0.425% | 0.470% |
| 0.0015 | 0.001559 | 2.227% | 1.959% | 2.246% | 2.456% |
| 0.0020 | 0.002098 | 3.211% | 3.005% | 3.253% | 3.501% |
| 0.0025 | 0.002856 | 4.692% | 4.519% | 4.760% | 5.046% |
| 0.0030 | 0.003536 | 7.115% | 6.880% | 7.233% | 7.661% |
| 0.0040 | 0.004379 | 12.416% | 12.063% | 12.614% | 13.218% |
| 0.0050 | 0.005352 | 15.972% | 15.651% | 16.252% | 16.918% |
| 0.0060 | 0.006499 | 18.685% | 18.426% | 19.031% | 19.720% |
| 0.0080 | 0.008436 | 20.695% | 20.552% | 21.101% | 21.832% |
| 0.0100 | 0.010321 | 20.821% | 20.683% | 21.236% | 21.953% |
for the superset proposal family. The first multibit+ point above the 1-bit+ proposal-family ceiling occurs at the control, saving 65.65 MB (11.72%) at held-out KL 0.002904. The widest tested boundary saves 131.09 MB (23.41%) at held-out KL 0.008871 with validation NLL +0.00783; we therefore treat it as a high-distortion RD boundary rather than a preferred preservation point. Experiment 105 records post hoc transfer for every endpoint under gzip, Brotli, and tensor-aware ZipNN, while Zstandard alone selects the states. At the control the Zstandard, gzip, Brotli, and ZipNN reductions are 11.72/11.08/11.83/12.24%; at they are 20.56/20.02/20.91/21.44%; and at the boundary they are 23.41/23.09/23.89/24.43%. ZipNN compresses all 290 floating tensors; bitwise round-trip verification succeeds with zero fallbacks at every endpoint. Experiment 109 additionally audits all thirteen endpoints on WikiText test, streamed C4, and A40-matched downstream tasks; the three zero-edit controls reproduce the baseline exactly, providing an end-to-end audit sanity check.
Qwen3-0.6B architecture transfer. Experiment 99 applies the identical 1-bit+ dense search to Qwen/Qwen3-0.6B-Base under Zstandard v1.5.7. From a 922,297,440-B compressed baseline, the and searches save 514,280 B (0.0558%) and 2,088,469 B (0.2264%) at validation mean KL 0.000417 and 0.000934. At , all 84 gate/up/down MLP projections across 28 layers accept the implementation-labeled mantissa_clear_1 candidate, saving 44,288,844 B
(4.8020%) at validation mean KL 0.00163106 and NLL +0.00108194; the second sweep accepts nothing. Independent , , and restarts select the identical ordered 84-edit sequence and byte trajectory. All six controls are retained in CSV/JSON evidence; the repeated plateau identifies exhaustion of the current proposal family, not an intrinsic RD optimum.
Table 19: Complete SmolLM2-360M multibit+ pure-KL sweep. Each row is an independent restart; zero-edit controls are retained explicitly.
| Search KL | Zstd gain | Reduction (%) | Accepted | Val. mean KL | Val. NLL |
|---|---|---|---|---|---|
| 0 B | 0.000% | 0 | 0 | 0 | |
| 0 B | 0.000% | 0 | 0 | 0 | |
| 0 B | 0.000% | 0 | 0 | 0 | |
| 0.403 MB | 0.072% | 1 | 0.0006521 | +0.0003250 | |
| 1.595 MB | 0.285% | 4 | 0.0009426 | +0.0004730 | |
| 13.662 MB | 2.439% | 25 | 0.0014127 | +0.0003701 | |
| 22.368 MB | 3.994% | 21 | 0.0019706 | +0.0001586 | |
| 65.651 MB | 11.722% | 67 | 0.0029043 | +0.0009295 | |
| 76.294 MB | 13.622% | 73 | 0.0038812 | +0.0018085 | |
| 115.123 MB | 20.555% | 98 | 0.0048806 | +0.0012246 | |
| 127.767 MB | 22.813% | 97 | 0.0057489 | +0.0026548 | |
| 130.745 MB | 23.344% | 97 | 0.0074679 | +0.0046200 | |
| 131.085 MB | 23.405% | 96 | 0.0088707 | +0.0078297 |
Table 20: Post hoc transfer across the SmolLM2-360M multibit+ frontier. Endpoints are Zstandard-selected; gzip, Brotli, and ZipNN never enter search.
| Search KL | Val. mean KL | Zstd | gzip | Brotli | ZipNN |
|---|---|---|---|---|---|
| 0 | 0.000% | 0.000% | 0.000% | 0.000% | |
| 0 | 0.000% | 0.000% | 0.000% | 0.000% | |
| 0 | 0.000% | 0.000% | 0.000% | 0.000% | |
| 0.0006521 | 0.072% | 0.055% | 0.071% | 0.075% | |
| 0.0009426 | 0.285% | 0.219% | 0.278% | 0.302% | |
| 0.0014127 | 2.439% | 2.049% | 2.404% | 2.548% | |
| 0.0019706 | 3.994% | 3.805% | 4.026% | 4.170% | |
| 0.0029043 | 11.722% | 11.077% | 11.830% | 12.236% | |
| 0.0038812 | 13.622% | 13.046% | 13.788% | 14.223% | |
| 0.0048806 | 20.555% | 20.017% | 20.907% | 21.444% | |
| 0.0057489 | 22.813% | 22.418% | 23.264% | 23.801% | |
| 0.0074679 | 23.344% | 23.026% | 23.828% | 24.365% | |
| 0.0088707 | 23.405% | 23.093% | 23.895% | 24.428% |
Experiment 109 shows that the high-compression frontier remains close to the original model on the measured independent audits through the near-saturation region. At the control, Zstandard reduction is 23.344% at held-out validation KL 0.007468; WikiText test and C4 perplexity increase by 0.668% and 0.293%, WikiText/C4 top-1 agreement is 95.19%/95.41%, the largest raw five-task accuracy deviation is 0.49 percentage points, and LAMBADA perplexity increases by 2.35%. The boundary reaches 23.405% but adds only 340,224 B (0.061 percentage points) beyond while the LAMBADA perplexity increase grows from 2.35% to 5.02%. The full frontier's largest raw task-accuracy deviation is 0.86 percentage points (at the control), so these results are interpreted as preservation diagnostics rather than capability gains.
The matched 135M and 360M multibit+ pure-KL sweeps appear in Figure 2; Experiments 106 and 104 provide their RD evidence, Experiments 107 and 105 provide full 135M/360M cross-codec transfer, Experiment 108 adds the complete five-task 135M downstream audit, and Experiment 109 adds complete 360M WikiText test, C4, and five-task audits. The older guarded 135M frontier remains separate historical provenance for the earlier whole-file serialization study.
Table 21: Complete SmolLM2-360M pure-KL post hoc behavioral audit (Experiment 109). Max raw acc. is the largest absolute endpoint-minus-original accuracy change across LAMBADA, HellaSwag, PIQA, ARC-Easy, and ARC-Challenge, in percentage points.
| Search KL | Zstd | Wiki PPL Δ | C4 PPL Δ | Max raw acc. | LAMBADA PPL Δ |
|---|---|---|---|---|---|
| 0.000% | +0.000% | +0.000% | 0.000 | +0.000% | |
| 0.000% | +0.000% | +0.000% | 0.000 | +0.000% | |
| 0.000% | +0.000% | +0.000% | 0.000 | +0.000% | |
| 0.072% | +0.028% | +0.021% | 0.380 | +0.022% | |
| 0.285% | -0.016% | -0.059% | 0.130 | -0.050% | |
| 2.439% | -0.041% | +0.075% | 0.260 | +0.047% | |
| 3.994% | +0.040% | -0.195% | 0.300 | -0.335% | |
| 11.722% | +0.219% | +0.077% | 0.430 | -0.273% | |
| 13.622% | +0.415% | +0.150% | 0.650 | +2.188% | |
| 20.555% | +0.307% | +0.446% | 0.760 | +3.594% | |
| 22.813% | +0.450% | +0.242% | 0.860 | +3.935% | |
| 23.344% | +0.668% | +0.293% | 0.490 | +2.351% | |
| 23.405% | +0.877% | +0.570% | 0.740 | +5.015% |
C.9 COMPLETE POST HOC DOWNSTREAM BENCHMARK AUDIT
Experiment 100 audits representative frozen SmolLM2-135M/360M endpoints, Experiment 108 audits all 14 corrected 135M pure-KL multibit+ endpoints, and Experiment 109 audits all 13 matched 360M endpoints. Experiments 100 and 109 are separate provenance records; absolute harness values are not mixed across them, and the 360M frontier deltas are taken only from within-run A40-matched comparisons. The full-frontier audits use zero-shot BF16 EleutherAI lm-eval with auto-selected batch size 64; for Experiment 109, every baseline/endpoint pair runs sequentially on the same NVIDIA A40. These tasks never influence compression search or selection. Tables 22–23 give the earlier representative suites, Figure 7 shows the full 135M frontier, and Table 21 summarizes the complete 360M frontier. Endpoint-minus-original deltas are paired by example; reported standard errors are aggregate uncertainties, not paired-difference confidence intervals.
Table 22: Complete SmolLM2-135M downstream audit. Values are mean harness-reported standard error.
| Task | Metric | Original | Endpoint | |
|---|---|---|---|---|
| ARC-Challenge | acc | +0.0000 | ||
| ARC-Challenge | acc_norm | +0.0008 | ||
| ARC-Easy | acc | -0.0017 | ||
| ARC-Easy | acc_norm | +0.0012 | ||
| HellaSwag | acc | -0.0018 | ||
| HellaSwag | acc_norm | -0.0011 | ||
| LAMBADA | acc | +0.0019 | ||
| LAMBADA | perplexity | -0.0516 | ||
| PIQA | acc | +0.0054 | ||
| PIQA | acc_norm | +0.0000 |
The representative suites show small mixed-sign paired deltas. At 135M the largest raw-accuracy change is 0.54 percentage points (PIQA) and LAMBADA PPL decreases by 0.27%; at 360M all raw-accuracy changes are within 0.25 points and LAMBADA PPL decreases by 0.15%. These are small relative to the aggregate standard errors.
Downstream behavior across the corrected 135M pure-KL multibit+ frontier. Experiment 108 evaluates all 14 Experiment 106 endpoints; materialization hashes match the same tensors recorded by Experiment 107. Through the control, Zstandard reduction is 20.695% at held-out KL 0.008436, every raw-accuracy deviation is within 0.512 percentage points, and LAM-
Table 23: Complete SmolLM2-360M downstream audit. Values are mean ± harness-reported standard error.
| Task | Metric | Original | Endpoint | |
|---|---|---|---|---|
| ARC-Challenge | acc | +0.0025 | ||
| ARC-Challenge | acc_norm | -0.0043 | ||
| ARC-Easy | acc | +0.0025 | ||
| ARC-Easy | acc_norm | +0.0017 | ||
| HellaSwag | acc | -0.0013 | ||
| HellaSwag | acc_norm | -0.0002 | ||
| LAMBADA | acc | +0.0004 | ||
| LAMBADA | perplexity | -0.0144 | ||
| PIQA | acc | +0.0022 | ||
| PIQA | acc_norm | +0.0049 |

(c) LAMBADA perplexity
Figure 7: Post hoc downstream preservation across the corrected SmolLM2-135M pure-KL multibit+ frontier. (a) Raw zero-shot accuracy deltas. (b) Normalized-accuracy deltas for four multiple-choice tasks. (c) Relative LAMBADA perplexity change. All fourteen independently restarted endpoints are shown versus measured Zstandard reduction; the sharp final-point perplexity rise occurs after the frontier has nearly saturated in physical byte savings.
BADA perplexity increases by only 0.345%. The boundary reaches 20.821% at KL 0.010321 but decreases LAMBADA accuracy by 0.699 percentage points and increases perplexity by 3.918%. Thus the last step buys only 263,680 B (0.126 percentage points) while worsening an independent language-modeling diagnostic, supporting its interpretation as an RD boundary rather than a preferred operating point. Mixed-sign task changes are not evidence of capability improvement.
Downstream behavior across the 360M pure-KL multibit+ frontier. Experiment 109 evaluates all 13 Experiment 104 endpoints with hardware-matched baseline/endpoint pairs on NVIDIA A40 GPUs. The three zero-edit controls reproduce every downstream metric exactly at logged precision. At , the largest raw-accuracy deviation is 0.49 percentage points and LAMBADA perplexity increases by 2.35%; the boundary decreases LAMBADA accuracy by 0.74 percentage points and increases perplexity by 5.02% for only 0.061 additional percentage points of Zstandard reduction. Across the entire 13-point frontier, the largest raw-accuracy deviation is 0.86 percentage points. Together with the independent WikiText test and C4 audits in Table 21, this completes the 360M behavioral audit while preserving the interpretation of the widest point as an RD boundary.
D CONTROLLED SERIALIZER AND SYSTEMS EVIDENCE
The main paper emphasizes deployment-relevant whole-model transformer checkpoints. Controlled studies also test whether differentiable or structured functional geometry can improve discrete physical objectives across serializers and storage systems; they establish mechanism validity rather than headline LLM evidence.
D.1 DEFLATE AND GZIP MECHANISM VALIDATION
Experiment 02 constructs a DEFLATE-aware soft Bellman parser over RFC 1951 literal/length and distance actions while retaining the unmodified zlib/gzip implementation as the external evaluator. On the canonical seed-7 fixture, the soft fixed-tree objective correlates with the exact fixed-Huffman dynamic program at Pearson 0.99999986; the entropy-style readout correlates with real raw-DEFLATE size at Pearson 0.93587 and Spearman 0.83601, with 0.87097 pairwise ranking accuracy. A one-byte differentiable repair rounds back to the exact repeated byte and reduces real raw-DEFLATE size from 208 to 168 bits and deterministic gzip size from 352 to 312 bits. Across seeds 1–5, the reduced sweep reports mean raw-DEFLATE Pearson 0.99848, Spearman 0.98561, pairwise ranking 1.0, and successful exact-byte/gzip improvement on all five seeds.
Experiment 03 then combines the same rate model with an exact hidden-channel permutation symmetry in a two-layer MLP. A reversible channel-major layout serializes each hidden unit as one coupled record, and Sinkhorn optimization acts only on channel order. The six-channel fixture exhaustively evaluates all hard permutations with the real gzip implementation, providing a controlled bridge from differentiable rate modeling to semantics-preserving representation selection.
D.2 DELTA CODING AND SEMANTIC CHECKPOINT ALIGNMENT
Experiment 04 replaces within-object LZ matching with an immutable external base object and introduces a differentiable COPY/ADD parser. Experiment 05 combines that objective with exact hidden-channel permutation symmetry across base/target checkpoints. The synthetic target includes sparse high-magnitude decoys that deliberately mislead Euclidean alignment while changing only a few serialized bytes, so the benchmark tests compression-aware alignment rather than allowing matching to solve the task automatically. Final candidates are evaluated using an exact decodable DiffDelta patch, real Git binary-patch output, and optional VCDIFF when available.
D.3 CONTENT-DEFINED CHUNKING AND DEDUPLICATION
Experiments 06–08 study a different non-differentiable storage mechanism: content-defined chunking and cross-version deduplication. The fully coupled SoftDedup study differentiates through both soft Rabin boundary probabilities and soft historical chunk reuse, but exact storage is always measured with unmodified Rabin boundaries and exact byte identity. On seed 7, the soft lifetime-storage objective reaches Pearson 0.999510 and Spearman 0.976190 against exact storage. Joint optimization restores both a lost chunk boundary and corrupted content, reducing exact physical storage from 66.25 to 33.75 bytes. On a semantics-preserving checkpoint trajectory, exact lifetime storage falls from 4,084 to 3,662 bytes with maximum function error ; the optimized trajectory matches the compression oracle. Across seeds 1–5, exact trajectory storage improves in all five runs, with a mean saving of 339.6 bytes over the unaligned trajectory.
D.4 STRUCTURED ZSTANDARD AND BROTLI SURROGATES
Experiment 17 uses a Zstandard-specific sequence/rate surrogate with literal/match parsing, literal-length (LL), match-length (ML), and offset (OF) code classes, extra-bit accounting, recent offsets, and differentiable entropy readouts. On the seed-7 fixture it reaches Pearson 0.98916 and Spearman 1.0 against exact Zstandard bits; one-step repair reduces real output from 344 to 216 bits and recovers the repeated byte. Exact-byte repair and real-Zstandard improvement succeed for all seeds 1–5. Experiment 20 analogously uses a Brotli surrogate with soft LZ parsing, literal contexts, and selected static-dictionary opportunities while production Brotli remains the final evaluator.
Table 7 in the main paper summarizes representative measured outcomes across these mechanism studies. The detailed subsections here retain the protocol-specific context and caveats.
D.5 MODULE-WISE EXACT SYMMETRY AND SERIALIZER LAYOUT
Experiment 85 evaluates the same mechanism on public Qwen3 modules and shows why exact physical reranking remains necessary. On a contiguous 32-channel SwiGLU window with reversible channel-major serialization, every one of eight random shared permutations improves exact Zstandard by 18–92 bytes while preserving function and leaving record-wise delta/dedup unchanged. Eight DiffZstd proposals also reduce exact Zstandard size, but the surrogate/exact Spearman correlation is −0.193 and the best differentiable-proposal gain (78 bytes) is smaller than the best random shared-permutation gain under the same evaluation budget (92 bytes). The lesson is not that the surrogate is universally reliable; rather, function-preserving representation choice measurably changes physical compression, while the production backend must remain authoritative.
These controlled studies motivate the architecture used in the main experiments: propose using differentiable or algebraic structure, audit functional admissibility, and rerank by the exact physical system. They also broaden the empirical scope beyond Zstandard/gzip/Brotli whole-model compression to delta coding, content-defined deduplication, and multiple codec-specific structured rate models.
E NEGATIVE RESULTS AND LIMITS OF FUNCTIONAL FREEDOM
Functional non-identifiability creates an optimization domain, but it does not guarantee a useful compression gain. We retain several negative or weak results because they clarify where the proposed viewpoint is informative and where natural training already appears close to a stable representation.
E.1 NATURAL MODULE TRAJECTORIES PRESERVE CHANNEL IDENTITY
In the public Qwen3-0.6B-Base → GSM8K-LoRA materialized trajectory, an eight-channel layer-14 delta probe gives 30,720 bytes for identity, target alignment, target SoftDelta alignment, and every shared permutation. Random target-only gauges are much worse (61,435–79,864 bytes). A 32-channel reciprocal power-of-two SwiGLU scale study similarly leaves identity best at 30,720 bytes, while even a one-channel target-only change increases the objective to 34,819 bytes. These results indicate that the natural trajectory strongly preserves the dense model's latent-channel identity; exact relative-gauge alignment has little room to improve the delta representation.
E.2 STATIC LORA EXACT GAUGES PROVIDE ONLY SMALL CODEC GAINS
A public rank-8 Qwen3 LoRA adapter exposes the exact factor gauge
In the public adapter probe, the untouched adapter is 4,287,504 bytes under Zstandard. A simple shared rank-balance gauge saves 838 bytes; the best local general-GL(8) candidate saves 845 bytes, the best local QD candidate saves 857 bytes (0.01999%), and a pure orthogonal candidate saves only 64 bytes. Thus exact rank-space freedom exists, but the static physical gain is small and dominated by factor balance rather than arbitrary dense rotation.
A synthetic positive control verifies that this is not a limitation of the gauge machinery. A deliberately dense non-monomial scramble leaves the LoRA operator unchanged but increases history cost. Signed-monomial, orthogonal, and QD alignment all remain at 6,162 bytes, whereas analytic full-GL alignment reduces the objective to 2,744 bytes, removing 3,418 bytes (55.5%) of artificial factor-basis cost. The public result is therefore best interpreted as a property of the natural trajectory rather than a failure to represent useful gauge transforms.
E.3 MULTI-CHECKPOINT LORA HISTORY IS ESSENTIALLY GAUGE-STABLE
The most diagnostic negative result is the five-checkpoint public Qwentaur trajectory
It contains 196 common rank-8 LoRA pairs per checkpoint. Anchoring the first snapshot leaves mutable checkpoint/module gauge coordinates. The completed global-sparse exact search screens all 784 coordinates and then reranks the most promising proposals exactly against the authoritative full-history DiffDelta objective. After 2,057.36 seconds, 29 exact moves are accepted, reducing the objective from 60,567,188 to 60,567,091 bytes: only 97 bytes, or 0.000160%.
This result is useful for two reasons. First, it prevents an overly broad claim that neural histories contain large arbitrary basis drift. Continuously trained LoRA factors can remain naturally gauge-stable. Second, it exposes a structural limitation of checkpoint-local history proposals: changing an intermediate snapshot affects both adjacent chronological deltas, so an improvement on one edge can cancel on the other. Joint temporal gauges may address this in future work, but the current paper does not claim a positive natural-history result.
E.4 WHY NEGATIVE CASES BELONG IN THE STUDY
The successful whole-model free-weight experiments and the weak natural LoRA-history results delimit two different sources of compressibility. The former exploit a broad neighborhood of numerically different representations that preserve behavior on data; the latter ask whether training happened to introduce arbitrary exact factor-basis drift. The evidence suggests that the first source can be substantial, while the second can be nearly absent. Reporting both cases makes the scope of "compression over functional equivalence classes" more precise: useful headroom depends on the geometry of the admissible class and on how the trained representation occupies that class.
F REFERENCE GUIDE: ACRONYMS, DATASETS, MODELS, AND SOFTWARE
This appendix collects terminology and external artifacts used in the study so that the main text can remain compact. License labels below are informational summaries of the upstream repository or model- and dataset-card metadata checked on September 24, 2026; the upstream license text and terms of use remain authoritative. Synthetic fixtures created within this project are not external datasets and are therefore omitted from the dataset list.
F.1 ACRONYMS, ABBREVIATIONS, AND COMPACT NOTATION
Acronyms, method names, and backend shorthand.
AI artificial intelligence.
ARC Allen Institute for AI (AI2) Reasoning Challenge; the paper uses the Easy and Challenge subsets.
ASVD activation-aware singular value decomposition.
AWQ activation-aware weight quantization.
BF16 bfloat16 floating-point format.
C4 Colossal Clean Crawled Corpus.
CLI command-line interface.
CSV comma-separated values; used for normalized tabular evidence records.
DEFLATE lossless LZ/Huffman compression format standardized by RFC 1951.
DiffDelta the project's exact delta-compression objective/backend.
FP16 IEEE 754 binary16 half-precision floating-point format.
FP32 IEEE 754 binary32 single-precision floating-point format.
FP64 IEEE 754 binary64 double-precision floating-point format.
GQA grouped-query attention.
GPTQ post-training weight-quantization method.
GSM8K Grade School Math 8K benchmark.
JSON JavaScript Object Notation; used for structured evidence records.
KL Kullback–Leibler divergence.
KV key–value, typically attention key/value states.
LLM large language model.
LoRA low-rank adaptation.
LZ / LZ77 Lempel–Ziv / Lempel–Ziv 1977 dictionary compression.
MB / KB megabyte / kilobyte; prose uses decimal byte units unless stated otherwise.
MLP multilayer perceptron.
MSE mean squared error.
NLL negative log-likelihood.
PEFT parameter-efficient fine-tuning.
PPL perplexity.
PQF Permute, Quantize, and Fine-Tune.
QD project shorthand for the orthogonal–diagonal alignment family used in the LoRA gauge probes.
RD rate–distortion.
RFC Request for Comments; RFC 1951 and RFC 3284 specify DEFLATE and VCDIFF, respectively.
SiLU sigmoid linear unit activation.
SVD singular value decomposition.
SVD-LLM singular-value-decomposition-based LLM compression method cited in Related Work.
SwiGLU Swish-gated linear unit feed-forward block.
TV total variation distance.
VCDIFF delta-encoding format defined by RFC 3284.
ZipNN lossless tensor/model compression library; “NN” denotes neural networks.
Zstd Zstandard lossless compression.
Mathematical and reporting notation.
entrywise absolute-value norm / Euclidean norm. The term generates soft-threshold sparsification proposals.
general linear group of invertible matrices.
significand-snap proposal at depth ; counts low-order significand-bit positions dropped when defining the coarser rounding grid, not deployment bitwidth.
soft-threshold proposal tuned to target sparsity .
P99 / P99.9 99th / 99.9th percentile of the reported token-wise statistic.
acc / acc.norm raw accuracy / the 1m-eval normalized-accuracy metric used for multiple-choice tasks.
F.2 DATASETS AND EVALUATION CORPORA
WikiText-2 raw (Salesforce/wikitext:wikitext-2-raw-v1) (Merity et al., 2017).
Primary language-model corpus. Train is used for calibration/search, validation for independent held-out RD measurement and endpoint auditing, and test for final held-out audits. The raw variant retains original case, punctuation, and numbers. License/terms: current Hub repository metadata lists cc-by-sa-3.0 and the GNU Free Documentation License (GFDL). The card prose contains inconsistent CC BY-SA version wording; we therefore report the repository metadata rather than silently resolving the discrepancy.
C4 English validation (Raffel et al., 2020). Cross-domain language-model audit only. We stream the English validation split until the fixed token budget is assembled; C4 never selects candidate updates. License/terms: Open Data Commons Attribution (ODC-BY) according to the current dataset card; users are additionally bound by Common Crawl terms for the underlying content.
GSM8K (Cobbe et al., 2021). Grade-school mathematical-reasoning benchmark. In this paper it appears through the public Qwen3-GSM8K LoRA trajectory used in a negative/module-history study rather than as a main SmolLM2 evaluation set. License: MIT in the original OpenAI grade-school-math repository.
LAMBADA / lambda_openai (Paperno et al., 2016). Post hoc next-word prediction benchmark evaluated only after compression endpoints are frozen. We use the standard 1m-eval task implementation. License/terms: the current EleutherAI/lambda_openai Hub repository reports MIT metadata and describes the dataset license as Modified MIT; upstream terms remain authoritative.
HellaSwag (Zellers et al., 2019). Post hoc commonsense sentence-completion benchmark included in the complete downstream-preservation audit. License: MIT according to the current upstream/Hugging Face dataset card.
PIQA (Bisk et al., 2020). Post hoc physical-commonsense multiple-choice benchmark. License/terms: the current ybisk/piqa Hub card marks the dataset license as unknown; we therefore do not infer a dataset license from loader-code licensing or third-party mirrors.
AI2 ARC Easy/Challenge (Clark et al., 2018). Post hoc grade-school science multiple-choice benchmarks. ARC-Easy appears in the compact main-body preservation table; both Easy and Challenge are retained in the complete Appendix audit. License: CC BY-SA 4.0 in the current allenai/ai2_arc Hub metadata.
F.3 PRETRAINED MODELS AND PUBLIC ADAPTERS
SmolLM2-135M (HuggingFaceTB/SmolLM2-135M) (Ben Allal et al., 2025). Principal dense causal language model for exact-gauge, activation-aware, output-functional, cross-codec, and held-out audits. Experiments operate on the public base checkpoint, not an instruction-tuned derivative. License: Apache-2.0 on the Hugging Face model card/repository.
SmolLM2-360M (HuggingFaceTB/SmolLM2-360M) (Ben Allal et al., 2025). Matched larger model for scale validation and for the 1-bit+ and multibit+ functional rate-distortion studies. License: Apache-2.0 on the Hugging Face model card/repository.
Qwen3-0.6B-Base (Qwen/Qwen3-0.6B-Base) (Yang et al., 2025). Public Qwen3 base checkpoint used in module-symmetry controls, external-trajectory validation, and the dense architecture-transfer rate–distortion study. The repository revision is pinned when exact provenance is required. License: Apache-2.0 on the Qwen model repository.
Qwen3-GSM8K LoRA (Neural-Hacker/Qwen3-GSM8K). Rank-8 LoRA adaptation of Qwen3-0.6B used as one public base-to-adapter trajectory in the negative exact-gauge study. Its current card metadata is more restrictive than the Qwen3 base license. License: CC BY-NC-SA 4.0 in current Hub metadata.
Qwentaur-0.6B-LoRA-r8 (socius/Qwentaur-0.6B-LoRA-r8). Public rank-8 LoRA trajectory with checkpoints 500, 1000, 1500, 1878, and final; used to test exact temporal rank-gauge compression. License: Apache-2.0 on the current Hub model card/repository.
F.4 SOFTWARE, SERIALIZATION, AND COMPRESSION BACKENDS
Python 3. Experiment orchestration and reference implementation language. The standard-library gzip module is used for deterministic gzip streams in several paths. License: Python Software Foundation License v2; incorporated components may carry additional licenses.
PyTorch. Tensor operations, model execution, autograd-based proposals, and behavioral audits. License: BSD-style license in the PyTorch repository.
NumPy. Array utilities and numerical support used throughout the codebase. License: BSD-3-Clause for the main project; binary distributions may include separately licensed bundled libraries.
Hugging Face Transformers. Public checkpoint/tokenizer I/O and evaluation; Apache-2.0.
Hugging Face Datasets. Versioned loading and streaming of WikiText and C4. License: Apache-2.0 for the library; individual datasets retain their own licenses above.
Hugging Face PEFT. Public LoRA-adapter loading. License: Apache-2.0.
EleutherAI 1m-eval. Zero-shot post hoc harness for LAMBADA, HellaSwag, PIQA, ARC-Easy, and ARC-Challenge. Recorded logs use task version 1, BF16 inference, and auto-detected batch size 64. License: MIT.
Safetensors. Deterministic tensor checkpoint interchange and the canonical path used for ZipNN post hoc evaluation. License: Apache-2.0.
Zstandard / zstd. Primary generic compressor; each byte-level experiment records the exact CLI/library version. License: dual BSD or GPL-2.0.
Brotli. Generic cross-codec control and differentiable-surrogate mechanism study. License: MIT.
gzip / DEFLATE. Generic cross-codec control with deterministic Python gzip framing. License: Python Software Foundation terms for the wrapper; zlib license for the underlying implementation.
ZipNN 0.5.4. Tensor-specialized post hoc lossless codec on canonical safetensors; it never selects the main Zstandard endpoints. License: MIT.
License scope. A dataset license does not determine a trained model's license, and a model card does not replace upstream data terms. This source/license reference is not legal advice or a redistribution grant; upstream licenses, notices, revisions, and terms remain canonical.
G DETAILED RELATED WORK
G.1 FUNCTIONAL NON-IDENTIFIABILITY AND NEURAL-NETWORK SYMMETRIES
Many neural parameterizations are non-identifiable: multiple parameter vectors encode the same function. Positive-homogeneity symmetries in ReLU networks, for example, can change parameter-space sharpness without changing predictions, demonstrating that properties of a particular coordinate representation need not be properties of the represented function (Dinh et al., 2017). Our work takes a deployment-oriented view of the same phenomenon: if equivalent coordinates are physically different byte strings, the equivalence class itself becomes an optimization domain.
Permutation symmetry has received particular attention. Entezari et al. (2022) showed empirically that accounting for hidden-unit permutations can eliminate interpolation barriers between independently trained networks. Ainsworth et al. (2023) developed practical permutation-alignment algorithms for merging independently trained models and characterized the resulting mode connectivity. Transformer-specific work has established broader permutation-equivariance properties across architectures such as BERT, GPT, and vision transformers (Xu et al., 2024). Particularly relevant is Permute, Quantize, and Fine-Tune (PQF) (Martinez et al., 2021), which exploits adjacent-layer permutation invariance to search for functionally equivalent weight arrangements that are easier to vector-quantize and connects that search to rate-distortion theory. PQF is therefore an important precursor to the idea that symmetry can be selected for compressibility. Our setting differs in three respects: the objective is the measured output of an unchanged, potentially non-differentiable physical backend rather than a fixed product-quantization representation; the exact search includes scaling and basis gauges in addition to permutations; and the feasible set is then enlarged to empirical functional neighborhoods whose behavioral distortion is explicitly audited. These distinctions let us ask whether representation shaping transfers across independent lossless codecs and whether activation geometry can expose useful freedom beyond the exact symmetry orbit.
Model soups and related weight-space merging methods (Wortsman et al., 2022) show that pretrained or fine-tuned solutions can often occupy compatible low-loss regions. This is conceptually adjacent to our approximate functional neighborhoods, but the goal differs: model merging combines information from separately optimized predictors, while our search starts from one model and explicitly constrains behavioral drift while optimizing physical representation cost.
Low-rank adaptation introduces another exact change-of-basis freedom. LoRA represents an update as a product of two low-rank factors (Hu et al., 2022); the factorization is invariant to an invertible transformation in the latent rank space. We exploit this gauge when studying static adapters and checkpoint histories. The broader lesson is that factorized representations add coordinate freedoms beyond those already present in the dense network.
G.2 PRUNING, QUANTIZATION, AND LOW-RANK COMPRESSION
Neural-network compression has a long history. Optimal Brain Damage and Optimal Brain Surgeon used curvature information to remove parameters while controlling loss (LeCun et al., 1989; Hassibi et al., 1993); later work combined pruning, quantization, and entropy coding into large end-to-end storage reductions (Han et al., 2016). The lottery-ticket literature further emphasized the existence of sparse subnetworks with favorable optimization properties (Frankle & Carbin, 2019).
For modern language models, post-training methods aim to avoid the cost of full retraining. GPTQ uses approximate second-order information for accurate low-bit quantization (Frantar et al., 2023), while LLM.int8() isolates activation outliers to retain high-precision behavior where needed (Dettmers et al., 2022). SparseGPT performs large-scale one-shot pruning through approximate sparse regression (Frantar & Alistarh, 2023); Wanda provides a much simpler activation-weighted pruning criterion based on weight magnitudes and input activation norms (Sun et al., 2024). These methods alter sparsity or numerical representation to reduce inference/storage cost.
Activation-aware quantization and low-rank decomposition are especially relevant to our functional metric. AWQ identifies salient weights through observed activations and searches channel scalings that protect them during quantization (Lin et al., 2024). ASVD argues that low-rank error should be measured through , not only through , and transforms weights according to activation statistics before truncation (Yuan et al., 2023). SVD-LLM similarly uses data-aware whitening and truncation-aware updates to better align low-rank approximation with model behavior (Wang et al., 2025). Our local distortion in Eq. 24 shares this output-space logic. The key difference is the controlled variable: we do not impose a target bitwidth, sparsity, or rank. Tensor shapes and dtypes remain unchanged, while candidate weights are selected according to the byte count produced by a separate lossless codec.
This distinction makes the approaches complementary. Quantization, pruning, and low-rank factorization seek new computational representations that directly reduce parameter count, precision, or runtime. Physical representation optimization can in principle be applied before or after such transformations whenever the resulting representation still contains exact or approximate functional degrees of freedom. Conversely, activation-aware compression supplies useful functional metrics for defining the admissible neighborhood in which a physical objective may be optimized.
G.3 LOSSLESS MODEL COMPRESSION AND ENTROPY CODING
Traditional compressors such as Zstandard, gzip/DEFLATE, and Brotli operate on byte streams without knowledge of neural semantics. Neural tensors have additional structure, motivating specialized lossless preprocessing and coding. ZipNN reorganizes floating-point neural weights according to dtype and numerical structure before lossless compression, reporting substantial storage and transfer savings for foundation models (Hershcovitch et al., 2025). This line of work asks how a codec should exploit a fixed model representation.
Our question is complementary: given a fixed codec, can the model move to a functionally equivalent or near-equivalent representation that the codec prefers? Cross-codec tests distinguish codec-specific effects from general representation shaping. Exact gauges transfer weakly between independently optimized codecs, consistent with codec-sensitive byte rearrangement, whereas activation-aware solutions transfer strongly across Zstandard, gzip, and Brotli. Tensor-aware ZipNN strengthens this complementarity result: Zstandard-selected 135M and 360M multibit+ frontiers retain closely matched or slightly larger relative gains without ZipNN-driven search.
G.4 RATE-DISTORTION PERSPECTIVE
Relaxing exact equality yields a model-specific rate–distortion problem: representation rate is traded against a fidelity criterion (Shannon, 1959). Neural-weight compression has used rate–distortion ideas before, including permutation-assisted product quantization (Martinez et al., 2021); here the rate variable is the measured output of the deployed physical backend:
Unlike conventional transform coding, however, the “rate” is the measured output of an arbitrary deployment codec and the distortion can be defined at multiple semantic levels: weight MSE, local activation reconstruction, block outputs, token-distribution KL, NLL, or downstream task metrics. Our experiments deliberately compare these nested notions rather than treating parameter distance as synonymous with functional distance. The empirical frontier therefore serves both as a compression result and as evidence about which local metrics best track end-to-end model behavior.