potentialpaper

Positional versus Symbolic Attention Heads: Learning Dynamics, RoPE Geometry, and Length Generalization

Update NeurIPS 2026 submission TCB4gWgKff: 9 notes

@openreview[bot] · 2026-11-24 15:51 UTC · a531005f3ae8 ·

Evidence

reviews/openreview/tcb4gwgkff/notes/fcpnjcs5yo.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/fcpnjcs5yo.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "FcPNjCs5YO",
+ "replyTo": "e0UY1foQfx",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer q36q",
+ "content": {
+ "comment": "I like to thank the authors for going through my comments and provide new evidence and experimental results. No other comments at this point of time."
+ },
+ "createdAt": "2026-08-03T08:13:38.448Z",
+ "modifiedAt": "2026-11-19T17:02:19.253Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=FcPNjCs5YO",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/iuxcdi5aqu.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/iuxcdi5aqu.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "iUxcdi5aQu",
+ "replyTo": "nmtvxjPHnJ",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Causal analysis on open-weight model",
+ "comment": "## Response to Q4\n\nWe agree that behavioral agreement in closed LLMs does not establish mechanistic transfer. We therefore performed causal interchange interventions on the unmodified open-weight Qwen2.5-7B model.\n\nNone of the open-weight models we tested solved the Number task robustly enough for meaningful causal analysis. We therefore only study symbolic entity binding, which Qwen solves reliably. \n\nAt each layer, we replace the recipient residual state with the donor state at either the entity token in the answer prefix or the final token, and then complete the recipient forward pass.\n\n### Example\n\n**Recipient**\n\n> Context: The key is orange. The cup is pink. The bag is red. The door is brown. The car is yellow. The book is red. The table is blue. The chair is black. \n> Question: What is the color of the table? \n> Answer: The color of the **table is**\n\n**Donor**\n\n> Context: The door is black. The cup is red. The bag is pink. The book is green. The car is yellow. The key is red. The table is brown. The chair is blue. \n> Question: What is the color of the book? \n> Answer: The color of the **book is**\n\nThis pair distinguishes four outcomes:\n\n- **Rec:** **blue**, the recipient answer (`table -> blue`).\n- **Don:** **green**, the donor answer (`book -> green`).\n- **Sym-ind:** **red**, the donor entity retrieved from the recipient (`book -> red`).\n- **Slot-ind:** **brown**, the recipient value at the donor entity’s slot: book is fourth in the donor, while the fourth recipient entity is `door -> brown`.\n\n| Intervention | L0–11 | L12–18 | L19–22 | L23–27 |\n|---|---|---|---|---|\n| Answer entity (book $\\rightarrow$ table) | **red** (Sym-ind) | **blue** (Rec) | **blue** (Rec) | **blue** (Rec) |\n| Final token (is $\\rightarrow$ is) | **blue** (Rec) | **blue** (Rec) | **red** (Sym-ind) | **green** (Don) |\n\nEarly answer-entity states therefore behave as symbolic keys: inserting the donor representation for *book* retrieves *book* from the recipient context. This context-dependent behavior later appears at the final position, followed by transfer of the donor answer.\n\n### Aggregate results\n\nWe repeated the experiment across matched pairs with varied bindings and entity orders.\n\n**Answer-entity patch**\n\n| Layers | Rec | Don | Sym-ind | Slot-ind | Other |\n|---|---:|---:|---:|---:|---:|\n| 0–1 | 0% | 0% | 100% | 0% | 0% |\n| 2–14 | 5–25% | 0% | 75–95% | 0% | 0% |\n| 15 | 40% | 0% | 60% | 0% | 0% |\n| 16–27 | 100% | 0% | 0% | 0% | 0% |\n\n**Final-token patch**\n\n| Layer | Rec | Don | Sym-ind | Slot-ind | Other |\n|---:|---:|---:|---:|---:|---:|\n| 0–18 | 100% | 0% | 0% | 0% | 0% |\n| 19 | 25% | 0% | 35% | 40% | 0% |\n| 20 | 20% | 5% | 40% | 35% | 0% |\n| 21 | 5% | 5% | 35% | 45% | 10% |\n| 22 | 0% | 10% | 35% | 45% | 10% |\n| 23 | 0% | 60% | 5% | 30% | 5% |\n| 24 | 0% | 95% | 0% | 5% | 0% |\n| 25–27 | 0% | 100% | 0% | 0% | 0% |\n\nThe interventions reveal the causal trajectory\n\n$$\n\\text{symbolic key}\\rightarrow\\text{context-dependent retrieval}\n\\rightarrow\\text{retrieved value}\\rightarrow\\text{Reflexive preservation}.\n$$\n\nFirst, through layer 15, answer-entity patches predominantly retrieve the recipient’s value for the donor entity, showing that these states carry a symbolic key. Their effect disappears from layer 16, while final-position patches begin affecting behavior at layer 19.\n\nSecond, at layers 19–22, 75–80% of final-position patches produce recipient-context indirect outcomes. Slot-ind outcomes occur exclusively when the donor entity is in the first or second context slot. For all later slots, indirect outcomes are always Sym-ind. Thus, Qwen generally uses symbolic retrieval, with an additional fixed-slot shortcut for the first two entries. This shortcut is distinct from number-conditioned Selective-Index.\n\nFinally, Don transfer rises from 60% at layer 23 to 95% at layer 24 and 100% at layers 25–27. Once retrieved, the donor value is preserved independently of the recipient context, matching the answer-preserving Reflexive primitive.\n\nTogether with our held-out head ablations (please see our Response to Q5 by reviewer 2GDA), these results provide causal evidence that the controlled model’s high-level Retrieval-to-Reflexive computation transfers to a real multi-head LLM. We do not interpret them as a complete Qwen circuit or as causal validation of Index."
+ },
+ "createdAt": "2026-08-01T17:03:15.288Z",
+ "modifiedAt": "2026-11-19T17:02:19.299Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=iUxcdi5aQu",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/jdcpdho9xf.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/jdcpdho9xf.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "jDCpDHo9XF",
+ "replyTo": "pl4QbWLKEc",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Answer to Q5: complete ablation study on pure vs mixed heads.",
+ "comment": "## Response to Q5\n\nWe thank the reviewer for this suggestion. We evaluated all 784 attention heads of Qwen2.5-7B (28 layers, 28 heads per layer) on an entity-binding task with prompts of the form:\n\n> *Context: The key is orange. The cup is pink. … Question: What is the color of the {entity}?* \n> *Answer: The color of the {entity} is*\n\nThe model achieved 100% accuracy on the score-computation set. For each head $H$, we computed positional and symbolic scores and defined its continuous purity as\n\n$$\n p(H)=1-\\gamma_H^*\n$$\n\nwhere $\\gamma_H^*$ is the smallest $\\gamma$ for which one score exceeds $1-\\gamma$ and the other is below $\\gamma$.\n\nUsing the paper’s purity threshold $p(H)\\geq0.8$ (equivalently, $\\gamma\\leq 0.2 $), 204/784 heads (26.0%) are high-purity: 58 (7.4%) positional-pure and 146 (18.6%) symbolic-pure. A further 290/784 heads (37.0%) are mixed, meaning that they are not classified as pure for any tested $\\gamma$. The remaining 290 heads have intermediate purity: they satisfy the purity criterion only under a more relaxed threshold. \n\nImportantly, heads were scored and selected on the score-computation set, whereas ablations were evaluated on a fresh set of 120 entity-binding inputs. The unablated model achieved 120/120 correct answers on this held-out ablation set. We then ablated either the highest-purity heads or the same number of mixed heads with the lowest mean positional/symbolic score:\n\n| Fraction of heads ablated | Number of heads ablated | Held-out accuracy after ablating highest-purity heads | Held-out accuracy after ablating lowest-score mixed heads |\n| --- | ---: | ---: | ---: |\n| 10% | 78 | 64/120 (53.3%) | 120/120 (100%) |\n| 15% | 118 | 5/120 (4.2%) | 120/120 (100%) |\n\nThus, high-purity heads are causally important for entity-binding performance in this real multi-head Transformer: ablating 15% of the highest-purity heads reduces held-out accuracy from 100% to 4.2%. In contrast, ablating an equal number of the lowest-score mixed heads leaves performance unchanged."
+ },
+ "createdAt": "2026-07-31T14:42:14.799Z",
+ "modifiedAt": "2026-11-19T17:02:19.302Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=jDCpDHo9XF",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/nlo4ngsuwe.json modified

