Transferring Linear Features Across Language Models With Model Stitching

Alan Chen, Jack Merullo, Alessandro Stolfo, Ellie Pavlick

Abstract

Training Sparse Autoencoders (SAEs) to interpret large language models (LLMs) is notoriously expensive, often requiring compute comparable to the original model training. This paper introduces a method to "stitch" models of different sizes together using simple affine mappings, enabling the transfer of learned features from small models to larger ones. By using these transferred features as a "warm start" for SAE training, the authors achieve up to 50% compute savings. Furthermore, the success of this method provides evidence for the universality of feature representations, suggesting that models across different scales converge on a similar internal "language."

Introduction

Mechanistic interpretability seeks to understand the internal workings of LLMs by identifying individual features within high-dimensional activations. While Sparse Autoencoders (SAEs) have emerged as a leading tool for feature discovery, their computational cost remains a significant barrier. A central question in the field is the Strong Model Universality hypothesis: do different models learn the same representations of the world? If models share a common feature space, researchers could leverage insights from smaller, cheaper models to interpret larger ones. This work addresses the efficiency of feature discovery by exploiting similarities between models within the same family, such as the Pythia or Gemma-2 series.

Methodology

The core of the proposed approach is Model Stitching, which establishes a bridge between a small model ($A$) and a larger model ($B$).

Affine Mappings

The authors train two simple affine transformations (linear maps plus bias):

  1. $T_{\uparrow}$ (Up-stitch): Maps activations from a layer in the small model $A$ to the corresponding residual stream in the larger model $B$.
  2. $T_{\downarrow}$ (Down-stitch): Maps activations from model $B$ back down to the space of model $A$.
Model stitching architecture using affine mappings to bridge different model scales.

These mappings are trained to minimize the reconstruction error between the models' residual streams. Once established, this bridge allows for the mathematical re-parameterization of an SAE. An SAE trained on the small model can be directly applied to the large model's activations via the stitching maps.

Stitched Initialization

Beyond zero-shot transfer, the most significant application is using transferred weights as a smart initialization for training new SAEs on the larger model. This "warm start" allows the training process to bypass the initial phase of re-learning fundamental features that the smaller model has already captured, focusing compute on the more complex features unique to the larger scale.

Experimental Setup

The methodology was evaluated using several datasets and benchmarks:

  • OpenWebText: The primary dataset for training model stitches and SAEs.
  • EuroParl: A multilingual corpus used to test language-specific steering vectors.
  • SAEBench: A suite of 8 binary classification datasets used to evaluate how well transferred features function as probes for specific concepts.
  • IFEval: Used to assess the transferability of complex instruction-following steering.

Key Insights and Results

The experiments yielded several critical insights into the nature of feature representation across scales.

Compute Efficiency and Scaling Laws

The most practical result is a 50% reduction in compute costs. Using stitched initialization, SAEs reach the same level of performance (measured by fraction of unexplained variance) with half the FLOPs required for training from scratch. This effectively shifts the scaling laws for SAE training to the left, providing higher performance at every compute budget.

Comparison of SAE training efficiency between random and stitched initialization.

Feature Universality

The ability of simple linear maps to transfer features suggests that LLMs converge on similar representational strategies, supporting the idea that "Weak Universality" is real. The authors observed that:

  • Structural features (e.g., tokens following punctuation) transfer consistently across scales.
  • Semantic features (e.g., food concepts) exhibit a binary transfer pattern—they either transfer perfectly or not at all, suggesting that scaling primarily adds specialized knowledge rather than restructuring core representations.
  • Functional roles are preserved; features like "entropy detectors" maintain their mechanical roles even after transformation through the stitch.

Probing and Steering

Transferred features proved highly effective in downstream tasks. Probes transferred from a 70M model to a 160M model achieved accuracy nearly identical to probes trained natively on the larger model. Additionally, steering vectors from a 2B model successfully controlled the output language of a 9B model without any additional training on the larger architecture.

Discussion and Limitations

While model stitching offers a powerful tool for interpretability, several constraints remain. The current method is limited to within-family transfer (e.g., Gemma-2 2B to 9B) and requires consistent tokenization. Transferring features between disparate architectures, such as Llama to GPT-4, remains an open challenge. Furthermore, the performance of transferred features is inherently capped by the knowledge of the smaller model; if a concept was never learned by the 70M model, stitching cannot assist the 160M model in finding it.

Future research may extend these techniques to transfer other model components, such as LoRA adapters or circuit definitions, potentially leading to a unified framework for understanding computation across the spectrum of model scales.

Summary updated

BibTeX
@inproceedings{chen2025transferring,
  author = {Alan Chen and Jack Merullo and Alessandro Stolfo and Ellie Pavlick},
  title = {{Transferring Linear Features Across Language Models With Model Stitching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Qvvy0X63Fv},
}
Figure