Pith.

Machine Learning · arXiv:2609.28399 v2 · submitted 23 Sep 2026

Memory Attention

Jiale Kang

The paper says

“Language models typically construct attention values from contextual hidden states, even when some of their content may be reusable across contexts. We investigate whether token-indexed memory can replace the dedicated value projection when complemented by contextual information.”

more of the abstract

We propose Memory Attention (MA), which forms values by combining layer-specific token memory with contextual keys. The memory supplies token-specific representations, while the keys preserve context dependence. At inference, normalization can be folded into the memory tables, reducing value construction to lookup and addition. Token-indexed retrieval also enables CPU offloading with prefetching, reducing GPU parameter storage. Under matched training token budgets and with additional memory parameters, experiments across attention configurations show improved language modeling and average downstream performance.

from the abstract

Pith says

Machine review · deepseek-v4-flash · 24 Sep 2026 · of version 1 of the paper; version 2 is newer · what was read was not recorded · not checked by a person

It can be wrong. Challenge this review or reply to it.

Holds up, with conditions. Genuinely new value construction, but the quality claims are confounded by the paper's own 2-3x parameter increase, and the efficiency story holds on its own. This line is wrong

3 major objections · 4 minor

How often objections from reviews like this one are right: not yet measured

Are you an author? What you can do.

Not checked: figures, code, what the references say.

The paper says, at §4.2, Table 2; Introduction

The review did not quote this passage.

Pith says: Objection 1 of 3 · major

The central claim — that replacing the value projection with V = K + Norm(E[s]) (Eq. 8) improves quality — is unverified because every Standard–Memory pair is parameter-mismatched by a factor of 1.6x–3x (373M vs 1,135M; 349M vs 729M; 336M vs 526M; 398M vs 1,160M; 1,364M vs 2,836M).

more of objection 1

The paper's own text concedes this: the Introduction states the results 'do not isolate the contribution of its structure from the increase in parameter capacity,' and Section 4.2 repeats the same caveat. A capacity-matched or parameter-matched Standard control is required — for example, a Standard model with a widened hidden dimension to match parameter count, or a Standard model augmented with an equal number of lookup-based parameters that do not reuse keys. Without such a control, the stated hypothesis that token memory can substitute for the dedicated value projection is untested, and the perplexity and average-accuracy improvements in Table 2 cannot be attributed to the MA construction.

The paper says, at §4.3, Eq. (24), Fig. 2

The review did not quote this passage.

Pith says: Objection 2 of 3 · major

The token-efficiency ratios (1.42x and 1.16x) inherit the same confound as the quality comparisons, since nStandard(ℓ) and nMA(ℓ) are read off curves for models that differ by a 1.6x–3x parameter gap. Additionally, the operating loss level ℓ at which the token counts are read is not specified; Eq.

more of objection 2

(24) defines the ratio but the manuscript does not state how ℓ was selected, and the magnitude of ρtoken is sensitive to that choice because the two training curves cross the chosen loss level at different slopes (Fig. 2). The paper should specify the selected loss levels, justify their choice, and report ρtoken across a range of ℓ values so the reader can assess the stability of the claimed 1.42x and 1.16x figures. As it stands, the ratio is not a parameter-free quantity and its headline values are not reproducible from the text.

The paper says, at Table 3, §4.2

The review did not quote this passage.

Pith says: Objection 3 of 3 · major

The NIAH retrieval and 2x context-extrapolation gains (e.g., niah_single_3 at 1K improving from 62.4% to 98.2%) are subject to the same attribution problem as Table 2, because MA is again compared against the smaller Standard baseline with no capacity-matched control.

more of objection 3

In addition, Tables 2 and 3 report single-seed runs (random seed 42, per Appendix A) with no variance estimates, so it is unclear whether the smaller differences (e.g., the 0.61-point GQA average-accuracy gain in Table 2) exceed run-to-run noise. At minimum, the paper should state that results are single-seed and, ideally, provide per-task standard errors across seeds; the load-bearing attribution of the retrieval gains requires a capacity-matched comparison.

