Why it matters

DoRA improves LoRA. Understanding shapes advanced FT.

Advertisement

The architecture

W = ||W|| * (W / ||W||).

LoRA on direction.

Train magnitude separately.

DoRA flowDecompose Wmag + dirLoRA on dirrank rTrain magnitudecolumn-wiseLiu et al. 2024; small overhead vs LoRA; better quality closer to full FT
DoRA.
Advertisement

How it works end to end

Small extra params for magnitude.

Better quality than LoRA at same rank.

PEFT supports.