How Do Language Models Compose Functions?
Update NeurIPS 2026 submission iuShT9gVLr: 9 notes
@openreview[bot] · 2026-11-24 15:54 UTC · 2f642a1cd2ea ·
reviews/openreview/iusht9gvlr/notes/2bmsfuyecc.json added
+++ b/reviews/openreview/iusht9gvlr/notes/2bmsfuyecc.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "2BmsfUYecC",+ "replyTo": "1AlbFqVO1u",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear [EMSk], thank you for your review! We appreciate the pointers and would be happy to adjust our writing following your suggestions.\n\n- You are correct that our Fig. 3 caption should read \"when distinct from\".\n- Our method in Sec. 5.1 is as you describe: we trained a vector that we add to the averaged embeddings for $x$ to produce the unembedding for $g(f(x))$. We will clarify this text in revision.\n- You're also right about the unembeddings: due to the RMSNorm (in Llama 3 and Olmo 2), we should instead measure the translation from $x$ to $\\gamma \\odot u_{g(f(x))}$ (the direction of the unembedding in the residual stream). Even so, our correlations remain the same (e.g. $r^2 = 0.65$), because cosine similarity is invariant to uniform scaling (and $\\gamma$ is near uniform).\n\n\n**Use of intermediate variables:** The model could use intermediate variable representations that our methods do not decode and we can further emphasize that. However, our activation patching experiments in App. J and the following new ones provide some causal evidence against this hypothesis. We generally extract patches from the location corresponding to maximal logit lens signal for $f(x)$, as described in App. J.\n\n\n1. We can patch from $x' \\to f(x')$ or $x' \\to f'(x')$ into the computation for $x \\to g(f(x))$.\n\n We conduct this experiment with the park-country-capital and landmark-country-capital tasks. E.g. for park-country-capital, $f$ is park-country and $f'$ is landmark-country.\n\n Example: from \"Mount Rushmore $\\to$ United States\" into \"Yellow Mountains $\\to$ Beijing\", measuring the causal effect on predicting \"Washington DC\" instead.\n\n | | Compositional | Direct |\n |---|---|---|\n | $\\Delta$RR (mean) | + 0.13 | -0.05 |\n\n These interventions result in a positive causal effect for $g(f(x'))$ when patching examples with compositional signatures at early layers (similar to backpatching [1]), but not for examples with direct signatures (at any layer).\n\n2. We can patch from $x' \\to g(f(x'))$ into $x \\to g(f(x))$, i.e. a different input for the same compositional task. We only use patched activations which do not decode $g(f(x'))$ via logit lens.\n\n We conduct this experiment with all tasks. Example (movie-director-birthyear): from \"Cape Fear $\\to$ 1942\" into \"Finding Nemo $\\to$ 1965\", measuring the causal effect on predicting \"1942\" instead.\n\n | | Compositional | Direct |\n |---|---|---|\n | $\\Delta$RR (mean) | +0.14 | -0.03 |\n\n These interventions result in a positive causal effect for $g(f(x'))$ in examples with compositional signatures, but not direct signatures. If we patch activations regardless of whether they decode $g(f(x'))$, we see causal effects of +0.02-0.40 $\\Delta$RR, likely implying copying of $g(f(x'))$ from the patch.\n\n3. We can patch from $x' \\to g(f'(x'))$ into $x \\to g(f(x))$.\n\n We specifically use two direct-signature tasks (movie-director-birthyear and book-author-birthyear) where the people $f(x)$ are both directors and authors. For example, we can patch from \"Sleepless in Seattle $\\to$ 1941\" (movie) to \"Weaveworld $\\to$ 1952\" (book), and measure the causal effect on predicting $1941$.\n\n | | Direct |\n |---|---|\n | $\\Delta$RR (mean) | +0.00 |\n\n We observe no such causal effect on predicting $g(f'(x'))$, supporting the hypothesis that the model does not operate on intermediate variable representations in these direct signature tasks.\n\n**Decoding f(x):** We use logit lens, which appears to be sufficient for these models and tasks, rather than tuned lens.\n\n- Logit lens reads the unembedding subspace of residual stream activations, whereas tuned lens is optimized for predicting the next token. We want to account for what is represented by both methods and opt to use the token identity patchscope (App. I) as a more robust (and training-free) method for decoding the next-token subspace.\n- We now also use Jacobian lens [2] to decode signals for variables from representations. Both the patchscope and Jacobian lens strongly correlate with the measurements from logit lens ($r^2$ is 0.68 and 0.95 respectively). Neither method indicates presence of $f(x)$ where logit lens suggests absence.\n- We also design a task \"nonce-country-capital\" where we provide a mapping (from 40 nonce words to countries) in the prompt, followed by ICL for (nonce, capital) pairs. In other words, $f$ is an in-context lookup task (not stored in-weights; motivated by [3]). To produce the correct answer, $g$ (country-capital) must be applied to the representation for $f(x)$. We find a very strong logit lens signal (0.94) for $f(x)$ in this task.\n\nCitations:\n1. Biran 2024. \"Hopping too late: Exploring the limitations of large language models on multi-hop queries.\"\n2. Gurnee 2026. \"Verbalizable Representations Form a Global Workspace in Language Models\".\n3. Russin 2025. \"Parallel trade-offs in human cognition and neural networks: The dynamic interplay between in-context and in-weight learning.\""+ },+ "createdAt": "2026-07-30T21:41:40.931Z",+ "modifiedAt": "2026-11-19T16:51:59.773Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=2BmsfUYecC",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/abn5i04to7.json added
+++ b/reviews/openreview/iusht9gvlr/notes/abn5i04to7.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "abn5i04TO7",+ "replyTo": "2BmsfUYecC",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer EMSk",+ "content": {+ "comment": "Thanks for the additional experiments. I think these are reasonably compelling, and I agree with the other reviewers that these seem worth promoting to the main body of the paper. I think I'm a bit fuzzy on some of the details of these experiments, though (I also recognize that the discussion period is nearly over). For the patching, are you patching the entire residual stream at the positions where logit lens tends to show the intermediate representation? To be clear, I basically buy the story you're telling here. But, to make my concern more explicit, it's something more like the composition happens in lower level MLPs (\"Dissecting Recall of Factual Associations in Auto-Regressive Language Models\"-style enrichment) where the model maps the movie to the director then the director to the birthdate in \"lower layer MLP space\" rather than in \"output vocab space.\"\nI'd also like to reiterate my support of the paper."+ },+ "createdAt": "2026-08-02T19:23:23.500Z",+ "modifiedAt": "2026-11-19T16:51:59.762Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=abn5i04TO7",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/bemosutgco.json added
+++ b/reviews/openreview/iusht9gvlr/notes/bemosutgco.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "beMoSuTgco",+ "replyTo": "abn5i04TO7",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thanks for your continued engagement! \n\nThat's right, we patch the residual stream at the median location (layer 18, 71st percentile query token position) where logit lens for $f(x)$ peaks.\n\nTo test your alternative hypothesis (on the composition being computed early), we can also extract the patch at various layers across the model (and will apply them at the same layer).\n\nSetup: we will patch from $x' \\to g'(f'(x'))$ into $x \\to g(f(x))$ and measure the causal effect on $g(f'(x'))$. We can use the nonce-country-capital task as $g'(f'(x'))$, i.e. from *\"Decoding f(x), pt. 3\"* in our above response, where the nonce-country mapping is only defined in the task prompt. And we can use new tasks as $g(f(x))$: {park,landmark}-country-{currency,continent}.\n\nFor example, we could patch from \"blenter (nonce) $\\to$ Paris\" into \"Mount Rushmore $\\to$ Dollar\" and measure the effect on instead predicting \"Euro\".\n\nOn average, the causal effects ($\\Delta$RR) are +0.00 in layers 2-12, +0.11 in layers 14-18, and +0.03 in layers 20-26. In other words, there is no causal effect of representations for $f'(x')$ in early layers.\n\nThe average logit lens signals (RR) for $f'(x')$ in these patches are 0.00 (layers 2-12), 0.42 (layers 14-18), and 0.47 (layers 20-26). So, the causal effects also appear to emerge in the same layers as the logit lens signals for $f'(x')$."+ },+ "createdAt": "2026-08-03T23:29:02.548Z",+ "modifiedAt": "2026-11-19T16:51:59.760Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=beMoSuTgco",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/copru2iul2.json added
+++ b/reviews/openreview/iusht9gvlr/notes/copru2iul2.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "COPru2Iul2",+ "replyTo": "q0MnopC9Q0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer GFE1",+ "content": {+ "comment": "Thank you for the detailed response and for running a substantial number of new experiments during the discussion period. It was not so clear for me to understand which of my claims you are responding to, but I tried my best.\n\nYour response clarified several places where I was wrong:\n\n1. I had the direction of the RR metric backwards in my question about antonym-translation\n\n2. Fig. 1: I did not register that the orange bar is a conditional rate\n\n3. Appendix J: I read L572 as comparing compositional against direct instances, when it compares those two tasks against the antonym tasks. \n\nOn the more substantive points, the new experiments move things forward, particularly the causal claims. I remain concerned about the following:\n\n***The mismatched f′ control.*** Your selectivity test, where f(x) decoding far more weakly in the f(x) and g(x) computations than in g(f(x)), is closer to what I asked for and the 50-other-subjects specificity test is useful. But the cleanest version is still not run: running with same x, same prompt format, query with f′ ≠ f, and ask whether f(x) still surfaces. \n\n***Extraction-site***. You say that patches are extracted \"at the location corresponding to maximal logit lens signal for f(x).\" For direct-signature instances no such location exists by construction. What is the fallback? the null results for direct instances may reflect not knowing where to patch rather than absence of use. Please explain what its the procedure.\n\n***The zero-shot result.*** I find this the most interesting new finding, and I think it complicates rather than supports the current framing: if explicit instructions raise the f(x) signal by +0.33 in two direct tasks, then the compositional/direct distinction is a property of task and prompt, not of the task alone. I'd rather see this stated openly in the paper than treated as a robustness check.\n\nI'd also add my support to the other reviewers, and my original request in the review, that the causal experiments should be clarified and reported alongside variance in each experiment."+ },+ "createdAt": "2026-08-02T20:31:51.719Z",+ "modifiedAt": "2026-11-19T16:51:59.757Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=COPru2Iul2",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/knbcg4hitq.json added
+++ b/reviews/openreview/iusht9gvlr/notes/knbcg4hitq.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "KnBcG4HITq",+ "replyTo": "COPru2Iul2",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thanks for your continued engagement! Sorry for the long discussions, but we really appreciate the suggestions.\n\n**Mismatched $f'$.** Thanks for clarifying, we had misunderstood your specific ask (measuring $f(x)$ in the computations $x \\to g(f(x))$ and $x \\to g(f'(x))$). We can do our best, although this particular construction happens to be difficult with our existing tasks/data:\n- E.g. plus-10-times-2 and plus-100-times-2 come to mind, but the former appears to actually be computed as times-2-plus-20 (according to the logit lens signature). Plus-100-times-2 is direct but could plausibly compute the same $f$ (times-two), which is measured at 0.81 RR in plus-10-times-2 and 0.25 RR in plus-100-times-2.\n- We can use the nonce-country-capital task from \"Additional Findings (2)\" to define different $f, f'$ (nonce-country mappings) within the prompt. In that setting, $f(x)$ appears with 0.93 RR in $x \\to g(f(x))$ but with ~0.00 RR in $x \\to g(f'(x))$. Notably, $f(x)$ actually appears in the prompt in the $g(f'(x))$ task. This is a positive demonstration that $f(x)$ is computed selectively for the task $f$, although there may be differences in this task vs in-weights tasks $f$.\n\n**Extraction site.** We only extract patches from compositional signature examples (at the layer/token where logit lens peaks). We either patch these into compositional or direct signature examples and observe the difference. We always patch at the median location where f(x) peaks in compositional signatures: layer 18 and the 71st percentile query token position (for Llama 3B).\n\nOne could argue that $g$ operates on different representational subspaces between compositional or direct signature examples. So we have repeated the experiment from \"Causality (2)\" in our first response, but instead extract patches from / apply patches to direct signature examples. For each example, we extract all (candidate) patches within layers 16-21 and query token percentiles 56-80 (the IQR where f(x) peaks). We conduct activation patching for each candidate (patching at the corresponding location) and collect the max causal effect ($\\Delta$RR). This experiment yields only +0.04 for book-author-birthyear and +0.09 for movie-director-birthyear.\n\n**Zero-shot.** We totally agree that the processing signature is a contextual result of the prompt in addition to tasks and examples, and will better highlight that in our paper. We actually see the zero-shot and ICL settings as two different sets of tasks (e.g. with different biases) and believe this fits well into the existing narrative. The zero-shot experiment was a great pointer and we will integrate those results into our main body.\n\n**Variance.** Below we report $\\pm$ SD for most experiments in our discussion so far. We will be sure to report this as much as possible in our paper.\n\n| Experiment | Compositional | Direct |\n|---------|--------------:|-------:|\n| Causality (1) | +0.126 $\\pm$ 0.034 | +0.036 $\\pm$ 0.015 |\n| Causality (2) | +0.139 $\\pm$ 0.045 | +0.001 $\\pm$ 0.027 |\n| Causality (3) | | −0.010 $\\pm$ 0.000 |\n| Controls (1) | −0.683 $\\pm$ 0.018 | +0.162 $\\pm$ 0.148 |\n| Controls (2) | +0.070 $\\pm$ 0.056 | +0.028 $\\pm$ 0.032 |\n| Zero-shot | −0.114 $\\pm$ 0.120 | +0.323 $\\pm$ 0.068 |\n| Extraction-site | | +0.065 $\\pm$ 0.037 |"+ },+ "createdAt": "2026-08-04T00:02:07.105Z",+ "modifiedAt": "2026-11-19T16:51:59.748Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=KnBcG4HITq",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/nt0z3xcoop.json modified
+++ b/reviews/openreview/iusht9gvlr/notes/nt0z3xcoop.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair ZWby","content": {- "metareview": "### (a) Scientific claims and findings\n\nThis paper studies whether language models answer two-hop factual queries by composing functions or by relying on a direct association. Its strongest finding is a robust compositionality gap across relations and models. It further uses probing, activation interventions, and embedding geometry to characterize when an intermediate representation is detectable. The response clarifies the intended scope of these analyses: they provide evidence about representational signatures associated with composition, not a complete identification of a unique causal mechanism.\n\n### (b) Main strengths\n\nThe question is fundamental and the empirical core is unusually informative. The dataset, cross-model analysis, and attention to internal representations go beyond accuracy-only evaluation. Reviewer `EMSk` found the residual-stream progression and interventions compelling, while Reviewer `KLvy` regarded the compositionality-gap result as particularly strong. The response improves the paper by distinguishing predictive evidence from stronger causal claims and by addressing the requested controls and methodological details.\n\n### (c) Main weaknesses\n\nThe decoded rank of an intermediate fact is not itself a definitive test of compositional computation: presence may reflect knowledge rather than use, and absence may reflect decoder limitations. Likewise, the geometry analysis is strongest as a predictor of the observed signature, not as proof of causal mechanism selection. Reviewer `GFE1` also raises reasonable cautions about what patching transfers. These are important limitations, but they constrain the interpretation more than the empirical finding itself.\n\n### (d) Assessment of the author response\n\nThe response substantially resolves the decision-critical issues by clarifying the construct being measured, providing or discussing selectivity and intervention controls, and narrowing causal language where the evidence is correlational. It also makes the lens, steering construction, and relation between geometry and the decoded signature clearer. I find this sufficient for acceptance provided that these qualifications and controls are incorporated prominently in the revision.\n\n### (e) Reviewer discussion and response\n\nThe reviewers agree that the compositionality-gap observation is valuable. Reviewer `EMSk` remained positive, while Reviewers `GFE1` and `KLvy` appropriately pressed on construct validity and causal interpretation. After the response, the record supports a bounded interpretation of the mechanistic analyses rather than rejection of the paper's main empirical contribution."+ "metareview": "### (a) Scientific claims and findings\n\nThis paper studies whether language models answer two-hop factual queries by composing functions or by relying on a direct association. Its strongest finding is a robust compositionality gap across relations and models. It further uses probing, activation interventions, and embedding geometry to characterize when an intermediate representation is detectable. The response clarifies the intended scope of these analyses: they provide evidence about representational signatures associated with composition, not a complete identification of a unique causal mechanism.\n\n### (b) Main strengths\n\nThe question is fundamental and the empirical core is unusually informative. The dataset, cross-model analysis, and attention to internal representations go beyond accuracy-only evaluation. Reviewer `EMSk` found the residual-stream progression and interventions compelling, while Reviewer `KLvy` regarded the compositionality-gap result as particularly strong. The response improves the paper by distinguishing predictive evidence from stronger causal claims and by addressing the requested controls and methodological details.\n\n### (c) Main weaknesses\n\nThe decoded rank of an intermediate fact is not itself a definitive test of compositional computation: presence may reflect knowledge rather than use, and absence may reflect decoder limitations. Likewise, the geometry analysis is strongest as a predictor of the observed signature, not as proof of causal mechanism selection. Reviewer `GFE1` also raises reasonable cautions about what patching transfers. These are important limitations, but they constrain the interpretation more than the empirical finding itself.\n\n### (d) Assessment of the author response\n\nThe response substantially resolves the decision-critical issues by clarifying the construct being measured, providing or discussing selectivity and intervention controls, and narrowing causal language where the evidence is correlational. It also makes the lens, steering construction, and relation between geometry and the decoded signature clearer. I find this sufficient for acceptance provided that these qualifications and controls are incorporated prominently in the revision.\n\n### (e) Reviewer discussion and response\n\nThe reviewers agree that the compositionality-gap observation is valuable. Reviewer `EMSk` remained positive, while Reviewers `GFE1` and `KLvy` appropriately pressed on construct validity and causal interpretation. After the response, the record supports a bounded interpretation of the mechanistic analyses rather than rejection of the paper's main empirical contribution.",+ "final_justification": "I recommend acceptance as a poster. The paper offers a well-motivated and carefully studied empirical contribution to understanding composition in language models. The response addresses the main risks of overclaiming; remaining concerns should be handled through precise language and transparent presentation, rather than by discounting the core result."},"createdAt": "2026-07-19T09:00:00.790Z",- "modifiedAt": "2026-11-18T15:20:17.769Z",+ "modifiedAt": "2026-11-19T05:00:11.954Z","url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=NT0z3XcOoP","license": "CC-BY-4.0"}
reviews/openreview/iusht9gvlr/notes/q0mnopc9q0.json added
+++ b/reviews/openreview/iusht9gvlr/notes/q0mnopc9q0.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "q0MnopC9Q0",+ "replyTo": "1BzR7pFVyy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear [GFE1], thank you for your review and thoughtful feedback!\n\nWe appreciate your suggestions and have conducted additional tests for causality and controls with respect to our representation of $f(x)$.\n\n**Causality:** Here, we conduct activation patching experiments and generally extract patches from the location corresponding to maximal logit lens signal for $f(x)$, as described in App. J.\n\n1. We can patch from $x' \\to f(x')$ or $x' \\to f'(x')$ into the computation for $x \\to g(f(x))$.\n\n We conduct this experiment with the park-country-capital and landmark-country-capital tasks. E.g. for park-country-capital, $f$ is park-country and $f'$ is landmark-country.\n\n Example: from \"Mount Rushmore $\\to$ United States\" into \"Yellow Mountains $\\to$ Beijing\", measuring the causal effect on predicting \"Washington DC\" instead.\n\n | | Compositional | Direct |\n |---|---|---|\n | $\\Delta$RR (mean) | + 0.13 | -0.05 |\n\n These interventions result in a positive causal effect for $g(f(x'))$ when patching examples with compositional signatures at early layers (similar to backpatching [1]), but not for examples with direct signatures (at any layer).\n\n2. We can patch from $x' \\to g(f(x'))$ into $x \\to g(f(x))$, i.e. a different input for the same compositional task. We only use patched activations which do not decode $g(f(x'))$ via logit lens.\n\n We conduct this experiment with all tasks. Example (movie-director-birthyear): from \"Cape Fear $\\to$ 1942\" into \"Finding Nemo $\\to$ 1965\", measuring the causal effect on predicting \"1942\" instead.\n\n | | Compositional | Direct |\n |---|---|---|\n | $\\Delta$RR (mean) | +0.14 | -0.03 |\n\n These interventions result in a positive causal effect for $g(f(x'))$ in examples with compositional signatures, but not direct signatures. If we patch activations regardless of whether they decode $g(f(x'))$, we see causal effects of +0.02-0.40 $\\Delta$RR, likely implying copying of $g(f(x'))$ from the patch.\n\n3. We can patch from $x' \\to g(f'(x'))$ into $x \\to g(f(x))$.\n\n We specifically use two direct-signature tasks (movie-director-birthyear and book-author-birthyear) where the people $f(x)$ are both directors and authors. For example, we can patch from \"Sleepless in Seattle $\\to$ 1941\" (movie) to \"Weaveworld $\\to$ 1952\" (book), and measure the causal effect on predicting $1941$.\n\n | | Direct |\n |---|---|\n | $\\Delta$RR (mean) | +0.00 |\n\n We observe no such causal effect on predicting $g(f'(x'))$, supporting the hypothesis that the model does not operate on intermediate variable representations in these direct signature tasks.\n\n**Controls:** The following tests control for confounders and measure the selective appearance of $f(x)$ in certain contexts. Here, we typically measure differences in logit lens decoding signals of intermediate representations, also by reciprocal rank (RR).\n\n1. For compositional tasks, we measure how often $f(x)$ appears in the residual stream for $x \\to g(x)$ (5 tasks) and $x \\to x$ (9 tasks). We find that this measurement is substantially lower (median: -0.68 RR) in $x \\to g(x)$ than in $x \\to g(f(x))$. We find that it is also lower (median: -0.54 RR) in $x \\to x$ for tasks besides park-country-capital and product-company-hq, where it is more modest (-0.06 RR). In those cases, latent representations for countries/companies do appear to coincide with parks/products, although this doesn't necessarily imply lack of use. In direct tasks, we generally find low measurements (0.0-0.2 RR) for $f(x)$ in $x \\to x$ and $x \\to g(x)$.\n\n2. For 8 of our 9 compositional tasks, we find low logit lens signals (mean: 0.07 RR, 95th percentile: 0.10 RR) for $f(x')$ corresponding to 50 other values of $x'$ in $x \\to g(f(x))$. word-int-times-two is an exception (mean: 0.56 RR, 95p: 0.67 RR), but $f(x)$ is still represented most strongly (0.92 RR). Direct tasks yield similarly low signals for $f'(x)$ (mean: 0.03 RR, 95p: 0.06 RR).\n\n3. Patching from $x' \\to x'$ to $x \\to g(f(x))$ does not result in change in predicting $g(f(x'))$ (+0.00 RR). For example: patching from \"Mount Rushmore $\\to$ Mount Rushmore\" into \"Yellow Mountains $\\to$ Beijing\", doesn't cause prediction of \"Washington DC\". This signifies that, for compositional tasks, models don't causally operate on representations for $x$ at the layers we patch."+ },+ "createdAt": "2026-07-30T21:40:42.849Z",+ "modifiedAt": "2026-11-19T16:52:00.095Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=q0MnopC9Q0",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/qjliqyrzxg.json added
+++ b/reviews/openreview/iusht9gvlr/notes/qjliqyrzxg.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "QjLiQyRZxg",+ "replyTo": "q0MnopC9Q0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "**Clarifications & discussion:**\n\n- We explain how we construct steering vectors in L175-176. We basically train a vector to produce the unembedding for the first token of $g(f(x))$ when added to the mean embedding of $x$.\n\n- Higher values of our reciprocal rank metric suggest more compositional processing. Thus, we indeed believe antonym-translation is computed compositionally and we actually find stronger causal effects of our experiments in Appendix J in tasks/examples with compositional signatures (compositional examples in Fig. 19 vs direct examples in Fig. 20).\n\n- In Fig. 1, the yellow bar reflects P(model solves all hops) and the orange bar reflects P(model solves composition | model solves all hops). So the orange bar is a strict subset of the yellow bar. E.g. in the antonym-german task, the model is able to solve all hops for ~10% of examples (240 examples). For ~80% of those (192 examples), the model is additionally able to solve the composition. The model can solve all hops in the examples you highlight, so these examples could plausibly be solved compositionally. That's actually one of our controls in Sec. 4 and 5: we only analyze examples where models can solve all requisite hops (L137, L180-181).\n\n- We use an ICL setting since we are interested in whether models solve compositional tasks with compositional solutions, and part of the task involves inferring a program from the prompt. Task instructions could explicitly bias the model towards a compositional program (Footnote 4). But we have now repeated our logit lens analysis with zero-shot prompts for the 2-hop tasks. For compositional tasks, we find the resulting decoding signals for $f(x)$ are closely related with those for the 10-shot ICL setting (median delta: -0.04 RR). For book-author-birthyear and plus-100-times-2 (direct tasks), we find that these zero-shot instructions actually result in stronger (+0.33 RR) signals for $f(x)$. As we expected, the model now demonstrates the 2-hop signature in all cases besides movie-director-birthyear (only +0.03 RR).\n\n- You raise an interesting question about whether LLMs memorize rare relations in weights. Perhaps these 2-hop relations occur sufficiently in the training data. We counted the co-occurrences of $x$ and $g(f(x))$ pairs in 20% of Olmo's training data and, for example, the median pair in antonym-spanish or movie-director-birthyear might occur 1,200+ times in the dataset (assuming linear extrapolation). According to [2], this passes the threshold necessary for models to form linear representations of relational data. Whether this (or other data distributional factors) is the cause and why we only find representations for certain tasks are certainly open questions worthy of future investigation.\n\n**Additional findings:**\n\n- We now also use Jacobian lens [3] to decode signals for variables from representations. Both the patchscope (App. I) and Jacobian lens strongly correlate with the measurements from logit lens ($r^2$ is 0.68 and 0.95 respectively). Neither method indicates presence of $f(x)$ where logit lens suggests absence.\n\n- We design a task \"nonce-country-capital\" where we provide a mapping (from 40 nonce words to countries) in the prompt, followed by ICL for (nonce, capital) pairs. In other words, $f$ is an in-context lookup task (not stored in-weights; motivated by [2]). To produce the correct answer, $g$ (country-capital) must be applied to the representation for $f(x)$. We find a very strong logit lens signal (0.94) for $f(x)$ in this task.\n\n- When constructing our steering vectors, if we actually use the mean unembedding across all answer tokens (rather than just the first token), the correlation grows further to $r^2 = 0.77$.\n\nCitations:\n1. Biran 2024. \"Hopping too late: Exploring the limitations of large language models on multi-hop queries.\"\n2. Merullo 2025. \"On linear representations and pretraining data frequency in language models.\"\n3. Gurnee 2026. \"Verbalizable Representations Form a Global Workspace in Language Models\"."+ },+ "createdAt": "2026-07-30T21:40:58.332Z",+ "modifiedAt": "2026-11-19T16:51:59.850Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=QjLiQyRZxg",+ "license": "CC-BY-4.0"+}
reviews/openreview/iusht9gvlr/notes/t2rw172lbp.json added
+++ b/reviews/openreview/iusht9gvlr/notes/t2rw172lbp.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "T2Rw172lbP",+ "replyTo": "3F58Z8U1O4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear [KLvy], thank you for your review and thoughtful feedback!\n\n**Compositionality Gap:** We repeat our experiment from Fig. 2 with frontier models (Opus 5, GPT-5.6 Sol, and Gemini 3.6 Flash). These models get all hops correct in ~75% of examples. Opus and GPT feature a small compositionality gap of ~5% and Gemini has a gap of ~15%. With a \"medium\" reasoning (and tool-use) budget, this gap closes to 1-2% across models. We'll note that these results are behavioral and on simple tasks: they don't necessarily imply greater engagement in latent compositional processing.\n\n**Use of f(x):** We appreciate your suggestions and have conducted several additional tests to demonstrate causal use of these intermediate variable representations. We would be happy to integrate these into the main body of our paper. Here, we generally extract patches from the location corresponding to maximal logit lens signal for $f(x)$, as described in App. J.\n\n\n1. We can patch from $x' \\to f(x')$ or $x' \\to f'(x')$ into the computation for $x \\to g(f(x))$.\n\n We conduct this experiment with the park-country-capital and landmark-country-capital tasks. E.g. for park-country-capital, $f$ is park-country and $f'$ is landmark-country.\n\n Example: from \"Mount Rushmore $\\to$ United States\" into \"Yellow Mountains $\\to$ Beijing\", measuring the causal effect on predicting \"Washington DC\" instead.\n\n | | Compositional | Direct |\n |---|---|---|\n | $\\Delta$RR (mean) | + 0.13 | -0.05 |\n\n These interventions result in a positive causal effect for $g(f(x'))$ when patching examples with compositional signatures at early layers (similar to backpatching [1]), but not for examples with direct signatures (at any layer).\n\n\n2. We can patch from $x' \\to g(f(x'))$ into $x \\to g(f(x))$, i.e. a different input for the same compositional task. We only use patched activations which do not decode $g(f(x'))$ via logit lens.\n\n We conduct this experiment with all tasks. Example (movie-director-birthyear): from \"Cape Fear $\\to$ 1942\" into \"Finding Nemo $\\to$ 1965\", measuring the causal effect on predicting \"1942\" instead.\n\n | | Compositional | Direct |\n |---|---|---|\n | $\\Delta$RR (mean) | +0.14 | -0.03 |\n\n These interventions result in a positive causal effect for $g(f(x'))$ in examples with compositional signatures, but not direct signatures. If we patch activations regardless of whether they decode $g(f(x'))$, we see causal effects of +0.02-0.40 $\\Delta$RR, likely implying copying of $g(f(x'))$ from the patch.\n\n\n3. We can patch from $x' \\to g(f'(x'))$ into $x \\to g(f(x))$.\n\n We specifically use two direct-signature tasks (movie-director-birthyear and book-author-birthyear) where the people $f(x)$ are both directors and authors. For example, we can patch from \"Sleepless in Seattle $\\to$ 1941\" (movie) to \"Weaveworld $\\to$ 1952\" (book), and measure the causal effect on predicting $1941$.\n\n | | Direct |\n |---|---|\n | $\\Delta$RR (mean) | +0.00 |\n\n We observe no such causal effect on predicting $g(f'(x'))$, supporting the hypothesis that the model does not operate on intermediate variable representations in these direct signature tasks.\n\n\n**Geometry and processing:** We do just intend to claim that geometry is \"predictive of\" or \"related to\" processing (e.g. L11, L44-47) and can make sure to adjust our language appropriately to avoid implying a causal relationship. At the same time, we would indeed like to provide evidence to support a stronger relationship.\n\n- We test for some confounders as you've suggested. We measure co-occurrence statistics for $(x, g(f(x)))$ pairs across our tasks in 20% of Olmo's training data. For Olmo 7B, we find no correlation between pair frequency and the logit lens score for $f(x)$ at the task-level ($r^2 = 0.00$) or per-example ($r^2 = 0.00$). We also measure training loss on these pairs in a QA format and find a poor correlation at $r^2 = 0.10$. Note that we do also test other correlations with other geometric features (hops, linear task representations) in App. L and M and find these are weaker than the one presented.\n- We can additionally control for the anisotropy of unembeddings. In Llama 3B, if we center unembeddings by the global mean, $r^2$ increases very slightly to 0.67. And, if we actually use the mean unembedding across all answer tokens (rather than just the first token), the correlation grows further to $r^2 = 0.77$.\n\nCitations:\n1. Biran 2024. \"Hopping too late: Exploring the limitations of large language models on multi-hop queries.\""+ },+ "createdAt": "2026-07-30T21:39:08.066Z",+ "modifiedAt": "2026-11-19T16:51:59.882Z",+ "url": "https://openreview.net/forum?id=iuShT9gVLr¬eId=T2Rw172lbP",+ "license": "CC-BY-4.0"+}