4 minor objections

The paper says, at Abstract, Fig. 2

Pith says: minor objection 1 of 4

Several formatting artifacts should be cleaned up: 'We proposeMemory Attention' in the abstract, the stray '/githubmemory-attention' line, and the obfuscated 'Decod e' label in Fig. 2. There is also no Definitionen of what 'Δ=0.058' in the Fig. 2 caption denotes; the caption should state which loss difference this is and at which operating point.

The paper says, at Tables 2–3

Pith says: minor objection 2 of 4

The tables report single runs without variance; a sentence stating that all results are single-seed at seed 42 (which is implied by Appendix A) should appear with the tables themselves, alongside standard errors for the downstream accuracies if available.

show 2 more

The paper says, at §3.3, Table 1

Pith says: minor objection 3 of 4

The FLOP accounting counts each multiply and addition as one FLOP and excludes lookup overhead and memory traffic, which the paper states; the text should also note explicitly that this convention undercounts practical kernel cost relative to FMA-based dense projections, since the 3.04% prefill latency improvement in Table 4 is far below the a priori FLOP reduction implied by Eq. (19). The current framing risks overstating the arithmetic benefit.

The paper says, at §3.4, Table 4

Pith says: minor objection 4 of 4

The offload scheduling parameters (group size one layer for prefill, four for decoding, prefetch depth four) are stated in the text, but no sensitivity analysis is given; a sentence noting that latency results hold for this single configuration would clarify the scope, as the paper already does for the small timing differences.

What would settle it

Train a structure-isolating control that retains the value projection W_V and adds the same per-layer token memory as an explicit supplement (the Value Embedding construction of Eq. 3 with lambda chosen so total parameters match MA, e.g. 2,836M for L24-D2048), using identical token budget, LR schedule, seed, and training settings, and report the Table 2 metrics. If this supplement-matched Standard matches or beats MA, then removing W_V is not the source of the gain and the replacement claim fails; if MA clearly wins at matched capacity, the confound concern is resolved.

from the skeptic's reading

How the review went

4 readings by deepseek-v4-flash · 24 Sep 2026

  1. Reader holds up, with conditions confidence high
  2. Skeptic agrees 42 s · 11,660 tokens read, 7,097 written
  3. Editor wrote the verdict above 29 s · 13,426 tokens read, 2,816 written
  4. Referee major revision: 3 major objections, 4 minor 34 s · 12,073 tokens read, 5,579 written

Not run on this paper: the simulated authors' defence.

Pith did not check this review's objections against the paper.

The review in full

The review in brief, machine-written

Memory Attention is a clean, honestly reported architecture whose central quality claim is confounded by its own design, and the authors admit it repeatedly. The value construction V = K + M with the dedicated value projection removed is genuinely new; value embeddings, PLE, and STEM all supplement projected values rather than drop the projection, and Engram gates n-gram memory by context. So this specific move is absent from the cited prior work, and the MLA parallel in Section 3.2 is drawn honestly as a functional analogy, not an equivalence. The paper also gives a concrete, internally consistent efficiency story: normalization folded into memory tables (Eq. 16), CPU offload with prefetching, and arithmetic that checks out (the 7.38% GPU storage reduction equals the reported MiB difference, and the offloaded 1,572.864M parameters match the table dimensions). Those contributions stand regardless of the quality attribution. The load-bearing soft spot is that every quality comparison pairs MA with roughly 1.6-3x the parameters of its Standard control, and the text concedes in Section 4.2 that these results do not isolate the contribution of its structure from the increase in parameter capacity. Table 2 shows perplexity and average accuracy gains, and Table 3 shows large NIAH retrieval gains, but none of that is attributable to the value construction without a parameter-matched or capacity-matched Standard baseline, which is not provided. The token-efficiency ratios (1.42x, 1.16x) carry the same confound and depend on loosely specified matched-loss operating points. So the paper's central claim that token lookup plus key reuse substitutes for the value projection remains unverified. That is not a fatal flaw, but it is the difference between a strong method paper and a conjecture with promising evidence. The efficiency results are the real deliverable: near-baseline forward-pass latency with 55% less GPU parameter storage than MA and 7.38% less than Standard, all with a prototype that genuinely prefetches and overlaps transfers. The in-window retrieval gains are also real measurements. So even if the quality attribution fails, the offload and parameter-placement story can stand alone. This paper deserves peer review: the novelty is real, the analysis is mostly careful, and the missing matched-parameter control is fixable in revision. I would want code and checkpoints released before the quality claims carry weight, and I would ask for at least one parameter-matched or capacity-matched Standard baseline. Without that, the quality contribution stays conditional, but the efficiency contribution is solid.