+++ b/reviews/openreview/tcb4gwgkff/notes/nlo4ngsuwe.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair LYw1",
"content": {
- "metareview": "The authors study the mechanism by which attention heads in transformers learn to perform structurally equivalent tasks, requiring positional symbolic reasoning. The paper shows how these two tasks entail learning different mechanisms, and identify them in trained models.\n\nThe reviewers appreciate the mix of theoretical and empirical results, the careful experimental setup, and its readability.\n\nCrucially, the authors should focus on the causal claims concerns raised by reviewer HC8k. While the authors have proposed a possible mechanism a model can learn to perform the studied tasks, it is unclear whether the trained models actually implements them. As such, the causal claims should either be shown, or be described more carefully and accurately in the paper."
+ "metareview": "The authors study the mechanism by which attention heads in transformers learn to perform structurally equivalent tasks, requiring positional symbolic reasoning. The paper shows how these two tasks entail learning different mechanisms, and identify them in trained models.\n\nThe reviewers appreciate the mix of theoretical and empirical results, the careful experimental setup, and its readability.\n\nCrucially, the authors should focus on the causal claims concerns raised by reviewer HC8k. While the authors have proposed a possible mechanism a model can learn to perform the studied tasks, it is unclear whether the trained models actually implements them. As such, the causal claims should either be shown, or be described more carefully and accurately in the paper.",
+ "final_justification": "This is a good paper! The reviewers concerns were mostly addressed."
},
"createdAt": "2026-07-20T05:13:38.821Z",
- "modifiedAt": "2026-11-18T15:26:12.662Z",
+ "modifiedAt": "2026-11-19T05:03:56.278Z",
"url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=NLo4NGsuwE",
"license": "CC-BY-4.0"
}

