arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03584cs.CLcs.AI
收藏

现在听起来像你:在设备上学习个性化词汇

Now It Sounds Like You: Learning Personalized Vocabulary On Device

Meta Reality Labs(元现实实验室);FAIR, Meta(元研究院)

Sid Wang, Ashish Shenoy, Pierce Chuang, John Nguyen

AI总结:

本文提出一种名为OOV expansion的新技术,通过引入个性化OOV adapter从中心模型转移知识并学习个性化词汇嵌入,有效解决了设备端闭集词汇语言模型无法处理用户特定词表外词汇的问题,在最小化内存和延迟影响下显著提升了模型准确率。

摘要:

近年来,联邦学习(FL)在执行各种自然语言处理(NLP)任务的能力上展现出显著进步。本工作专注于将个性化FL应用于设备端语言建模。由于内存和延迟的限制,这些模型无法支持子词分词或束搜索解码的复杂性,因此决定部署闭集词汇语言模型。然而,闭集词汇模型无法处理特定用户的词表外(OOV)词汇。为解决此问题,我们提出一种名为“OOV expansion”的新技术,该技术能在最小化对内存和延迟影响的同时,提升OOV覆盖率并提高模型准确率。该方法引入了个性化的“OOV adapter”,能有效从中心模型转移知识,并学习个性化词汇的词嵌入。在一组常见的FL基准测试上,OOV expansion显著优于标准FL个性化方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