Summary
The paper proposes LoFiT, a procedure for *localized* fine-tuning of LLMs. LoFiT chooses a task-specific subset of attention heads by tuning head-wise learnable scales and selecting the heads with largest scales (by absolute value). After that, the algorithm tunes the biases for the chosen attention heads to solve the chosen task. The paper includes experiments on three benchmarks using LLMs from Llama-2 and Gemma families. Authors compare LoFiT against alternative head selection methods and against several PEFT algorithms (LoRA and RED). The paper also analyzes the impact of heads found by LoFiT in different scenarios.
Strengths
1. Authors propose a very simple algorithm for selecting heads that seemingly works well (within the 3 chosen tasks). The fact that it is simple is a significant advantage: such algorithm would be easy to modify or reuse in other circumstances.
2. The paper includes several ablations and sub-analyses that answer the questions that arise when reading it. This is a sign that the experiments are well structured.
3. The paper is generally well written, well organized and easy to read.
Weaknesses
My main concern about the paper is that the main evaluations are limited to 3 tasks (TruthfulQA, MQuAKE, CLUTRR). This makes it unclear if LoFiT is generally applicable in place of PEFT methods or if it is only competitive for a specific type of fine-tuning task. If latter is the case, the paper would be substantially stronger if it explained which tasks LoFiT is capable of and where it isn't. If latter is the case, it would be best to include more tasks from among PEFT papers and general LLM fine-tuning scenarios. For instance, the papers you compare against also evaluate on GSM8K, MMLU, MNLI-m, RTE, (super)GLUE for smaller models and more.
Naturally, I do not suggest that you evaluate on *all* of the benchmarks, but the paper could be strengthened by either showing that LoFiT generalizes to more tasks or describing (and demonstrating) the types of tasks where it works poorly. This would help readers understand where to use LoFiT (or its components) instead of other intervention / peft methods.
Questions
**Q1:** To the best of my understanding, the LoFiT algorithm modifies attention heads and keeps FFN / MLP layers intact. In contrast, several popular model editing algorithms (e.g. MEMiT [1] or Transformer-Patcher[2]) focus on updating FFN / MLP layers alone. When should one focus on editing attention layers or FFN layers. Are these interchangable or is there a type of tasks that do best with attention editing?
- [1] https://arxiv.org/abs/2210.07229
- [2] https://arxiv.org/pdf/2301.09785
**Q2:** when selecting the heads, do you need to tune A to convergence to get good scales? If not, how many steps / training tokens are required?
**Q3:** in your experiments how to choose the total number number of heads to be modified? What happens to LoFiT if you choose substantially more of fewer heads?
**Q4:** when reporting the difference in the number of trainable parameters , how do you count the choice of which heads are modified towards the total number of parameters?
> L137 ‘Evaluation is exact match (EM).”
Possibly missing a noun (e.g. evaluation *metric* or *criterion*)
> L294 Finally, we note that the method we present here requires the ability to take gradients, giving it a similar memory footprint as other PEFT methods and making it only usable on open-weight models.
Technically speaking, this statement is false: owners of closed-weight models can use these methods on their models and have, in past, been known to implement some fine-tuning as a service for users (e.g. see openai api finetuning, tunethemodel and others).
Limitations
Authors have sufficiently addressed the limitations of the proposed method. The work can be improved by describing the limitations of the evaluation methodology in more detail.