Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Protecting K-Nearest Neighbor Queries from Location Inference Attacks

About

The k-nearest neighbor query (kNNQ) is a core component of modern location-based services (LBS) and has been widely adopted in popular features such as ``people nearby''. However, its potential privacy risks have long been overlooked. In this work, we present the first two attacks against kNNQ, namely the geometric intersection location inference attack (GI-LIA) and the zero-order optimization location inference attack (ZO-LIA), revealing the inherent location privacy risks posed by kNNQ. To mitigate these privacy risks, we further propose DPRS, a differential privacy framework for kNNQ protection. The core idea of DPRS is to incorporate a rejection sampling mechanism within a constrained perturbation interval, thereby mitigating the distance distortion caused by excessive noise injection. In addition, we design a private interval construction algorithm to construct the perturbation interval, enabling the rejection sampling mechanism to achieve a more favorable trade-off between privacy protection and query utility in kNNQ. Extensive experiments on real-world spatial datasets demonstrate that DPRS outperforms existing methods in both privacy protection and query utility. Our code is available at https://github.com/reanatom/DPRS.

Zhiyu Sun, Jie Fu, Xinpeng Ling, Huifa Li, Zhili Chen• 2026

Related benchmarks

TaskDatasetResultRank
10-NNBrightkite (test)
Recall48.9
16
10-NNGowalla (test)
Recall48.2
16
10-NNGaussian synthetic (test)
Recall67.2
16
10-NNBeta synthetic (test)
Recall62.3
16
Location inference attackBrightkite
Distance25.74
6
Location inference attackGowalla
Distance20.59
6
Location inference attackGAUSSIAN
Distance18.34
6
Location inference attackbeta
Distance39.96
6
Showing 8 of 8 rows

Other info

Follow for update