On Zero-Initialized Attention: Optimal Prompt and Gating Factor Estimation
Not on the map. Why?
Abstract (arXiv)
The LLaMA-Adapter has recently emerged as an efficient fine-tuning technique for LLaMA models, leveraging zero-initialized attention to stabilize training and enhance performance. However, despite its empirical success, the theoretical foundations of zero-initialized attention remain largely unexplored. In this paper, we provide a rigorous theoretical analysis, establishing a connection between zero-initialized attention and mixture-of-expert models. We prove that both linear and non-linear prompts, along with gating functions, can be optimally estimated, with non-linear prompts offering greater flexibility for future applications. Empirically, we validate our findings on the open LLM benchmarks, demonstrating that non-linear prompts outperform linear ones. Notably, even with limited training data, both prompt types consistently surpass vanilla attention, highlighting the robustness and adaptability of zero-initialized attention.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 47 of its 63 references that are in the map. First posted on arXiv 5 Feb 2025.
Builds on
47 of 63 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
35 more
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2023LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Daycited by 1,287
- 2023PaLM 2 Technical Reportcited by 1,154
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2023Instruction Tuning with GPT-4cited by 676
- 2024Large Language Models: A Surveycited by 506
- 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 458
- 2023AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuningcited by 337
- 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 223
- 2024MixLoRA: Enhancing Large Language Models Fine-Tuning with LoRA-based Mixture of Expertscited by 144
- 2024LLaVA-MoLE: Sparse Mixture of LoRA Experts for Mitigating Data Conflicts in Instruction Finetuning MLLMscited by 84
- 2023GraphAdapter: Tuning Vision-Language Models With Dual Knowledge Graphcited by 69
- 2024FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusioncited by 67
- 2024Theory on Mixture-of-Experts in Continual Learningcited by 50
- 2024Mixture of Experts Meets Prompt-Based Continual Learningcited by 43
- 2019Convergence Rates for Gaussian Mixtures of Expertscited by 39
- 2023DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuningcited by 34
- 2023Demystifying Softmax Gating Function in Gaussian Mixture of Expertscited by 33
- 2023A General Theory for Softmax Gating Multinomial Logistic Mixture of Expertscited by 23
- 2024CompeteSMoE -- Effective Training of Sparse Mixture of Experts via Competitioncited by 23
- 2024Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Expertscited by 23
- 2022Refined Convergence Rates for Maximum Likelihood Estimation under Finite Mixture Modelscited by 22
- 2024Statistical Advantages of Perturbing Cosine Router in Mixture of Expertscited by 16
- 2024On Expert Estimation in Hierarchical Mixture of Experts: Beyond Softmax Gating Functionscited by 16
- 2024Is Temperature Sample Efficient for Softmax Gaussian Mixture of Experts?cited by 15
- 2024Revisiting Prefix-tuning: Statistical Benefits of Reparameterization among Promptscited by 15
- 2024Understanding Expert Structures on Minimax Parameter Estimation in Contaminated Mixture of Expertscited by 5
- 2024Quadratic Gating Mixture of Experts: Statistical Insights into Self-Attentioncited by 4
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025One-Prompt Strikes Back: Sparse Mixture of Experts for Prompt-based Continual Learningcited by 2
- 2025DoRAN: Stabilizing Weight-Decomposed Low-Rank Adaptation via Noise Injection and Auxiliary Networkscited by 2
- 2025Hypernetwork-Driven Low-Rank Adaptation Across Attention Headscited by 1
- 2026Rethinking Multinomial Logistic Mixture of Experts with Sigmoid Gating Functioncited by 0
- 2026Rethinking Multinomial Logistic Mixture of Experts with Sigmoid Gating Function1 Feb 2026
- 2025DoRAN: Stabilizing Weight-Decomposed Low-Rank Adaptation via Noise Injection and Auxiliary Networks5 Oct 2025
- 2025Hypernetwork-Driven Low-Rank Adaptation Across Attention Heads5 Oct 2025
- 2025One-Prompt Strikes Back: Sparse Mixture of Experts for Prompt-based Continual Learning29 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Training
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention
- 2024LLaMA-MoE v2: Exploring Sparsity of LLaMA from Perspective of Mixture-of-Experts with Post-Training
- 2025Revisit Visual Prompt Tuning: The Expressiveness of Prompt Experts
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
- 2026BOSCH: Black-Box Binary Optimization for Short-Context Attention-Head Selection in LLMs
- 2026When Adaptation Fails: A Gradient-Based Diagnosis of Collapsed Gating in Vision-Language Prompt Learning
- 2024MoH: Multi-Head Attention as Mixture-of-Head Attention