FedKC: Federated Knowledge Composition for Multilingual Natural Language Understanding
Authors:
Open Access
- 25 April 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1839-1850
Abstract
Multilingual natural language understanding, which aims to comprehend multilingual documents, is an important task. Existing efforts have been focusing on the analysis of centrally stored text data, but in real practice, multilingual data is usually distributed. Federated learning is a promising paradigm to solve this problem, which trains local models with decentralized data on local clients and aggregates local models on the central server to achieve a good global model. However, existing federated learning methods assume that data are independent and identically distributed (IID), and cannot handle multilingual data, that are usually non-IID with severely skewed distributions: First, multilingual data is stored on local client devices such that there are only monolingual or bilingual data stored on each client. This makes it difficult for local models to know the information of documents in other languages. Second, the distribution over different languages could be skewed. High resource language data is much more abundant than low resource language data. The model trained on such skewed data may focus more on high resource languages but fail to consider the key information of low resource languages. To solve the aforementioned challenges of multilingual federated NLU, we propose a plug-and-play knowledge composition (KC) module, called FedKC, which exchanges knowledge among clients without sharing raw data. Specifically, we propose an effective way to calculate a consistency loss defined based on the shared knowledge across clients, which enables models trained on different clients achieve similar predictions on similar data. Leveraging this consistency loss, joint training is thus conducted on distributed data respecting the privacy constraints. We also analyze the potential risk of FedKC and provide theoretical bound to show that it is difficult to recover data from the corrupted data. We conduct extensive experiments on three public multilingual datasets for three typical NLU tasks, including paraphrase identification, question answering matching, and news classification. The experiment results show that the proposed FedKC can outperform state-of-the-art baselines on the three datasets significantly.Keywords
Funding Information
- NSF (National Science Foundation) (IIS-1747614)
This publication has 28 references indexed in Scilit:
- A character-based convolutional neural network for language-agnostic Twitter sentiment analysis2017
- A Decomposable Attention Model for Natural Language Inference2016
- Attention-based LSTM for Aspect-level Sentiment Classification2016
- Cross-lingual Models of Word Embeddings: An Empirical Comparison2016
- Multi-Modal Representations for Improved Bilingual Lexicon Learning2016
- Sparse Bilingual Word Representations for Cross-lingual Lexical Entailment2016
- Learning to Compose Neural Networks for Question Answering2016
- Document Modeling with Gated Recurrent Neural Network for Sentiment Classification2015
- Convolutional Neural Network for Paraphrase Identification2015
- Algorithm AS 136: A K-Means Clustering AlgorithmJournal of the Royal Statistical Society Series C: Applied Statistics, 1979