arXiv · 2509.20503
Myosotis: structured computation for attention like layer
Abstract
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.
Explore related subjects
Keep this discovery
Evgenii Egorov, Hanno Ackermann, Markus Nagel, Hong Cai. 2025-09-24. Myosotis: structured computation for attention like layer. https://arxiv.org/abs/2509.20503
Cite the original work for its findings. Save a collection to share your selection of sources.