Fastformer: Additive Attention Can Be All You Need
원문 초록
Transformer is a powerful model for text understanding. However, it is inefficient due to its quadratic complexity to input sequence length. Although there are many methods on Transformer acceleration, they are still either inefficient on long sequences or not effective enough. In this paper, we propose Fastformer, which is an efficient Transformer model based on additive attention. In Fastformer, instead of modeling the pair-wise interactions between tokens, we first use additive attention mechanism to model global contexts, and then further transform each token representation based on its interaction with global context representations. In this way, Fastformer can achieve effective context modeling with linear complexity. Extensive experiments on five datasets show that Fastformer is much more efficient than many existing Transformer models and can meanwhile achieve comparable or even better long text modeling performance.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
APE: Selective Fine-tuning with Acceptance Criteria for Language Model Adaptation
Making Language Model a Hierarchical Classifier and Generator
Is Diversity All You Need for Scalable Robotic Manipulation?
Robustness of Misinformation Classification Systems to Adversarial Examples Through BeamAttack
The Trilemma of Truth in Large Language Models
EAMamba: Efficient All-Around Vision State Space Model for Image Restoration
토론
이 논문과 연결된 포럼 글이 아직 없습니다.