DoRA: Weight-Decomposed Low-Rank Adaptation
Paper

DoRA: Weight-Decomposed Low-Rank Adaptation

Shih-Yang Liu
2026.09.07
·Arxiv·by Homin.Lee
#DoRA#Fine-tuning#LLM#LoRA#PEFT

Key Points

  • 1The paper introduces Weight-Decomposed Low-Rank Adaptation (DoRA), a novel fine-tuning method that decomposes pre-trained weights into magnitude and directional components to mirror the learning capacity of full fine-tuning.
  • 2By utilizing LoRA exclusively for directional updates while keeping magnitude trainable, DoRA enhances model performance and training stability without incurring any additional inference latency.
  • 3Extensive empirical evaluations across LLaMA, LLaVA, and VL-BART models demonstrate that DoRA consistently outperforms LoRA in various language, vision-language, and instruction-tuning tasks.

The paper introduces Weight-Decomposed Low-Rank Adaptation (DoRA), a novel parameter-efficient fine-tuning (PEFT) method designed to bridge the accuracy gap between LoRA and full fine-tuning (FT) without adding inference latency.

Core Motivation and Analysis

The authors identify a persistent performance gap between LoRA and FT. Using a novel weight decomposition analysis, they reparameterize pre-trained weights W∈Rd×kW \in \mathbb{R}^{d \times k} into magnitude and directional components:
W=mV∣∣V∣∣cW = m \frac{V}{||V||_c}
where m∈R1×km \in \mathbb{R}^{1 \times k} is the magnitude vector and V∈Rd×kV \in \mathbb{R}^{d \times k} represents the directional matrix, with ∣∣⋅∣∣c|| \cdot ||_c denoting the vector-wise norm across columns. Their empirical findings reveal that FT and LoRA exhibit fundamentally different learning patterns: LoRA shows a positive correlation between magnitude and directional updates, whereas FT displays a negative correlation. The authors hypothesize that this indicates that FT possesses superior, more nuanced learning capacity, whereas LoRA struggles to adjust both components simultaneously.

Methodology

DoRA addresses these limitations by decoupling the magnitude and direction during fine-tuning:
  1. Decomposition: The pre-trained weight W0W_0 is decomposed into m=∣∣W0∣∣cm = ||W_0||_c and V=W0V = W_0.
  2. Dual Learning: Both components are made trainable. The directional component VV is updated using LoRA to maintain efficiency:
W′=mV+ΔV∣∣V+ΔV∣∣c=mW0+BA∣∣W0+BA∣∣cW' = m \frac{V + \Delta V}{||V + \Delta V||_c} = m \frac{W_0 + BA}{||W_0 + BA||_c}
where B∈Rd×rB \in \mathbb{R}^{d \times r} and A∈Rr×kA \in \mathbb{R}^{r \times k} are low-rank matrices.
  1. Training Stability: By treating the norm ∣∣V+ΔV∣∣c||V + \Delta V||_c as a constant (detaching it from the gradient graph during backpropagation), the authors significantly reduce memory overhead without sacrificing accuracy.
  2. Inference Efficiency: Because the adapted weight W′W' can be merged back into the pre-trained backbone weight W0W_0 after training, DoRA maintains the same inference speed as the original model.

Gradient Analysis

The paper provides a formal gradient analysis for DoRA. The gradient of the loss LL with respect to the directional matrix V′=V+ΔVV' = V + \Delta V is:
∇V′L=m∣∣V′∣∣c(I−V′V′T∣∣V′∣∣c2)∇W′L\nabla_{V'}L = \frac{m}{||V'||_c} \left( I - \frac{V'V'^T}{||V'||_c^2} \right) \nabla_{W'}L
This formulation shows that the weight gradient is scaled and projected away from the current weight matrix, which improves optimization conditioning similar to weight normalization. The authors demonstrate that this structure enables DoRA to replicate the negative slope pattern observed in FT, confirming its increased learning capacity.

Empirical Results

DoRA was validated across diverse benchmarks:
  • LLM Fine-Tuning: On LLaMA-7B/13B, LLaMA2-7B, and LLaMA3-8B, DoRA consistently outperformed LoRA on commonsense reasoning tasks, achieving accuracy improvements of up to 4.4%.
  • Multimodality: DoRA showed superior performance in vision-language tasks (VL-BART) and visual instruction tuning (LLaVA), consistently narrowing the gap with full fine-tuning.
  • Efficiency: The method proves that by selectively updating magnitude and direction, it can achieve higher accuracy than LoRA even when the rank rr is halved, effectively maximizing parameter efficiency.