atlas

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

Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Fine-tuning for reasoning data · 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.

Shows that fine-tuned LLaMA-7B variants (Vicuna, Goat, FLoat) reuse the same entity-tracking circuit and mechanism (tracking the position of the queried entity) as the base model, with the gains coming from better value fetching and positional handling, using path patching, DCM, and a new cross-model activation patching (CMAP).

Problem

How fine-tuning on generic tasks (arithmetic, code, instructions) changes the internal mechanisms of LLMs, using in-context entity tracking as a case study where arithmetic-tuned models perform much better than the base model.

Approach

Identify the entity-tracking circuit in base Llama-7B via path patching, check that the same heads suffice in fine-tuned models, decompose its functionality with Desiderata-based Component Masking, and introduce cross-model activation patching (CMAP) to localize which sub-mechanism fine-tuning improves.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune LLaMA-7B on arithmetic tasks with LoRALLaMA-7B · Entity trackingaccuracy: 0.66 -> 0.82Helped
fine-tune LLaMA-7B on arithmetic tasks without LoRALLaMA-7B · Entity trackingaccuracy: 0.66 -> 0.82Helped
fine-tune LLaMA-7B on user conversationsLLaMA-7B · Entity trackingaccuracy: 0.66 -> 0.67No clear effect
use the LLaMA-7B entity-tracking circuit in the fine-tuned modelLLaMA-7B circuit on Goat-7B · Entity trackingaccuracy: 0.82 -> 0.73Hurt
use the LLaMA-7B entity-tracking circuit in the fine-tuned modelLLaMA-7B circuit on FLoat-7B · Entity trackingaccuracy: 0.82 -> 0.72Hurt
use the Goat-7B circuit instead of the full modelLLaMA-7B · Entity trackingaccuracy: 0.66 -> 0.77Helped
use the Goat-7B circuit instead of the full modelVicuna-7B · Entity trackingaccuracy: 0.67 -> 0.76Helped
use the Goat-7B circuit on its source modelGoat-7B · Entity trackingaccuracy: 0.82 -> 0.81No clear effect
use the FLoat-7B circuit instead of the full modelLLaMA-7B · Entity trackingaccuracy: 0.66 -> 0.69Helped
use the FLoat-7B circuit instead of the full modelVicuna-7B · Entity trackingaccuracy: 0.67 -> 0.7Helped
use the FLoat-7B circuit on its source modelFLoat-7B · Entity trackingaccuracy: 0.82 -> 0.82No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic box tracking dataset (adapted from prior entity tracking dataset) synthetic arithmetic expressions

Benchmarks: synthetic box tracking entity tracking task

Metrics: accuracy faithfulness completeness minimality

Baselines: Llama-7B Vicuna-7B Goat-7B FLoat-7B

Builds on: path patching Desiderata-based Component Masking LoRA tracr

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