"Private Prediction Strikes Back!'' Private Kernelized Nearest Neighbors with Individual Renyi Filter

Yuqing Zhu, Xuandong Zhao, Chuan Guo, Yu-Xiang Wang
6/12/2023
cs.LGcs.CR

No official code found. Best implementation: jeremy43/Ind_kNN (3 stars, Apache-2.0, last commit 2023-06-12).

Abstract

Most existing approaches of differentially private (DP) machine learning focus on private training. Despite its many advantages, private training lacks the flexibility in adapting to incremental changes to the training dataset such as deletion requests from exercising GDPR's right to be forgotten. We revisit a long-forgotten alternative, known as private prediction, and propose a new algorithm named Individual Kernelized Nearest Neighbor (Ind-KNN). Ind-KNN is easily updatable over dataset changes and it allows precise control of the Rényi DP at an individual user level -- a user's privacy loss is measured by the exact amount of her contribution to predictions; and a user is removed if her prescribed privacy budget runs out. Our results show that Ind-KNN consistently improves the accuracy over existing private prediction methods for a wide range of $ε$ on four vision and language tasks. We also illustrate several cases under which Ind-KNN is preferable over private training with NoisySGD.

View on arXivView PDF

Code Implementations(1)

jeremy43/Ind_kNNCommunity100%
Apache-2.0

The implementation of “Private Prediction Strikes Back!” Private Kernelized Nearest Neighbors with Individual Rényi Filter

30PythonJun 9, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhu2023private,
  title  = {"Private Prediction Strikes Back!'' Private Kernelized Nearest Neighbors with Individual Renyi Filter},
  author = {Yuqing Zhu and Xuandong Zhao and Chuan Guo and Yu-Xiang Wang},
  year   = {2023},
  eprint = {2306.07381},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.07381v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.07381.svg)](https://codeofpaper.com/paper/2306.07381)

Discussion