Q2D2: A Geometry-Aware Audio Codec Leveraging Two-Dimensional Quantization
Tal Shuster, Eliya Nachmani
TL;DR
Q2D2 introduces a geometry-aware two-dimensional quantizer that groups latent channels into pairs and quantizes them on fixed grids (hexagonal, rhombic, rectangular). This yields an implicit codebook defined by the product of pairwise grids, enabling high codebook utilization and very low token rates while preserving state-of-the-art reconstruction quality. Extensive experiments across LibriTTS, LibriSpeech, and LJSpeech show competitive or superior performance at 1–6.9 kbps with far fewer tokens than baselines, with ablations highlighting the benefits of rhombic tilings and moderate dimensionality. The work suggests that structured 2D quantization robustly captures inter-feature correlations and offers a promising alternative to conventional scalar or vector quantization in neural audio codecs, with future extensions to 3D grids and broader audio domains.
Abstract
Recent neural audio codecs have achieved impressive reconstruction quality, typically relying on quantization methods such as Residual Vector Quantization (RVQ), Vector Quantization (VQ) and Finite Scalar Quantization (FSQ). However, these quantization techniques limit the geometric structure of the latent space, make it harder to capture correlations between features leading to inefficiency in representation learning, codebook utilization and token rate. In this paper we introduce Two Dimensional Quantization (Q2D2), a quantization scheme in which feature pairs are projected onto structured 2D grids such as hexagonal, rhombic, or rectangular tiling and quantized to the nearest grid values, yielding an implicit codebook defined by the product of grid levels, with codebook sizes comparable to conventional methods. Despite its simple geometric formulation, Q2D2 improves audio compression efficiency, with low token rates and high codebook utilization while maintaining state of the art reconstruction quality. Specifically, Q2D2 achieves competitive to superior performance in various objective and subjective reconstruction metrics, across extensive experiments in speech domain compared to state of the art models. Comprehensive ablation studies further confirm the effectiveness of our design choices.
