Methods › General › Attention Mechanisms › FAVOR+
Fast Attention Via Positive Orthogonal Random Features
FAVOR+
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
FAVOR+, or Fast Attention Via Positive Orthogonal Random Features, is an efficient attention mechanism used in the Performer architecture which leverages approaches such as kernel methods and random features approximation for approximating softmax and Gaussian kernels.
FAVOR+ works for attention blocks using matrices 𝐀 ∈ℝ^(L×L) of the form 𝐀(i, j) = K(𝐪ᵢᵀ, 𝐤ⱼᵀ), with 𝐪ᵢ/𝐤ⱼ standing for the iᵗʰ/jᵗʰ query/key row-vector in 𝐐/𝐊 and kernel K : ℝᵈ × ℝᵈ →ℝ₊ defined for the (usually randomized) mapping: ϕ: ℝᵈ → ℝʳ₊ (for some r > 0) as:
K(𝐱, 𝐲) = E[ϕ(𝐱)ᵀϕ(𝐲)]
We call ϕ(𝐮) a random feature map for 𝐮 ∈ℝᵈ . For 𝐐^′, 𝐊^′ ∈ℝ^(L ×r) with rows given as ϕ(𝐪ᵢᵀ)ᵀ and ϕ(𝐤ᵢᵀ)ᵀ respectively, this leads directly to the efficient attention mechanism of the form:
Ât̂t̂_̂↔̂(𝐐, 𝐊, 𝐕) = 𝐃̂⁻¹(𝐐^′((𝐊^′)ᵀ𝐕))
where
𝐃̂ = diag(𝐐^′((𝐊^′)1_L))
The above scheme constitutes the FA-part of the FAVOR+ mechanism. The other parts are achieved by:
- The R part : The softmax kernel is approximated though trigonometric functions, in the form of a regularized softmax-kernel SMREG, that employs positive random features (PRFs).
- The OR+ part : To reduce the variance of the estimator, so we can use a smaller number of random features, different samples are entangled to be exactly orthogonal using the Gram-Schmidt orthogonalization procedure.
The details are quite technical, so it is recommended you read the paper for further information on these steps.
Papers archive 2025-07-28
30 shown of 102, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
ExpertLongBench: Benchmarking Language Models on Expert-Level Long-Form Generation Tasks with Structured Checklists 2 Jun 2025 · 0 repositories · arXiv:2506.01241
-
WirelessMathBench: A Mathematical Modeling Benchmark for LLMs in Wireless Communications 20 May 2025 · 0 repositories · arXiv:2505.14354
-
CacheFormer: High Attention-Based Segment Caching 18 Apr 2025 · 0 repositories · arXiv:2504.13981
-
Deconstructing Jazz Piano Style Using Machine Learning 7 Apr 2025 · 0 repositories · arXiv:2504.05009
-
Predicting Survivability of Cancer Patients with Metastatic Patterns Using Explainable AI 7 Apr 2025 · 1 repository · arXiv:2504.06306
-
Forecasting Empty Container availability for Vehicle Booking System Application 14 Mar 2025 · 0 repositories · arXiv:2503.11728
-
STEAD: Spatio-Temporal Efficient Anomaly Detection for Time and Compute Sensitive Applications 11 Mar 2025 · 1 repository · arXiv:2503.07942
-
Deep Learning-Based Approach for Automatic 2D and 3D MRI Segmentation of Gliomas 27 Feb 2025 · 0 repositories · arXiv:2502.19760
-
On the use of Performer and Agent Attention for Spoken Language Identification 9 Feb 2025 · 0 repositories · arXiv:2502.05841
-
Nick Patrick Contreras 9 Jan 2025 · 0 repositories
-
Comparative Study of Deep Learning Architectures for Textual Damage Level Classification 3 Jan 2025 · 0 repositories · arXiv:2501.01694
-
ELECTRA and GPT-4o: Cost-Effective Partners for Sentiment Analysis 29 Dec 2024 · 1 repository · arXiv:2501.00062
-
Music Genre Classification: Ensemble Learning with Subcomponents-level Attention 20 Dec 2024 · 0 repositories · arXiv:2412.15602
-
The Two-Hop Curse: LLMs trained on A→B, B→C fail to learn A→C 25 Nov 2024 · 0 repositories · arXiv:2411.16353
-
SOAR: Self-Occluded Avatar Recovery from a Single Video In the Wild 31 Oct 2024 · 0 repositories · arXiv:2410.23800
-
PerTok: Expressive Encoding and Modeling of Symbolic Musical Ideas and Variations 2 Oct 2024 · 0 repositories · arXiv:2410.02060
-
GLMHA A Guided Low-rank Multi-Head Self-Attention for Efficient Image Restoration and Spectral Reconstruction 1 Oct 2024 · 0 repositories · arXiv:2410.00380
-
Large Language Models versus Classical Machine Learning: Performance in COVID-19 Mortality Prediction Using High-Dimensional Tabular Data 2 Sep 2024 · 2 repositories · arXiv:2409.02136
-
Equitable Skin Disease Prediction Using Transfer Learning and Domain Adaptation 1 Sep 2024 · 0 repositories · arXiv:2409.00873
-
Tangram: Benchmark for Evaluating Geometric Element Recognition in Large Multimodal Models 25 Aug 2024 · 0 repositories · arXiv:2408.13854
-
GABInsight: Exploring Gender-Activity Binding Bias in Vision-Language Models 30 Jul 2024 · 1 repository · arXiv:2407.21001
-
Motamot: A Dataset for Revealing the Supremacy of Large Language Models over Transformer Models in Bengali Political Sentiment Analysis 28 Jul 2024 · 1 repository · arXiv:2407.19528
-
scGHSOM: Hierarchical clustering and visualization of single-cell and CRISPR data using growing hierarchical SOM 24 Jul 2024 · 0 repositories · arXiv:2407.16984
-
Predicting the Best of N Visual Trackers 22 Jul 2024 · 1 repository · arXiv:2407.15707
-
Lightweight Large Language Model for Medication Enquiry: Med-Pal 2 Jul 2024 · 0 repositories · arXiv:2407.12822
-
Deep Reinforcement Learning Strategies in Finance: Insights into Asset Holding, Trading Behavior, and Purchase Diversity 29 Jun 2024 · 0 repositories · arXiv:2407.09557
-
Modeling the Real World with High-Density Visual Particle Dynamics 28 Jun 2024 · 0 repositories · arXiv:2406.19800
-
Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queries 18 Jun 2024 · 1 repository · arXiv:2406.12775Syntology ran 10 of 12 samples · 2 unverified
-
Adaptable and Reliable Text Classification using Large Language Models 17 May 2024 · 1 repository · arXiv:2405.10523
-
Designing and Evaluating Dialogue LLMs for Co-Creative Improvised Theatre 11 May 2024 · 0 repositories · arXiv:2405.07111
Tasks archive 2025-07-28
20 shown of 143 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections