English

Achieving differential privacy for $k$-nearest neighbors based outlier detection by data partitioning

Machine Learning 2021-04-19 v1 Cryptography and Security Applications

Abstract

When applying outlier detection in settings where data is sensitive, mechanisms which guarantee the privacy of the underlying data are needed. The kk-nearest neighbors (kk-NN) algorithm is a simple and one of the most effective methods for outlier detection. So far, there have been no attempts made to develop a differentially private (ϵ\epsilon-DP) approach for kk-NN based outlier detection. Existing approaches often relax the notion of ϵ\epsilon-DP and employ other methods than kk-NN. We propose a method for kk-NN based outlier detection by separating the procedure into a fitting step on reference inlier data and then apply the outlier classifier to new data. We achieve ϵ\epsilon-DP for both the fitting algorithm and the outlier classifier with respect to the reference data by partitioning the dataset into a uniform grid, which yields low global sensitivity. Our approach yields nearly optimal performance on real-world data with varying dimensions when compared to the non-private versions of kk-NN.

Keywords

Cite

@article{arxiv.2104.07938,
  title  = {Achieving differential privacy for $k$-nearest neighbors based outlier detection by data partitioning},
  author = {Jens Rauch and Iyiola E. Olatunji and Megha Khosla},
  journal= {arXiv preprint arXiv:2104.07938},
  year   = {2021}
}
R2 v1 2026-06-24T01:13:58.720Z