English

Towards Practical Few-shot Federated NLP

Computation and Language 2023-08-22 v2 Machine Learning

Abstract

Transformer-based pre-trained models have emerged as the predominant solution for natural language processing (NLP). Fine-tuning such pre-trained models for downstream tasks often requires a considerable amount of labeled private data. In practice, private data is often distributed across heterogeneous mobile devices and may be prohibited from being uploaded. Moreover, well-curated labeled data is often scarce, presenting an additional challenge. To address these challenges, we first introduce a data generator for federated few-shot learning tasks, which encompasses the quantity and skewness of scarce labeled data in a realistic setting. Subsequently, we propose AUG-FedPrompt, a prompt-based federated learning system that exploits abundant unlabeled data for data augmentation. Our experiments indicate that AUG-FedPrompt can perform on par with full-set fine-tuning with a limited amount of labeled data. However, such competitive performance comes at a significant system cost.

Keywords

Cite

@article{arxiv.2212.00192,
  title  = {Towards Practical Few-shot Federated NLP},
  author = {Dongqi Cai and Yaozong Wu and Haitao Yuan and Shangguang Wang and Felix Xiaozhu Lin and Mengwei Xu},
  journal= {arXiv preprint arXiv:2212.00192},
  year   = {2023}
}

Comments

EuroSys23 workshop

R2 v1 2026-06-28T07:18:53.123Z