Mechanistic Permutability: Match Features Across Layers
Abstract
Understanding how features evolve across layers in deep neural networks is a fundamental challenge in mechanistic interpretability, particularly due to polysemanticity and feature superposition. While Sparse Autoencoders (SAEs) have been used to extract interpretable features from individual layers, aligning these features across layers has remained an open problem. In this paper, we introduce SAE Match, a novel, data-free method for aligning SAE features across different layers of a neural network. Our approach involves matching features by minimizing the mean squared error between the folded parameters of SAEs, a technique that incorporates activation thresholds into the encoder and decoder weights to account for differences in feature scales. Through extensive experiments on the Gemma 2 language model, we demonstrate that our method effectively captures feature evolution across layers, improving feature matching quality. We also show that features persist over several layers and that our approach can approximate hidden states across layers. Our work advances the understanding of feature dynamics in neural networks and provides a new tool for mechanistic interpretability studies.
Community
We've developed SAE Match, a method to align interpretable features across layers in deep neural networks. This approach reveals how features in large language models (LLMs) persist and transform across layers, providing new insights into their internal workings.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Residual Stream Analysis with Multi-Layer SAEs (2024)
- Efficient Dictionary Learning with Switch Sparse Autoencoders (2024)
- Sparse Autoencoders Reveal Universal Feature Spaces Across Large Language Models (2024)
- Towards Universality: Studying Mechanistic Similarity Across Language Model Architectures (2024)
- A is for Absorption: Studying Feature Splitting and Absorption in Sparse Autoencoders (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper