arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.07219cs.CL
收藏

基于错误驱动的虚拟助手语言模型剪枝

Error-driven Pruning of Language Models for Virtual Assistants

Apple(苹果公司)

Sashank Gondala, Lyan Verwimp, Ernest Pusateri, Manos Tsagkias, Christophe Van Gysel

摘要:

用于虚拟助理(VA)的语言模型(LM)通常在大量数据上训练,导致过大的模型,其需要过多的存储器和/或不能用于实时地服务于用户请求。熵修剪导致较小的模型,但在用户请求分布的尾部的有效性显着退化。我们自定义熵修剪允许一个保持列表的不频繁的n-gram,需要一个更宽松的修剪阈值,并提出了三种方法来构建保持列表。每种方法在LM大小、ASR精度和构建保持列表的成本方面都有其自身的优点和缺点。我们最好的LM在目标测试集上提供了8%的平均字出错率(WER)降低,但比基线大3倍。我们还提出了歧视性的方法,以减少LM的大小,同时保留最大的LM实现的WER增益的大部分。

英文摘要:

Language models (LMs) for virtual assistants (VAs) are typically trained on large amounts of data, resulting in prohibitively large models which require excessive memory and/or cannot be used to serve user requests in real-time. Entropy pruning results in smaller models but with significant degradation of effectiveness in the tail of the user request distribution. We customize entropy pruning by allowing for a keep list of infrequent n-grams that require a more relaxed pruning threshold, and propose three methods to construct the keep list. Each method has its own advantages and disadvantages with respect to LM size, ASR accuracy and cost of constructing the keep list. Our best LM gives 8% average Word Error Rate (WER) reduction on a targeted test set, but is 3 times larger than the baseline. We also propose discriminative methods to reduce the size of the LM while retaining the majority of the WER gains achieved by the largest LM.

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

↑