Reproduce “DoRA: Weight-Decomposed Low-Rank Adaptation” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Shih-Yang Liu, Chien-Yi Wang, Hongxu Yin, Pavlo Molchanov, Yu-Chiang Frank Wang, Kwang-Ting Cheng, Min-Hung Chen
DoRA introduces a weight-decomposed low-rank adaptation method that addresses the accuracy gap between LoRA and full fine-tuning. It re-parameterizes model weights into magnitude and directional components, updating them independently to mimic full fine-tuning's learning behavior, and achieves comparable or superior performance across various models (LLaMA, LLaVA, SDXL) and tasks with zero inference overhead.
Key insights
- Full Fine-Tuning (FT) exhibits a varied learning pattern with a relatively negative slope between directional and magnitude updates, indicating flexible, granular adaptation.
- LoRA shows a consistent positive slope, suggesting a coupled update of magnitude and direction, which limits its learning capacity compared to FT.
- DoRA's separate adaptation of magnitude and direction, inspired by FT's behavior, allows for more effective and stable optimization of model weights.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.