Pretraining Federated Text Models for Next Word Prediction

Joel Stremmel, Arjun Singh
5/11/2020
cs.LGstat.ML
federated

Official code: federated-learning-experiments/fl-text-models (17 stars, Jupyter Notebook, last commit 2023-03-25).

Abstract

Federated learning is a decentralized approach for training models on distributed devices, by summarizing local changes and sending aggregate parameters from local models to the cloud rather than the data itself. In this research we employ the idea of transfer learning to federated training for next word prediction (NWP) and conduct a number of experiments demonstrating enhancements to current baselines for which federated NWP models have been successful.

Show full abstract

Specifically, we compare federated training baselines from randomly initialized models to various combinations of pretraining approaches including pretrained word embeddings and whole model pretraining followed by federated fine tuning for NWP on a dataset of Stack Overflow posts. We realize lift in performance using pretrained embeddings without exacerbating the number of required training rounds or memory footprint. We also observe notable differences using centrally pretrained networks, especially depending on the datasets used. Our research offers effective, yet inexpensive, improvements to federated NWP and paves the way for more rigorous experimentation of transfer learning techniques for federated learning.

View on arXivView PDF

Code Implementations(1)

Federated learning with text DNNs for DATA 591 at University of Washington.

175Jupyter Notebook, PythonNov 17, 20193 years agoNOASSERTION

Similar Papers

Cite this paper

@article{stremmel2020pretraining,
  title  = {Pretraining Federated Text Models for Next Word Prediction},
  author = {Joel Stremmel and Arjun Singh},
  year   = {2020},
  eprint = {2005.04828},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.04828}
}

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

Discussion