The Impact of Initialization on LoRA Finetuning Dynamics

Authors: Soufiane Hayou, Nikhil Ghosh, Bin Yu

TDLR: Different Initializations lead to completely different finetuning dynamics. One initialization (set A random and B zero) is generally better than the natural opposite initialization. arXiv admin note: text overlap with arXiv:2402.12354
License: CC BY 4.0

Results of the summarizing process for the arXiv paper: 2406.08447v1

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog article
In their paper titled "The Impact of Initialization on LoRA Finetuning Dynamics," Soufiane Hayou, Nikhil Ghosh, and Bin Yu delve into the role of initialization in Low Rank Adaptation (LoRA). The study focuses on the significance of starting from a pretrained model for finetuning and explores two initialization schemes. These schemes involve setting either B or A to zero and random values respectively. Through theoretical analysis and extensive experiments on Large Language Models (LLMs), the authors demonstrate that initializing B to zero and A to random consistently outperforms the alternative scheme. This is due to its ability to accommodate larger learning rates without causing output instability. The research highlights the critical role of initialization strategies in optimizing model performance and provides valuable insights for practitioners seeking to enhance finetuning processes for LLMs.
AI-generated keywords: LoRA Initialization Finetuning Dynamics Pretrained Model Large Language Models

AI-generated Key Points

  • Study on the impact of initialization in Low Rank Adaptation (LoRA)
  • Significance of starting from a pretrained model for finetuning
  • Two initialization schemes: setting B to zero and A to random values
  • Initializing B to zero and A to random consistently outperforms alternative scheme
  • Ability to accommodate larger learning rates without causing output instability
  • Critical role of initialization strategies in optimizing model performance
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Abstract: In this paper, we study the role of initialization in Low Rank Adaptation (LoRA) as originally introduced in Hu et al. (2021). Essentially, to start from the pretrained model as initialization for finetuning, one can either initialize B to zero and A to random (default initialization in PEFT package), or vice-versa. In both cases, the product BA is equal to zero at initialization, which makes finetuning starts from the pretrained model. These two initialization schemes are seemingly similar. They should in-principle yield the same performance and share the same optimal learning rate. We demonstrate that this is an incorrect intuition and that the first scheme (initializing B to zero and A to random) on average yields better performance compared to the other scheme. Our theoretical analysis shows that the reason behind this might be that the first initialization allows the use of larger learning rates (without causing output instability) compared to the second initialization, resulting in more efficient learning of the first scheme. We validate our results with extensive experiments on LLMs.

Submitted to arXiv on 12 Jun. 2024

Tools for this paper

Explain it differently 3 free rewrites left today
Export BibTeX · RIS (Zotero, Mendeley, EndNote) · Markdown (Notion, Obsidian) · Premium
Citation alerts Premium
Journal club Slides to present it Premium
For journalists Press kit and hype check Premium

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.