arXiv:2610.20471cs.SDOct 2026

Manuscript Offprint

arXiv:2610.20471

Quantizer Redundancy and Exact Index Recoding in a Frozen Neural Audio Codec

Youssef Hemimy

Abstract

Residual scalar quantization can produce highly dependent indices when successive stages reuse identical, unscaled grids. This case study examines that behavior in a frozen neural audio codec and develops an exact recoding procedure that reduces storage while preserving its decoder inputs. Analysis of the repeated-grid recurrence identifies predictable stage sequences; finite-precision checks motivate preserving every original index through explicit exception records. The model weights and reconstruction graph remain fixed. On the studied 62- and 512-file cohorts, a predictor, adaptive coding and explicit file selection reduce complete stored bytes. The final 512-file rate is 129.591 kbps including headers, 25.943% below an original-index XZ control. Original recorded CPU runs establish bitwise latent and waveform preservation; independent readers verify exact index and metadata recovery in subsequent saved-stream experiments. Later coding choices use previously studied cohorts, and fresh encoding requires generating three alternatives. The engineering result is implementation-specific storage reduction with exact index recovery; the underlying lossy reconstruction quality remains unchanged.

Keywords: Entropy coding; finite scalar quantization; reconstruction fidelity; residual quantization.

1 Introduction

Residual scalar quantization can produce highly dependent indices when successive stages reuse identical, unscaled grids. This case study examines that behavior in a frozen neural audio codec and develops an exact recoding procedure that reduces storage while preserving its decoder inputs. The practical question is how to identify the dependency, exploit it in a complete file format, and retain the behavior of the executed reconstruction graph.

The inspected codec uses separate low- and high-frequency signal paths, each with repeated scalar quantizer stages. Under its ideal-real recurrence, additional stages do not provide progressively finer resolution: odd-cardinality grids produce zero continuations, while even-cardinality grids produce alternating central contributions. For even-cardinality grids, the distortion law depends on stage parity and input. These properties identify a limitation of the implemented quantization rule and motivate a predictor for its stage indices; the analysis applies to these identical, unscaled grids.

Finite-precision execution adds a second engineering requirement. Ideal identities for accumulated grid values do not establish bitwise equality with the saved implementation. The recoder therefore checks predicted tuples against the actual indices and stores every exception in full. We evaluate preservation at three levels: integer indices, decoded scalar latents, and the neural decoder's waveform under a declared CPU execution. The weights, saved grids and reconstruction graph remain fixed.

The report combines the repeated-grid analysis, finite-precision characterization, and measured evaluation of an index-preserving format. A matched-zlib comparison isolates the representation change and its interaction with that compressor. The final format reaches 142.696 and 129.591 kbps on the studied 62- and 512-file cohorts, respectively, including headers: 26.296% and 25.943% below the development-selected original-index XZ control. Later coding choices use already studied cohorts, so these are descriptive case-study outcomes. The original CPU runs establish bitwise latent and waveform preservation; subsequent saved-stream checks establish exact restoration of their decoder inputs. The model's lossy reconstruction and historical quality limitations remain unchanged.