Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

SimpleTRON: Simple Transformer with O(N) Complexity (2111.15588v4)

Published 23 Nov 2021 in cs.CL

Abstract: In this paper, we propose that the dot product pairwise matching attention layer, which is widely used in Transformer-based models, is redundant for the model performance. Attention, in its original formulation, has to be seen rather as a human-level tool to explore and/or visualize relevancy scores in sequential data. However, the way how it is constructed leads to significant computational complexity. Instead, we present SimpleTRON: Simple Transformer with O(N) Complexity, a simple and fast alternative without any approximation that, unlike other approximation models, does not have any architecture-related overhead and therefore can be seen as a purely linear Transformer-like model. This architecture, to the best of our knowledge, outperforms existing sub-quadratic attention approximation models on several tasks from the Long-Range Arena benchmark. Moreover, we show, that SimpleTRON can benefit from weight transfer from pretrained LLMs, as its parameters can be fully transferable.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Uladzislau Yorsh (3 papers)
  2. Alexander Kovalenko (4 papers)
  3. Vojtěch Vančura (4 papers)
  4. Daniel Vašata (10 papers)
  5. Pavel Kordík (9 papers)
  6. Tomáš Mikolov (3 papers)
Citations (1)