potentialpaper

On Differentially Private String Distances

Jerry Yao-Chieh Hu, Erzhi Liu, Han Liu, Zhao Song, Maojiang Su, Lichen Zhang

ICLR 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Given a database of bit strings A1,…,Am∈{0,1}nA_1,\ldots,A_m\in \{0,1\}^n, a fundamental data structure task is to estimate the distances between a given query B∈{0,1}nB\in \{0,1\}^n with all the strings in the database. In addition, one might further want to ensure the integrity of the database by releasing these distance statistics in a secure manner. In this work, we propose differentially private (DP) data structures for this type of tasks, with a focus on Hamming and edit distance. On top of the strong privacy guarantees, our data structures are also time- and space-efficient. In particular, our data structure is ϵ\epsilon-DP against any sequence of queries of arbitrary length, and for any query BB such that the maximum distance to any string in the database is at most kk, we output mm distance estimates. Moreover,

  • For Hamming distance, our data structure answers any query in O~(mk+n)\widetilde O(mk+n) time and each estimate deviates from the true distance by at most O~(k/eϵ/log⁡k)\widetilde O(k/e^{\epsilon/\log k});
  • For edit distance, our data structure answers any query in O~(mk2+n)\widetilde O(mk^2+n) time and each estimate deviates from the true distance by at most O~(k/eϵ/(log⁡klog⁡n))\widetilde O(k/e^{\epsilon/(\log k \log n)}).

For moderate kk, both data structures support sublinear query operations in the combined size of the query and its output. We obtain these results via a novel adaptation of the randomized response technique as a bit flipping procedure, applied to the sketched strings.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
26 Sep 2024ICLR 2025submittedICLR 2025Withdrawn—[1]
9 Sep 2025ICLR 2026submittedICLR 2026Withdrawn—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…