Publication
AAAI 2022
Conference paper

Federated Nearest Neighbor Classification with a Colony of Fruit-Flies

Download paper

Abstract

The mathematical formalization of a neurological mechanism in the fruit-fly olfactory circuit as a locality sensitive hash (FlyHash) and bloom filter (FBF) has been recently proposed and “reprogrammed” for various learning tasks such as similarity search, outlier detection and text embeddings. We propose a novel reprogramming of this hash and bloom filter to emulate the canonical nearest neighbor classifier (NNC) in the challenging Federated Learning (FL) setup where training and test data are spread across parties and no data can leave their respective parties. Specifically, we utilize FlyHash and FBF to create the FlyNN classifier, and theoretically establish conditions where FlyNN matches NNC. We show how FlyNN is trained exactly in a FL setup with low communication overhead to produce FlyNNFL, and how it can be differentially private. Empirically, we demonstrate that (i) FlyNN matches NNC accuracy across 70 OpenML datasets, (ii) FlyNNFL training is highly scalable with low communication overhead, providing up to 8× speedup with 16 parties.

Date

30 Jun 2022

Publication

AAAI 2022