If you change LoRA's rank from 16 to 64 with α fixed, what actually happens?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Raising LoRA rank 16 to 64 with α fixed quadruples trainable params but quarters the effective update, because the scaling factor is α divided by r.
Think of LoRA as a small dimmer switch bolted onto a big frozen lamp. The rank is how many tiny wires the dimmer has: more wires means it can shape light in more ways, so going from 16 to 64 wires roughly quadruples the parts you adjust. But there is also one master volume knob set to alpha divided by rank. When you add wires without turning alpha up, that master knob automatically turns down by the same factor. So you have built a richer dimmer, yet you have also dialled its overall brightness down to a quarter. To keep the brightness steady, you raise alpha alongside the rank.
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: separate the two dials, derive the param-count scaling, derive the alpha over r scaling, explain why they oppose, then cover the alpha tied to rank convention and rank-stabilised LoRA.
| Quantity | Depends on | Effect of r: 16 to 64 with alpha fixed |
|---|---|---|
| Trainable parameters | Shape of B and A | Roughly quadruples (grows linearly with r) |
| Scaling factor alpha over r | Forward-pass scalar | Shrinks fourfold |
| Effective update magnitude | Scaling factor times BA | Quartered, so training appears to slow |
| Fix | Tie alpha to r | Ratio held constant, only capacity changes |
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.
Assuming rank only affects parameter count. It also moves the α over r scaling factor, so raising rank with α fixed silently shrinks every update.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.