alphaFeedback

WorksMathematics

Matching Random Point Sets with Minimum Distortion

AI contributions
Not recorded for this paper
View details

Abstract

How well can two independent random samples from a metric measure space be matched while preserving pairwise distances? Concretely, given two independent copies, each of nn points sampled from the space, what is their typical metric distortion as finite nn-point metric spaces? We prove that the space [0,1][0,1] equipped with the uniform measure already exhibits a rich behavior. We show that with high probability the distortion of the two independent samples is n2/3n^{2/3} up to polylogarithmic factors. The lower bound reflects two competing obstructions. A bijection that maps points close to their original positions or their reflections in [0,1][0,1] must expand the smallest gaps, in both directions. On the other hand, we show that large displacement from both the identity and reflection itself forces large distortion. Balancing these obstructions yields the lower-bound exponent 2/32/3. For the upper bound, we construct a partial matching of the points that maps each gap between consecutive points of length d≲n−4/3d\lesssim n^{-4/3} to a pair at distance O~(dn1/3)\widetilde{O}(dn^{1/3}), with analogous control in the reverse direction. We then use a delicate multiscale oscillation construction to extend this partial matching to a low-distortion bijection.

Figure 1. Illustration of two independent samples of 1,000 points in [0,1][0,1], matched using a near-optimal mapping. Each color identifies a pair of corresponding intervals whose points are matched bijectively.

Introduction

How well can two independent random samples X,YX,Y of nn points from a metric measure space be matched while preserving pairwise distances? We study this question through the minimum distortion between XX and YY, viewed as finite metric spaces with the induced metric. Our aim is to understand the typical growth of this distortion with the sample size.

For finite metric spaces X,YX,Y of the same cardinality with at least two points, and a bijection f:X→Yf:X\to Y, define

Lip⁡(f)=max⁡x≠x′dY(f(x),f(x′))dX(x,x′),dist⁡(f)=Lip⁡(f)Lip⁡(f−1),\operatorname{Lip}(f)=\max_{x\ne x'}\frac{d_Y(f(x),f(x'))}{d_X(x,x')},\qquad\operatorname{dist}(f)=\operatorname{Lip}(f)\operatorname{Lip}(f^{-1}),
c(X,Y)=min⁡{dist⁡(f):f:X→Y is bijective}.c(X,Y)=\min\{\operatorname{dist}(f):f:X\to Y\text{ is bijective}\}.

The distortion of a bijection is the product of its maximum expansion and contraction factors. In particular, it is invariant under rescaling either metric. Thus c(X,Y)c(X,Y) measures how closely the two metric spaces can be matched.

The minimum distortion between two independent samples can be thought of as a notion of metric variance. It is well known that, for a square-integrable real random variable AA and an independent copy A′A', we have Var⁡(A)=12E[(A−A′)2]\operatorname{Var}(A)=\frac{1}{2}\mathbb{E}[(A-A')^2]. This identity expresses variance through the discrepancy between independent copies, without referring to their mean. Similarly, comparing XX and YY through c(X,Y)c(X,Y) provides a multiplicative measure of the variability of a random finite metric space, without requiring a definition of its expected metric space.

Main result

In this work, we study the minimum distortion between two copies, XX and YY, each consisting of nn points drawn uniformly and independently from [0,1][0,1]. We show that even this one-dimensional setting is highly non-trivial and exhibits rich geometric structure. Our main result is the following theorem:

Theorem 1.1. There exists an absolute constant C>0C>0 such that, with high probability,

n2/3(log⁡n)C≤c(X,Y)≤n2/3(log⁡n)C.\frac{n^{2/3}}{(\log n)^C}\le c(X,Y)\le n^{2/3}(\log n)^C.

Why typical distortion? The expected distortion is a natural first statistic to consider. In our setting, however, it fails to capture the typical behavior, as E[c(X,Y)]=∞\mathbb{E}[c(X,Y)]=\infty for sufficiently large nn (see Appendix § 9). The reason is simple: an exceptionally close pair in one sample, with no comparably close pair in the other, forces large distortion under every bijection. Such rare configurations produce a sufficiently heavy tail to make the expectation infinite. We therefore study the order of magnitude distortion encountered with high probability when comparing two random configurations.

