English

Efficiently Computing Similarities to Private Datasets

Cryptography and Security 2024-03-15 v1 Data Structures and Algorithms Machine Learning

Abstract

Many methods in differentially private model training rely on computing the similarity between a query point (such as public or synthetic data) and private data. We abstract out this common subroutine and study the following fundamental algorithmic problem: Given a similarity function ff and a large high-dimensional private dataset XRdX \subset \mathbb{R}^d, output a differentially private (DP) data structure which approximates xXf(x,y)\sum_{x \in X} f(x,y) for any query yy. We consider the cases where ff is a kernel function, such as f(x,y)=exy22/σ2f(x,y) = e^{-\|x-y\|_2^2/\sigma^2} (also known as DP kernel density estimation), or a distance function such as f(x,y)=xy2f(x,y) = \|x-y\|_2, among others. Our theoretical results improve upon prior work and give better privacy-utility trade-offs as well as faster query times for a wide range of kernels and distance functions. The unifying approach behind our results is leveraging `low-dimensional structures' present in the specific functions ff that we study, using tools such as provable dimensionality reduction, approximation theory, and one-dimensional decomposition of the functions. Our algorithms empirically exhibit improved query times and accuracy over prior state of the art. We also present an application to DP classification. Our experiments demonstrate that the simple methodology of classifying based on average similarity is orders of magnitude faster than prior DP-SGD based approaches for comparable accuracy.

Keywords

Cite

@article{arxiv.2403.08917,
  title  = {Efficiently Computing Similarities to Private Datasets},
  author = {Arturs Backurs and Zinan Lin and Sepideh Mahabadi and Sandeep Silwal and Jakub Tarnawski},
  journal= {arXiv preprint arXiv:2403.08917},
  year   = {2024}
}

Comments

To appear at ICLR 2024

R2 v1 2026-06-28T15:19:20.826Z