15/31
Part 3 of 6 · Scale, count and placementLearn and do
The paper spread a fixed budget over more attention matrices
With a fixed budget of parameters, the next choice is where to spend them.
| Where LoRA goes | MLP up | MLP down | ||||
|---|---|---|---|---|---|---|
| LoRA paper, 2021 | yes | no | yes | no | no | no |
| QLoRA and later | yes | yes | yes | yes | yes | yes |
LoRA works on any weight matrix, so you choose where it goes. The paper chose narrowly. It adapted only the attention weights and froze the MLP, for simplicity and to save parameters.
Then it asked which attention matrices to adapt, under a fixed budget of 18M trainable parameters on GPT-3.
The same 18M budget, spent two ways. Which scored higher on WikiSQL: Wq alone at rank 8, or all four attention matrices at rank 2?
Pick an answer above to see the rest
The paper's rank study went further. What rank was enough on these datasets, with both Wq and Wv adapted?
Pick an answer above to see the rest
QLoRA tried adapting only the query and value projections on large models. Did that match full fine-tuning?
Pick an answer above to see the rest