Now It Sounds Like You: Learning Personalized Vocabulary On Device

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Sid, Shenoy, Ashish, Chuang, Pierce, Nguyen, John
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917589063565312
author Wang, Sid
Shenoy, Ashish
Chuang, Pierce
Nguyen, John
author_facet Wang, Sid
Shenoy, Ashish
Chuang, Pierce
Nguyen, John
contents In recent years, Federated Learning (FL) has shown significant advancements in its ability to perform various natural language processing (NLP) tasks. This work focuses on applying personalized FL for on-device language modeling. Due to limitations of memory and latency, these models cannot support the complexity of sub-word tokenization or beam search decoding, resulting in the decision to deploy a closed-vocabulary language model. However, closed-vocabulary models are unable to handle out-of-vocabulary (OOV) words belonging to specific users. To address this issue, We propose a novel technique called "OOV expansion" that improves OOV coverage and increases model accuracy while minimizing the impact on memory and latency. This method introduces a personalized "OOV adapter" that effectively transfers knowledge from a central model and learns word embedding for personalized vocabulary. OOV expansion significantly outperforms standard FL personalization methods on a set of common FL benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2305_03584
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Now It Sounds Like You: Learning Personalized Vocabulary On Device
Wang, Sid
Shenoy, Ashish
Chuang, Pierce
Nguyen, John
Computation and Language
Artificial Intelligence
In recent years, Federated Learning (FL) has shown significant advancements in its ability to perform various natural language processing (NLP) tasks. This work focuses on applying personalized FL for on-device language modeling. Due to limitations of memory and latency, these models cannot support the complexity of sub-word tokenization or beam search decoding, resulting in the decision to deploy a closed-vocabulary language model. However, closed-vocabulary models are unable to handle out-of-vocabulary (OOV) words belonging to specific users. To address this issue, We propose a novel technique called "OOV expansion" that improves OOV coverage and increases model accuracy while minimizing the impact on memory and latency. This method introduces a personalized "OOV adapter" that effectively transfers knowledge from a central model and learns word embedding for personalized vocabulary. OOV expansion significantly outperforms standard FL personalization methods on a set of common FL benchmarks.
title Now It Sounds Like You: Learning Personalized Vocabulary On Device
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2305.03584