lora_alpha in plain English: what role does that scalar play?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
lora_alpha is a scaling factor: the LoRA update is alpha over r times BA. Effective magnitude stays constant when alpha tracks r; alpha alone is the volume knob on adapter strength.
Imagine the frozen base model is a finished song and the LoRA adapter is a small backing track you record on top. The backing track has its own volume slider. Rank decides how many instruments are in the backing track. lora_alpha decides how loudly the whole backing track plays in the final mix. If you add more instruments (raise rank) and turn the slider up by the same amount (raise alpha), the backing track stays the same loudness in the mix, just with more instruments inside it. Turn the slider up alone and the backing track gets louder. Turn it down and the backing track fades toward silence, leaving the base song mostly untouched.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: update formula with alpha-over-r + ratio invariance with rank + standard conventions alpha equal to r or 2r + learning-rate coupling during training + free volume knob at inference + rsLoRA alternative.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Thinking alpha and rank are independent capacity knobs. They are coupled through the alpha-over-r ratio, which is why most recipes set alpha as a fixed multiple of rank.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.