Commutator Memory: Sparse, Path-Local Reading and Steering in Language Models
John Sweeney
NeurIPS 2026
TL;DR. Training a language model on two data sources in opposite orders leaves a computable commutator memory: a sparse token-level readout that guides targeted interventions and a weight trace readable from paired endpoints.
Abstract. Gradient updates on different data generally do not commute: training a language model on two data sources in opposite orders gives different weights, even with the same data and total exposure. Loss or benchmark deltas show that the models differ, not where. We ask whether this path dependence leaves a parametric training-history memory: a weight component that flips sign when the two sources are swapped, is localized in output space, changes the held-out loss gap between the two orders under targeted interventions, and reveals which trained model came from which order. For one small SGD step of size on each of sources and , the weight difference is, to leading order, , where is the Lie bracket of the two gradient fields at the base model. We define commutator memory by projecting the bracket through the logits into one score per vocabulary token; the scores sum to the bracket's prediction of the gap. The scores are localized: on three models, the same readout of the measured , or of a bracket from disjoint batches, shares 82-99% of the original top-20 tokens, versus 35-49% for norm-matched random directions. They are causally actionable: in Qwen-3-4B SFT, downweighting the ten tokens with the largest predicted share of the gap closes a median 32% of the measured gap, while frequency-matched tokens with near-zero scores have almost no effect. The weights themselves carry the component: projecting the difference between the two trained models onto identifies which came from which order in 92% of cases across four LLMs (chance 50%). Controlled tests also cover matched-batch DPO, a frozen-rollout GRPO-style objective, and an AdamW endpoint check. The memory is defined per source pair, not per example, and its projection on decays with further training.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
(a) The paper defines commutator memory: projecting the Lie bracket of two post training stages at the base model through the logits into per token scores, arguing the training order residue is sparse, causally actionable, and readable from paired endpoints. Interventions close a median 32 percent of the held out ordering gap and order assignment succeeds in 66 of 72 pair seed units across four LLMs.
(b) All reviewers find the work technically solid: the bracket construction cleanly bridges optimization geometry to a computable token level object (kxgn, TXFb), with falsifiable criteria, meaningful controls, and unusually detailed protocols and limitations (UmWZ).
(c) The derivation lives in a small step SGD regime with AdamW and reward based training only as pilots or stress tests (kxgn, UmWZ), the construction is expensive with no scaling path and two thirds of the gap remains unexplained (kxgn), the metric is NLL closure rather than downstream capability (UmWZ, TXFb), the contribution boundary against concurrent anonymous work needs clarifying (UmWZ), and TXFb questions whether memory is the right framing.
(d) TXFb says their score would rise with a justified or revised framing, which looks addressable, along with the concurrent work boundary and a random baseline for the assignment statistic. With two reviewers at borderline accept I lean accept.
Final justification
Post rebuttal scores are 4, 4, 3. Reviewr kxgn raised quality to 4 with three of four questions resolved, UmWZ keeps a positive 4, and TXFb maintains 3 while calling the paper technically solid. I keep my recommendation to accept. Two citation issues for the camera ready: the Grosse et al. reference lists the first author as Aaron instead of Roger, and the anonymous concurrent submission citation On commutative optimization could not be verified anywhere and should be substantiated or removed.
Read meta-review
Meta-review
(a) The paper defines commutator memory: projecting the Lie bracket of two post training stages at the base model through the logits into per token scores, arguing the training order residue is sparse, causally actionable, and readable from paired endpoints. Interventions close a median 32 percent of the held out ordering gap and order assignment succeeds in 66 of 72 pair seed units across four LLMs.
(b) All reviewers find the work technically solid: the bracket construction cleanly bridges optimization geometry to a computable token level object (kxgn, TXFb), with falsifiable criteria, meaningful controls, and unusually detailed protocols and limitations (UmWZ).
(c) The derivation lives in a small step SGD regime with AdamW and reward based training only as pilots or stress tests (kxgn, UmWZ), the construction is expensive with no scaling path and two thirds of the gap remains unexplained (kxgn), the metric is NLL closure rather than downstream capability (UmWZ, TXFb), the contribution boundary against concurrent anonymous work needs clarifying (UmWZ), and TXFb questions whether memory is the right framing.
(d) TXFb says their score would rise with a justified or revised framing, which looks addressable, along with the concurrent work boundary and a random baseline for the assignment statistic. With two reviewers at borderline accept I lean accept.
Final justification
Post rebuttal scores are 4, 4, 3. Reviewr kxgn raised quality to 4 with three of four questions resolved, UmWZ keeps a positive 4, and TXFb maintains 3 while calling the paper technically solid. I keep my recommendation to accept. Two citation issues for the camera ready: the Grosse et al. reference lists the first author as Aaron instead of Roger, and the anonymous concurrent submission citation On commutative optimization could not be verified anywhere and should be substantiated or removed.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies whether the order of two post-training stages leaves a localized and measurable trace in language models. Instead of only measuring an aggregate loss or benchmark difference between two training orders, the paper asks where the order-dependent residue appears in the model output space.
The paper proposes commutator memory, which projects the Lie bracket between two training stages into vocabulary-level token scores. This produces a sparse token-level readout of the training-order effect. The paper further evaluates this object through localization, targeted token interventions, and paired-endpoint order assignment.
Strengths and weaknesses
Strengths:
(1) This paper is technically solid. The formulation based on Lie brackets is non-trivial, and the theoretical derivations are more substantial than many empirical memory papers.
(2) The experimental analysis is relatively extensive. The paper evaluates localization, intervention effects, and endpoint assignment, which gives a fairly complete validation of the proposed commutator readout.
(3) The paper provides an interesting perspective on post-training order effects. Instead of only reporting aggregate loss differences, it tries to locate where the order-dependent residue appears in vocabulary space.
Weaknesses:
(1) The connection to memory is not very convincing to me. The paper calls the readout “commutator memory,” but the core problem is closer to post-training order analysis or mechanistic attribution than to memory systems studied in LLM agents.
(2) The practical significance for the memory community is limited. The method does not address common memory issues such as storage, update, retrieval, forgetting, personalization, or long-horizon agent interaction.
(3) The setting is quite specialized. Many claims are tied to local training regimes, specific update paths, and order-gap NLL closure. It is unclear whether the method leads to broadly useful memory mechanisms or downstream capability improvements.
Questions
(1) Could the authors clarify the intended scope of “memory” in this paper? The proposed object is technically interesting, but it seems closer to a post-training order-effect readout than to memory mechanisms usually studied in LLM or agent memory.
(2) The paper focuses on order-gap NLL closure and endpoint-order assignment. Could the authors explain more clearly whether commutator memory leads to meaningful downstream capability improvements, or whether it should mainly be viewed as a diagnostic tool?
(3) Many results depend on local training regimes and matched update paths. Could the authors clarify how sensitive the method is to step size, optimizer choice, batch mismatch, and longer post-training schedules?
(4) The paper uses the term “memory” in a specific sense, namely a localized and readable trace of training order. Could the authors clarify this definition more explicitly, and explain how it differs from existing notions such as training-order traces, attribution signals, or post-training diagnostics?
My evaluation would increase if the authors can better justify why this should be considered a contribution to memory research, rather than mainly a technically strong analysis of post-training order effects.
Limitations
yes
Final justification
I have read and considered the authors' rebuttal. My assessment remains unchanged, and I maintain my original score.
Formatting concerns
None
3 comments
Thank you for the detailed rebuttal and additional analyses. I appreciate the technical depth of the paper, the careful experimental design, and the thorough effort to clarify the scope and positioning of the work. The response has helped address several of my questions and has further strengthened my positive view of the paper’s overall quality. Nevertheless, I still have some reservations regarding the overall significance and broader impact of the contribution. I gave careful consideration to whether the rebuttal warranted a score increase; however, at this stage, I am inclined to maintain my current score.
Thank you for the careful follow-up and for reconsidering the paper. We are grateful that the additional analyses addressed several questions and further strengthened your positive view of the paper’s quality, and we appreciate your recognition of its technical depth and careful design.
Your review describes the work as closer to “post-training order analysis or mechanistic attribution” than to memory systems studied in LLM agents, and asks whether it yields downstream capability improvements. Those descriptions identify central parts of the work; we respectfully disagree that they reduce its significance for a General submission. The paper studies one object—the leading order-specific component created by composing two updates—and reads it in two ways: as a signed semantic map and, when both endpoints are available, as a weight-based test of which sequence produced each model.
Optimization geometry predicts which semantic register each training order favors. The code-then-math and math-then-code runs use the same content and total exposure; only the order changes. Among the submitted top-20, all five academic-metadata tokens—such as abstract, title, and author—are easier under code-then-math, while all seven programming keywords—such as extends, include, and pragma—are easier under math-then-code. The remaining eight are general words, punctuation, or fragments; the perfect split concerns the 12 source-specific tokens. The readout assigns coherent semantic groups to opposite training orders rather than merely selecting relevant words or fitting a probe to the endpoints. Literal tokens are model- and protocol-specific; the prediction is the signed high-magnitude footprint for that setting. Analytically, the token scores sum to the scalar bracket prediction from prior work; this paper resolves that scalar across output coordinates.
At a coarse level, each order favors the source trained last. But in the one-step SGD comparison underlying this readout, both orders have the same first-order endpoint; their leading separation is the second-order antisymmetric cross-source term. “Last source wins” therefore does not predict which outputs carry the effect or their signs, and a norm-matched first-order contrast falls below chance on all three models.
On the bracket-selected top-20 support, 522 of 540 predicted signs agree with the trained endpoint differences across 27 runs on three models; a disjoint-batch bracket matches all 540 signs on that support. Because the readout is sharply concentrated, this tests the high-magnitude support rather than full-vocabulary ranking. Norm-matched random directions remain at chance, while a second-order control using the same derivatives but pairing them within source rather than across sources falls below chance on all three models. Thus the semantic structure is a faithful prediction of the order-specific interaction, not a narrative attached after seeing the checkpoints.
The intervention asks whether that explanation is causal. On the pre-specified above-floor Qwen-2.5-1.5B subset—28 of 90 trials—the predicted-support intervention closes 47.9% of the order gap at the median; reversing the sign moves it 47.0% in the opposite direction, while matched random support has essentially no effect. We do not claim a broad task gain; the intervention distinguishes a causal explanation from a post-hoc diagnostic.
In the paired setting, the same interaction supports a weight-based audit of training order. Given the base model, candidate stages, and both alternate-order checkpoints with their labels removed, the test cancels what the sequences share and isolates what order alone changed. After one SGD update per source, it identifies which checkpoint came from A-then-B and which came from B-then-A in 66 of 72 cases across four LLMs, without any marker inserted during training. The output readout and audit are two views of the same order-specific term.
Modern LLMs compose domain adaptation, instruction tuning, preference optimization, safety updates, and other stages in shared weights, yet their order interactions are usually discovered only after complete alternatives have been trained. This work instead identifies which outputs carry the difference, which order favors them, and whether that explanation is causal.
“Memory” names the temporal part of the result: the order-specific component persists in the weights, and matched continuation measures how later training attenuates it. We do not claim an item-addressable agent-memory system. Post-training order analysis and mechanistic attribution identify the contribution; they do not diminish it. We respectfully ask that the paper be evaluated on those terms, rather than by whether it also implements an agent-memory system.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies non-commutativity of sequential LLM post-training stages. Given two sources , it forms the SGD Lie-bracket direction at the base model and projects this direction through the logits to obtain per-vocabulary-token scores . The paper argues that this “commutator memory” is sparse, pair-specific, causally actionable through token interventions, and readable from paired alternate-order endpoints.
Strengths and weaknesses
Strengths: The problem is important and timely, since training-stage order effects are usually observed only through aggregate benchmark or loss changes. The paper gives a mathematically motivated construction and tests it through several falsifiable criteria: localization, intervention, and endpoint assignment. The experimental section is broad across Qwen/Llama models, includes meaningful controls, and is unusually detailed about protocols and limitations.
Weaknesses: A central concern is dependence on concurrent anonymous papers, especially for the scalar bracket predictor and optimizer-geometry background. This makes it harder to judge how much of the conceptual contribution is new here versus inherited. The strongest novel aspects appear to be the token-level readout, interventions, and paired-endpoint tests, and the paper should make this separation even clearer. In addition, the headline evidence is mostly in BCH-local small-step SGD settings; DPO/GRPO/AdamW results are matched-path stress tests or pilots, so generality to realistic post-training pipelines remains limited. The intervention metric is NLL ordering-gap closure rather than downstream capability improvement.
Questions
The paper may provide more concrete examples with actual sentences to clarify the task
Limitations
yes
Final justification
My score is already a positive judgement.
Formatting concerns
None
1 comment
Rebuttal
W1 — Concurrent-work
We thank the reviewer for finding the problem important, the experiments unusually detailed, and the paper technically solid with reasons to accept outweighing reasons to reject. The novelty boundary is already explicit in the submitted paper: the scalar bracket predictor and optimizer-geometry results are attributed to the concurrent papers and are not claimed as ours, while the token-level readout, localization and intervention tests, and paired-endpoint assignment are introduced and tested here.
Specifically, Sections 1–3 credit Anonymous (2026b) for the one-step SGD endpoint-defect identity, Trotter scalar predictor, and BCH-local assumptions. Appendix A identifies its bracket-only dominance result as Proposition 1 of Anonymous (2026a). Appendix Y cites Anonymous (2026a, Theorems 3–4) for the fixed- AdamW singular regime and -scaled- restoration, which we summarize rather than re-prove. Both anonymized papers were bundled in the submission's supplementary zip. For maximum auditability, we will consolidate these existing attributions—and add inline citations for the curvature, lifted-state-commutator, and midpoint-scoring formulations—into a boxed inherited-versus-new ledger.
Our contribution starts by turning the scalar order score into a token map. We pass the parameter-space bracket through the model's logit Jacobian, , and weight each vocabulary channel by its cross-entropy error on the evaluation slice: . Summing over tokens recovers the scalar prediction, . Thus the prior scalar predicts which order is better, while our readout identifies which tokens carry the order-dependent residue.
We then test this token map: its support is sparse and pair-specific, and interventions on the selected support move the ordering gap relative to matched -neutral controls. We also formulate a paired-endpoint assignment statistic and show that it retains a readable order trace at finite step size (66/72 SGD pair-seed units across four LLMs). Its leading-order sign follows from the cited endpoint-defect identity; its formulation and empirical readability under sampling, HVP estimation, architecture, and precision are new here. These localization, intervention, and assignment results do not follow from either scalar prediction or optimizer-regime characterization.
W2 — Generality beyond BCH-local SFT
The umbrella labels “stress test” and “pilot” understate the experimental depth. We will remove them and retitle Section 5.6 “Controlled tests beyond supervised fine-tuning.”
- DPO: 360 matched trials over 12 source pairs (six original plus six disjoint fresh pairs). All 12 bracket-minus-random pair medians are positive, the pre-specified diagnostic passes 11/12, and the bracket wins 316/360 within-cluster trials. Random is near zero, wrong-sign near , and the dose sweep peaks at the prescribed .
- Frozen-rollout reward surrogate: on Qwen-2.5-0.5B with analytic rewards and a KL-regularized surrogate, 20 trials in five seed clusters give mean identity cosine and median parameter/log-prob/loss closure . A separate block sweep passes the pre-specified structural gates at every .
- Controlled post-hoc AdamW endpoint validation: on Qwen-2.5-1.5B in the selected last-layer MLP subspace, six pairs three seeds after buffer warmup give endpoint-defect cosine , mean relative endpoint error (with companion mean ), and held-out NLL-gap closure 79.5% (CI [72.6%,85.9%]), with random, wrong-sign, and first-order controls.
The bracket is path-specific: these tests compute it from the same batches, rollouts, and optimizer state that generate the measured updates. We do not assume that it transfers unchanged to a different training path. The main evidence remains BCH-local, predominantly –8 SGD; DPO is local and matched-batch, the reward study uses frozen rollouts, and AdamW is post-hoc on one model and one subspace. Cross-batch DPO and static cross-rollout failures are informative negative controls. We do not claim online GRPO, online AdamW actuation, optimizer-universal validity, or unmatched-path production deployment.
W3 — NLL closure versus capability improvement
NLL ordering-gap closure is the theory-targeted intervention outcome. In the submitted selected-slice protocol, selected-support interventions move the matched order gap while -neutral controls remain near zero. This establishes intervention leverage in the tested slices, not discrete capability improvement. The method nevertheless motivates a testable route: use to select the better order and /bracket actuation to suppress harmful residue. On Qwen-2.5-1.5B, among the units with the correct sign, the drift-matched bracket-only update beats both pure orders in 12/13 cases. Appendix X reports one representative post-hoc Qwen-3-4B code/math correction pair, requiring as target: across all 1,319 GSM8K and 164 HumanEval items, teacher-forced gold-answer NLL moves 14.2% and 20.4% toward that endpoint. Exact match/pass@1 changes remain at most 7 percentage points, below resolution at this local scale. This is local likelihood evidence and a testable capability pathway, not an achieved discrete gain.
Q1 — Concrete sentences and clarity revisions
We take the Clarity score of 2 seriously. The requested sentence-level examples from the revision-pinned held-out slices used in submitted run R8b (evaluation seed 44) are:
- Code/news: “Ask HN: Should I include my GPA and/or transcripts when applying for
jobs?” In the slice-level readout,
Askis the largest- token (). - Code/biomedical: “Computers are a ubiquitous part of the ambulatory health care
environment.” In that slice-level readout, the subword
ulatoryinambulatoryis a top-10 token ().
Thus attributes the AB/BA residue to vocabulary channels occurring inside ordinary
held-out sentences. It is aggregated over the slice, not a sentence-specific score, and does
not generate or retrieve a sentence. Separately, submitted R30 is a post-hoc correction check
that uses as its target. For a preselected top-gap position in the held-out
headline “Facebook Dating launch blocked in Europe after it fails to show privacy workings,”
the Facebook NLL is under AB versus under BA; correction moves it to
—97.0% absolute closure, with a slight overshoot beyond BA. The sources
and exposure are identical; only order changes. This is the operational task: locate, read,
and control where that order-only residue appears. We will add these examples and a tokenwise
visualization to the revision.
Beyond these examples, the revision will introduce the material in the order task → pipeline → notation → evidence, place the pipeline schematic before the formal construction, and define each central object before its first equation. A compact box will give the plain-language map:
| Object | Role |
|---|---|
| and | the two training stages and the held-out evaluation slice |
| the local parameter-space effect caused by swapping the order of and | |
| one scalar predicting which order has lower held-out loss | |
| commutator memory | a token-level decomposition of the scalar prediction after routing through the logit Jacobian |
| order-gap closure | the fraction of the AB/BA NLL difference removed by an intervention |
| paired-endpoint assignment | whether two endpoint weight sets reveal which order produced each |
We welcome continued discussion throughout the rebuttal period and would be happy to address any remaining concerns or provide any further clarification useful for assessing the paper. We hope these concrete revisions resolve the clarity and originality concerns underlying the borderline accept rating and support reconsideration toward a clear accept.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces commutator memory, a token-level readout of training order noncommutativity derived from the Lie bracket of two gradient sources. It argues the ordering residue is not diffuse optimizer noise but a structured, sparse, pair-specific object that can be located in vocabulary space, causally targeted during training, and assigned from endpoint weights alone. The framework is based in a BCH derivation, and the three tests are set up to empirically validate each component independently.
Strengths and weaknesses
Updates (Reviewed under the General Type)
-
Headline evidence is confined to a calibrated BCH-local window with k=1 to 8 SGD. AdamW is a post-hoc single-model, single-subspace check, and reward-based training uses frozen rollouts. Generality to realistic post-training pipelines is asserted narrowly but is still narrow.
-
The exact construction is matrix-free but per-pair; the paper does not characterize cost or fidelity for pair grids or full-model subspaces at scale.
-
The intervention outcome is order-gap NLL closure on selected slices. No downstream capability change is established, and the paper's framing of the 32% figure invites reading it as an explanatory share of the mechanism.
Strengths
- The bracket identity is a clean theoretical result that bridges optimization geometry to a computable token-level object. Connecting Theorem 1 directly to the sparse localization prediction is well-executed and gives the empirical tests a clear theoretical anchor.
- The causal intervention test shows a strong result. It shows a 32% gap closure via token-level downweighting, which is a meaningful validation that the predicted causal relation rather than just correlational alignment.
- Extending the framework to DPO and the frozen-rollout reward-surrogate setting is a useful contribution as well. It shows the formalism is not tied to the SFT and generalizes to reward-shaped training in a non-trivial way.
Weaknesses
- The derivation assumes a simplified SGD regime with a quadratic loss approximation. The authors acknowledge the gap to AdamW but does not show how much the approximation degrades in practice, would be a good thing to evaluate and show in the paper.
- Computing the cross products is expensive. The paper does not address the cost of applying the framework at larger scale.
- The causal intervention covers 32% of the ordering gap but leaves the 68% unexplained. The paper does not discuss what other things carry the residual or whether they are structurally related to commutator memory.
Questions
-
How well does the approximation hold under AdamW at scale? Does it break down at some model size, and is there a way to tell when it has?
-
What is the random baseline for the endpoint assignment test? The 66/72 figure needs a comparison to be interpretable.
-
Are there cheaper approximations to the Hessian-gradient products, such as diagonal estimates? The full computation looks impractical for large models.
-
What carries the remaining 68% of the ordering gap? Is it higher-order terms in the BCH expansion, or something else?
Limitations
Yes, addressed well.
Final justification
Thank you for the rebuttal. It resolved three of my four questions. I've bumped my quality from 3 to 4. Good work.
Formatting concerns
No concerns, paper was formatted and organized well.
1 comment
Rebuttal
W1/Q1 — AdamW and approximation validity
The approximation is local rather than globally quadratic; for AdamW we model the optimizer state, including its moment buffers; and we detect breakdown by comparing predicted and observed endpoints and held-out loss.
The SGD theorem requires three continuous derivatives in a local neighborhood; it does not assume that the loss is globally quadratic. This smoothness condition bounds the omitted terms by a constant times , where is the learning rate.
Standard AdamW, with fixed moment-decay coefficients, needs a different treatment because its moment buffers change with the order of the data. Appendix Y therefore compares the two discrete AdamW update maps on the optimizer state , consisting of the parameters, first- and second-moment buffers, and step index. It does not simply reuse the SGD commutator.
The Appendix Y closure experiment uses the final MLP block of Qwen-2.5-1.5B (41.3M coordinates) in fp32. After 20 mixed-source warmup steps, each of 18 trials (six source pairs three seeds) applies one update from source and one from source in both orders. Let be the observed endpoint difference and its AdamW prediction. The mean cosine between them is , and their relative endpoint error is , whose mean is . Applying the predicted edit removes 79.5% of the absolute token-level NLL difference on average after clipping trial values at the 5th and 95th percentiles to limit outlier influence, while a norm-matched random edit is near zero. Among the tested edit scales, the NLL response peaks at the predicted value .
The AdamW test addresses optimizer state. A separate supplementary SGD calculation examines path length across model sizes for the code–news source pair, using the final output layer and a calibrated learning rate for each model; Appendix T reports the 4B calculation. At 1.5B, 4B, and 8B, the mean measured-to-predicted loss-gap ratios are with one update per source and with eight updates per source. Every model retains the predicted sign in all three seeds through eight updates. Appendix W's broader six-pair SGD check predicts the lower-NLL order in , , and units at 1.5B, 4B, and 8B. Together, these results show clear within-model degradation with path length, but no monotonic degradation with model size.
Yes, there are direct breakdown checks. Once both orderings have been run on a calibration set, a large , poor cosine alignment, or an NLL response whose best edit scale is far from signals breakdown of the local approximation. Appendix R also checks nearby learning rates on held-out calibration data: the predicted lower-NLL ordering must agree with the observed ordering and remain stable across nearby learning rates; the bracket displacement must remain between 1% and 10% of the first-order update; and reversing the bracket direction must reverse the measured effect. Failure of any check places the setting outside the regime in which we use the approximation.
Q2 — Endpoint-assignment baseline
Table 3 reports the SGD test with one update per source (). Given a source pair and two unordered endpoints, assignment is binary, so random assignment is correct 50% of the time. Across four models, six source pairs, and three seeds per model, the bracket assigns the endpoints correctly in cases (91.7%); Table 3 gives a 95% confidence interval of [83%, 96%], well above chance. We will add the 50% baseline explicitly.
W2/Q3 — Cost and cheaper curvature approximations
The exact calculation is matrix-free: it never forms or stores a Hessian. For one source pair, it computes two gradients and two Hessian-vector products (HVPs). Appendix Z.3 estimates each HVP at roughly twice the cost of a combined forward and backward pass, so the bracket costs about six forward–backward equivalents for the reported parameter block. Its scalar score requires one additional held-out gradient, and the token readout adds three forward-only passes. The number of passes per pair is fixed, although the cost of each pass grows with model size, sequence length, sample count, and the number of parameters included. The paper applies this exact matrix-free calculation to the reported parameter blocks at model sizes through 8B.
There are two cheaper routes. The first reduces the number of exact HVPs by reusing them across source pairs. Suppose candidate sources share a base model and a held-out evaluation loss. Let and be the gradient and Hessian for source , and let be the held-out gradient, all evaluated at . Hessian symmetry writes the leading predicted gap for pair as . Thus is computed once per source: ranking all pairs among sources needs HVPs rather than , followed by inexpensive pairwise dot products. This reuse is exact for the fixed-base leading-order score. On the 4B code–news test, the reused and direct scores agree to a maximum relative error of . If different pairs use different evaluation losses, reuse applies only within groups sharing the same loss.
The paper's primary score instead evaluates the held-out gradient at the pair-specific reference . Replacing it by the base-model gradient changes the predicted gap at order , the same order omitted by the second-order approximation. The fixed-base formula can therefore evaluate all pairs cheaply; the paper's pair-specific score, exact matrix-free HVPs, and token attribution can then be computed pair by pair.
A second route is to avoid HVPs with a streamed diagonal curvature approximation. For the final vocabulary-prediction layer, with hidden states held fixed, its explicit contribution to the Hessian diagonal can be accumulated in one pass from , where is the probability of token and is hidden-state coordinate . This discards cross-coordinate interactions. Block-diagonal or low-rank generalized Gauss–Newton approximations retain more of those interactions and provide intermediate cost–fidelity tradeoffs, but are not automatically HVP-free. Their relevant fidelity tests are whether they preserve held-out ordering signs and the largest token effects. The reported pair-specific scores and token attributions use exact matrix-free HVPs. We will add the matrix-free cost accounting, the exact fixed-base reuse, and these approximation options to the paper.
W3/Q4 — What carries the remaining gap?
After the token-reweighting intervention, the leading-order commutator still predicts a gap in the original direction for all three source pairs. Finite-step corrections, which contain any net higher-order BCH effect, change sign across pairs, so they do not explain a common remaining 68%.
Table 2 evaluates the targeted token-reweighting edit defined in the paper. During the update on source , it reduces the loss weight by 90% at positions whose target is one of the ten tokens with the largest positive predicted ordering effects, while rescaling other positions to keep the average weight unchanged. This changes the source- update indirectly; it does not directly subtract the predicted commutator displacement or force the -then- and -then- endpoints to agree. The 32% closure is therefore not the fraction of the ordering mechanism explained by commutator memory, and its complement is not a separately identified 68% component.
To test whether higher-order terms instead carry the remainder, we applied the one-update-per-source Qwen-3-4B intervention protocol across 90 trials (three source pairs, 30 trials each). For each trial, we compared three quantities after reweighting: (i) the held-out NLL gap predicted by the leading commutator; (ii) the linearized NLL gap obtained from the parameter difference produced by the two actual updates, which includes finite-step path effects; and (iii) the NLL gap measured at the two endpoints. For each source pair, we flip signs so the original gaps are positive and compare the summed leading-order predictions with the summed magnitudes of those original gaps; we then average the three pair-level ratios equally. The result is 71%, and the leading prediction points in the original direction for every source-pair average.
The difference between (i) and (ii) is precisely where finite-step corrections, including higher-order path effects, enter. That correction reduces the remaining effect for code–news and code–math but increases it for code–legal. Moving from (ii) to the measured endpoint loss in (iii) reduces the gap for all three pairs.
In plain terms, the token edit closes some of the loss gap, but after the edit the leading-order calculation still predicts 71% of the pre-intervention measured gap. Finite-step corrections then raise or lower that prediction depending on the source pair, while the loss-surface correction reduces it for all three. This is why 32% closure does not imply a separate 68% mechanism. Although 71% is numerically close to 68%, they are not the same statistic: 68% is the complement of the median absolute closure measured in Table 2, whereas 71% comes from the leading-order predictions in the 90-trial analysis, normalized within each source pair and then averaged across pairs. We will add this analysis and clarify in the paper that 32% measures the effect of this one edit, not the share of the gap explained by commutator memory.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Thank you for pressing on this distinction. We use parametric training-history memory operationally: when training content and dose are held fixed, changing the order of two updates leaves an order-specific component in the weights after those writes. Across separate controlled assays, the commutator predicts and localizes its output expression; targeted interventions change its loss-space effect; and matched subsequent training measures how much of the aligned parameter component remains. Here the history variable is A-then-B versus B-then-A. This is a mechanism-derived study of parametric training-history memory, not an agent-memory architecture.
Q1
The history variable is specific: whether two supplied updates occurred as A-then-B or B-then-A. Because both runs see the same data for the same total exposure, their difference isolates order rather than content or dose. This is what we mean by a training-history trace in parametric state.
This matters whenever a model is edited or fine-tuned repeatedly. Modern post-training stacks compose domain adaptation, instruction tuning, preference optimization, and other updates in the same weights; their order is therefore a source of interference even when data and total exposure are fixed. That is the memory problem addressed here: identifying where order-specific interference appears, whether it can be changed, and how quickly it fades under later training.
Access is researcher-defined: the candidate stages are supplied, and the strongest endpoint test compares both orderings. Our claim therefore does not extend to item-addressable recall, personalization, an external store, unrestricted provenance from one checkpoint, or long-horizon agent memory.
A direct comparison is Fresh in Memory: both works ask what training history survives later learning. It studies acquisition recency and persistence in activations; we isolate a pairwise order interaction in the weights, trace its effect to outputs, test a local intervention, and measure its attenuation during continued learning. Parametric editors such as ROME and MEMIT show how factual content can be written into weights. Our complementary question is what order-specific interaction is created when parameter writes are composed; we do not claim to evaluate those editing systems here.
Q2
The method predicts the effect before inspecting the endpoints and provides signed local control; it has not yet shown broad downstream task improvement. It identifies which outputs carry the asymmetric interaction between two writes and tests a targeted local correction. Across three models, the token set highlighted by the commutator overlaps endpoint and independently resampled supports substantially more than matched random directions. Given the candidate stages and both endpoints, it assigns their order in 66 of 72 cases across four models, versus 50% chance. In matched DPO, the predicted correction beat random for every source pair; the theory-prescribed dose performed best, the wrong-sign control reversed the effect, and a same-size first-order update was weaker.
Together, these controlled tests support recovering which order produced each of two supplied checkpoints, locating the effect in output space, and changing it in the predicted direction. Because the prediction is derived from the update rules rather than fitted to those checkpoints, it is more than post-hoc detection. The measured outcome remains a loss difference, and broader pilots did not establish task-level improvement or native item retrieval. We therefore make no broader downstream capability claim.
Q3
Step size. The guarantee is local, and agreement worsens as the update dose grows. In a three-seed Qwen3-4B code-news loss-space check restricted to the output layer, all three seeds retained the predicted sign through eight updates per source, while the mean actual-to-predicted gap-magnitude ratio fell from 1.004 after one update to 0.735 after eight.
Batch and path mismatch. The DPO and reward-surrogate tests analyze specified update paths. Substituting different batches or rollouts does not preserve the predicted effect; the object is therefore path-specific, and we do not claim cross-path transfer.
Optimizer. The paper's closed-form specialization is for SGD. For AdamW, the local construction must also include the optimizer's evolving moment buffers and step index. In a post-hoc Qwen2.5-1.5B fp32 pilot over 18 pair-seed runs after warmup and one update per source, predicted and observed endpoint differences had mean cosine 0.998 and mean relative endpoint error 6.8%. This remains a one-model result restricted to the final block's MLP.
Longer schedules. In a new-seed Qwen3-4B continuation study through sixteen later writes, both branches used the same sequence of continuation batches and the same update rule, with gradients recomputed at each branch's live endpoint. We measured signed retention by projecting the later A-then-B minus B-then-A endpoint difference onto the original commutator direction and dividing by the same projection immediately after the two writes. A run counted as retaining the trace if it was detectable at baseline and its projection, normalized by the predicted initial scale, remained above 0.01. Fifteen of twenty runs met this condition after four writes. At eight and sixteen, the result no longer met the study-wide test, with the additional-math subset showing the clearest decline. Among the 18 runs with a measurable baseline, the median retained signed amplitude fell from 27% to 14% to 7% across those horizons. This shows short-horizon persistence followed by attenuation of the paired parameter trace; it does not establish behavioral retrieval or long-term memory. We will include the full protocol and run-level results in the revision.
Q4
Operationally, commutator memory is the order-specific component in parametric state left by composing two fixed writes; exchanging their order flips its sign. A generic training-history trace establishes only that training left some signature. Attribution links an output to training data or parameters, while a post-training diagnostic detects a difference after the fact. The commutator instead derives a signed prediction from the two update rules before the endpoints are inspected and decomposes that prediction into token-level effects. We claim recovery of the high-magnitude token set, not accurate ranking of the full vocabulary.
We will also separate inherited and new components explicitly. Concurrent work supplies the one-step SGD bracket identity and scalar order score. This paper lifts that scalar into token-level output coordinates, tests its support against endpoint, resampling, and random controls, changes the predicted effect in tests using the same specified batches and update rules, and validates one-update paired-checkpoint order recovery across four models. The new continuation experiment adds a boundary for retention and attenuation of the aligned parameter component.
The contribution is therefore a mechanism-derived account of the creation, paired-checkpoint readout, local loss-space control, and attenuation of one training-history variable in parametric state. These are the operational components of our parametric-memory claim. Access remains pair-conditioned, and we do not claim native item retrieval; because the signed prediction is derived before the endpoints are inspected, it is not merely a post-hoc diagnostic. We will make this operational definition and its boundaries explicit in the abstract, introduction, related work, and limitations.
We hope the explanation above address your concerns. If a specific concern remains about the robustness evidence or revised presentation, we welcome the opportunity to address it during discussion.