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

位置嵌入学习什么?预训练语言模型位置编码的实证研究

What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encoding

National Taiwan University(台湾大学)

Yu-An Wang, Yun-Nung Chen

摘要:

近年来,预先训练的Transformers已经主导了大多数NLP基准测试任务。许多经过预先训练的Transformers变体不断爆发,大多数都专注于设计不同的预先训练目标或自我注意力的变体。在自我注意力机制中嵌入位置信息也是Transformers中不可或缺的因素,但经常被随意讨论。因此,本文对主流的预训练Transformers的职位嵌入进行了实证研究,主要关注两个问题:1)职位嵌入是否真的学习了职位的含义?2)这些不同的学习位置嵌入如何影响NLP任务的Transformers?本文旨在通过对大多数标志性NLP任务的特征级分析和实证实验,为预训练位置嵌入提供新的见解。相信我们的实验结果可以指导未来的工作,选择合适的位置编码功能,为特定的任务给定的应用属性。

英文摘要:

In recent years, pre-trained Transformers have dominated the majority of NLP benchmark tasks. Many variants of pre-trained Transformers have kept breaking out, and most focus on designing different pre-training objectives or variants of self-attention. Embedding the position information in the self-attention mechanism is also an indispensable factor in Transformers however is often discussed at will. Therefore, this paper carries out an empirical study on position embeddings of mainstream pre-trained Transformers, which mainly focuses on two questions: 1) Do position embeddings really learn the meaning of positions? 2) How do these different learned position embeddings affect Transformers for NLP tasks? This paper focuses on providing a new insight of pre-trained position embeddings through feature-level analysis and empirical experiments on most of iconic NLP tasks. It is believed that our experimental results can guide the future work to choose the suitable positional encoding function for specific tasks given the application property.

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

↑