arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.05221cs.CLcs.AIcs.CVcs.LG
收藏

文本深度学习模型压缩研究综述

Compression of Deep Learning Models for Text: A Survey

Microsoft(微软)

Manish Gupta, Puneet Agrawal

摘要:

近年来,自然语言处理(NLP)和信息检索(IR)领域取得了巨大的进步,这要归功于深度学习模型,如递归神经网络(RNN),门控递归单元(GRU)和长短期记忆(LSTM)网络,以及基于Transformer [120]的模型,如来自Transformers的双向编码器表示(BERT)[24],生成预训练Transformer(GPT-2)[94],多任务深度神经网络(MT-DNN)[73],超长网络(XLNet)[134],文本到文本传输Transformer(T5)[95],T-NLG [98]和GShard [63]。但这些模型都是巨大的。另一方面,现实世界的应用程序需要小的模型大小,低响应时间和低计算功率瓦数。在这项调查中,我们讨论了六种不同类型的方法,(修剪、量化、知识蒸馏、参数共享、张量分解和基于次二次Transformer的方法)来压缩这些模型,使其能够部署在实际的工业NLP项目中。鉴于构建具有高效和小型模型的应用程序的迫切需求,以及最近在该领域发表的大量工作,我们相信,这份调查整理了过去几年“NLP的深度学习”社区所做的大量工作,并将其作为一个连贯的故事呈现出来。

英文摘要:

In recent years, the fields of natural language processing (NLP) and information retrieval (IR) have made tremendous progress thanksto deep learning models like Recurrent Neural Networks (RNNs), Gated Recurrent Units (GRUs) and Long Short-Term Memory (LSTMs)networks, and Transformer [120] based models like Bidirectional Encoder Representations from Transformers (BERT) [24], GenerativePre-training Transformer (GPT-2) [94], Multi-task Deep Neural Network (MT-DNN) [73], Extra-Long Network (XLNet) [134], Text-to-text transfer transformer (T5) [95], T-NLG [98] and GShard [63]. But these models are humongous in size. On the other hand,real world applications demand small model size, low response times and low computational power wattage. In this survey, wediscuss six different types of methods (Pruning, Quantization, Knowledge Distillation, Parameter Sharing, Tensor Decomposition, andSub-quadratic Transformer based methods) for compression of such models to enable their deployment in real industry NLP projects.Given the critical need of building applications with efficient and small models, and the large amount of recently published work inthis area, we believe that this survey organizes the plethora of work done by the 'deep learning for NLP' community in the past fewyears and presents it as a coherent story.

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

↑