arXiv:2611.07233cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07233

Neural Compression over Equivalence Classes: Exact Gauges and Functional Rate-Distortion

Toshiaki Koike-Akino

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

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.