Circuit analysis of any certain model behavior is a central task in mechanistic interpretability. We introduce our circuit discovery pipeline with Sparse Autoencoders (SAEs) and a variant called Transcoders. With these two modules inserted into the model, the model's computation graph with respect to OV and MLP circuits becomes strictly linear. Our methods do not require linear approximation to compute the causal effect of each node. This fine-grained graph identifies both end-to-end and local circuits accounting for either logits or intermediate features. We can scalably apply this pipeline with a technique called Hierarchical Attribution. We analyze three kinds of circuits in GPT-2 Small: bracket, induction, and Indirect Object Identification circuits. Our results reveal new findings underlying existing discoveries.
Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models
MaiNLP, Center for Information and Language Processing, LMU Munich(MaiNLP、信息与语言处理中心、慕尼黑大学);Munich Center for Machine Learning (MCML), Munich(慕尼黑机器学习中心);Language Technology Group, University of Oslo(语言技术组、奥斯陆大学)
PURE: Turning Polysemantic Neurons Into Pure Features by Identifying Relevant Circuits
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);Technical University of Berlin(柏林工业大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所(BIFOLD))
本文提出 PURE 方法,通过识别各纯特征对应的相关回路,将多语义神经元分解为多个单语义虚拟神经元,并在 ImageNet 训练的 ResNet 上验证其优于基于神经元激活的方法。
Attribution-Guided Pruning for Insight and Control: Circuit Discovery and Targeted Correction in Small-scale LLMs
Data Science Center ScaDS.AI, Universität Leipzig(ScaDS.AI数据科学中心,莱比锡大学);Department of Artificial Intelligence, Fraunhofer Heinrich-Hertz-Institute(人工智能系,弗劳恩霍夫 Heinrich-Hertz 研究所);Department of Electrical Engineering and Computer Science, Technische Universität Berlin(电气工程与计算机科学系,柏林技术大学);BIFOLD - Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所);Centre of eXplainable Artificial Intelligence, Technological University Dublin(可解释人工智能中心,都柏林技术大学)
Automatically identifying, counting, and describing wild animals in camera-trap images with deep learning
University of Wyoming(怀俄明大学);Auburn University(奥本大学);Harvard University(哈佛大学);University of Oxford(牛津大学);University of Minnesota(明尼苏达大学);Uber AI Labs(优步人工智能实验室)