arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.05223cs.LGcs.CL
收藏

端到端二值化神经网络的文本分类

End to End Binarized Neural Networks for Text Classification

IIT Gandhinagar(甘地纳格尔印度理工学院);Delhi Technological University(德里技术大学);NeuralSpace;University of California, Berkeley(加州大学伯克利分校);Research Institutes of Sweden(瑞典研究机构)

Harshil Jain, Akshat Agarwal, Kumar Shridhar, Denis Kleyko

摘要:

深度神经网络在几乎所有自然语言处理任务中都表现出了卓越的性能,然而,它们日益增加的复杂性引起了人们的担忧。特别是,这些网络需要在计算硬件上花费很高的费用,并且训练预算是许多人关心的问题。即使对于经过训练的网络,推理阶段对于资源受限的设备也可能过于苛刻,从而限制了其适用性。最先进的Transformer模型就是一个生动的例子。简化网络执行的计算是放松复杂性要求的一种方式。在本文中,我们提出了一个端到端的二进制神经网络架构的意图分类任务。为了充分利用端到端二进制化的潜力,输入表示(令牌统计的向量嵌入)和分类器都被二进制化。我们证明了这种架构在三个数据集上的短文本的意图分类和较大数据集的文本分类上的效率。所提出的架构在标准意图分类数据集上实现了与最先进的结果相当的结果,同时利用了约20-40%的内存和训练时间。此外,架构的各个组件,例如文档的二进制化向量嵌入或二进制化分类器,可以单独使用,不一定是完全二进制的架构。

英文摘要:

Deep neural networks have demonstrated their superior performance in almost every Natural Language Processing task, however, their increasing complexity raises concerns. In particular, these networks require high expenses on computational hardware, and training budget is a concern for many. Even for a trained network, the inference phase can be too demanding for resource-constrained devices, thus limiting its applicability. The state-of-the-art transformer models are a vivid example. Simplifying the computations performed by a network is one way of relaxing the complexity requirements. In this paper, we propose an end to end binarized neural network architecture for the intent classification task. In order to fully utilize the potential of end to end binarization, both input representations (vector embeddings of tokens statistics) and the classifier are binarized. We demonstrate the efficiency of such architecture on the intent classification of short texts over three datasets and for text classification with a larger dataset. The proposed architecture achieves comparable to the state-of-the-art results on standard intent classification datasets while utilizing ~ 20-40% lesser memory and training time. Furthermore, the individual components of the architecture, such as binarized vector embeddings of documents or binarized classifiers, can be used separately with not necessarily fully binary architectures.

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

↑