Please use this identifier to cite or link to this item:
http://hdl.handle.net/10397/113671
Title: | MetaLA : unified optimal linear approximation to softmax attention map | Authors: | Chou, Y Yao, M Wang, K Pan, Y Zhu, RJ Wu, J Zhong, Y Qiao, Y Xu, B Li, G |
Issue Date: | 2024 | Source: | Advances in neural information processing systems, 2024, v. 37, https://nips.cc/virtual/2024/poster/94714 | Abstract: | Various linear complexity models, such as Linear Transformer (LinFormer), State Space Model (SSM), and Linear RNN (LinRNN), have been proposed to replace the conventional softmax attention in Transformer structures. However, the optimal design of these linear models is still an open question. In this work, we attempt to answer this question by finding the best linear approximation to softmax attention from a theoretical perspective. We start by unifying existing linear complexity models as the linear attention form and then identify three conditions for the optimal linear attention design: (1) Dynamic memory ability; (2) Static approximation ability; (3) Least parameter approximation. We find that none of the current linear models meet all three conditions, resulting in suboptimal performance. Instead, we propose Meta Linear Attention (MetaLA) as a solution that satisfies these conditions. Our experiments on Multi-Query Associative Recall (MQAR) task, language modeling, image classification, and Long-Range Arena (LRA) benchmark demonstrate that MetaLA is more effective than the existing linear models. | Publisher: | Neural Information Processing Systems Foundation, Inc. (NeurIPS) | Journal: | Advances in neural information processing systems | ISBN: | 979-8-3313-1438-5 | ISSN: | 1049-5258 | Description: | 38th Conference on Neural Information Processing Systems (NeurIPS 2024), 10-15 December 2024, Vancouver, Canada | Rights: | Posted with permission of the author. The following publication Chou, Y., Yao, M., Wang, K., Pan, Y., Zhu, R. J., Wu, J., ... & Li, G. (2024). MetaLA: Unified optimal linear approximation to softmax attention map. Advances in Neural Information Processing Systems, 37 is available at https://papers.nips.cc/paper_files/paper/2024/hash/8329a45669017898bb0cc09d27f8d2bb-Abstract-Conference.html. |
Appears in Collections: | Conference Paper |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
575_MetaLA_Unified_Optimal_Lin.pdf | Pre-Published version | 1.13 MB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.