The strongest objection

Every quality comparison in Table 2 pairs Memory Attention with roughly 1.6x-3x the parameters of its Standard control (373M vs 1,135M; 349M vs 729M; 336M vs 526M; 398M vs 1,160M; 1,364M vs 2,836M), and Section 4.2 states these results 'do not isolate the contribution of its structure from the increase in parameter capacity.' This is the load-bearing gap: the paper's central scientific claim is that V = K + Norm(E[s]) (Eq. 8) can replace the dedicated value projection without losing quality at matched token budgets. That claim is only supported if the gains come from the construction itself; if the gains are parametric, then reusing keys and token memory is not driving the improvement and the replacement assertion is unverified. The token-efficiency ratio (Eq. 24; 1.42x and 1.16x in Fig. 2) has the same confound and additionally depends on a loosely specified matched-loss operating point, so its magnitude is sensitive to the chosen loss level. By contrast, the efficiency claims are internally consistent and arithmetic: the 7.38% GPU-storage reduction equals (2602.38 - 2410.38)/2602.38 MiB, the offloaded 1,572.864M parameters equal 24 layers x 32,000 vocab x 2,048-wide tables, and the measured near-baseline latencies are plausible given the prefetch-and-overlap design. These contributions stand even if the quality attribution fails, but the quality story that makes the architecture interesting rests entirely on a confounded comparison, and the paper's own text concedes this.

I read the paper in good faith as proposing a value-pathway construction whose interest rests on two legs: a quality claim (token memory plus key reuse substitutes for the dedicated value projection) and an efficiency claim (normalization folding and CPU offload reduce GPU parameter storage at near-baseline latency). The second leg is well supported: the storage arithmetic checks out exactly, the latency measurements are plausible and honestly scoped as a prototype at a single operating point, and the paper repeatedly disclaims that the numbers are not consistent speed advantages. The first leg is the soft spot. Because every Standard-Memory pair in Table 2 carries 1.6x-3x more parameters, and because Section 4.2 explicitly concedes that the results do not isolate structure from capacity, the evidence cannot currently distinguish 'the construction works' from 'more parameters help.' This is precisely the reader's weakest_assumption, and I agree with it. I did not find an internal inconsistency: the MLA connection in Sec 3.2 is explicitly framed as a functional analogy, the normalization-folding identity (Eq. 16) is valid because tables are fixed at inference, the RoPE treatment (values from unrotated K) matches standard practice, and the FLOP accounting in Sec 3.3 is arithmetic and correctly hedged against realized latency. The capacity confound is a correctness risk, not an internal flaw, and disagreement with any capacity-scaling prior is not by itself an objection. The concrete test that would settle it is a parameter-matched control that retains W_V and adds the same memory as a supplement: if that control matches MA, the value-projection-replacement claim is refuted; if MA wins at matched capacity, the confound is resolved. The token-efficiency operating point should be reported explicitly alongside such a test. Because the efficiency contribution is independent and defensible, and the quality claim is honestly hedged rather than overclaimed, I do not move the verdict: CONDITIONAL stands, with the matched-parameter experiment as the outstanding condition.

The referee's report

