Function Induction and Task Generalization: An Interpretability Study with Off-by-One Addition
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:43 UTC · 24ab55be6130 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,23 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "TISRmGHpjQ"- }- ],- "title": "Function Induction and Task Generalization: An Interpretability Study with Off-by-One Addition",- "authors": [- "Qinyuan Ye",- "Robin Jia",- "Xiang Ren"- ],- "abstract": "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. \nLeveraging 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.\nOverall, our findings offer deeper insights into how reusable and composable structures within language models enable task-level generalization.",- "year": 2026,- "venue": "ICLR 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "9040fe3b-80d2-441e-b82d-c5e3a9d7586c"}
paper.json added
+++ b/paper.json@@ -0,0 +1,13 @@+{+ "title": "Function Induction and Task Generalization: An Interpretability Study with Off-by-One Addition",+ "authors": [+ "Qinyuan Ye",+ "Robin Jia",+ "Xiang Ren"+ ],+ "abstract": "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. \nLeveraging 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.\nOverall, our findings offer deeper insights into how reusable and composable structures within language models enable task-level generalization.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}