paper-with-me

홈 › Papers

Revisiting Linformer with a modified self-attention with linear complexity

2020-12-16 · Madhusudan Verma

Although Transformer models such as Google's BERT and OpenAI's GPT-3 are successful in many natural language processing tasks, training and deploying these models are costly and inefficient.Even if pre-trained models are used, deploying these models still remained a challenge due to their large size. Apart from deployment, these models take higher time during inference restricting user-friendliness. The main bottleneck is self-attention which uses quadratic time and space with respect to the sequence length. In order to reduce the quadratic time complexity of the self-attention mechanism, Linformer by Facebook's AI research team was introduced where they showed that the self-attention mechanism can be approximated by a low-rank matrix and exploiting this finding, a new method for self-attention with linear time and space complexity was proposed by them. In the Linformer, the time complexity depends on the projection mapping dimension which acts as a hyperparameter and affects the performance of the model, tuning this hyperparameter can be time-consuming. In this paper, I proposed an alternative method for self-attention with linear complexity in time and space and is independent of the projection mapping dimension. Since this method works for long sequences this can be used for images as well as audios.

📄 PDF Abstract BibTeX arXiv:2101.10277

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
{Dispute@FaQ-s}How to file a dispute with Expedia? How to file a dispute with Expedia? To file a complaint against Expedia, first try contacting their customer service directly. You can reach them by phone at…
Multi-Head Linear Attention Multi-Head Linear Attention is a type of linear multi-head self-attention module, proposed with the Linformer architecture. The…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
WordPiece 설명 없음

Similar Papers 제목 키워드 기반

Rethinking Transformer Connectivity: TLinFormer, A Path to Exact, Full Context-Aware Linear Attention

2025-08-28 · Zhongpan Tang arxiv

The Transformer architecture has become a cornerstone of modern artificial intelligence, but its core self-attention mechanism suffers from a complexity bottleneck that scales quadratically with sequence length, severely…

Linformer: Self-Attention with Linear Complexity

2020-06-08 · Sinong Wang, Belinda Z. Li, Madian Khabsa, Han Fang 외

Large transformer models have shown extraordinary success in achieving state-of-the-art results in many natural language processing applications. However, training and deploying these models can be prohibitively costly f…

Language Modelling

StateLinFormer: Stateful Training Enhancing Long-term Memory in Navigation

2026-03-24 · Zhiyuan Chen, Yuxuan Zhong, Fan Wang, Bo Yu 외 arxiv

Effective navigation intelligence relies on long-term memory to support both immediate generalization and sustained adaptation. However, existing approaches face a dilemma: modular systems rely on explicit mapping but la…

Sketching as a Tool for Understanding and Accelerating Self-attention for Long Sequences

2021-12-10 · NAACL 2022 7 · Yifan Chen, Qi Zeng, Dilek Hakkani-Tur, Di Jin 외

Transformer-based models are not efficient in processing long sequences due to the quadratic space and time complexity of the self-attention modules. To address this limitation, Linformer and Informer are proposed to red…

Spatially Aware Linear Transformer (SAL-T) for Particle Jet Tagging

2025-10-24 · Aaron Wang, Zihan Zhao, Subash Katel, Vivekanand Gyanchand Sahu 외 arxiv

Transformers are very effective in capturing both global and local correlations within high-energy particle collisions, but they present deployment challenges in high-data-throughput environments, such as the CERN LHC. T…

Point Cloud ClassificationJet Tagging