arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.10220cs.LGstat.ML
收藏

I-BERT:Transformer到任意上下文的归纳推广

I-BERT: Inductive Generalization of Transformer to Arbitrary Context Lengths

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Hyoungwook Nam, Seung Byum Seo, Vikram Sharma Mailthody, Noor Michael, Lan Li

摘要:

近年来,自我注意已经成为自然语言处理的最先进的序列到序列模型的重要组成部分,由预训练的双向Transformer模型带到了最前沿。其有效性部分归因于其非顺序架构,这促进了可扩展性和并行性,但将模型限制为有限长度的输入。特别是,这样的架构在算法任务上表现不佳,模型必须学习一个过程,该过程可以泛化到训练中看不到的输入长度,这种能力我们称为归纳泛化。识别现有的自我注意机制的计算限制,我们提出了I-BERT,一个双向的Transformer,取代位置编码与递归层。该模型归纳概括了各种算法任务,其中最先进的Transformer模型无法做到这一点。我们还测试了我们的方法在掩蔽语言建模任务中的训练和验证集进行分区,以验证归纳泛化。在三个算法和两个自然语言归纳概括任务中,I-BERT在四个任务上取得了最先进的结果。

英文摘要:

Self-attention has emerged as a vital component of state-of-the-art sequence-to-sequence models for natural language processing in recent years, brought to the forefront by pre-trained bi-directional Transformer models. Its effectiveness is partly due to its non-sequential architecture, which promotes scalability and parallelism but limits the model to inputs of a bounded length. In particular, such architectures perform poorly on algorithmic tasks, where the model must learn a procedure which generalizes to input lengths unseen in training, a capability we refer to as inductive generalization. Identifying the computational limits of existing self-attention mechanisms, we propose I-BERT, a bi-directional Transformer that replaces positional encodings with a recurrent layer. The model inductively generalizes on a variety of algorithmic tasks where state-of-the-art Transformer models fail to do so. We also test our method on masked language modeling tasks where training and validation sets are partitioned to verify inductive generalization. Out of three algorithmic and two natural language inductive generalization tasks, I-BERT achieves state-of-the-art results on four tasks.

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

↑