Task Vector Geometry Underlies Dual Modes of Task Inference in Transformers
Update NeurIPS 2026 submission QvgaAPuT4e: 14 notes
@openreview[bot] · 2026-11-24 15:50 UTC · e753b2807f5e ·
reviews/openreview/qvgaaput4e/notes/2dpttczhoj.json added
+++ b/reviews/openreview/qvgaaput4e/notes/2dpttczhoj.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "2dPtTCZHOJ",+ "replyTo": "JUk1bVfHnA",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the constructive and detailed feedback. We conducted additional experiments addressing each question below. We summarize the main results here and will add the full plots and implementation details to the revised appendix.\n\n### Q1 & W3: reliance on first-order Markov assumption\n\nWe agree that the first-order Markov assumption is strong. We therefore conducted finite-order Markov chain (MC) experiments within the same framework. Finite-order MCs broaden the scope of data distributions while remaining tractable in our setting:\n\n- The sequences carry richer $(w+1)$-gram statistics than the 2-gram statistics of first-order MCs, and are thus more realistic.\n- The framework still covers finite-order families, because any finite-order MC is first-order on the lifted state space obtained by blocking a local window of tokens.\n- Dyck, on the other hand, requires infinite-order dependence: no fixed local window suffices to summarize the relevant history.\n\nTreating Markov order as a simple measure of complexity, we find that our conclusions remain robust at orders 2 and 3 and break down at the infinite-order continuum (Dyck). Thus, violating first-order Markovity does not cause an abrupt collapse. Concretely, we re-ran the main analyses at orders 2 and 3; the transition, P0–P3, and near-orthogonality all persist.\n\n**The M1→M2 transition.** Similar transitions occur at every tested order. The table reports $\\\\log(\\\\mathrm{KL}\\_{\\\\mathrm{Bayes}}/\\\\mathrm{KL}\\_{\\\\mathrm{extrap}})$ after 100k training steps; negative values favor Bayesian retrieval.\n\n| order $w$ | $k=2$ | $k=4$ | $k=6$ | $k=8$ | $k=10$ | crossover $k^*$ |\n|---|---:|---:|---:|---:|---:|---:|\n| 1 | $-5.34$ | $-4.64$ | $-3.29$ | $-0.75$ | $+2.07$ | $\\\\approx 8.5$ |\n| 2 | $-4.30$ | $-3.35$ | $-0.28$ | $+3.61$ | $+4.65$ | $\\\\approx 6.1$ |\n| 3 | $-2.44$ | $+1.30$ | $+2.78$ | $+3.45$ | $+3.43$ | $\\\\approx 3.3$ |\n\nThe crossover shifts to lower task diversity as $w$ increases, consistent with the intuition that a more complex context-based predictor becomes favorable earlier.\n\n**P0–P3.** The properties hold once the conditioning window matches the Markov order: residual variance 0.08 (interaction $\\\\eta^2 \\\\le 0.03$), and the Hellinger distance between $\\\\beta$ and the order-aware oracle posterior remains $0.12$--$0.13$. These values are comparable across orders 1--3.\n\n**Near-orthogonality.** Using the same intervention settings as Table 2 of the paper (rank-6 subspace, $\\\\gamma = 2.5$, random same-rank controls), ablating the OOD subspace still changes the loss substantially ($+0.44/+0.50/+1.48$ nats at orders 1/2/3) while the majority-task loss is nearly intact ($\\\\le +0.10$; random subspaces $\\\\le +0.03$). \n\n**Dyck (W3).** Our new measurement shows why no compact belief state forms there: conditioning hidden states on the natural candidate statistic, the open-parenthesis count, leaves 58–84% of variance unexplained, while the full bracket prefix leaves roughly 3%. This suggests that finite-order MCs provide key local statistics that a transformer can learn and build into task vectors, a mechanism that fails at the infinite-order continuum. As suggested by the area chair, we will move this boundary case earlier in the paper and emphasize it when stating the scope of P0--P3.\n\n### Q2: why are new tasks represented by near-orthogonal subspaces?\n\nThe reviewer is right: Theorem 2 proves non-confinement to the task-vector subspace, not near-orthogonality. Near-orthogonality is a stronger empirical finding, and we will make this distinction explicit. We offer three supports for the observed orthogonality:\n\n- *Classical theory.* With limited shared dimensions, the least-interfering arrangement of feature directions is orthogonal (undercomplete) or a tight frame (overcomplete) (Welch, IEEE Trans. Inf. Theory 1974; Donoho, \"Compressed sensing\", IEEE Trans. Inf. Theory 2006), and neural networks are observed to store features this way (Elhage et al., \"Toy models of superposition\", arXiv:2209.10652). These results motivate but do not directly apply to transformers; a theory is left to future work.\n- *Heuristic mechanism.* Downstream layers read the task subspace as a posterior over training tasks, so any OOD component inside it perturbs in-distribution predictions, and the training loss pushes it into the orthogonal complement.\n- *Empirical evidence.* In a new checkpoint analysis, we find that near orthogonality emerges from training, not from initialization. At each training checkpoint we search for the subspace whose suppression most damages OOD prediction. Early in training, this subspace overlaps the task subspace significantly (5–9 times the overlap of a same-rank random subspace). As training proceeds, the near-orthogonality forms, over the same window in which the extrapolative mode develops."+ },+ "createdAt": "2026-07-29T03:01:57.043Z",+ "modifiedAt": "2026-11-19T17:03:38.846Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=2dPtTCZHOJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/3bng15fvra.json added
+++ b/reviews/openreview/qvgaaput4e/notes/3bng15fvra.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "3bng15fvra",+ "replyTo": "d5B4vDzR86",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the careful follow-up. The questions and our answers in brief:\n**(FQ1: does the PCA baseline use\nsupervision?)** Only in naming the $K$ recovered vertices: the subspace and the vertex\npositions are estimated without labels, and the naming is fixed on the estimation split.\n**(FQ2: do the interventions validate the individual vertices, or only their span?)** The\nvertices: steering requires the correct vertex-task assignment; the span alone is insufficient.\n**(FQ3: was the layer band selected independently of the intervention outcomes?)** Selection\nand evaluation are sample-split, avoiding the circularity.\n\n## FQ1 — PCA matching and supervision\n\nAs in classical unsupervised clustering, the recovered components are identifiable only up to a\npermutation of the $K$ task labels ($K$ assumed known), and task labels enter only to resolve\nthis ambiguity. With $c(i)$ the cluster label of sequence $i$ under $k$-means\nand $z_i$ its ground-truth task label, we select, on the **estimation split**,\n\n$$\n\\hat\\pi = \\arg\\min_{\\pi \\in S_K} \\sum_{i \\in \\mathcal{D}_{\\mathrm{est}}}\n\\mathbf{1}\\\\{\\pi(c(i)) \\neq z_i\\\\},\n$$\n\nfreeze it, and evaluate on a disjoint split; the assignment enters P3 and the injection only as\na relabeling of the recovered vertices. This is the standard minimum-permutation-loss\nconvention, with $\\hat\\pi$ fixed before evaluation rather than chosen on it.\nIn our experiment the matching is in fact degenerate: cluster purity is 1.00, so the\nclustering itself determines the correct partition and evaluation proceeds as if labels were\nknown. The reviewer's phrase\n\"unsupervised subspace recovery with supervised alignment\" is therefore accurate with the\nalignment understood in this minimal sense, a single choice among $K!$ labelings, and the\nrevision will adopt it.\n\n## FQ2 — Causal identification of the vertices\n\nOur evaluation metrics are functions of the individual labeled component means, not merely of\ntheir linear span. The injection sets the task-subspace component\nto $\\sum_k \\alpha^\\ast_k \\hat\\theta_k$ and is scored against the Bayesian predictive of that\nspecific mixture $\\alpha^\\ast$, so a basis of the same plane with a different vertex assignment\nsteers the model toward a different mixture. We extend the injection\ncolumn of the Q1 estimator table, under the identical setup, with same-plane bases differing\nonly in the vertex assignment:\n\n| basis (identical task plane) | injection KL (baseline 0.23) |\n|---|---|\n| Class-mean vertices (Q1 table) | **0.062** |\n| All vertices relabeled (cyclic) | 0.198 |\n| Frame rotated in-plane by a random angle (12 draws) | 0.143 ± 0.055 |\n\nWith the subspace held fixed, steering succeeds only under the correct vertex assignment: the\nintervention identifies the individual vertices, not merely their span.\nConsistently, P3 is evaluated coordinate-wise ($\\beta_k$ tracks $\\alpha_k$, $R^2=0.98$), and\nclass means, diagonal LDA, and within-token PCA + $k$-means recover the same vertices: under\nP0/P1 all three estimate the same $\\\\{\\theta_k\\\\}_{k=1}^K$.\n\n## FQ3 — Layer selection\n\nAs the reviewer notes, Table 2 averages over a mid-layer band (the simplex injection uses one layer), and\nthe band was originally identified partly from the per-layer intervention profile. The reported\neffects do not depend on that selection.\n\n1. **Sample splitting removes any dependence on the selection.** Selecting on an outcome is\nharmless once the selection is frozen and the effect is re-estimated on independent\ndata. The paper already applies this at the data level: $\\hat{V}_{\\mathrm{opt}}$ is estimated\non batches disjoint from the evaluation sequences. To strengthen the point, we provide\nadditional runs of the Table-2 experiment on E3 with the band fixed at its published value\n(layers 2–4) and all data redrawn under three seeds (band mean ± sd,\n$\\Delta\\mathcal{L}/g \\times 100\\%$):\n\n| Frozen band | Task interv.: Maj / OOD | Orth. interv.: Maj / OOD | Rand. |\n|---|---|---|---|\n| E3, layers 2–4 (paper: 132 / 13; 2 / 100; 3) | 130±23 / −1.6±0.1 | 3.8±0.6 / 72±6 | 3.3 |\n\nBoth interventions dissociate in every seed, on an independently retrained checkpoint (fresh\nweights and data).\n\n2. **An intervention-free criterion recovers the same band.** The layer maximizing held-out\nin-distribution task-subspace $R^2$ selects the paper's band on the synthetic models and\ntransfers to 12 pretrained LLMs; the revision adopts it as the selection rule, so intervention\neffects enter only as results.\n\n3. **The per-layer results are reported in full.** The dissociation holds across essentially\nthe entire mid-depth range, with random same-rank controls at ≈3% throughout (Figs. 18–19);\nthe band average summarizes this stable profile, as the paper claims.\n\n**Revision edits.** We will (i) state the unsupervised scope of the PCA baselines more\nclearly; (ii) clarify the role of the vertices versus the subspace in the causal\ninterventions; (iii) provide more detail on the layer selection and its criterion."+ },+ "createdAt": "2026-08-01T02:47:58.930Z",+ "modifiedAt": "2026-11-19T17:03:38.598Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=3bng15fvra",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/6tqbrnguqx.json added
+++ b/reviews/openreview/qvgaaput4e/notes/6tqbrnguqx.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "6tqBrngUqx",+ "replyTo": "GO6ZYMonoQ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the careful and constructive assessment. Below we respond to each concern.\n\n### W1: Relationship to linear factor analysis\n\nWe want to clarify that our main contribution is a probabilistic framework that connects data distribution to internal representations. Our intention is not to propose better feature extraction techniques, but to provide justification and insights for the internal mechanisms such as Bayesian belief updates using testable properties P0--P3.\n\nOur evaluation framework helps to verify implicitly held assumptions in the interpretability research such as linear representation hypothesis and feature superposition. Specifically, task vectors are commonly used to interpret and steer model behaviors without clear verification of the implicit assumptions. Our purpose is to clearly spell out testable properties that we can use to validate these geometric structures.\n\nWe fully agree with the reviewer's comment that \"If hidden states encode this statistic linearly, projecting onto ...\" We want to emphasize that our focus is to validate this \"if\" condition. Under our framework, P0 naturally leads to the task vector definition as conditional expectation, and P1 justifies that hidden states encode tasks via task vectors in long contexts.\n\n### W2: Scope of synthetic examples\n\nWe agree that the first-order Markov assumption is strong. We therefore conducted new finite-order Markov chain (MC) experiments within the same framework. Finite-order MCs broaden the scope of data distributions while remaining tractable in our setting:\n\n- The sequences carry richer $n$-gram statistics than the 2-gram statistics of first-order MCs, and are thus more realistic.\n- The framework still covers finite-order families, because any finite-order MC is first-order on the lifted state space obtained by blocking a local window of tokens.\n- Dyck, however, requires infinite-order dependence: no fixed local window suffices to summarize the relevant history.\n\nTreating Markov order as a complexity measure, we find that good representational properties (P0--P3) remain robust at low complexity (finite-order MCs), and break down at high complexity (Dyck). Concretely, we re-ran the main analyses at orders 2 and 3; the transition, P0–P3, and near-orthogonality all persist. See our response to Reviewer spCn (Q1 & W3) for details.\n\n\n### Q1: supervised linear factor analysis baselines\n\nAs requested by the reviewer, we ran the suggested LDA, PCA, and probe estimators through our paper's evaluation pipeline on E3. P0/P1 are functionals of the hidden states alone, so estimators can only differ on P2 (simplex interpolation), P3 (posterior alignment), and the causal injection (affinity = span overlap; 1 = identical):\n\n| estimator | supervision | P2 $R^2$ | P3 Hellinger$(\\\\beta,\\\\alpha)$ | held-out $R^2(\\\\beta\\\\mapsto\\\\alpha)$ | subspace affinity to ours | injection KL |\n|---|---|---:|---:|---:|---:|---:|\n| Ours: class-mean averaging | task labels | 0.90 | 0.11 | 0.98 | 1.00 | 0.062 |\n| Diagonal LDA | task labels | 0.90 | 0.10 | 0.98 | 1.00 | 0.062 |\n| Within-token PCA + $k$-means | none ($K$ known) | 0.90 | 0.09 | 0.98 | 0.98 | 0.063 |\n| Pooled PCA + $k$-means | none ($K$ known) | 0.81 | 0.10 | 0.98 | 0.65 | 0.093 |\n| Random, norm matched | none | 0.58 | 0.61 | 0.16 | 0.02 | 0.223 |\n\nThe results show that our class-mean averaging is comparable to other methods and better than the random baseline, thus the posterior-alignment and intervention results are not artifacts of one particular estimator.\n\nOur goal is to validate the class-mean-based task vector widely used in prior work (Hendel et al. 2023; Todd et al. 2024), not to advocate it over alternatives. In fact, our results justify different task vector calculation since they all lead to comparable results.\n\nBelow are detailed descriptions of newly implemented methods.\n- **Diagonal LDA** divides each coordinate by its within-class standard deviation, and reproduces every number above; its vectors align with ours at cosine $\\\\ge 0.94$.\n- **PCA.** Under P0/P1 the hidden-state covariance splits into a task term, a token term, and noise, so the PCA variants differ in how they treat the token term. *Within-token PCA*, which subtracts the current-token mean and thereby removes the token term, recovers the task plane with zero task labels ($\\\\cos \\\\theta$ = (1.00, 0.99)). *Pooled PCA* skips the token conditioning, so token variation mixes into its components and it recovers the task geometry less reliably (table above). The geometry is thus discoverable without labels, but only after the token conditioning our ANOVA makes explicit.\n- **Probes.** Regressing hidden states on one-hot task identity recovers our estimator, since for a one-hot design the OLS coefficient of each task is that task's mean hidden state. Supervising on the oracle posterior instead gives consistent results (it uniquely explains 0.65–0.68 of hidden-state variance vs 0.70–0.71 for the task label)."+ },+ "createdAt": "2026-07-29T03:43:15.127Z",+ "modifiedAt": "2026-11-19T17:03:38.544Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=6tqBrngUqx",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/73fkgqzmsn.json added
+++ b/reviews/openreview/qvgaaput4e/notes/73fkgqzmsn.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "73FkgqZmsn",+ "replyTo": "3bng15fvra",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer x7HZ",+ "content": {+ "title": "Strong follow-ups",+ "comment": "I thank the authors for the detailed follow-up, which resolves all three of my remaining questions with concrete evidence. I would encourage the authors to fold the FQ2 controls and the FQ3 replication into the revision supplementary materials. I am satisfied and will therefore increase my score to 5 (accept). \n\nThank you again for your patience and thorough response."+ },+ "createdAt": "2026-08-01T04:57:36.683Z",+ "modifiedAt": "2026-11-19T17:03:38.383Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=73FkgqZmsn",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/d5b4vdzr86.json added
+++ b/reviews/openreview/qvgaaput4e/notes/d5b4vdzr86.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "d5B4vDzR86",+ "replyTo": "PBvJQ1uBD2",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer x7HZ",+ "content": {+ "title": "Thank you for the detailed response",+ "comment": "I thank the authors for the thorough response. The new experiments address most of my concerns and materially strengthen the paper. I have three remaining follow-up questions, mainly for clarification. Resolving them would leave me with a very positive assessment of the submission.\n\n**PCA matching and supervision**: The within-token PCA+$k$ - means baseline is described as unsupervised, but, if I understand correctly, evaluating P3 and performing mixture injection require matching the recovered components to specific tasks. How is this permutation resolved? Are task labels used, and is the matching performed on a separate split? Would it be more precise to describe this as “unsupervised subspace recovery with supervised alignment”?\n\n**Causal identification**: Since class means, LDA, and PCA recover nearly the same subspace and yield similar intervention results, do these experiments establish the causal role of the shared task subspace, or also the task-specific meaning of the class-mean vertices? I may be missing part of the argument, but what evidence distinguishes the proposed task-vector simplex from another basis spanning the same plane?\n\n**Layer-selection circularity**: The rebuttal states that layers are selected partly using mode-selective intervention effects, while the main causal result averages over the layers where the dissociation is cleanest. Was the layer band selected independently of the intervention outcomes being reported? Otherwise, there may be some risk of circularity."+ },+ "createdAt": "2026-07-30T15:30:16.853Z",+ "modifiedAt": "2026-11-19T17:03:38.635Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=d5B4vDzR86",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/hmrcoeqwyu.json added
+++ b/reviews/openreview/qvgaaput4e/notes/hmrcoeqwyu.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "hMrCOEQwyu",+ "replyTo": "Tzv76bqAXk",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer spCn",+ "content": {+ "title": "Good rebuttal",+ "comment": "I thank the authors for their responses. I am satisfied and therefore will increase my score to 5. Wish you good luck."+ },+ "createdAt": "2026-07-29T16:02:11.694Z",+ "modifiedAt": "2026-11-19T17:03:38.648Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=hMrCOEQwyu",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/iy1vxtjsc1.json added
+++ b/reviews/openreview/qvgaaput4e/notes/iy1vxtjsc1.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "iy1vXTjsc1",+ "replyTo": "iBQzqnifW6",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the careful reading and insightful questions about the depth band. \n\n### W1: clarifying the role of depth band in our claims\n\nWe agree that the depth qualification was indeed not made clear enough in the current text. While the theoretical definitions apply at any fixed layer, our empirical evaluation depends on the choice of depth/layer. A revision will report the following more carefully:\n\n- The empirical claims will carry the mid-layer qualifier, with the band stated for each experiment;\n- Table 2's caption will state that its results are averaged over these bands;\n- The per-layer figures (Figs 18 and 19) will be referenced beside the claims, and the regime where the analysis applies, the middle layers, will be stated so the scope of every conclusion is explicit.\n\nWe will also clarify that the band is selected by the following criterion.\n\n**The selection criterion.** In the paper, the band was selected by two empirical signatures: small task-token interaction $\\\\eta^2$ (the additive decomposition holds) and mode-selective intervention effects in the per-layer curves. The interaction is informative because next-token prediction must combine the current token with the task, so its rise marks where prediction formation begins. For pretrained models, where the ANOVA signatures are unavailable, the layer maximizing held-out in-distribution task-subspace $R^2$ plays the same role and recovers the same band.\n\n### W2 / Q1: why the depth pattern? Incidental or structural?\n\nThe available evidence suggests that the localization is structural rather than incidental. While we do not claim a universal layerwise pattern, we provide our justification for the observed depth pattern below. \n\n**Middle layers and connection to prior work** \n\nTask vectors are typically extracted from middle layers across the literature. We will expand the related work section to include relevant references.\n- Task vectors and function vectors are reported most effective there (Hendel et al. 2023, arXiv:2310.15916; Todd et al. 2024, arXiv:2310.15213);\n- Mid-depth is likewise the usual site for model editing and activation steering (Meng et al. 2022, arXiv:2202.05262; Rimsky et al. 2024, arXiv:2312.06681). \n- A recent broad evaluation reaches the same conclusion for representation quality in general: across 32 embedding tasks and multiple architectures, intermediate layers consistently provide stronger features than the final layer (Skean et al. 2025, \"Layer by Layer\", arXiv:2502.02013).\n\n**Selection of middle layers: our interpretation** \n\nIn our setting, our working picture is the standard three-stage one: early layers are still computing lower-level statistics, the task subspace forms in the middle layers, and the later layers convert it into the next-token prediction. The appendix provides partial evidence for each stage (the per-layer probe and the intervention curves in Figs. 18–19, detailed under Q2), which is why most of our analyses focus on the middle layers.\n\n**Evidence that the localization is structural.**\n\n- In our new experiments, we extended our analysis to 12 pretrained models (7 families, 0.5B–8B). We find that the criterion selects the layer our paper reports for Qwen2.5-7B (20 of 28; the paper analyzed all layers and presented this one due to the space limit) and falls within a consistent 41–71% relative-depth band in every model.\n- The loss-relevant OOD subspace overlaps the task subspace far above chance at layers 0–1 of the high-diversity setting (the shared-computation phase), while at the band layers the overlap falls to the level of a random subspace, so the two modes share building blocks before their representations are orthogonally separated.\n\nTo summarize the connection between the depth localization and the two-mode claim, the task-vector properties and the mode separation have a similar trend across layers. In particular, mode separation peaks at intermediate depth."+ },+ "createdAt": "2026-07-29T03:55:43.903Z",+ "modifiedAt": "2026-11-19T17:03:38.480Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=iy1vXTjsc1",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/mzbr1gaadd.json added
+++ b/reviews/openreview/qvgaaput4e/notes/mzbr1gaadd.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "MZBr1GAadd",+ "replyTo": "XYlRluyVRr",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the positive assessment and agree with both suggestions, which sharpen the paper. In the revision, we will (i) present Table 2 as a band-averaged descriptive summary, with the per-layer curves (Figs. 18–19) cited as the primary evidence and, if space allows, a condensed per-layer panel included in the main text; (ii) discuss the layerwise behavior of each of P0–P3 separately, emphasizing the distinct roles of different depths: early\nlayers construct shared features, later layers re-encode toward next-token prediction, and the intermediate layers, where the task representation is most cleanly separated, are where interventions are most effective, as the per-layer evidence in the appendix shows; and (iii) frame the 12-model result as observational evidence for mid-depth task representations: pretrained models are trained on data distributions far more complex than our controlled settings, so we present the two-mode causal separation as established in the synthetic settings and leave its causal validation in pretrained models to future work."+ },+ "createdAt": "2026-08-04T03:29:24.419Z",+ "modifiedAt": "2026-11-19T17:03:38.358Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=MZBr1GAadd",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/p2pmvovouw.json added
+++ b/reviews/openreview/qvgaaput4e/notes/p2pmvovouw.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "p2pMVovOUw",+ "replyTo": "RfYpghLWWH",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the area chair for the constructive and largely positive feedback, and for recommending the belief-dynamics reference.\n\n### Scope of our claims\n\nFirst, we would like to clarify that P0–P3 are not assumptions on the data-generating process; they are testable properties expected from the property of the data. Without the key Markov property (as in Dyck), even P0 can fail when no fixed local state summarizes the relevant history.\n\nWe will move this scope qualification, together with a brief description of the Dyck counterexample, into the introduction immediately after P0–P3, so readers understand from the outset that task-vector geometry is a property to be tested rather than an innate property of transformers.\n\n### Relaxing first-order Markov assumption\n\nWe agree that the first-order Markov assumption is strong. As suggested by Reviewer spCn, we conducted new experiments with second- and third-order Markov chains (MCs) within the same framework. Finite-order MCs broaden the scope of data distributions while remaining tractable in our setting:\n\n- The sequences carry richer $(w+1)$-gram statistics than the 2-gram statistics of first-order MCs, and are thus more realistic.\n- The framework still covers finite-order families, because any finite-order MC is first-order on the lifted state space obtained by blocking a local window of tokens.\n- Dyck, on the other hand, requires infinite-order dependence: no fixed local window suffices to summarize the relevant history.\n\nTreating Markov order as a simple measure of complexity, we find that our conclusions remain robust at orders 2 and 3: P0–P3, the M1-to-M2 transition, and the near-orthogonal separation all persist. Please see our response to Reviewer spCn (Q1/W3) for details.\n\n### Pretrained-LLM belief-dynamics study\n\nWe followed the AC's suggestion and conducted experiments with the LLM persona data. More specifically, Bigelow et al. (arXiv:2511.00617) study how an LLM's belief about which persona it is talking with evolves as in-context evidence accumulates. We adapt their persona data (`Anthropic/model-written-evals`) into a generative design that directly mirrors our latent-task framework, and evaluate it using Llama-3.1-8B-Instruct. A context is a list of $N$ statements the persona would say, e.g., for psychopathy:\n\n> Here are some statements about myself:\n> - I have what it takes to get to the top\n> - I don't really care what others think about me\n> - ... ($N$ statements in total)\n>\n> Another statement about myself:\n\nUnder our framework, a persona is a latent task, and its statements are its emissions; thus a context is an exchangeable sequence drawn from the persona's emission distribution (an order-0 analogue of our Markov setting), so the belief over personas plays the role of the posterior over tasks. \n\nWe use $K$ = 3 personas (psychopathy; interest-in-science; agreeableness) and split each persona's statements into two disjoint sets, one for building its task vector and one for evaluation. All hidden states are taken at the prompt's final token (the last line above), at a middle layer (6 of 32). Each persona's task vector is the average of this state over three contexts of 128 task-vector-set statements. Evaluation contexts are three independent sequences per persona from the evaluation set, truncated to $N$ = 0–128; we fit each evaluation hidden state by least squares as a weighted combination of the three task vectors, with the weights summing to one (not forced nonnegative), read the weights as the model's belief, and average the three sequences per cell. \n\nAt $N$ = 0 the context is empty, so the weights default to the uniform 1/3 and the projection $R^2$ is 0. The trajectory with psychopathy statements as the context length grows:\n\n| $N$ | 0 | 1 | 4 | 16 | 64 | 128 |\n|---|---|---|---|---|---|---|\n| belief on psychopathy | 0.33 | 0.40 | 0.50 | 0.60 | 0.73 | 0.95 |\n| belief on interest-in-science | 0.33 | 0.27 | 0.28 | 0.21 | 0.11 | −0.02 |\n| belief on agreeableness | 0.33 | 0.33 | 0.23 | 0.19 | 0.16 | 0.07 |\n| projection $R^2$ | 0.00 | 0.02 | 0.05 | 0.16 | 0.33 | 0.72 |\n\nHence, the hidden state moves steadily toward the context persona's task vector, with a growing share of it explained by the task-vector plane ($R^2$: $0\\\\rightarrow0.72$); the same qualitative pattern holds for the other two personas. Averaged over the three contexts, the final belief is 0.96, matching the precision limit of the task vectors themselves.\n\nWe will cite Bigelow et al., clarify how the two perspectives are complementary, and summarize these new findings in Sec. 6.1 alongside our existing Qwen2.5-7B result."+ },+ "createdAt": "2026-07-29T02:55:01.643Z",+ "modifiedAt": "2026-11-19T17:03:38.644Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=p2pMVovOUw",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/pbvjq1ubd2.json added
+++ b/reviews/openreview/qvgaaput4e/notes/pbvjq1ubd2.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "PBvJQ1uBD2",+ "replyTo": "6tqBrngUqx",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "### Q2: What Theorem 1 adds beyond assumed posterior coordinates\n\nYes, we agree that Theorem 1 is an expressivity statement, not a training-dynamics one. We will be clear about its scope in a revision.\n- While there is a gap between expressivity and the actual training dynamics, this result certifies that transformers have sufficient capacity to express Bayesian predictive inference, thus showing that heuristic Bayesian interpretations are non-vacuous.\n- A rigorous training-dynamics theory often requires many more assumptions or holds under restrictive settings. A general theoretical account of the training dynamics is beyond this paper's scope.\n\n### Q3: Positioning Theorem 2 and comparison with random baseline\n\nWe agree that our Theorem 2 is a separation result, not an orthogonality result, and an orthogonality theorem likely requires stronger assumptions. \n\n- *Connection to PCA/low-rank approximation.* Low-rank approximation and manifold embedding theory are relevant but Theorem 2 is best read as a packing obstruction: the extrapolative predictive family has intrinsic dimension $d_0 \\\\gg k^\\\\ast$, so a Lipschitz decoder reading near the low-dimensional task simplex cannot realize that many distinct predictions. The theorem forces the representation away from the simplex but does not constrain the geometry of the exit nor imply orthogonality.\n- *Conclusion from Theorem 2*. We agree that Theorem 2 is a conservative non-confinement result, not a near-orthogonality result. An orthogonality theorem likely requires stronger assumptions. See our response to Reviewer spCn (Q2).\n- *Comparison with random baseline*. While a random subspace may be similarly orthogonal to the task subspace in the high dimensional space, we find that the near orthogonality emerges from training, not inherited from random initialization. Our new experiment shows that the subspace starts well inside the task subspace (overlap 5–9 times that of a random subspace) and is driven out to the random level over the same window in which the extrapolative mode develops. \n\n### Q4: sensitivity to the extraction layer; systematic criterion.\n\nWe agree that the choice of layer is an important detail. Our qualitative conclusions are stable across a contiguous intermediate-layer band, but are not intended to hold uniformly across all layers. \n\n- In the synthetic experiments, the band is selected by two signatures, small task-token interaction and mode-selective per-layer intervention effects; the revision will make this criterion explicit. \n- For pretrained models, where the signatures are unavailable, the layer maximizing held-out in-distribution task-subspace $R^2$ plays the same role and recovers the same band: across 12 models in 7 families it selects layers within a 41–71% relative-depth band. \n- For further details about the impact of layer depth and layerwise analysis, see our response to Reviewer Gdji.\n\n### Q5 — novelty vs belief-state and classical latent-variable accounts\n\nWe agree the comparison should be explicit, and will expand the related work section.\n\n- *Validating linearity in nonlinear transformers.* Classical latent-variable models such as factor analysis begin with a low-rank generative assumption. In contrast, a transformer is a highly nonlinear system, and attention makes the point sharper than for RNNs or LSTMs: every layer has direct access to the context, so no recurrent bottleneck forces a compact summary. Yet a mid-layer summary forms; it is causally used although attention could bypass a perturbed state (injection moves outputs to the target mixture; the double dissociation separates two mechanisms); two modes coexist in one network with a diversity-driven transition, where a classical mixture account has one geometry; and the extrapolative mode leaves the task subspace orthogonally, with the exit learned from training (Q3).\n- *Statistics-geometry connection in transformers is new.* We are inspired by classical statistical latent-variable models and belief-state geometry: the former as a probabilistic foundation for characterizing the transformer's generalization behavior, the latter for describing the transformer's internal geometry. Our analysis and experiments reveal that statistical structures and geometry are strongly connected.\n- *Clarifying complementary relation to related work.* We will clarify our difference to belief-state geometry (Shai et al. 2024, arXiv:2405.15943): their belief is over the hidden states of a single toy process, recovered by supervised regression onto ground-truth beliefs; ours is over the latent task generating the sequence, estimated by projection onto class-mean task vectors with no ground-truth posterior supervision, and tested causally. The deeper difference is motivation: we start from the Bayesian account of ICL (Xie et al., arXiv:2111.02080) and the task-vector phenomenon, and aim to unify them with belief-state geometry as claims about one measured object."+ },+ "createdAt": "2026-07-29T03:50:48.206Z",+ "modifiedAt": "2026-11-19T17:03:38.512Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=PBvJQ1uBD2",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/rfypghlwwh.json modified
+++ b/reviews/openreview/qvgaaput4e/notes/rfypghlwwh.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair wq6K","content": {- "metareview": "Given the unanimous positive leaning, I am tentatively in favor of accepting the paper. The core claim of the paper is that under certain assumptions about the generative process (called P0--P3), one can demonstrate the existence of \"task vectors\" that are a simplicial mixture of the individual tasks the model was trained on; however, if task diversity is high (and some other conditions, e.g., large context, are met), one will find a transition into a general Bayesian inference strategy whereby the model assumes a continuous prior over underlying generative process. While there has been a lot of rich work in the past on this topic, the authors identified a well-defined setup where this phenomenology can be theoretically grounded. The main weaknesses of the paper boil down to use of toy setups that favorably match authors' assumptions and a lack of validation in realistic scenarios. I liked the Dyck example and would argue that as long as that example is properly emphasized, the paper clarifies to the reader the validity of the claims made being conditioned on the assumptions---I would thus strongly the authors highlight this experiment earlier on in the paper. Meanwhile, for a more realistic scenario, I would recommend the authors check out [1], which can offer a simple yet rich experimental setup that will plausibly match their assumptions; if it does, it would be a good spot to validate the claims in a more practical scenario. Adding this experiment would help me weight this paper for a sure accept.\n\n[1] https://arxiv.org/abs/2511.00617"+ "metareview": "Given the unanimous positive leaning, I am tentatively in favor of accepting the paper. The core claim of the paper is that under certain assumptions about the generative process (called P0--P3), one can demonstrate the existence of \"task vectors\" that are a simplicial mixture of the individual tasks the model was trained on; however, if task diversity is high (and some other conditions, e.g., large context, are met), one will find a transition into a general Bayesian inference strategy whereby the model assumes a continuous prior over underlying generative process. While there has been a lot of rich work in the past on this topic, the authors identified a well-defined setup where this phenomenology can be theoretically grounded. The main weaknesses of the paper boil down to use of toy setups that favorably match authors' assumptions and a lack of validation in realistic scenarios. I liked the Dyck example and would argue that as long as that example is properly emphasized, the paper clarifies to the reader the validity of the claims made being conditioned on the assumptions---I would thus strongly the authors highlight this experiment earlier on in the paper. Meanwhile, for a more realistic scenario, I would recommend the authors check out [1], which can offer a simple yet rich experimental setup that will plausibly match their assumptions; if it does, it would be a good spot to validate the claims in a more practical scenario. Adding this experiment would help me weight this paper for a sure accept.\n\n[1] https://arxiv.org/abs/2511.00617",+ "final_justification": "Given the original scores, my own read, and also the response to rebuttals were all positive, I recommend the paper for acceptance."},"createdAt": "2026-07-24T06:33:34.818Z",- "modifiedAt": "2026-11-18T15:20:22.624Z",+ "modifiedAt": "2026-11-19T05:00:14.613Z","url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=RfYpghLWWH","license": "CC-BY-4.0"}
reviews/openreview/qvgaaput4e/notes/tzv76bqaxk.json added
+++ b/reviews/openreview/qvgaaput4e/notes/tzv76bqaxk.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Tzv76bqAXk",+ "replyTo": "2dPtTCZHOJ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "### Q3: phase transition vs capacity factors\n\nWe agree that the original sweep introduces a confounding factor, so it was not clear whether the M1-M2 transition reflects limited data per task or limited model capacity. In our setup, the minor tasks share a fixed 10% of the training data, so each minor task's data size shrinks as the number of tasks grows.\n\nWe therefore performed new sweeps over both per-task exposure and hidden dimension. They confirm similar phase transitions, yet the crossover/threshold depends on both factors, consistent with the reviewer's expectation: more data per task or a larger hidden dimension delays the M1-to-M2 transition, shifting the crossover to higher task diversity.\n\n- *Per-task data held fixed*: We re-trained models in which every minor task keeps the same amount of data as in the $k$=6 run regardless of the task count (total data and training steps unchanged). The result (numbers represent the log KL ratio as in the table above; negative = Bayesian retrieval): the model stays in Bayesian retrieval at every feasible task count (−1.28/−1.63/−0.56 at $k$=2/4/8). \n- *Model dimension*: Similar phase transitions occur when varying the model dimension $d$ (same setup, 30k steps); larger $d$ delays the crossover. We will add the complete width sweep to the appendix.\n\n### W1 & W2: real-world applicability; pretrained-LLM evidence\n\n**Belief-dynamics validation.** Following the meta-review's suggestion, we adapted the persona data of Bigelow et al. (arXiv:2511.00617) into a generative design that directly mirrors our latent-task framework, evaluated on Llama-3.1-8B-Instruct: each persona is a latent task, its statements are its emissions, and the least-squares weights of the hidden state on the persona task vectors are read as the model's belief. As the number of persona statements in context grows from 0 to 128, the belief on the context persona rises from the uninformative 1/3 to 0.95, the precision limit of the task-vector estimate, while the fraction of the hidden state lying in the task-vector plane grows from 0 to 0.72; the same pattern holds for every persona as context. Mixed-persona contexts and a Qwen2.5-7B replication give consistent results. The full design, an example prompt, and the trajectory table are in our comment to the Area Chair.\n\n**Twelve-model sweep.** Our paper demonstrated the pretrained-LLM signatures on one model (Qwen2.5-7B). We extended the experiment to 12 models in 7 families (0.5B–8B), across every layer. Every model shows the same signature: the task-subspace fit ($R^2$) peaks in the middle layers (41–71% relative depth) with no comparable peak for OOD prompts, and the coefficient on the correct task rises to 0.94–0.96 by 20 shots. The simplex-trajectory plots, produced with the paper's selected-task setup, are similar to the paper's Qwen2.5-7B ones, except for Gemma-3 4B; the trajectory plot for each of the 12 models will be added to the appendix.\n\n**Minor — terminology.** Agreed; we will add at first use: \"Throughout, task vectors are directions in activation space (function vectors, in-context vectors), distinct from the weight-space usage in task arithmetic and model merging (differences of fine-tuned and pre-trained weights); we use the activation-space sense exclusively.\""+ },+ "createdAt": "2026-07-29T03:22:55.909Z",+ "modifiedAt": "2026-11-19T17:03:38.571Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=Tzv76bqAXk",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/uyf706qbup.json added
+++ b/reviews/openreview/qvgaaput4e/notes/uyf706qbup.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "UYF706QBUp",+ "replyTo": "iy1vXTjsc1",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "### Q2: the two modes at the output layers\n\nThe reviewer distinguishes two cases: either the modes merge back together near the output, or they resolve in earlier layers, so the information is still present but no longer arranged along the directions the probe measures. Our measurements suggest the second case is closer to what happens. In plain terms, our picture is: **both modes' information is carried forward to the output and remains in use there; what changes at the last layers is that the model relies increasingly on the next-token prediction assembled from both, and this prediction signal comes to dominate the residual stream.** The evidence, mode by mode:\n\n1. **The retrieval mode (task subspace).** In E3, the setting with per-layer probe results in the appendix, task information is still present at the output: the probe finds a substantial unique task contribution at the last layer ($\\\\Delta R^2 \\\\approx 0.42$, down from $\\\\approx 0.70$ in the band), so the information persists even where the properties fail. What changes is its form: E3's task×token interaction $\\\\eta^2$ grows from $< 0.02$ at early layers to $0.42$–$0.51$ at the last two layers (Table 1b), i.e., the additive task simplex re-encodes into *task-specific token encodings*, which is what a next-token predictor must build.\n\n2. **The extrapolative mode (orthogonal statistic subspace).** Two measurements show it neither vanishes nor merges into the task subspace. It remains causally active: in the per-layer intervention curves the reviewer cites (Figs. 18–19), suppressing the orthogonal subspace still moves OOD loss at the final layers (point 3 explains why the effect is no longer selective there). Geometrically it stays distinct: in a new principal-angle measurement on E3's high-diversity model, the loss-relevant OOD subspace remains near-orthogonal to the task subspace through the final layer (largest cosine 0.08–0.19 at layers 2–5); it does not rotate into the simplex at the output.\n\n3. **Why the dissociation is nonetheless a middle-layer phenomenon.** In Figs. 18–19 the two modes' computations are largely dissociated from each other across depth, except at the last one or two layers (layer 5 of E1/E3, layers 14–15 of E2), where the interventions lose selectivity and the same perturbations affect major, OOD, and minor prediction alike. The paper's probe quantifies what happens there: the model's own next-token prediction signal progressively dominates the residual stream, its unique share rising from $\\\\Delta R^2 \\\\approx 0.04$–$0.05$ at layers 0–1 to $0.86$ at layer 5, and including it as a regressor absorbs essentially all of the late-layer interaction. The dominating factor at the last layers is therefore the prediction information, into which both modes feed. Whether this counts as a merge is a matter of terminology; the measurable statements are that the mode representations stay distinct (points 1–2) while part of the next-token prediction information is shared: suppressing the orthogonal subspace at the last layers also moves the retrieval mode's predictions (Fig. 18). This shared prediction signal is why intervention selectivity is lost there.\n\nIn the revision, we will add this interpretation to the main-text depth discussion, leave detailed layerwise evidence in the appendix, and flag a finer analysis of how these signals map into vocabulary logits as future work."+ },+ "createdAt": "2026-07-29T03:59:21.102Z",+ "modifiedAt": "2026-11-19T17:03:38.478Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=UYF706QBUp",+ "license": "CC-BY-4.0"+}
reviews/openreview/qvgaaput4e/notes/xylrluyvrr.json added
+++ b/reviews/openreview/qvgaaput4e/notes/xylrluyvrr.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "XYlRluyVRr",+ "replyTo": "UYF706QBUp",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer Gdji",+ "content": {+ "comment": "Thanks for the clarifications. Most of my concerns have been addressed. I have two remaining questions:\n\nI encourage the authors to clarify two points in the final version. First, because the middle-layer band is identified partly from the intervention results, Table 2 should be presented as a descriptive summary with the full per-layer curves as the primary evidence. Second, the discussion should distinguish the different layerwise behaviors of P0–P3. The new 12-model analysis supports intermediate-layer task representations, but not necessarily the full two-mode causal separation across models.\n\nOverall, the strengths outweigh the weaknesses. \nI raise my score."+ },+ "createdAt": "2026-08-03T06:09:45.170Z",+ "modifiedAt": "2026-11-19T17:03:38.358Z",+ "url": "https://openreview.net/forum?id=QvgaAPuT4e¬eId=XYlRluyVRr",+ "license": "CC-BY-4.0"+}