If the quality claims held, the contribution would be evidence that token-indexed memory can substitute for a learned value projection, a substantive qualitative claim about what attention values encode. The efficiency contributions are internally consistent and largely machine-checkable: the 7.38% GPU-storage reduction equals (2602.38 − 2410.38)/2602.38 MiB, the offloaded 1,572.864M parameters equal 24 layers × 32,000 vocab × 2,048-width tables, and all Table 4 storage figures verify exactly at BF16. The paper is also commendably explicit in its abstract, Introduction, and Section 4.2 that its quality comparisons do not isolate structure from parameter capacity. However, the central quality claim is not yet supported: every Standard–Memory pair in Table 2 gives MA roughly 1.6x–3x the parameters (373M vs 1,135M; 349M vs 729M; 336M vs 526M; 398M vs 1,160M; 1,364M vs 2,836M), so the gains cannot be attributed to the construction rather than to capacity. The efficiency and offloading findings stand on their own; the quality attribution that makes the architecture interesting rests on a confounded comparison that the paper itself concedes.

Pith's reading of the paper (a machine's summary, not the authors')

This paper asks whether the value projection in self-attention can be replaced by a cheaper construction that splits value content into a token-specific part and a contextual part. Memory Attention (MA) proposes $V = K + \mathrm{Norm}(E[s])$: the key projection is reused as the contextual component, and a layer-specific, token-indexed memory table supplies per-token content. Under matched training token budgets, MA reports improved perplexity and average downstream accuracy across MHA, GQA, MQA, and gated attention configurations, at the cost of roughly doubling to tripling the parameter count. The efficiency claim is that, at inference, normalization folds into the tables leaving only lookup and addition, and that CPU offloading with prefetching trims GPU parameter storage by 55.45% relative to GPU-resident MA while holding forward-pass latency near baseline. The paper states plainly that its quality comparisons do not isolate the structure's contribution from the increase in parameter capacity.

What carries the argument. The central object is the value construction $V = K + \mathrm{Norm}(E[s])$: a layer-specific memory table $E \in \mathbb{R}^{N \times d_v}$, indexed by token ID, whose rows are head-wise RMS-normalized and added to the contextual keys. Reusing the keys as the contextual component of values is what removes the independent value projection $W_V$. Two derived mechanisms carry the efficiency claims: normalization folding, which precomputes $\mathrm{Norm}(E[i])$ into the tables so online value construction is just lookup plus addition; and token-indexed prefetching, which lets MA-Offload keep the tables in CPU memory and overlap retrieval and transfer with computation. A third analyzed extension, MA-Recall, reconstructs historical values as $V_{1:T} = K_{1:T} + E[s_{1:T}]$ from retained keys and token IDs, trading persistent value-cache storage for repeated retrieval and addition.

Core claim. Memory Attention replaces the dedicated value projection $V = XW_V$ with $V = K + M$, where $K = XW_K$ is the contextual key reused as part of the value and $M = \mathrm{Norm}(E[s])$ is a layer-specific memory table addressed by token ID and normalized head-wise. The claim is that a token-specific representation shared across contexts, added to the context-dependent keys, supplies enough of the value content to match or beat the standard linear value projection: across attention configurations at matched training token budgets, MA improves both perplexity metrics and average downstream accuracy, and improves retrieval at up to twice the training context length. The design also changes where parameters live: because lookup addresses depend only on token IDs and layer indices, normalization can be folded into the tables at inference and the tables can be CPU-resident with prefetching (MA-Offload), reducing GPU parameter storage by 55.45% relative to GPU-resident MA and 7.38% relative to the standard baseline at the reported operating point, with near-baseline forward-pass latency.

The premise it rests on. The central claim survives only if the quality gains are caused by Memory Attention's structure — reusing keys plus an additive token memory in the value pathway — rather than by the roughly two-to-three-fold increase in trainable parameters that every reported Standard-Memory comparison carries; the paper itself states that no comparison isolates structure from capacity.

If the paper is right (Pith's inferences, not the authors')

If MA is correct, attention values no longer require a dedicated projection matrix: at inference, after normalization is folded into the tables, value construction becomes token lookup plus vector addition.

Because memory addresses depend only on token IDs and layer indices, the tables can be CPU-resident and prefetched, lowering GPU parameter storage by 55.45% relative to GPU-resident MA and 7.38% below the standard baseline at the reported operating point.

