arXiv:2611.11967cs.LGNov 2026

Manuscript Offprint

arXiv:2611.11967

Pairwise distortion distribution for compression and quantization

Carl Nuzman, Jeongmin Chae, Kursat Rasim Mestav, Urbashi Mitra

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Choosing the latent dimension is a critical challenge in data compression, where conventional hyperparameter optimization is costly and ad hoc. Intrinsic dimension provides a good alternative, which connects information-theoretic notions such as Renyi information dimension (RID) to rate-distortion dimension and random codebook compression. In this work, we introduce the pairwise distortion distribution (PDD) and its asymptotic limit, pairwise dimension (PD), which generalize the correlation integral to general distortion measures. We show that PD bounds RID, and PDD provides a lower bound for random codebook quantization performance, which can guide a practical use for compression, quantization, and dimensionality reduction applications.

Index Terms— Data compression, Information dimension, Latent dimension, Quantization, Rate-distortion

1. INTRODUCTION

Many applications such as representation learning, compression, and quantization rely on data having an intrinsic dimension much lower than the raw, or extinsic dimension. [1–4]. Machine learning is a useful tool for finding such representations, in which the assumed intrinsic dimension is a key hyperparameter [5]. Conventional approaches address this by exhaustive search, which are computationally expensive and provides little insight on the geometry of the data [6, 7].

To address this, a large body of work focuses on estimating the intrinsic dimension (ID) of sets and of probability distributions, under various definitions [8]. Estimators for sets include maximum likelihood estimation (MLE) [9], TWO-NN [10], and PCA-based approaches [11], which leverage the local or global data statistics. Two well known definitions for ID are the Hausdorff dimension and the box counting dimension [11–13]. The information dimension, or the Hausdorff information dimension (HID), is the smallest Hausdorff dimension among sets having probability 1.

In information theory, an important quantity is the Renyi information dimension (RID) [14, 15]. The RID of a random vector X∈RnX \in \mathbb{R}^n, for m>0m > 0, is defined in terms of a series of quantized versions ⟨X⟩m=⌊mX⌋m\langle X \rangle_m = \frac{\lfloor mX \rfloor}{m} as dI(X)=d_I(X) =

lim⁡m→∞H(⟨X⟩m)log⁡m\lim_{m \to \infty} \frac{H(\langle X \rangle_m)}{\log m} when the limit exists, where HH is the Shannon entropy. The RID is connected in [8] to the asymptotic scaling of the rate distortion curve as distortion approaches zero, for a wide class of distortion measures. In [16], the authors introduce the correlation integral and corresponding correlation dimension as computationally simpler alternatives to HID for quantifying the dimension of a distribution.

In this paper, we make connections between the correlation integral, the RID, and compression by generalizing the correlation integral from Euclidean distances to a general distortion measure. To this end, we introduce a new function called the pairwise distortion distribution (PDD), whose asymptotic limit defines a distortion-dependent notion of dimension referred to pairwise dimension (PD). Both PDD and PD are relatively easy to estimate from data and to derive analytically for known distributions.

We show that when distortion is a power of a vector norm, the PD gives a lower bound on the RID, and thus on the asymptotic behavior of the rate-distortion curve for a wide class of distortion functions. A simple PDD-based computation also yields a lower bound on the quantization performance of random quantization codebooks. Taken together, these properties suggest that the PDD-derived rate-distortion curve can be a good guide to the quantization performance, which we confirm via empirical experiments.