How (not) to match points. The simplest bijection matches points in order. Writing X={x1<⋯<xn}X=\{x_1<\cdots<x_n\} and Y={y1<⋯<yn}Y=\{y_1<\cdots<y_n\}, it sends xix_i to yiy_i. The difficulty with this matching is that the smallest gaps in the two samples need not occur at corresponding positions. With high probability, the smallest gap in XX has size n−2+o(1)n^{-2+o(1)}, while the gap at the same position in YY has size n−1+o(1)n^{-1+o(1)}. This pair alone requires expansion by a factor n1+o(1)n^{1+o(1)}. The smallest gap in YY causes the same problem for the inverse map. Thus both Lipschitz constants are n1+o(1)n^{1+o(1)}, giving distortion n2+o(1)n^{2+o(1)} with high probability.

This suggests matching the closest pair in XX to the closest pair in YY, with both gaps of length n−2+o(1)n^{-2+o(1)} whp, and extending this partial matching to a bijection with low distortion. This controls the distance ratio for the selected pair, but leaves a geometric constraint on all remaining points. The two pairs can lie in very different parts of the interval: for example, one may lie near an endpoint and the other near the middle. They then divide [0,1][0,1] into parts containing very different numbers of points, which need to be matched. We prove that, whp, every bijection matching the minimum gap pair in XX to the minimum gap pair in YY has large distortion of order at least n1−o(1)n^{1-o(1)}.

The main difficulty. A more flexible approach is to match each exceptionally short gap to a suitable gap within a limited distance, without insisting that its partner be the shortest gap in the other sample. The difficulty is then to choose these matches so that they can be completed to a bijection with low distortion. Although exceptionally short gaps involve only a small fraction of the points, matching them with low distortion requires a carefully coordinated mapping of the remaining points, as illustrated in the left panel of Figure 2. In particular, many neighboring pairs at the typical distance of order 1/n1/n, which initially posed no obstacle, are mapped much farther apart to accommodate the displacement required by the short-gap matches. The oscillations distribute this displacement across the remaining points while controlling expansion in both directions. These oscillations must be coordinated in both samples: nearby points of XX must have nearby images in YY, and nearby points of YY must have nearby preimages in XX, within the allowed expansion factor. Searching farther for partners makes short gaps easier to match, but also increases the displacement that these oscillations must accommodate. Balancing these two requirements yields the exponent 2/32/3. This balance identifies the relevant scales, but realizing it requires matching nearby short gaps together, resolving conflicts between prescribed matches, and completing the resulting partial matching while controlling expansion in both directions. All these components of the mapping are delicate and have nontrivial interactions. We survey them in the technical overview, § 3.

Figure 2. An enlarged view of the pink interval. Left: the restricted matching. Right: the matched pairs (x,f(x))(x, f(x)), joined in increasing order of xx. Dots represent the actual matched pairs.

Related work

Geometric similarity of random point sets in R\mathbb{R}. A closely related line of work asks whether two independent realizations of the same random process have the same geometry at large scales. Peled [17] studied quantitative versions of this question for random subsets of the line. Basu and Sly [1] subsequently developed a multiscale construction for embeddings of random sequences, resolving the question for Poisson processes on the line: two independent realizations are almost surely roughly isometric. Rough isometries allow both multiplicative and additive errors in distances. We highlight that additive error allows exceptionally short gaps to be mapped to substantially longer ones, whereas our distortion objective requires relative control even for these gaps. More recently, Li, Yu, and Zhen [14] established a contrasting result for independent Bernoulli subsets of a product of two regular trees, which are almost surely not quasi-isometric. These results show how the ambient geometry affects the existence of geometrically controlled correspondences between independent random configurations.

Minimum-distortion bijections in R\mathbb{R}. The computational problem of finding a minimum-distortion bijection between two prescribed finite metric spaces was studied by Kenyon, Rabani, and Sinclair [13]. For point sets on the line, they gave a polynomial-time algorithm that finds an optimal bijection when the minimum distortion is below a fixed constant, with a subsequent work by Chandran et al. [4] improving this threshold. Nayeri and Raichel [16] subsequently developed exact and approximation algorithms with running-time bounds in terms of the optimum distortion and the spread of the input, namely its diameter after rescaling the minimum distance to be one. On the hardness side, Hall and Papadimitriou [10] showed that, even for point sets on the line, approximating the minimum distortion within factors growing polynomially with the number of points is NP-hard in the regime of polynomially large optimum distortion. We prove that when the two point sets are random, finding a mapping that achieves a near-optimal distortion can be done whp.

Random geometric matching. A related line of work studies matchings between random point sets that keep matched points close to one another. Goel, Rai, and Krishnamachari [9] studied bottleneck matching between independent uniform samples, minimizing the largest distance between matched points, and used it to establish sharp thresholds for random geometric graphs. Holroyd, Pemantle, Peres, and Schramm [11] studied invariant perfect matchings between independent Poisson processes, focusing on the tail of the distance from a typical point to its partner. More recently, Elboim, Spinka, and Yakir [8] studied invariant perfect matchings between randomly perturbed lattices and the lattice, obtaining optimal tail bounds under suitable assumptions on the perturbations.

Mappings to grids and lattices. The classical work of Burago and Kleiner [3] and McMullen [15] shows that, in dimensions at least two, even uniformly separated point sets with bounded holes need not admit a bi-Lipschitz bijection to a lattice. Therefore, obstructions to bounded distortion can arise even in the absence of exceptionally close pairs. For finite lattice subsets, Dymond, Kaluža, and Kopecká [7] showed that the minimum Lipschitz constant of a bijection onto a regular grid can be arbitrarily large. Dymond [6] subsequently obtained polylogarithmic upper bounds for suitable random lattice subsets. These finite grid-mapping problems concern one-sided Lipschitz control and a prescribed regular target, while our problem requires control in both directions between two random samples.

Organization of the paper

We begin with the probabilistic estimates and metric reductions used throughout the paper in Section 2. In Section 3, we explain the origin of the 2/32/3 exponent and outline the proofs of the lower and upper bounds. Next, in Section 4, we relate displacement to distortion in the equally spaced model (where we study permutations of [n][n] and their distortion), yielding a short proof of the lower bound in Section 5. We present the upper-bound construction in Section 6.

Use of AI. The proof strategy of the main theorem was developed by the authors, yet we incorporated a simplification found by AI. ChatGPT-6 suggested using the exponential representation in Proposition 2.3 to replace our previous balls and bins type argument which allowed to use the independence of the gaps in the exponential model, and to simplify the approach behind the proof of Proposition 6.5. After this simplification, we realized that our previous n2/3+o(1)n^{2/3+o(1)} upper bound, should yield an n2/3(log⁡n)O(1)n^{2/3}(\log n)^{O(1)} upper bound, when choosing the parameters more delicately. We subsequently used ChatGPT-6 to choose the parameters for this refinement. We used ChatGPT-6 extensively to assist with writing the paper and generating the figures.

After completing the main results we conjectured that controlling displacement through oscillations, as we did in the upper bound, is necessary. We asked the model to prove the existence of oscillating permutation minors in any permutation with distortion and displacement nearly equal. ChatGPT-6 supplied the proof (and defined woven permutations) appearing in Appendix § 8. One component of the AI’s proof, Lemma A.6, provides a shorter proof to Theorem 4.1. We decided to retain our original proof in the main body of the paper.

Acknowledgments We thank Uri Grupel for useful discussions.

Preliminaries

Throughout, let n≥2n \ge2. We denote an nn-point set Z⊆RZ \subseteq\mathbb{R}, by Z={z1<⋯<zn}Z = \{z_1 < \cdots< z_n\}. Let O\mathcal{O} denote the distribution of the random set Z={U1,…,Un}Z = \{U_1,\ldots,U_n\}, where U1,…,UnU_1,\ldots,U_n are iid uniform random variables on [0,1][0,1]. These variables are distinct almost surely, so ZZ has size nn almost surely. For 1≤i<n1 \le i < n, define ΔiZ=zi+1−zi\Delta_i^Z = z_{i+1} - z_i, and put Δmin⁡Z=min⁡1≤i<nΔiZ\Delta_{\min}^Z = \min_{1 \le i < n}\Delta_i^Z.

