Mechanistic analysis of the impact of fine-tuning on programmatically defined tasksMechanistically analyzing the effects of fine-tuning on procedurally defined tasks
Using mechanistic interpretability tools such as network pruning and probes, the researchers analyze in a synthetic controlled setting how fine-tuning changes the capabilities a pretrained model has learned. The results show that fine-tuning rarely alters the underlying capabilities; instead, it learns a minimal transformation on top of them called a wrapper, creating the illusion that the capabilities have been modified; continuing to fine-tune on tasks related to a hidden capability revives that capability in a sample-efficient way after only a few gradient steps. The authors point out that this means fine-tuning on superficially unrelated downstream tasks may inadvertently remove a model's safety wrapper. The team also conducts analysis on language models trained on the TinyStories dataset to support these conclusions.