arXiv:2609.02107cs.LGSep 2026

Manuscript Offprint

arXiv:2609.02107

A Unified Rate-Distortion Perspective on Vector, Product, and Scalar Quantization

Xianghong Fang, Wenlong Mou, Yuan Yuan, Dehan Kong, Tim G. J. Rudner

Abstract

Discrete visual tokenization, predominantly driven by vector, scalar, and product quantization, lacks a unified conceptual framework for understanding quantization tradeoffs. In this paper, we propose a unified rate–distortion perspective on modern discrete visual tokenization. By viewing quantization as lossy compression, we characterize the nominal fixed-length coding rate through token count and codebook size, and quantization error as the distortion. Within this framework, we resolve three central questions. First, we theoretically and empirically show that minimizing distortion, rather than maximizing codebook utilization, is the primary intrinsic objective for reconstruction fidelity, with a direct connection to the STE-induced gradient discrepancy. Second, we establish two critical fairness conditions for intrinsic quantization comparison: controlling latent feature statistics and enforcing identical coding rates. Third, under these conditions, we recover the VQ–PQ–SQ distortion hierarchy in modern visual tokenization and show empirically that modern VQ methods achieve the lowest distortion. This work provides a foundational rate–distortion reframing of modern discrete visual tokenization, resolves ambiguities in quantizer evaluation, and provides a controlled framework for isolating intrinsic quantization effectiveness under fixed-rate constraints.

1 Introduction

Discrete visual tokenization has achieved remarkable success in recent years, driven by advances in vector quantization [VQ; ERO21; Sun+24; Tia+24], product quantization [PQ; JDS11; Guo+24; Li+25], and scalar quantization [SQ; Men+24; Yu+24a; ZXK25; Han+25]. A major line of VQ research has focused on improving codebook utilization through improved codebook updates, optimization, or parameterizations [Lee+22; ZV23; Zhu+24a; Zhu+24b; Shi+25; Cha+26; Lu+26]. Despite this rapid progress, the conceptual relationship between utilization, distortion, and quantization effectiveness remains comparatively less understood. In particular, high or even complete codebook utilization does not necessarily imply faithful representation of the input. This motivates a more fundamental framework for understanding the objectives and tradeoffs underlying different quantization algorithms.

In this paper, we propose a unified rate-distortion perspective on quantization to systematically address these considerations. Rate-distortion theory provides the classical framework for characterizing lossy compression, and has also motivated learned image compression methods that jointly optimize coding rate and reconstruction distortion [BLS17; LHB25; ZW24; Jia+26]. We use rate-distortion theory as an analytical framework for comparing discrete visual quantizers by defining distortion as quantization error and rate as the nominal fixed-length coding budget determined by token count and codebook size. Under this perspective, we resolve three central open questions in discrete visual tokenization, which are summarized in Figure 1.

Figure

Figure 1: Overview of our unified rate-distortion perspective on quantization. (a) Primary objective. Distortion is a more fundamental criterion than codebook utilization, with direct links to utilization, STE-induced gradient discrepancy, and reconstruction fidelity. (b) Fair comparison. Intrinsic comparison requires matched latent feature distributions and the same nominal fixed-length rate. (c) Intrinsic effectiveness. VQ, PQ, and SQ satisfy SQ ⊆\subseteq PQ ⊆\subseteq VQ, implying EVQ∗≤EPQ∗≤ESQ∗\mathcal{E}_{\mathrm{VQ}}^{*} \leq \mathcal{E}_{\mathrm{PQ}}^{*} \leq \mathcal{E}_{\mathrm{SQ}}^{*} under matched latent distributions and fixed rate.

First, we investigate the primary optimization objective for quantization algorithms in modern visual tokenization. From a rate-distortion perspective, minimizing distortion rather than directly maximizing codebook utilization is the key to achieving training stability and high-fidelity reconstruction. We provide both theoretical and empirical evidence supporting distortion minimization as the more fundamental optimization principle. Specifically, we prove that minimizing distortion necessarily implies full codebook utilization under mild conditions, whereas the converse does not hold. We further establish a direct connection between distortion and the gradient discrepancy induced by the straight-through estimator(STE) [BLC13]. Empirically, we demonstrate substantially stronger correlations between distortion and reconstruction fidelity (measured by rFID) than those observed with codebook utilization. These results motivate a distortion-centric perspective on VQ optimization beyond codebook utilization, as summarized in Figure 1(a), complementing prior analyses of STE bias [Huh+23; Fif+25] and recent efforts to address codebook collapse [Zhu+24b; Shi+25; Cha+26; Lu+26].

Second, we establish two fundamental conditions for fairly comparing the intrinsic effectiveness of quantization algorithms, as illustrated in Figure 1(b). First, the latent feature distribution must be controlled across compared algorithms. In particular, under global rescaling, the minimum achievable squared quantization distortion changes proportionally with the latent variance, so differences in feature statistics can confound comparisons of quantizer effectiveness. Second, all algorithms must operate at the same nominal fixed-length coding rate, R=Tlog⁡2KR = T \log_2 K, which is jointly determined by the number of visual tokens TT and the cardinality of the discrete code space KK. Only under matched latent distributions and coding rates can the intrinsic effectiveness of different quantization algorithms be meaningfully compared.

Third, we examine the intrinsic effectiveness of quantization algorithms under rigorously controlled conditions. As illustrated in Figure 1(c), SQ, PQ, and VQ form a nested hierarchy in which VQ generalizes PQ and PQ generalizes SQ, implying greater modeling flexibility and no higher optimal distortion for VQ. Related work on neural image compression has similarly shown that vector or lattice quantization can achieve lower distortion than scalar quantization when using exploiting cross-dimensional dependencies [LHB25; ZW24]. However, early visual-tokenizer studies reported severe codebook collapse for VQ, particularly with large codebooks [Dha+20; Tak+22; Yu+22; Lee+22; ZV23], leading to inferior empirical performance relative to SQ and PQ in prior works [Men+24; Yu+24a; ZXK25; Guo+24]. To resolve this apparent conflict, we examine whether the classical distortion hierarchy among VQ, PQ, and SQ can be realized in modern visual tokenization under controlled fixed-rate conditions. Beyond this nested ordering, we show that VQ can exploit low-dimensional source structure to achieve strictly better distortion scaling than PQ and SQ. Our empirical study further shows that advanced VQ algorithms [Fan+26a; Fan+26b] consistently achieve lower distortion and better reconstruction under the two fairness conditions above.

Our key contributions are as follows:

  1. We establish distortion minimization as a fundamental intrinsic optimization principle for modern visual quantization. We show that distortion minimization implies full codebook utilization under mild conditions, whereas the converse does not hold. We further connect quantization distortion to the gradient discrepancy induced by the straight-through estimator.

  2. We identify two fundamental conditions for fair intrinsic comparison of quantization algorithms. We show that comparisons must control both the scale of latent features and the coding rate, since differences in either factor can obscure the intrinsic effectiveness of the quantizer itself.

  3. We characterize the VQ–PQ–SQ distortion hierarchy in modern visual tokenization and show that VQ can exploit low-dimensional source structure to achieve strictly better distortion scaling than PQ and SQ. Empirically, modern VQ methods achieve the lowest distortion and best reconstruction after decoder adaptation under controlled comparisons.

References (58)