Compositional generalization-the systematic combination of known components into novel structures-remains a core challenge in cognitive science and machine learning. Although transformer-based large language models can exhibit strong performance on certain compositional tasks, the underlying mechanisms driving these abilities remain opaque, calling into question their interpretability. In this work, we identify and mechanistically interpret the circuit responsible for compositional induction in a compact transformer. Using causal ablations, we validate the circuit and formalize its operation using a program-like description. We further demonstrate that this mechanistic understanding enables precise activation edits to steer the model's behavior predictably. Our findings advance the understanding of complex behaviors in transformers and highlight such insights can provide a direct pathway for model control.
Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspective
National Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University(国家多媒体信息处理重点实验室,计算机学院,北京大学);OPPO AI Center(OPPO人工智能中心)
Compositional Concept Generalization with Variational Quantum Circuits
School of Computer Science;Engineering University of New South Wales Sydney, Australia;Stanford University California, USA;Computer Science University College London London, UK;School of Eng. Maths. \& Tech University of Bristol Bristol, UK;Inst. Logic Language \& Computation University of Amsterdam Amsterdam, NL
Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京大型模型与智能治理研究重点实验室);Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE(下一代智能搜索与推荐工程研究中心,教育部);Tianjin University of Science and Technology(天津科技大学);Beijing Institute of Technology(北京理工大学)
Circuit Insights: Towards Interpretability Beyond Activations
Department of Artificial Intelligence, Fraunhofer Heinrich Hertz Institute(人工智能系,弗劳恩霍夫海因里希·赫兹研究所);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(可解释人工智能中心,都柏林技术大学)
Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysis
School of Computing(计算学院);Data Science, The University of Hong Kong(数据科学,香港大学);School of Data Science, The Chinese University of Hong Kong, Shenzhen(数据科学学院,香港中文大学(深圳))
Modular Arithmetic: Language Models Solve Math Digit by Digit
German Research Center for AI (DFKI)(德国人工智能研究中心(DFKI));Saarland University(萨尔兰大学);Center for European Research in Trusted AI (CERTAIN)(可信人工智能欧洲研究中心(CERTAIN))
Explainable Artificial Intelligence Model for Evaluating Shear Strength Parameters of Municipal Solid Waste Across Diverse Compositional Profiles
The Joint Graduate School of Energy and Environment, King Mongkut's University of Technology Thonburi(泰国国王科技大学吞武里校区能源与环境联合研究生院);AI Research Group, Department of Civil Engineering, Faculty of Engineering, King Mongkut's University of Technology Thonburi(泰国国王科技大学吞武里校区工程学院土木工程系人工智能研究组);Center of Excellence on Energy Technology and Environment (CEE), PERDO, Ministry of Higher Education, Science, Research and Innovation (MHESI)(高等教育、科学、研究与创新部PERDO能源技术与环境卓越中心);Department of Environmental Engineering, Faculty of Engineering, Kasetsart University(农业大学工程学院环境工程系)
Neurocircuitry-Inspired Hierarchical Graph Causal Attention Networks for Explainable Depression Identification
MOE Frontier Science Center for Brain Science and Brain-machine Integration(脑科学与脑机融合前沿科学中心);Nanhu Brain-computer Interface Institute(南湖脑机接口研究院);School of Computer Science and Technology(计算机科学与技术学院);Qiushi Academy for Advanced Studies(启硕高级研究院);State Key Laboratory of Brain-machine Intelligence(脑机智能国家重点实验室);The Department of Neurosurgery, Second Affiliated Hospital, School of Medicine, Zhejiang University Hangzhou, China(浙江大学医学院附属第二医院神经外科)
Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers
School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院);Institute for Advanced Algorithms Research, Shanghai Seres Information Technology Co., Ltd(上海赛尔斯信息技术有限公司高级算法研究院)
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(语言技术组、奥斯陆大学)