Federated Nearest Neighbor Machine Translation

Yichao Du, Zhirui Zhang, Bingzhe Wu, Lemao Liu, Tong Xu +1 more
2/23/2023
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

To protect user privacy and meet legal regulations, federated learning (FL) is attracting significant attention. Training neural machine translation (NMT) models with traditional FL algorithm (e.g., FedAvg) typically relies on multi-round model-based interactions. However, it is impractical and inefficient for machine translation tasks due to the vast communication overheads and heavy synchronization. In this paper, we propose a novel federated nearest neighbor (FedNN) machine translation framework that, instead of multi-round model-based interactions, leverages one-round memorization-based interaction to share knowledge across different clients to build low-overhead privacy-preserving systems. The whole approach equips the public NMT model trained on large-scale accessible data with a $k$-nearest-neighbor ($$kNN) classifier and integrates the external datastore constructed by private text data in all clients to form the final FL model. A two-phase datastore encryption strategy is introduced to achieve privacy-preserving during this process. Extensive experiments show that FedNN significantly reduces computational and communication costs compared with FedAvg, while maintaining promising performance in different FL settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{du2023federated,
  title  = {Federated Nearest Neighbor Machine Translation},
  author = {Yichao Du and Zhirui Zhang and Bingzhe Wu and Lemao Liu and Tong Xu and Enhong Chen},
  year   = {2023},
  eprint = {2302.12211},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.12211v1},
  journal = {ICLR 2023 2023}
}

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/2302.12211.svg)](https://codeofpaper.com/paper/2302.12211)

Discussion