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

GroupBERT:具有高效分组结构的增强型Transformer架构

GroupBERT: Enhanced Transformer Architecture with Efficient Grouped Structures

Graphcore Research(Graphcore研究院);New College of the Humanities(新人文学院)

Ivan Chelombiev, Daniel Justus, Douglas Orr, Anastasia Dietrich, Frithjof Gressmann, Alexandros Koliousis, Carlo Luschi

摘要:

基于注意力的语言模型已经成为最先进的自然语言处理系统中的关键组件。然而,这些模型具有显著的计算要求,由于长的训练时间,密集的操作和大的参数计数。在这项工作中,我们展示了一组修改的Transformer层的结构,产生一个更有效的架构。首先,我们添加了一个卷积模块来补充自我注意力模块,将局部和全局交互的学习解耦。其次,我们依靠分组变换来降低密集前馈层和卷积的计算成本,同时保持模型的表达能力。我们将由此产生的架构语言表示学习,并证明其优越的性能相比,不同尺度的BERT模型。我们进一步强调其提高的效率,无论是在浮点运算(FLOPs)和时间到训练。

英文摘要:

Attention based language models have become a critical component in state-of-the-art natural language processing systems. However, these models have significant computational requirements, due to long training times, dense operations and large parameter count. In this work we demonstrate a set of modifications to the structure of a Transformer layer, producing a more efficient architecture. First, we add a convolutional module to complement the self-attention module, decoupling the learning of local and global interactions. Secondly, we rely on grouped transformations to reduce the computational cost of dense feed-forward layers and convolutions, while preserving the expressivity of the model. We apply the resulting architecture to language representation learning and demonstrate its superior performance compared to BERT models of different scales. We further highlight its improved efficiency, both in terms of floating-point operations (FLOPs) and time-to-train.

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

↑