# On Differential Private ℓ1, ℓ2 and ℓpp Distance Queries

*Erzhi Liu, Jerry Yao-Chieh Hu, Alex Reneau, Zhao Song, Han Liu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151936) · [OpenReview](https://openreview.net/forum?id=WifaN44w16) · [Open on the map](../papers.html#p151936)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Coresets and Efficient Summarization for Clustering](../pgroup/76.md) · Type: new method · Keywords: differential privacy, kernel density estimation, distance queries, private data structures, balanced binary tree

Areas: [Privacy & Federated Learning](../areas/privacy-federated.md) › Privacy Defenses and Attacks › Private Subspace Estimation

## Summary
We present a refined differentially private data structure for kernel density estimation with ℓ1, ℓ2 and ℓpp kernels that improves query efficiency and privacy-utility tradeoff over prior work.

## Explained to a 5-year-old
We have a secret way to count how many times something is similar to a new point without revealing the original data. We build a special tree that helps answer these questions faster and more accurately. The tree splits each answer into small pieces, using distances and counts. This makes the secret calculations quicker and more precise. It helps people use data safely while keeping privacy.

## Explained to a 5-year-old, longer
We have a bunch of secret numbers that we want to keep private. We want to answer questions like "how similar are these secret numbers to a new number?" without showing the secret numbers. To do this, we build a special tree that stores the secret numbers in a clever way. The tree helps us find the answer by looking at small pieces of information instead of the whole list. Each piece of the answer is made by combining how far apart numbers are and how many numbers there are. This makes the answer faster to compute because we only need to look at a few parts. The answer is very accurate, almost exactly what it should be. The method also reduces the amount of error that can happen when we guess the answer. All of this works while keeping the original data completely private. The tree uses the same amount of memory as before, so it doesn't need extra space. It also takes the same time to set up as earlier methods. This new way helps people use data safely in many fields like health, finance, and research.

## For a technical reader
The paper addresses the problem of answering similarity queries over a private dataset while preserving differential privacy. It proposes a balanced binary tree construction that partitions each query result into logarithmic-sized components, each combining distance and count information. This design reduces query time from O(α-1 d log2 n) to O(α-1 d log n) and improves the approximation guarantee from (1+α) to exact (1+α) while lowering the error bound. The preprocessing and space requirements remain O(nd), matching prior work, which makes deployment straightforward. The new tree structure can be integrated into existing privacy-preserving systems to achieve faster and more accurate queries.

## Problem
Given a private dataset X and a similarity function f, we need to preprocess X so that for any query point y we can approximate the sum of f(x,y) over X in a differentially private manner.

## Method
The approach builds a balanced binary search tree that partitions each query answer into log n components, each derived from distance and counting values, while preserving O(nd) preprocessing and improving query time, approximation ratio, and error.

## Results
The approach reduces query time by a factor of α-1 log n, achieves exact (1+α) approximation (improving from α to 1), and lowers the error dependence by α-0.5 compared to prior work.

## Contributions
We propose a new tree construction that yields better query efficiency, tighter approximation, and lower error while using the same preprocessing resources as before.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151936)
