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

神经语言模型的进展与权衡

Progress and Tradeoffs in Neural Language Models

University of Waterloo(滑铁卢大学)

Raphael Tang, Jimmy Lin

摘要:

近年来,我们目睹了由神经网络驱动的技术在各种NLP任务中的巨大转变。毫无疑问,神经语言模型(NLM)已经大大减少了困惑。然而,这一进步是以性能方面的巨大成本为代价的,在推理延迟和能耗方面,这在移动设备上的部署中尤其令人担忧。本文研究了各种语言建模技术的质量-性能权衡,据我们所知,这是第一次进行这种观察。我们比较国家的最先进的NLM与“经典”Kneser-Ney(KN)LM的能源使用,延迟,困惑,和预测精度使用两个标准的基准。在Raspberry Pi上,我们发现延迟和能量使用的增加顺序对应于困惑的变化较小,而在桌面上的差异则不那么明显。

英文摘要:

In recent years, we have witnessed a dramatic shift towards techniques driven by neural networks for a variety of NLP tasks. Undoubtedly, neural language models (NLMs) have reduced perplexity by impressive amounts. This progress, however, comes at a substantial cost in performance, in terms of inference latency and energy consumption, which is particularly of concern in deployments on mobile devices. This paper, which examines the quality-performance tradeoff of various language modeling techniques, represents to our knowledge the first to make this observation. We compare state-of-the-art NLMs with "classic" Kneser-Ney (KN) LMs in terms of energy usage, latency, perplexity, and prediction accuracy using two standard benchmarks. On a Raspberry Pi, we find that orders of increase in latency and energy usage correspond to less change in perplexity, while the difference is much less pronounced on a desktop.

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

↑