MA improves retrieval on the evaluated single-needle tasks at twice the training context length (mean 41.9% vs 25.9% at 4K tokens), even though both models degrade substantially beyond the training window.

The MA-Recall extension, if implemented, would halve persistent KV-cache storage by reconstructing historical values from retained keys plus token IDs, at the cost of repeated retrieval and addition.

The decisive confound is parameter capacity: each quality comparison pairs MA with roughly double to triple the parameters of Standard, so a capacity-matched Standard baseline is the test that would separate structure from scale.

If the gains are structural, the effective decomposition of value content into a context-free token component and a contextual component suggests the same split could apply to queries, and to linear-attention variants where values are likewise produced from contextual states.

Because MA removes the only linear layer that touches values, the memory tables act as per-depth, token-indexed priors shared across all contexts containing that token, which may interact with training dynamics in ways a purely parametric baseline would not.

Check this review

Pith stored no record of this review's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.

How often reviews like this one are right

Reviews like this one: written by deepseek-v4-flash, where what was read was not recorded.

How often objections from reviews like this one are right: not yet measured

Every value above, in the review's public record (JSON)

Reviews by people

This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

Abstract

Language models typically construct attention values from contextual hidden states, even when some of their content may be reusable across contexts. We investigate whether token-indexed memory can replace the dedicated value projection when complemented by contextual information. We propose Memory Attention (MA), which forms values by combining layer-specific token memory with contextual keys. The memory supplies token-specific representations, while the keys preserve context dependence. At inference, normalization can be folded into the memory tables, reducing value construction to lookup and addition. Token-indexed retrieval also enables CPU offloading with prefetching, reducing GPU parameter storage. Under matched training token budgets and with additional memory parameters, experiments across attention configurations show improved language modeling and average downstream performance.

The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-09-24

The authors' main claim, as the classifier picked it out 1.00

“Under matched training token budgets and with additional memory parameters, experiments across attention configurations show improved language modeling and average downstream performance.”

How the main claim is stated: asserted 1.00

What the abstract itself states, as probabilities: claims first 0.05 · states limitation 0.35 · human participants 0.02 · controlled comparison 0.47 · randomized assignment 0.02 · states quantitative result 0.06 · compares with prior results 0.59 · mentions code or data availability 0.03

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
Language models typically construct attention values from contextual hidden states, even when some of their content may be reusable across contexts. background 0.98 0.07 0.03 asserted 0.88
We investigate whether token-indexed memory can replace the dedicated value projection when complemented by contextual information. contribution 0.70 0.40 0.05 hedged possibility 0.37
We propose Memory Attention (MA), which forms values by combining layer-specific token memory with contextual keys. contribution 0.56 0.83 0.14 asserted 1.00
The memory supplies token-specific representations, while the keys preserve context dependence. method 0.98 0.40 0.06 asserted 1.00
At inference, normalization can be folded into the memory tables, reducing value construction to lookup and addition. method 0.95 0.67 0.05 asserted 0.87
Token-indexed retrieval also enables CPU offloading with prefetching, reducing GPU parameter storage. method 0.55 0.64 0.05 asserted 0.87
Under matched training token budgets and with additional memory parameters, experiments across attention configurations show improved language modeling and average downstream performance. result 1.00 0.95 0.82 asserted 1.00

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 0.98

What was examined, and what was not

Sources read

  • arXiv listing abstract v1

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-24: 1 request, 5,369 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Figures (3)
Figure 1 of the paper
Figure 1. Standard Attention, Memory Attention, and MA-Offload. Memory Attention replaces
Figure 2 of the paper
Figure 2. Training and inference comparison of MA and Standard. At the matched-loss operating
Figure 3 of the paper
Figure 3. Model forward-pass latency of Standard, MA, and MA-Offload. Batch size varies at length

Figures are the authors', reproduced from the paper.

Cited by 2 Pith papers

Challenges and discussion

Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.

No comments yet.

Sign in to comment