Reproduce “Head2Toe: Utilizing Intermediate Representations for Better Transfer Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Utku Evci, Vincent Dumoulin, Hugo Larochelle, Michael C. Mozer

Google Research's Brain Team introduces "Head2Toe," a transfer learning method that selects and utilizes features from all intermediate layers of a frozen pre-trained model. This approach matches or exceeds the performance of full fine-tuning, particularly on out-of-distribution tasks, while reducing training computational costs by 100x and storage costs by 100x.

Key insights

  • Fine-tuning's success, even in low-data and OOD scenarios, can be attributed to its ability to leverage useful existing information already present in the pre-trained model's intermediate layers, rather than learning entirely new features.
  • A first-order Taylor approximation suggests that fine-tuned model outputs can be approximated by a linear combination of all layer activations, implying these features are inherently valuable.
  • Task-specific feature selection from the entire network is crucial; simply concatenating all features without selection is suboptimal, and feature-wise selection performs better than layer-wise selection.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.