reviews/openreview/tcb4gwgkff/notes/nmtvxjphnj.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/nmtvxjphnj.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "nmtvxjPHnJ",
+ "replyTo": "vCcBbLDuyP",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer HC8k",
+ "content": {
+ "comment": "Thank you to the authors for the extremely detailed answer. About Q1, the causal experiments address most of my concern about the experiments being suggestive. However, note that this is not a full description of a circuit, which would show the definitive algorithm implementation. I am satisfied with the Q2 and Q3 answers. Regarding Q4, unfortunately I am still concerned about how the paper claims transfer to real LLMs, and this is the main weakness of the paper after the rebuttal in my opinion. I am increasing my score to 4, but I still think that the paper lacks these results to be a clear accept."
+ },
+ "createdAt": "2026-07-31T02:46:45.532Z",
+ "modifiedAt": "2026-11-19T17:02:19.141Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=nmtvxjPHnJ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/pl4qbwlkec.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/pl4qbwlkec.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "pl4QbWLKEc",
+ "replyTo": "lohiSkOuSp",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 2GDA",
+ "content": {
+ "comment": "Thanks for the responses and additional experiments. The new results on 2-hop real-world LLMs and 2-head-per-layer settings have largely addressed my concerns. \n\nI would raise my score to 4 if the Q5 ablation study on pure vs. mixed heads is completed and shows that pure heads contribute more to task performance than mixed heads. If the results suggest otherwise, the current evidence for the causal role of pure heads would be insufficient."
+ },
+ "createdAt": "2026-07-30T05:01:32.682Z",
+ "modifiedAt": "2026-11-19T17:02:19.304Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=pl4QbWLKEc",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/rhpmwf8ch4.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/rhpmwf8ch4.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "RhpmwF8ch4",
+ "replyTo": "iUxcdi5aQu",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer HC8k",
+ "content": {
+ "comment": "I thank the authors for the additional experiment. Indeed, this experiment shows some evidence that one of the mechanisms proposed in the paper is also used in a real LLM. However, they do not provide a detailed circuit-level description of how these mechanisms are actually implemented in real LLMs, which would, in my assessment, make the paper a clear accept. An example is [7], which shows how multiple binding mechanisms are implemented simultaneously in LLMs, mixing positional, lexical, and reflexive signals. I am positive about the paper, and I believe that the additional results presented in the rebuttal process drastically improved the paper.\n\n[7] Gur-Arieh, Yoav, Mor Geva, and Atticus Geiger. \"Mixing Mechanisms: How Language Models Retrieve Bound Entities In-Context.\" International Conference on Learning Representations. 2026."
+ },
+ "createdAt": "2026-08-02T04:58:48.130Z",
+ "modifiedAt": "2026-11-19T17:02:19.310Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=RhpmwF8ch4",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/vccbblduyp.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/vccbblduyp.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "vCcBbLDuyP",
+ "replyTo": "AwTYcCMix4",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Causal tests - Complete version",
+ "comment": "We have completed the Causal activation patching study. Below is a description of the experiment and a summary of the results. \n\n\n**Number-task causal test.** We patch the hidden state at the final query position from a donor sequence into a matched recipient sequence at a given layer. A **token-edit outcome** is the answer obtained by executing the donor’s current index in the recipient context, whereas a **literal outcome** is the donor’s own final answer.\n\nIllustrative pair:\n\n```text\n4-hop: ah aa ck cd dd bc ay d 3 1 4 1 2 4 10 12 3 → bc\n1-hop: ad af br cf e by ab cu 3 1 4 1 2 4 10 12 16 → ad\n```\n\nFor this pair, the token-edit outcomes are **ah** for (1→4) and **by** for (4→1), whereas the literal outcomes are the donor answers **ad** and **bc**, respectively.\n\nIf the patched state encodes a Selective-Index, it should produce the token-edit outcome. If it already encodes the retrieved symbol, it should implement the reflexive function and produce the literal donor-answer outcome. The results show precisely this transition for all hop pairs:\n\n| Intervention | Early layers: token-edit / literal (%) | Transition | Late layers: token-edit / literal (%) |\n|:--|:--|:--|:--|\n| \\(1→2\\) | L0–1: 100 / 0 | L2: 64 / 35 | L3–11: 0 / 100 |\n| \\(2→1\\) | L0–2: 100 / 0 | L3: 21 / 69 | L4–11: 0 / 100 |\n| \\(1→4\\) | L0–1: ~ 100 / 0 | L2: 54 / 45 | L3–11: 0 / 100 |\n| \\(4→1\\) | L0–2: 100 / 0 | L3–6: gradual crossover | L7–11: ~ 0 / 100 |\n\nThus, early final-position states are causally interpreted as indices: they select a token from the *recipient* sequence. Later, the same states transfer the *donor’s* retrieved answer. Moreover, answer-like behavior stabilizes later for longer-hop donors: around layer 3 for one-hop inputs, layer 4 for two-hop inputs, and layers 7–8 for four-hop inputs. This ordering is consistent with the model repeatedly applying the same Selective-Index primitive until retrieval is complete, followed by answer-preserving reflexive computation.\n\n**Letter-task causal test.** We performed the same cross-input activation-patching experiment for the symbolic Letter task. Here, an early final-position state should encode the currently active retrieval key: when patched into another sequence, it should retrieve the token selected by that key in the *recipient* context. A late state should instead encode the donor’s retrieved answer and therefore produce that answer independently of the recipient context.\n\nIllustrative pair:\n\n```text\n4-hop:\n(c,6) (h,5) (b,2) (a,1) (c,6) (b,4) (c,2) (g,6) | (d,a) (c,c) (b,g) (b,g) (e,d) (f,e) (c,h) (h,c) (h,f) → (a,1)\n\n1-hop: (c,3) (c,5) (b,3) (a,4) (b,6) (h,2) (c,5) (g,5) | (d,a) (c,c) (b,g) (b,g) (e,d) (f,e) (c,h) (h,c) (h,g) → (g,5)\n```\n\nFor this illustrative pair, the context-dependent retrieval outcomes are **(g,6)** for (1→4) and **(a,4)** for (4→1). The corresponding donor-answer (“literal”) outcomes are **(g,5)** and **(a,1)**. Thus, the causal predictions are directly analogous to those for the Number task: early patches should yield the recipient-context retrieval outcome, whereas late patches should yield the donor answer.\n\nThe table below reports the percentage of outputs matching each expected outcome across 100 examples:\n\n| Layer | (1→4): **(g,6) / (g,5)** (%) | (4→1): **(a,4) / (a,1)** (%) |\n|:--|:--:|:--:|\n| 0–3 | 100 / 0 | 100 / 0 |\n| 4 | 83 / 17 | 100 / 0 |\n| 5 | 30 / 70 | 78 / 22 |\n| 6 | 5 / 95 | 25 / 75 |\n| 7 | 0 / 100 | 5 / 95 |\n| 8–11 | 0 / 100 | 0 / 100 |\n\nWe obtain the same pattern with one- and two-hop inputs:\n\n| Layer | (1→2): token-edit / literal (%) | (2→1): token-edit / literal (%) |\n|:--|:--:|:--:|\n| 0–3 | 100 / 0 | 100 / 0 |\n| 4 | 87 / 13 | 88 / 12 |\n| 5 | 33 / 67 | 55 / 45 |\n| 6 | 11 / 89 | 16 / 84 |\n| 7–11 | 0 / 100 | 0 / 100 |\n\nThus, in the Letter task, final-position states are unambiguously retrieval-key-like through layer 3: swapping them changes the retrieved token according to the recipient sequence. Between layers 4 and 7, these states transition to answer-like representations, after which swapping them transfers the donor’s answer. The transition is slightly delayed for longer-hop donors. For example, the four-hop donor remains retrieval-like through layer 4 and reaches fully literal behavior only at layer 8.\n\n**Conclusion.** Together with the Number-task interventions, these results provide causal evidence for the two task-specific primitives proposed in our paper: early layers implement Selective-Index for numbers and Retrieval for letters, whereas later layers preserve and read out the retrieved symbol through answer-maintaining reflexive computation."
+ },
+ "createdAt": "2026-07-30T21:35:26.429Z",
+ "modifiedAt": "2026-11-19T17:02:19.291Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=vCcBbLDuyP",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/tcb4gwgkff/notes/ydfhfhxkhq.json added

+++ b/reviews/openreview/tcb4gwgkff/notes/ydfhfhxkhq.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "YdFhFHxKhQ",
+ "replyTo": "jDCpDHo9XF",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 2GDA",
+ "content": {
+ "comment": "Thanks for the additional Q5 ablation experiment on Qwen2.5-7B. Results show pure heads are causally important for the entity-binding task. I will raise the score to 4. I recommend that the authors include these results (the pure-head percentage and the ablation) in the final version of the paper."
+ },
+ "createdAt": "2026-07-31T15:20:09.164Z",
+ "modifiedAt": "2026-11-19T17:02:19.958Z",
+ "url": "https://openreview.net/forum?id=TCB4gWgKff&noteId=YdFhFHxKhQ",
+ "license": "CC-BY-4.0"
+}