Most currently deployed large language models (LLMs) undergo continuous training or additional finetuning. By contrast, most research into LLMs' internal mechanisms focuses on models at one snapshot in time (the end of pre-training), raising the question of whether their results generalize to real-world settings. Existing studies of mechanisms over time focus on encoder-only or toy models, which differ significantly from most deployed models. In this study, we track how model mechanisms, operationalized as circuits, emerge and evolve across 300 billion tokens of training in decoder-only LLMs, in models ranging from 70 million to 2.8 billion parameters. We find that task abilities and the functional components that support them emerge consistently at similar token counts across scale. Moreover, although such components may be implemented by different attention heads over time, the overarching algorithm that they implement remains. Surprisingly, both these algorithms and the types of components involved therein can replicate across model scale. These results suggest that circuit analyses conducted on small models at the end of pre-training can provide insights that still apply after additional pre-training and over model scale.
Emergence and Localisation of Semantic Role Circuits in LLMs
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Idiap Research Institute(Idiap研究 institute);National Biomarker Centre, CRUK-MI, Univ. of Manchester(国家生物标志物中心,CRUK-MI,曼彻斯特大学)
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(数据科学学院,香港中文大学(深圳))
All Circuits Lead to Rome: Rethinking Functional Anisotropy in Circuit and Sheaf Discovery for LLMs
Rutgers University(罗格斯大学);Northwestern University(西北大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));University of Toronto(多伦多大学)
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(可解释人工智能中心,都柏林技术大学)
CURE:Circuit-Aware Unlearning for LLM-based Recommendation
University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校);Zhejiang University(浙江大学);The Chinese University of Hong Kong(香港中文大学);National University of Singapore(新加坡国立大学)
CircuitLM: A Multi-Agent LLM-Aided Design Framework for Generating Circuit Schematics from Natural Language Prompts
Department of Computer Science and Engineering(计算机科学与工程系);Department of Electrical and Electronic Engineering(电气与电子工程系);Islamic University of Technology(伊斯兰技术大学)
Navigating by Old Maps: The Pitfalls of Static Mechanistic Localization in LLM Post-Training
School of Computer Science and Technology(计算机科学与技术学院);Xi’an Jiaotong University(西安交通大学);School of Computer Science and Engineering(计算机科学与工程学院);The Chinese University of Hong Kong(香港中文大学);Shaanxi Co., Ltd(陕西有限公司);China Mobile Group(中国移动集团);College of Computing and Data Science(计算与数据科学学院);Nanyang Technological University(南洋理工大学)
Electronic Circuit Principles of Large Language Models
Harbin Institute of Technology(哈尔滨工业大学);Central South University(中南大学);The Chinese University of Hong Kong(香港中文大学);The University of Hong Kong(香港大学);ByteDance Seed (China)(字节跳动种子(中国))
Where Animacy Lives in Large Language Models: Tracing the Circuits of the Animacy Concept
Graduate School of Informatics, University of Amsterdam(阿姆斯特丹大学信息学研究生院);Amsterdam University Medical Center(阿姆斯特丹大学医学中心);ILLC, University of Amsterdam(阿姆斯特丹大学逻辑、语言与计算研究所)
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))
Automating Thematic Analysis: How LLMs Analyse Controversial Topics
School of Social Science, The University of Queensland(昆士兰大学社会科学学院);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院);Monash University(莫纳什大学);Queensland University of Technology(昆士兰科技大学);Microsoft(微软公司);School of Humanities and Communications Arts, Western Sydney University(西悉尼大学人文与传播艺术学院)
Automated Thematic Analyses Using LLMs: Xylazine Wound Management Social Media Chatter Use Case
Emory University(埃默里大学);Wheeler High School(惠勒高中);Rutgers New Jersey Medical School(罗格斯新泽西医学院);Perelman School of Medicine, University of Pennsylvania(宾夕法尼亚大学佩雷尔曼医学院)
TopoSizing: An LLM-aided Framework of Topology-based Understanding and Sizing for AMS Circuits
School of EECS, Peking University(电子工程系,北京大学);School of Integrated Circuits, Peking University(集成电路学院,北京大学);Department of Electrical and Computer Engineering, The University of Texas at Austin(电气与计算机工程系,德克萨斯大学奥斯汀分校);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学)