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

Myosotis:面向注意力层的结构化计算

Myosotis: structured computation for attention like layer

University of Amsterdam(阿姆斯特丹大学);Qualcomm AI Research(高通人工智能研究)

Evgenii Egorov, Hanno Ackermann, Markus Nagel, Hong Cai

AI总结:

针对注意力层计算随序列长度二次增长的问题,提出结合稀疏性与循环依赖优点的算法,基于树结构矩阵高效求逆实现结构化计算。

摘要:

注意力层应用一种序列到序列的映射,其参数取决于输入元素的两两交互。然而,在没有任何结构假设的情况下,内存和计算量随序列长度呈二次方增长。缓解这一问题的两种主要方式是:通过忽略足够多的两两交互来引入稀疏性,或者像SSM那样沿两两交互引入循环依赖。尽管这两种方法都合理,但它们都有缺点。我们提出了一种新颖的算法,结合了这两种概念的优点。我们的想法基于树结构矩阵的高效求逆。

英文摘要:

Attention layers apply a sequence-to-sequence mapping whose parameters depend on the pairwise interactions of the input elements. However, without any structural assumptions, memory and compute scale quadratically with the sequence length. The two main ways to mitigate this are to introduce sparsity by ignoring a sufficient amount of pairwise interactions or to introduce recurrent dependence along them, as SSM does. Although both approaches are reasonable, they both have disadvantages. We propose a novel algorithm that combines the advantages of both concepts. Our idea is based on the efficient inversion of tree-structured matrices.

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

↑