The Local Interaction Basis: Identifying Computationally-Relevant and Sparsely Interacting Features in Neural Networks
<|reference_start|>The Local Interaction Basis: Identifying Computationally-Relevant and Sparsely Interacting Features in Neural Networks: Mechanistic interpretability aims to understand the behavior of neural networks by reverse-engineering their internal computations. However, current methods struggle to find clear interpretations of neural network activations because a decomposition of activations into computational features is missing. Individual neurons or model components do not cleanly correspond to distinct features or functions. We present a novel interpretability method that aims to overcome this limitation by transforming the activations of the network into a new basis - the Local Interaction Basis (LIB). LIB aims to identify computational features by removing irrelevant activations and interactions. Our method drops irrelevant activation directions and aligns the basis with the singular vectors of the Jacobian matrix between adjacent layers. It also scales features based on their importance for downstream computation, producing an interaction graph that shows all computationally-relevant features and interactions in a model. We evaluate the effectiveness of LIB on modular addition and CIFAR-10 models, finding that it identifies more computationally-relevant features that interact more sparsely, compared to principal component analysis. However, LIB does not yield substantial improvements in interpretability or interaction sparsity when applied to language models. We conclude that LIB is a promising theory-driven approach for analyzing neural networks, but in its current form is not applicable to large language models.<|reference_end|>
@article{bushnaq2024the,
    title={The Local Interaction Basis: Identifying Computationally-Relevant and
  Sparsely Interacting Features in Neural Networks},
    author={Lucius Bushnaq, Stefan Heimersheim, Nicholas Goldowsky-Dill, Dan
  Braun, Jake Mendel, Kaarel H"anni, Avery Griffin, J"orn St"ohler,
  Magdalena Wache, Marius Hobbhahn},
    journal={arXiv preprint arXiv:2405.10928},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.10928},
    primaryClass={cs.LG}
}