Matching under Metric Privacy: Geometric Representations and Randomization Mechanisms

Bipartite matching under metric privacy: affine span dimensionality reduction; Gumbel matching achieves optimal rate Θ(n min{d, log n}/ε) under central privacy.
This paper studies representation and randomization for bipartite matching under metric privacy. Private and public points require minimum-cost matching, but private locations are sensitive. The authors project private points onto a low-dimensional subspace (dimension k) using the affine span of public points, preserving all matching costs while reducing noise impact. Under local privacy, low-dimensional representations outperform original high-dimensional coordinates; under central privacy, they design Gumbel matching—adding Gumbel noise to edge costs, solving minimum-cost matching, and publishing only the assignment—proving metric privacy with a tight expected cost gap of Θ(n min{d, log n}/ε). Experiments show d≈log n is a practical threshold. The method extends to squared Euclidean cost for private nonparametric two-sample testing.
Matching under Metric Privacy: Geometric Representations and Randomization Mechanisms
In privacy-preserving data analysis, bipartite matching is a fundamental and widely used operator—from pairing ride-hailing passengers with drivers to matching job seekers with positions on recruitment platforms, it involves optimally corresponding two sets of points (private and public). However, when private data must be randomized to protect privacy, matching accuracy degrades significantly. A recent theoretical study delves into how to balance privacy and utility under the metric privacy framework through clever representations and randomization mechanisms.
Problem Setting: Matching Private and Public Points
The study considers $n$ private points and $n$ public points in a $d$-dimensional Euclidean space. The goal is to compute a bipartite matching that minimizes total cost (typically the sum of distances). The positions of private points are sensitive and cannot be directly revealed; public points are known. Two common privacy models exist: local privacy (each private point is randomized at the user side before uploading) and central privacy (private points are uploaded to a trusted server, which outputs a randomized matching result).
The authors analyze two randomization strategies: one directly randomizes the coordinates of private points; the other randomizes the distances from private points to public points. These strategies perform differently under different trust models.
Metric privacy is a generalization of differential privacy to metric spaces. Its core idea is that the output distributions of two adjacent inputs (close in the metric sense) should be similar. Specifically, a mechanism $M$ satisfies $\varepsilon$-metric privacy if for any inputs $x, y$ and any output set $S$, $\Pr[M(x) \in S] \le e^{\varepsilon d(x,y)} \Pr[M(y) \in S]$, where $d(\cdot,\cdot)$ is the distance function in the metric space. Unlike standard differential privacy where "adjacent" is defined by edit distance, metric privacy allows adjusting the privacy protection strength based on the actual distance between inputs. In the matching problem here, private point coordinates are sensitive information, and metric privacy provides a natural framework: the closer the private points, the harder it is to distinguish their randomized outputs, thereby protecting location privacy. This model is particularly suitable for privacy protection of continuous data such as geographic coordinates and feature vectors.
Core Method: Dimensionality Reduction via the Affine Span of Public Points
A key observation is that matching cost depends only on the distances from private points to public points. Therefore, one can use the affine span of public points to construct a low-dimensional representation of private points while preserving all matching costs. Specifically, if the affine subspace spanned by public points has dimension $k$ (usually much smaller than $d$), each private point can be projected onto this subspace to obtain a $k$-dimensional representation. This dimensionality reduction not only reduces communication overhead but also mitigates the impact of noise introduced by randomization.
Under local privacy, directly randomizing the low-dimensional representation is more effective than randomizing the original high-dimensional coordinates because the noise dimension is lower. Under central privacy, randomizing distances (rather than coordinates) can achieve the optimal utility rate.
Affine span refers to the smallest affine subspace generated by a set of points through affine combinations (i.e., linear combinations whose coefficients sum to 1). For $n$ public points ${p_1, \dots, p_n} \subset \mathbb{R}^d$, the dimension $k$ of their affine span is at most $n-1$ and typically much smaller than the ambient dimension $d$. The key property is that the squared distance from any private point $q$ to a public point $p_i$ can be decomposed as $|q - p_i|^2 = |q - \Pi(q)|^2 + |\Pi(q) - p_i|^2$, where $\Pi(q)$ is the projection of $q$ onto the affine span of public points. Since $|q - \Pi(q)|^2$ is the same for all $p_i$, the matching cost (sum of distances) is entirely determined by the projection $\Pi(q)$. Therefore, projecting private points onto the $k$-dimensional affine subspace loses no matching information while reducing the effective dimension from $d$ to $k$, significantly lowering the dimension dependence of randomization noise. This dimensionality reduction technique is the geometric foundation of the method's effectiveness.
Gumbel Matching: Optimal Mechanism under Central Privacy
When a trusted server exists, the authors propose using Gumbel matching: add independent Gumbel noise to each edge's cost, then solve the minimum-cost matching, but only publish the matching result (i.e., the assignment), not the noisy costs. This mechanism satisfies central metric privacy, and the authors prove a tight rate for its expected cost exceeding the non-private optimal cost: $\Theta\left(n\min{d,\log n}/\varepsilon\right)$, where $\varepsilon$ is the privacy parameter. This rate shows that when dimension $d$ is large, the logarithmic factor $\log n$ dominates, and the utility loss grows logarithmically with $n$; when $d$ is small, the loss is linear in $d$.
This result unifies behavior across dimensions and reveals the optimality of distance randomization under central privacy.
Gumbel noise is an extreme value distribution commonly used in discrete choice models and random utility theory. Adding independent and identically distributed Gumbel noise to each edge's cost and solving the minimum-cost matching is equivalent to sampling a matching from all possible matchings with probability proportional to $e^{-\text{cost}/\text{temperature}}$. This property gives Gumbel matching a natural randomization effect, and the noise scale can be calibrated to satisfy metric privacy requirements. Under central privacy, the server can access the original private points but the published matching result must satisfy privacy constraints. Gumbel matching only publishes the final assignment, not the noisy costs, so an attacker cannot infer the exact coordinates of individual private points from the output. The authors prove that by appropriately choosing the Gumbel noise scale parameter (inversely proportional to $\varepsilon$), the mechanism satisfies $\varepsilon$-metric privacy and its expected cost gap from the optimal non-private cost reaches $\Theta(n \min{d, \log n}/\varepsilon)$, which is tight.
Trade-off between Local and Central Privacy
In the local privacy model, each private point is independently randomized, and the server only sees the noisy points. In this case, mechanisms that directly randomize coordinates (such as the Laplace mechanism) lead to increased matching cost. The authors prove that by using a low-dimensional representation (dimension $k$), the additional cost can be reduced to a magnitude related to $k$. If the original $d$-dimensional coordinates are used directly, the additional cost grows with $d$. Therefore, under local privacy, dimensionality reduction is key to improving utility.
In contrast, central privacy allows the server to access original private data (but the output satisfies privacy), so more sophisticated mechanisms (such as Gumbel matching) can be employed to achieve the optimal rate. The authors point out that under central privacy, even in high-dimensional settings, distance representations can achieve the optimal rate, while coordinate representations cannot.
Experimental Validation: $d \approx \log n$ as a Practical Guideline
Benchmark experiments support the theoretical findings and provide a practical rule of thumb: when $d \approx \log n$, directly randomizing coordinates yields utility comparable to Gumbel matching; when $d$ is much larger than $\log n$, Gumbel matching (or distance randomization) is clearly superior; when $d$ is much smaller than $\log n$, directly randomizing coordinates may be simpler and more effective. This guideline helps choose the appropriate mechanism in practice.
Extension: Private Nonparametric Two-Sample Testing
The authors also extend the results to squared Euclidean cost, thereby supporting private nonparametric two-sample hypothesis testing. By randomizing matching costs, one can test whether two distributions are identical without revealing individual data. This provides a new tool for statistical inference under privacy protection.
Nonparametric two-sample testing is used to determine whether two unknown distributions are identical. Common statistics include maximum mean discrepancy (MMD) and energy distance, both of which can be expressed as functions of pairwise distances between two samples. In privacy-preserving settings, directly publishing samples or distance matrices would leak individual information. The extension idea in this paper is to replace the distance terms in the two-sample test statistic with randomized matching costs (e.g., distances perturbed by Gumbel noise), thereby maintaining test validity while satisfying metric privacy. Specifically, randomization of matching costs under squared Euclidean cost can be seamlessly embedded into distance-based test statistics because the dependence of the test statistic on distances is linear or quadratic, and the bias introduced by randomization can be compensated by correction or increasing sample size. This extension shows that privacy mechanism design for matching problems not only serves pairing tasks but also provides a foundational tool for broader privacy-preserving statistical inference.
Conclusion and Implications
This study systematically analyzes representation and randomization for bipartite matching under metric privacy, revealing the key impact of trust models on mechanism design: under local privacy, low-dimensional point representations can effectively reduce additional cost; under central privacy, distance representations can achieve the optimal rate. These conclusions provide theoretical guidance for designing privacy-preserving matching systems and highlight the trade-offs in dimension selection and representation strategies.
For practitioners, when data dimension is high and sample size is large, Gumbel matching under the central privacy model should be preferred; if only local privacy is available, one should exploit the structure of public points for dimensionality reduction. Future work can explore more general metric spaces and dynamic matching scenarios.
One-line Summary
Bipartite matching under metric privacy: dimensionality reduction via the affine span of public points; Gumbel matching achieves the optimal rate Θ(n min{d, log n}/ε) under central privacy.
Paragraph Summary
This paper studies representation and randomization for bipartite matching under the metric privacy framework. Private and public points need to be matched with minimum cost, but private point locations are sensitive. The authors propose projecting private points onto a low-dimensional subspace (dimension k) using the affine span of public points, preserving all matching costs while reducing noise impact. Under local privacy, low-dimensional representations are more effective than original high-dimensional coordinates; under central privacy, the authors design a Gumbel matching mechanism—adding Gumbel noise to edge costs, solving minimum-cost matching, and publishing only the assignment—and prove it satisfies metric privacy with a tight expected cost gap from the non-private optimum of Θ(n min{d, log n}/ε). Experiments show that d≈log n is a practical threshold for choosing between coordinate randomization and Gumbel matching. The method also extends to squared Euclidean cost, supporting private nonparametric two-sample testing.
Related articles

The Gemini 4 Trio and 3.8 Flash: A Full Comparison of Positioning, Pricing, and Benchmarks
A comparison of Gemini 4 Neon, Carbon, Argon, and Gemini 3.8 Flash: positioning, context, API pricing, Artificial Analysis and Arena benchmark scores, and available entry points.

AI Coding Model Leaderboard: Opus 5.5 Crowned, Gemini Neon Stages a Comeback
Tech blogger Matthew Berman releases an AI coding model tier list: Claude Opus 5.5 holds S-tier, Gemini Neon surprises with A-tier, OpenAI Astra lands B-tier. How do open-source models like DeepSeek fare? We break down the scoring logic and practical takeaways.

New Jersey Joe Sandwich: Meat and Coleslaw on Triple-Decker Rye
New Jersey Sloppy Joe isn't a ground beef burger—it's triple-decker rye bread with meat, Swiss cheese, and coleslaw, plus Russian dressing. Learn the authentic Essex County method and family recipe.