cs.LGNov 23, 2026

Matching Under Metric Privacy

Authors: Hongyi B. Hu, Dung Nguyen, M. Amin Rahimian

Organizations: University of Pittsburgh · Haverford College · University of Texas at San Antonio

Abstract

We study how to represent and randomize points in dd-dimensional Euclidean space to obtain accurate bipartite matchings under metric privacy. Given nn private and nn public points, we analyze local mechanisms that randomize each private point or its distances to the public points. Using the public points' affine span, we construct a smaller representation that preserves all matching costs. When a trusted server receives the private points, we establish privacy and utility guarantees for Gumbel matching, which randomizes edge costs and releases only the assignment. Through upper bounds and worst-case constructions, we establish the tight rate Θ ⁣(nmin⁡{d,log⁡n}/ε)Θ\!\left(n\min\{d,\log n\}/\varepsilon\right) for expected cost above the nonprivate optimum. Benchmark experiments support d≈log⁡nd\approx\log n as a practical guide to the transition between directly randomizing point coordinates and using Gumbel matching. Extensions to squared Euclidean costs enable private nonparametric two-sample hypothesis testing. These results show how the application's trust model guides representation and dimension choices for better utility: under local privacy, low-dimensional point representations reduce excess cost, while under central privacy, distance representations achieve the optimal rate even in high dimension.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 21, 2026

Differentially Private Synthetic Data via Generalized Moment Matching

We study (ε,δ)(\varepsilon,δ)-differentially private synthetic data for arbitrary databases of nn records in [−1,1]d[-1,1]^d under a specified integral probability metric (IPM). We introduce generalized moment matching, which estimates moments privately, fits a probability measure, and samples synthetic records. A general error theorem applies when moment error controls the target IPM. This framework extends Chebyshev moment matching for 11-Wasserstein distance and smooth queries. We apply the framework to maximum mean discrepancy with Matern and Laplace kernels and a two-layer ReLU neural tangent kernel. We also obtain guarantees for sliced Wasserstein-11 and the IPM induced by norm-bounded ReLU networks. With sufficiently many synthetic records,these rates are minimax optimal up to logarithmic factors for fixed dimension.
Sep 27, 2026

Geometry-Adaptive Mechanisms for Private Synthetic Data

Generating differentially private synthetic data with meaningful Wasserstein utility guarantees is challenging in high dimensions. For datasets of size nn on [0,1]d[0,1]^d with d≥2d\ge2, existing pure ε\varepsilon-differentially private mechanisms achieve expected 11-Wasserstein error of order (εn)−1/d(\varepsilon n)^{-1/d}, reflecting the curse of dimensionality. While this rate is optimal in the worst case, it can be overly pessimistic when the data are supported on a lower-dimensional set. We formalize this through a multiscale packing-growth dimension kk, which captures the geometric complexity of the support via the growth of packing numbers across scales. We propose Adaptive Pruned-PMM, a pure ε\varepsilon-differentially private mechanism that combines private depth selection with our pruned variant of the Private Measure Mechanism (PMM) of He et al.\ (2023). The mechanism supports deeper, geometry-adapted hierarchies with expected running time O ⁣(d(n+d)log⁡(εn))O\!\left(d(n+d)\log(\varepsilon n)\right), which is near-linear in nn for fixed dimension and privacy budget. Under an external multiscale packing-growth condition with dimension kk, we show that, for fixed positive privacy budgets and fixed geometry, the expected 11-Wasserstein error is of order (εn)−1/k(\varepsilon n)^{-1/k} for k>1k>1 as nn grows. We also prove a lower bound under a corresponding internal packing-growth condition, showing that the exponent 1/k1/k is sharp within this framework.
Jul 27, 2026

ScoreShield: Differentially Private Release of Similarity Scores

A growing number of applications, such as biometrics and retrieval-augmented generation (RAG), rely on cosine similarity scores computed between vector embeddings of text, images, or audio. These systems return similarity scores through their APIs for ranking and verification. However, such releases can leak information about individual records and enable membership inference attacks. While differential privacy (DP) provides a principled metric for quantifying attack risks, naïve application of DP mechanisms---such as adding i.i.d. Gaussian noise to vector entries---leads to excessive distortion (i.e., low utility) at a given privacy constraint that scales poorly with the number of released scores. We propose ScoreShield, a perturb-then-project mechanism that adds Gaussian noise calibrated to global sensitivity of the chosen score release regime and then projects the result onto the feasibility set of valid cosine objects. ScoreShield satisfies (ε,δ)(\varepsilon,δ)-DP for releasing similarity score vectors and Gram matrices. We provide utility guarantees for the exact Frobenius metric projection used in the risk analysis, and prove convergence to feasibility for the practical averaged alternating-projection solver used for large-scale Gram releases. For full pairwise cosine Gram release under record-level replacement adjacency, the exact-projection bound improves the nn-dependence of squared Frobenius risk from Θ(n3)Θ(n^3) for the naïve Gaussian baseline to O(n2)\mathcal{O}(n^2) for fixed privacy parameters, with sharper local bounds at low-rank Grams. We evaluate the mechanism across RAG, face recognition, semantic retrieval, image similarity, and recommender-system tasks.