Transferring Linear Features Across Language Models With Model Stitching
Alan Chen, Jack Merullo, Alessandro Stolfo, Ellie Pavlick
TL;DR
This work investigates transferring linear features across language models via affine model stitching of residual streams. By learning bidirectional affine mappings $\\mathcal{T}_{\\uparrow}$ and $\\mathcal{T}_{\\downarrow}$, the authors transfer Sparse Autoencoders (SAEs), probes, and steering vectors between models of different sizes within the same family, achieving notable compute savings and preserving downstream performance under a weak universality assumption. A key finding is that transferring an SAE initialized on a smaller model can substantially accelerate training on a larger model (roughly 30–50% fewer FLOPs to reach target explained variance), while probing and steering transfers are effective in several but not all cases, with semantic versus structural features showing distinct transfer behavior. The work also analyzes functional feature transfer (e.g., entropy and attention-deactivation features), offering evidence that certain universal features retain their roles post-transfer. Limitations include the focus on within-family transfers with the same tokenizer and incomplete scaling laws; future work points to cross-family stitching, robustness, and synergy with LoRA-like methods to broaden applicability and reliability.
Abstract
In this work, we demonstrate that affine mappings between residual streams of language models is a cheap way to effectively transfer represented features between models. We apply this technique to transfer the weights of Sparse Autoencoders (SAEs) between models of different sizes to compare their representations. We find that small and large models learn similar representation spaces, which motivates training expensive components like SAEs on a smaller model and transferring to a larger model at a FLOPs savings. In particular, using a small-to-large transferred SAE as initialization can lead to 50% cheaper training runs when training SAEs on larger models. Next, we show that transferred probes and steering vectors can effectively recover ground truth performance. Finally, we dive deeper into feature-level transferability, finding that semantic and structural features transfer noticeably differently while specific classes of functional features have their roles faithfully mapped. Overall, our findings illustrate similarities and differences in the linear representation spaces of small and large models and demonstrate a method for improving the training efficiency of SAEs.