The following proposition is a well-known exponential representation of uniform spacings (see [18 Sec. 4.1] or [5 Ch. V, Thm. 2.2]).

Proposition 2.1. Let E0,…,En∼Exp⁡(1)E_0,\ldots,E_n \sim\operatorname{Exp}(1) be iid and let Sn+1=∑i=0nEiS_{n+1} = \sum_{i=0}^{n} E_i. Then,

(z1,Δ1Z,…,Δn−1Z,1−zn)=d1Sn+1(E0,E1,…,En).\left(z_1,\Delta_1^Z,\ldots,\Delta_{n-1}^Z,1-z_n\right) \mathrel{\mathop{=}\limits^{d}} \frac{1}{S_{n+1}}(E_0,E_1,\ldots,E_n).

The following observation follows trivially from the definition of Lipschitz constant of a function.

Observation 2.2. Let M,NM,N be finite metric spaces and let f:M→Nf:M \to N be a bijection. If the metrics of MM and NN are multiplied by constants λ>0\lambda> 0 and μ>0\mu> 0, respectively, then Lip⁡(f)\operatorname{Lip}(f) is multiplied by μ/λ\mu/\lambda and Lip⁡(f−1)\operatorname{Lip}(f^{-1}) by λ/μ\lambda/\mu. Consequently,

  • dist⁡(f)\operatorname{dist}(f) and c(M,N)c(M,N) remain the same and

  • for M,N⊆RM,N \subseteq\mathbb{R}, translating the sets does not change c(M,N)c(M,N) as well.

This observation combined with Proposition 2.1 allows us to reformulate our problem.

Proposition 2.3. Let X,Y∼OX,Y \sim\mathcal{O} be iid. Let E1X,…,En−1XE_1^X,\ldots,E_{n-1}^X and E1Y,…,En−1YE_1^Y,\ldots,E_{n-1}^Y be iid exponential random variables with mean 11. Let X~={x~1<⋯<x~n}\widetilde{X} = \{\widetilde{x}_1 < \cdots< \widetilde{x}_n\} be defined as follows: x~1=0\widetilde{x}_1 = 0 and, for all i∈[n−1]i \in[n-1], let x~i+1=x~i+EiX\widetilde{x}_{i+1} = \widetilde{x}_i + E_i^X. Similarly, define Y~={y~1<⋯<y~n}\widetilde{Y} = \{\widetilde{y}_1 < \cdots< \widetilde{y}_n\}. Then,

c(X,Y)=dc(X~,Y~).c(X,Y) \mathrel{\mathop{=}\limits^{d}} c(\widetilde{X},\widetilde{Y}).

In order to bound c(X,Y)c(X,Y) from above we need to present some bijection f:X→Yf:X \to Y with small Lipschitz constants. The following claim shows that we only need bound the quantities ∣f(x2)−f(x1)∣x2−x1\frac{|f(x_2)-f(x_1)|}{x_2-x_1} and ∣f−1(y2)−f−1(y1)∣y2−y1\frac{|f^{-1}(y_2)-f^{-1}(y_1)|}{y_2-y_1} for the nearby pairs of points x1,x2∈Xx_1,x_2 \in X and y1,y2∈Yy_1,y_2 \in Y.

