Mechanism

Decomposes pretrained weights into magnitude m∈R1×dinm \in \mathbb{R}^{1\times d_{\text{in}}} and unit directional matrix V∥V∥c\frac{V}{\|V\|_c}, applying low-rank updates exclusively to the directional component while training the scalar magnitude vector directly: WDoRA=mW0+BA∥W0+BA∥cW_{\text{DoRA}} = m \frac{W_0 + BA}{\|W_0 + BA\|_c} matching full fine-tuning's negative magnitude-direction update correlation.

References

  1. DoRA: Weight-Decomposed Low-Rank Adaptation ↗

    Shih-Yang Liu, Chien-Yi Wang, Hongxu Yin, Pavlo Molchanov, Yu-Chiang Frank Wang, Kwang-Ting Cheng et al. · 2024

    All 7 authors

    Shih-Yang Liu, Chien-Yi Wang, Hongxu Yin, Pavlo Molchanov, Yu-Chiang Frank Wang, Kwang-Ting Cheng, Min-Hung Chen