arXiv:2611.04341cs.ITNov 2026

Manuscript Offprint

arXiv:2611.04341

Pairwise Distortion Distribution with Graph-Based Importance Sampling for Quantization Error and Intrinsic Dimension Estimation

Xi Chen, Carl Nuzman, Shirin Jalali

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

Abstract

Quantifying the dimensionality of data is a fundamental need in machine learning and signal processing applications such as representation learning, data compression, and inverse problems, where the extrinsic dimension in which the data is presented can be very different from the intrinsic dimension that determines the operational performance. Various concepts, such as Rényi information dimension, rate-distortion dimension, and quantization dimension are useful here. Despite their theoretical significance, estimating these measures are challenging given their asymptotic definitions. Recent research has shown that analyzing the pairwise distortion distribution (PDD) of a data source can provide a tractable lower bound on the distortion of random codebook quantization, from which a tractable notion of intrinsic dimension can be derived. In this paper we extend this line of research in three main ways. First, we develop a related upper bound on distortion of random codebook quantization. Second, we improve the computability of both the lower and upper bounds, using a graph-based adaptive importance sampling approach. Third, we leverage the bounds to define new notions of intrinsic dimension which form upper and lower bounds on the Rényi information dimension, rate-distortion dimension, and quantization dimension, and which can be empirically estimated from unknown data sources. We illustrate the concepts by analyzing several artificial and empirical distributions.

1 Introduction

Developing measures of complexity that capture the intrinsic dimension of continuous-valued sources is a fundamental problem with applications in inverse problems, data representation and compression. While for discrete sources, Shannon entropy provides a canonical and widely-adopted notion of complexity (Shannon, 1948), no such broadly accepted notion of complexity exists for continuous-valued sources. Several notions of dimension have been developed to quantify different aspects of the complexity of continuous-valued sources, including the rate-distortion dimension (RDD) (Kawabata and Dembo, 1994), Rényi information dimension (RID) (Wu and Verdú, 2010), Minkowski dimension and the Hausdorff dimension (Hausdorff, 1918; Falconer, 2013). These notions of complexity capture different aspects of the source complexity and have different operational applications. For instance,

Xi Chen and Shirin Jalali are with the Department of Electrical and Computer Engineering, Rutgers University, Piscataway, NJ 08854 USA (e-mail: xi.chen15@rutgers.edu; shirin.jalali@rutgers.edu).

Carl Nuzman is with the Nokia Bell Labs, Murray Hill, NJ 07974 USA (e-mail: carl.nuzman@nokia-bell-labs.com). This work was done during Xi Chen's internship at Nokia Bell Labs.

the RID of a source characterizes the minimum sampling rate required for almost-lossless recovery from under-sampled linear measurements (Wu and Verdú, 2010, 2012; Donoho et al., 2013; Jalali and Poor, 2017; Rezagah et al., 2017).

Despite their theoretical and operational significance, estimating these measures of complexity from data remains highly challenging. For instance, to estimate the RDD of a source, one needs to accurately estimate its corresponding rate-distortion function R(D)R(D) in the small distortion regime (D→0D \to 0), which is particularly difficult given finite data. Similar challenges arise in estimating the other mentioned notions of complexity.

An alternative notion of complexity arises from random codebook quantization (RCQ). RCQ is a classic compression method that is based on forming a random codebook consisting of LL codewords independently drawn from a distribution PCP_C. To encode each input vector, an RCQ code assigns it to the closest codeword in the codebook. An RCQ-based dimension can be defined as dQ(X)=lim⁡L→∞−log⁡Llog⁡μL(PX,PC)d_Q(X) = \lim_{L \to \infty} - \frac{\log L}{\log \mu_L(P_X, P_C)} (Zador, 1982; Zhu, 2011, 2012; Zhu et al., 2016), where μL(PX,PC)\mu_L(P_X, P_C) measures the expected distortion achieved by an RCQ with LL codewords distributed as PCP_C, and the source distribution denoted as PXP_X. Directly estimating dQ(X)d_Q(X) is prohibitive as it requires estimating the performance of RCQ over increasingly large codebooks. However, recent work (Nuzman et al., 2026) connects the defined dimension and pairwise distortion distribution (PDD). PDD is defined as the density function of the distance between two randomly drawn source samples. The key advantage of this connection is that unlike RCQ-based dimension, estimation of PDD does not require generating a large codebook.

Our goal in this paper is to develop a computationally efficient and theoretically grounded method for estimating source complexity. To achieve this goal, we characterize lower and upper bounds on RCQ distortion that can be estimated using PDD. The PDD itself can be estimated from pairs of source samples, without knowing the source distribution. We also define the PDD dimension, and connect the PDD dimension with the RID, RDD, and quantization dimension.

Accurate estimation of PDD in the small-distance regime remains challenging. Since the event of a randomly drawn pair satisfying this distance requirement is a rare event, a naive estimator will suffer from high variance. To address this issue, we propose a graph-based importance sampling strategy. Given NN samples, the complexity of sampling on the constructed minimum spanning tree through a proposed random walk is typically O(Nlog⁡N)O(N \log N), which makes the method scalable to large datasets.

We evaluate the proposed method on different sources with known and unknown distributions. Our results establish that PDD provides informative bounds on RCQ performance across different bitrate regimes and enables estimation of intrinsic dimensions of sources. Moreover, the proposed method reveals the smallest and largest intrinsic dimensions of a source when it has a mixture of dimensionalities. Finally we show that the graph-based importance sampling approach considerably improves the effectiveness of PDD estimation.

Our main contributions are

  • We derive the lower and upper bounds on RCQ that can be computed from PDD.

  • We define PDD dimension and establish its connections to RID, RDD, and quantization dimension.

  • We propose a graph-based adaptive importance sampling method for effective PDD estimation

in small distortion regime. The RCQ lower and upper bounds, as well as the PDD dimensions computed from the estimated PDD are evaluated on sources with known and unknown distribution.

References (21)