Secure $k$-ish Nearest Neighbors Classifier
Hayim Shaul, Dan Feldman, Daniela Rus

TL;DR
This paper introduces an efficient, privacy-preserving k-ish nearest neighbors classifier using homomorphic encryption, which relaxes the traditional kNN constraints for improved scalability and practical accuracy in secure settings.
Contribution
It presents a novel secure kNN variant called k-ish NN that reduces communication and computation costs via probabilistic relaxation and new cryptographic techniques.
Findings
Achieved 98% F1 score on breast tumor data
Classification completed in less than 3 hours
Circuit depth is independent of dataset size n
Abstract
In machine learning, classifiers are used to predict a class of a given query based on an existing (classified) database. Given a database S of n d-dimensional points and a d-dimensional query q, the k-nearest neighbors (kNN) classifier assigns q with the majority class of its k nearest neighbors in S. In the secure version of kNN, S and q are owned by two different parties that do not want to share their data. Unfortunately, all known solutions for secure kNN either require a large communication complexity between the parties, or are very inefficient to run. In this work we present a classifier based on kNN, that can be implemented efficiently with homomorphic encryption (HE). The efficiency of our classifier comes from a relaxation we make on kNN, where we allow it to consider kappa nearest neighbors for kappa ~ k with some probability. We therefore call our classifier k-ish…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCryptography and Data Security · Privacy-Preserving Technologies in Data · Complexity and Algorithms in Graphs
