pith. sign in

arxiv: 2502.03029 · v3 · pith:QRZVECMPnew · submitted 2025-02-05 · 💻 cs.LG

On Zero-Initialized Attention: Optimal Prompt and Gating Factor Estimation

classification 💻 cs.LG
keywords attentionzero-initializednon-linearpromptsgatinglinearmodelsprompt
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Convergence Rates for Latent Mixing Measures in Infinite Homoscedastic Location-Scale Mixture Models

    math.ST 2026-05 unverdicted novelty 8.0

    The paper provides novel lower bounds connecting L1 distances of mixture densities to discrepancies in mixing measures, leading to first contraction rates for Dirichlet process mixtures with unknown scale.

  2. Convergence Rates for Latent Mixing Measures in Infinite Homoscedastic Location-Scale Mixture Models

    math.ST 2026-05 unverdicted novelty 8.0

    Derives inequalities between L1 density distances and mixing-measure discrepancies to obtain posterior contraction rates for Dirichlet process mixtures with unknown shared scale.