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

TopicBERT用于节能文档分类

TopicBERT for Energy Efficient Document Classification

DRIMCo GmbH(DRIMCo有限公司);CIS, University of Munich (LMU)(慕尼黑大学计算语言学系);Siemens AG(西门子股份公司);Stanford University(斯坦福大学)

Yatin Chaudhary, Pankaj Gupta, Khushbu Saxena, Vivek Kulkarni, Thomas Runkler, Hinrich Schütze

摘要:

先前的研究指出,BERT的计算成本随着序列长度呈二次方增长,从而导致更长的训练时间、更高的GPU内存限制和碳排放。虽然最近的工作试图在预训练中解决这些可扩展性问题,但这些问题在微调中也很突出,特别是对于文档分类等长序列任务。因此,我们的工作重点是优化计算成本的微调文档分类。我们实现了这一点的主题和语言模型在一个统一的框架,名为TopicBERT的互补学习。这大大减少了自我注意操作的数量-这是一个主要的性能瓶颈。因此,我们的模型实现了1.4倍($\sim40\%$)的加速,同时在5个数据集上保持$99.9\%$性能的同时减少了$CO_2$发射的$\sim40\%$。

英文摘要:

Prior research notes that BERT's computational cost grows quadratically with sequence length thus leading to longer training times, higher GPU memory constraints and carbon emissions. While recent work seeks to address these scalability issues at pre-training, these issues are also prominent in fine-tuning especially for long sequence tasks like document classification. Our work thus focuses on optimizing the computational cost of fine-tuning for document classification. We achieve this by complementary learning of both topic and language models in a unified framework, named TopicBERT. This significantly reduces the number of self-attention operations - a main performance bottleneck. Consequently, our model achieves a 1.4x ($\sim40\%$) speedup with $\sim40\%$ reduction in $CO_2$ emission while retaining $99.9\%$ performance over 5 datasets.

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

↑