atlas

Research map / Large language models / Instruction and fine-tuning

LoFiT: Localized Fine-tuning on LLM Representations

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LoFiT, a two-step localized fine-tuning method that selects a sparse set of attention heads via learned scaling factors and then tunes offset bias vectors on those heads, matching LoRA/RED/ReFT with 20x-200x fewer parameters.

Problem

Representation intervention methods localize behavior to attention heads but are learning-free and weak; PEFT methods modify representations uniformly or treat module choice as a hyperparameter without localization. The paper asks whether localization can make representation fine-tuning both effecti

Approach

Learn per-head scaling factors with L1 regularization to score and select the top-K attention heads, then fine-tune only bias offset vectors at those heads, combining interpretability-based localization with PEFT-style training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LoFiT instead of representation-intervention baselinesGemma-7B · TruthfulQAMC1 accuracy: 38.5 -> 60.5Helped
Use LoFiT instead of representation-intervention baselinesLlama 2-7B · MQuAKEEM: 37.9 -> 73.4Helped
Select heads using LoFiT scaling-factor norms rather than random sampling (ablation)LoFiT bias tuning, average across models and tasks · TruthfulQA, MQuAKE, and CLUTRRAverage accuracy: 69.4 -> 73.4Helped
Select heads using LoFiT scaling-factor norms rather than bias-vector norms (ablation)LoFiT bias tuning, average across models and tasks · TruthfulQA, MQuAKE, and CLUTRRAverage accuracy: 69.9 -> 73.4Helped
Select heads using LoFiT scaling-factor norms rather than ITI head selection (ablation)LoFiT bias tuning, average across models and tasks · TruthfulQA, MQuAKE, and CLUTRRAverage accuracy: 71.9 -> 73.4Helped
Use task-specific rather than different-task heads (ablation)LoFiT bias tuning · TruthfulQA and MQuAKEAccuracyHelped
Use different-task heads instead of task-specific heads (ablation)LoFiT bias tuning · CLUTRREMNo clear effect
Increase the selected-head proportion below 10% (ablation)LoFiT bias tuning on MQuAKE and CLUTRR · MQuAKE and CLUTRRTest accuracyHelped
Increase the selected-head proportion to 10%-20% or more (ablation)LoFiT bias tuning on MQuAKE and CLUTRR · MQuAKE and CLUTRRTest accuracyNo clear effect
Use LoFiT rather than LoRA or RED in the low-data setting (n ≤ 100)Llama 2-7B · CLUTRR and MQuAKETest accuracyHelped
Use LoFiT rather than LoRA on commonsense and math benchmarksLlama 2-7B and Llama 2-13B · SIQA, ARC-c, BoolQ, and SVAMPAverage accuracy: 62.0 -> 60.7; 70.4 -> 69.1Hurt
Fine-tune with LoFiT rather than leave the base model unfine-tunedLlama 2-7B-Chat · TriviaQAAccuracy: 76.5 -> 76.7Helped

Surprising findings

Limitations

Experimental setup

Datasets: TruthfulQA CLUTRR MQuAKE SIQA ARC-c BoolQ SVAMP TriviaQA Natural Questions MMLU

Benchmarks: TruthfulQA MQuAKE CLUTRR SIQA ARC-c BoolQ SVAMP TriviaQA Natural Questions MMLU

Metrics: MC1 MC2 exact match accuracy GPT-4 truthfulness and informativeness (True x Info)

Baselines: 0-shot ITI RepE LoRA RED ReFT Random head selection Probe-layers Bias-based selection

Builds on: Inference-time Intervention Representation Engineering RED LoRA ReFT direct preference optimization

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy