English

Federated Nearest Neighbor Machine Translation

Computation and Language 2023-02-24 v1 Artificial Intelligence Machine Learning

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 kk-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.

Keywords

Cite

@article{arxiv.2302.12211,
  title  = {Federated Nearest Neighbor Machine Translation},
  author = {Yichao Du and Zhirui Zhang and Bingzhe Wu and Lemao Liu and Tong Xu and Enhong Chen},
  journal= {arXiv preprint arXiv:2302.12211},
  year   = {2023}
}

Comments

ICLR 2023

R2 v1 2026-06-28T08:48:11.995Z