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

无注意力预训练

Pretraining Without Attention

Cornell(康奈尔大学);DeepMind(深度思维)

Junxiong Wang, Jing Nathan Yan, Albert Gu, Alexander M. Rush

AI总结:

本文提出 BiGS 模型,结合状态空间模型与乘法门控架构,在不使用注意力的情况下匹配 BERT 在 GLUE 上的预训练准确率,并支持长序列预训练。

摘要:

Transformer 一直是自然语言处理预训练成功的关键。虽然其他架构也被使用,但下游准确率要么显著更差,要么需要注意力层才能匹配 GLUE 等标准基准。这项工作通过利用基于状态空间模型(SSMs)的序列路由的最新进展,探索了无注意力预训练。我们提出的模型,双向门控 SSM(BiGS),将 SSM 层与在简化序列建模架构中有效的乘法门控架构相结合。该模型学习不考虑成对交互的静态层。即便如此,BiGS 在 GLUE 上能够匹配 BERT 的预训练准确率,并且可以扩展到 4096 个 token 的长序列预训练,而无需近似。分析表明,虽然模型具有相似的平均准确率,但该方法在交互和句法表示方面与 BERT 具有不同的归纳偏置。本工作的所有模型可在 https://github.com/jxiw/BiGS 获取。

英文摘要:

Transformers have been essential to pretraining success in NLP. While other architectures have been used, downstream accuracy is either significantly worse, or requires attention layers to match standard benchmarks such as GLUE. This work explores pretraining without attention by using recent advances in sequence routing based on state-space models (SSMs). Our proposed model, Bidirectional Gated SSM (BiGS), combines SSM layers with a multiplicative gating architecture that has been effective in simplified sequence modeling architectures. The model learns static layers that do not consider pair-wise interactions. Even so, BiGS is able to match BERT pretraining accuracy on GLUE and can be extended to long-form pretraining of 4096 tokens without approximation. Analysis shows that while the models have similar average accuracy, the approach has different inductive biases than BERT in terms of interactions and syntactic representations. All models from this work are available at https://github.com/jxiw/BiGS.

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

↑