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

ChordMixer:一种可扩展的、适用于不同长度序列的神经注意力模型

ChordMixer: A Scalable Neural Attention Model for Sequences with Different Lengths

Norwegian University of Science and Technology(挪威科技大学)

Ruslan Khalitov, Tong Yu, Lei Cheng, Zhirong Yang

AI总结:

提出ChordMixer,一种可扩展的神经注意力模型,通过位置旋转层和MLP层处理变长序列,在长序列任务上显著优于现有模型。

摘要:

在许多领域中,序列数据自然具有不同的长度,其中一些序列非常长。作为一种重要的建模工具,神经注意力应能捕捉此类序列中的长距离交互。然而,大多数现有的神经注意力模型仅能处理短序列,或者必须采用分块或填充来强制输入长度恒定。在此,我们提出一个简单的神经网络构建块,称为ChordMixer,它能够对具有可变长度的长序列进行注意力建模。每个ChordMixer块由一个无可学习参数的位置旋转层和一个逐元素的MLP层组成。重复应用这样的块形成有效的网络骨干,将输入信号向学习目标混合。我们在合成加法问题、长文档分类和基于DNA序列的分类学分类上测试了ChordMixer。实验结果表明,我们的方法在性能上大幅优于其他神经注意力模型。

英文摘要:

Sequential data naturally have different lengths in many domains, with some very long sequences. As an important modeling tool, neural attention should capture long-range interaction in such sequences. However, most existing neural attention models admit only short sequences, or they have to employ chunking or padding to enforce a constant input length. Here we propose a simple neural network building block called ChordMixer which can model the attention for long sequences with variable lengths. Each ChordMixer block consists of a position-wise rotation layer without learnable parameters and an element-wise MLP layer. Repeatedly applying such blocks forms an effective network backbone that mixes the input signals towards the learning targets. We have tested ChordMixer on the synthetic adding problem, long document classification, and DNA sequence-based taxonomy classification. The experiment results show that our method substantially outperforms other neural attention models.

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

↑