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

学习多尺度Transformer模型生成序列

Learning Multiscale Transformer Models for Sequence Generation

Northeastern University(东北大学);NiuTrans Research(小牛翻译研究院)

Bei Li, Tong Zheng, Yi Jing, Chengbo Jiao, Tong Xiao, Jingbo Zhu

摘要:

多尺度特征层次在计算机视觉领域取得了成功。这进一步促使研究人员设计用于自然语言处理的多尺度Transformer,主要基于自我注意力机制。例如,限制头部的感受野或通过卷积提取局部细粒度特征。然而,大多数现有的工作直接建模的局部特征,而忽略了词边界信息。这导致了冗余和模糊的注意力分布,缺乏可解释性。在这项工作中,我们定义了这些规模在不同的语言单位,包括子词,词和短语。我们建立了一个多尺度Transformer模型,通过建立基于词边界信息和短语级先验知识的尺度之间的关系。在两个序列生成任务上评估了所提出的\textbf{U}初始化\textbf{M} ulti \textbf{S}规模\textbf{T}转换器,即\textsc{Umst}。值得注意的是,它在几个测试集上产生了一致的性能增益,而没有牺牲效率。

英文摘要:

Multiscale feature hierarchies have been witnessed the success in the computer vision area. This further motivates researchers to design multiscale Transformer for natural language processing, mostly based on the self-attention mechanism. For example, restricting the receptive field across heads or extracting local fine-grained features via convolutions. However, most of existing works directly modeled local features but ignored the word-boundary information. This results in redundant and ambiguous attention distributions, which lacks of interpretability. In this work, we define those scales in different linguistic units, including sub-words, words and phrases. We built a multiscale Transformer model by establishing relationships among scales based on word-boundary information and phrase-level prior knowledge. The proposed \textbf{U}niversal \textbf{M}ulti\textbf{S}cale \textbf{T}ransformer, namely \textsc{Umst}, was evaluated on two sequence generation tasks. Notably, it yielded consistent performance gains over the strong baseline on several test sets without sacrificing the efficiency.

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

↑