Large language models demonstrate the intriguing ability to perform unseen tasks via in-context learning. However, it remains unclear what mechanisms inside the model drive such task-level generalization. In this work, we approach this question through the lens of off-by-one addition (i.e., 1+1=3, 2+2=5, 3+3=?), a two-step, counterfactual task with an unexpected +1 function as a second step. Leveraging circuit-style interpretability techniques such as path patching, we analyze the models' internal computations behind their performance and present three key findings. First, we identify a mechanism that explains the model's generalization from standard addition to off-by-one addition. It resembles the induction head mechanism described in prior work, yet operates at a higher level of abstraction; we therefore term it "function induction" in this work. Second, we show that the induction of the +1 function is governed by multiple attention heads in parallel, each of which emits a distinct piece of the +1 function. Finally, we find that this function induction mechanism is reused in a broader range of tasks, including synthetic tasks such as shifted multiple-choice QA and algorithmic tasks such as base-8 addition. Overall, our findings offer deeper insights into how reusable and composable structures within language models enable task-level generalization.
CHAIRO: Contextual Hierarchical Analogical Induction and Reasoning Optimization for LLMs
National Engineering Laboratory for Big Data System Computing Technology(国家大数据系统计算技术工程实验室);Shenzhen University(深圳大学);Tsinghua University(清华大学);National University of Singapore(新加坡国立大学)
Towards Intrinsic Interpretability of Large Language Models:A Survey of Design Principles and Architectures
MOE Key Lab of Computational Linguistics, Peking University(计算语言学MOE实验室,北京大学);Beijing Academy of Artificial Intelligence, Beijing, China(北京人工智能研究院,北京,中国);Nanjing University of Science and Technology(南京理工大学);Purdue University(普渡大学)
Temporal Knowledge Question Answering via Abstract Reasoning Induction
Laboratory for Big Data and Decision, National University of Defense Technology(国防科技大学大数据与决策实验室);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
Resource-Lean Lexicon Induction for German Dialects
MaiNLP, Center for Information and Language Processing, LMU Munich, Germany(MaiNLP,信息与语言处理中心,慕尼黑大学,德国);Munich Center for Machine Learning (MCML), Munich, Germany(慕尼黑机器学习中心(MCML),慕尼黑,德国)
Neuron-based Personality Trait Induction in Large Language Models
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学首都人工智能学院);Tongyi Lab(通义实验室);Institute of Statistics and Big Data, Renmin University of China(中国人民大学统计与大数据研究院)
METRO: Towards Strategy Induction from Expert Dialogue Transcripts for Non-collaborative Dialogues
National University of Singapore(新加坡国立大学);Nankai University(南开大学);Sichuan University(四川大学);School of Artificial Intelligence, Beihang University(北航人工智能学院);Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing(北京未来区块链与隐私计算高级创新中心);Key Laboratory of Mathematics, Informatics and Behavioral Semantics (LMIB)(数学、信息学与行为语义学重点实验室(LMIB));Engineering Research Center of Machine Learning and Industry Intelligence, Ministry of Education, China(教育部机器学习与工业智能工程研究中心,中国)
METRO 通过大规模语言模型从原始 transcripts 自动诱导策略动作和规划逻辑,提出策略森林结构,实验显示其在两个基准上性能优越,具有跨任务迁移能力。
Legal Rule Induction: Towards Generalizable Principle Discovery from Analogous Judicial Precedents
Department of Computer Science and Engineering, HKUST, Hong Kong SAR, China(香港科技大学计算机科学与工程系);School of Law, Tsinghua University, Beijing, China(清华大学法学院)
BioLLMAgent: A Hybrid Framework with Enhanced Structural Interpretability for Simulating Human Decision-Making in Computational Psychiatry
School of Computer Science and Technology, East China Normal University(东华大学计算机科学与技术学院);Department of Computer Science, University of Reading(Reading大学计算机科学系);Department of Computer Science, Brunel University of London(伦敦布鲁内尔大学计算机科学系)
Learn to Memorize: Scalable Continual Learning in Semiparametric Models with Mixture-of-Neighbors Induction Memory
State Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University(多媒体信息处理国家重点实验室,计算机科学学院,北京大学);Microsoft(微软公司);Microsoft Research Asia(微软亚洲研究院)
DoLFIn: Distributions over Latent Features for Interpretability
University of Amsterdam(阿姆斯特丹大学)
解释神经模型的内部工作是确保模型鲁棒性和可信度的关键步骤,但神经网络可解释性的工作通常面临着一个权衡:要么模型太受约束而不是非常有用,要么模型找到的解决方案太复杂而无法解释。我们提出了一种新的策略来实现可解释性,在我们的实验中,避免了这种权衡。我们的方法建立在成功使用概率作为中心量的基础上,例如在注意力机制中。在我们的体系结构中,DoLFIn(Distributions over Latent Features for Interpretability),我们事先不确定每个特征代表什么,并且特征一起进入无序集合。每个特征都有一个从0到1的相关概率,衡量其对进一步处理的重要性。我们表明,与注意力和显着图方法不同,这种设置可以直接计算输入组件支持神经模型决策的概率。为了证明这种方法的有用性,我们将DoLFIn应用于文本分类,并表明DoLFIn不仅提供了可解释的解决方案,而且在SST 2和AG-news数据集上的性能甚至略优于经典的CNN和BiLSTM文本分类器。
ProMap: Effective Bilingual Lexicon Induction via Language Model Prompting
College of Computing, Mohammed VI Polytechnic University(穆罕默德六世理工大学计算学院);Deep Learning & Natural Language Processing Group, The University of British Columbia(不列颠哥伦比亚大学深度学习与自然语言处理组);Department of Natural Language Processing & Department of Machine Learning, MBZUAI(穆罕默德·本·扎耶德人工智能大学自然语言处理系与机器学习系);Department of Electrical & Computer Engineering, University of Sherbrooke(舍布鲁克大学电气与计算机工程系)