Pith. sign in

REVIEW 3 cited by

Secure $k$-ish Nearest Neighbors Classifier

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1801.07301 v2 pith:4LUIM3RX submitted 2018-01-22 cs.DS cs.CGcs.CR

classification cs.DScs.CGcs.CR
keywords classifierneighborsnearestcoin-tossdatabaseimplementedk-ishprobability
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original 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 Nearest Neighbors (k-ish NN). The success probability of our solution depends on the distribution of the distances from q to S and increase as its statistical distance to Gaussian decrease. To implement our classifier we introduce the concept of double-blinded coin-toss. In a doubly-blinded coin-toss the success probability as well as the output of the toss are encrypted. We use this coin-toss to efficiently approximate the average and variance of the distances from q to S. We believe these two techniques may be of independent interest. When implemented with HE, the k-ish NN has a circuit depth that is independent of n, therefore making it scalable. We also implemented our classifier in an open source library based on HELib and tested it on a breast tumor database. The accuracy of our classifier (F_1 score) were 98\% and classification took less than 3 hours compared to (estimated) weeks in current HE implementations.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Lightweight, Practical Encrypted Face Recognition with GPU Support

    cs.CR 2026-04 accept novelty 6.0 of 10

    BSGS-Diagonal plus fused GPU CKKS kernels cut rotation keys ~91% and speed encrypted face matching up to ~21× versus HyDia, with sub-second queries up to ~32K templates.

  2. Lightweight, Practical Encrypted Face Recognition with GPU Support

    cs.CR 2026-04 unverdicted novelty 5.0 of 10

    BSGS-Diagonal and fused GPU kernels reduce memory and computation for FHE-based face recognition, enabling sub-second encrypted matching on databases up to 32K entries with 91% fewer rotation keys.

  3. Private, Verifiable, and Auditable AI Systems

    cs.CR 2025-08 conditional novelty 4.0 of 10

    A thesis demonstrating partial prototypes for zk-verifiable model evaluation and privacy-preserving retrieval, and arguing these pieces can compose into end-to-end auditable AI systems.

Pith tools