References

  1. [1]Riddhipratim Basu and Allan Sly. Lipschitz embeddings of random sequences. Probability Theory and Related Fields, 159(3–4):721–775, 2014. doi: 10.1007/s00440-013-0519-7. URL https://arxiv.org/abs/1204.2931.
  2. [2]Itai Benjamini and Alexander Shamov. Bi-Lipschitz bijections of ℤ. Analysis and Geometry in Metric Spaces, 3(1):313–316, 2015. doi: 10.1515/agms-2015-0018. URL https://arxiv.org/abs/1509.07670.
  3. [3]Dmitri Burago and Bruce Kleiner. Separated nets in Euclidean space and Jacobians of biLipschitz maps. Geometric and Functional Analysis, 8(2):273–282, 1998. doi: 10.1007/s000390050056. URL https://arxiv.org/abs/dg-ga/9703022.
  4. [4]Nishanth Chandran, Ryan Moriarty, Rafail Ostrovsky, Omkant Pandey, Mohammad Ali Safari, and Amit Sahai. Improved algorithms for optimal embeddings. ACM Transactions on Algorithms, 4(4), 2008. doi: 10.1145/1383369.1383376. URL https://doi.org/10.1145/1383369.1383376. Article 45.
  5. [5]Luc Devroye. Non-Uniform Random Variate Generation. Springer-Verlag, New York, 1986.
  6. [6]Michael Dymond. Lipschitz constant log n almost surely suffices for mapping n grid points onto a cube, 2020. URL https://arxiv.org/abs/2010.15073. arXiv:2010.15073, revised 2023.
  7. [7]Michael Dymond, Vojtěch Kaluža, and Eva Kopecká. Mapping n grid points onto a square forces an arbitrarily large Lipschitz constant. Geometric and Functional Analysis, 28(3):589–644, 2018. doi: 10.1007/s00039-018-0445-z. URL https://arxiv.org/abs/1704.01940.
  8. [8]Dor Elboim, Yinon Spinka, and Oren Yakir. Optimal matchings of randomly perturbed lattices. International Mathematics Research Notices, 2026(5):rnag034, 2026. doi: 10.1093/imrn/rnag034. URL https://arxiv.org/abs/2506.16873.
  9. [9]Ashish Goel, Sanatan Rai, and Bhaskar Krishnamachari. Monotone properties of random geometric graphs have sharp thresholds. The Annals of Applied Probability, 15(4):2535–2552, 2005. doi: 10.1214/105051605000000575. URL https://arxiv.org/abs/math/0310232.
  10. [10]Alexander Hall and Christos Papadimitriou. Approximating the distortion. In Approximation, Randomization and Combinatorial Optimization. Algorithms and Techniques (APPROX–RANDOM 2005), volume 3624 of Lecture Notes in Computer Science, pages 111–122. Springer, 2005. doi: 10.1007/11538462_10. URL https://doi.org/10.1007/11538462_10.
  11. [11]Alexander E. Holroyd, Robin Pemantle, Yuval Peres, and Oded Schramm. Poisson matching. Annales de l’Institut Henri Poincaré, Probabilités et Statistiques, 45(1):266–287, 2009. doi: 10.1214/08-AIHP170. URL https://www.numdam.org/articles/10.1214/08-AIHP170/.DOI
  12. [12]Svante Janson. Tail bounds for sums of geometric and exponential variables. Statistics & Probability Letters, 135:1–6, 2018.arxiv.org/abs/1709.08157
  13. [13]Claire Kenyon, Yuval Rabani, and Alistair Sinclair. Low distortion maps between point sets. SIAM Journal on Computing, 39(4):1617–1636, 2009. doi: 10.1137/080712921. URL https://doi.org/10.1137/080712921.
  14. [14]Zhiqiang Li, Ranfeng Yu, and Tianyi Zheng. Quasi-isometric rigidity for random subsets in products of trees, 2026. URL https://arxiv.org/abs/2606.05089. arXiv:2606.05089.
  15. [15]Curtis T. McMullen. Lipschitz maps and nets in Euclidean space. Geometric and Functional Analysis, 8(2):304–314, 1998. doi: 10.1007/s000390050058. URL https://abel.math.harvard.edu/~ctm/papers/home/text/papers/lip/lip.pdf.DOI
  16. [16]Amir Navyeri and Benjamin Raichel. Reality distortion: Exact and approximate algorithms for embedding into the line. In Proceedings of the 56th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 729–747. IEEE, 2015. doi: 10.1109/FOCS.2015.50. URL https://doi.org/10.1109/FOCS.2015.50.
  17. [17]Ron Peled. On rough isometries of Poisson processes on the line. The Annals of Applied Probability, 20(2):462–494, 2010. doi: 10.1214/09-AAP624. URL https://arxiv.org/abs/0709.2383.
  18. [18]Ronald Pyke. Spacings. Journal of the Royal Statistical Society. Series B (Methodological), 27 (3):395–436, 1965.DOI

Paper details

vlnc:W_avtqbapj
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Not recorded for this paper · View statement →

Looking for related papers…
Contents