Manuscript Offprint
arXiv:2609.06872Exact Record Omission in Delta Attention: A Transport Criterion, Its Cost, and a Replay Certificate
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
When a user asks an assistant to forget a record, the test is whether the memory now matches the state it would hold if the record had never been stored. Independently encoded rows can be removed directly; a recurrent memory folds records into an evolving state. One hope is a receipt: save the difference the record made when it arrived, carry it forward through later updates, and subtract it, so that deletion costs one fixed-size edit no matter how long the conversation runs. We show that a transported receipt reaches exact omission if and only if the changes the record induces in later updates cancel out on net, and we measure whether they do on the released 48B Kimi Linear hybrid. They do not: after 4,096 further tokens the record still leaves an imprint of about 4.5% of the state norm that none of the tested receipt classes removes, recomputing half the suffix closes less than half the gap, and the per-token log a receipt needs costs more than a full checkpoint after 88 tokens. The same write-rule classification held on Mamba-2, Falcon-H1, and RWKV-7 with predictions recorded before the runs. Restoring a checkpoint from before the record and replaying the surviving suffix matches the never-stored state exactly on every array we check. In the hybrid suffix sweep, masking the record's attention rows brings sampled recovery close to the never-stored floor even though the recurrent imprint remains, and an auditor who rebuilds the reference can still detect it. Among the evaluated methods, checkpoint replay achieves exact omission, with work proportional to the replayed suffix.
1 INTRODUCTION
A user tells an assistant that patient 5182 is in ward OBSIDIAN-TWO, continues the conversation for an hour, and then asks the assistant to forget the ward. Whether the assistant has forgotten it is a question about state, not about its next reply. The test is whether the memory now matches the state it would hold if the record had never been stored, which we call the never-stored state. A memory with independently encoded record rows can remove those rows directly. A recurrent memory folds every record into one evolving state. We evaluate three approaches to deleting from such a memory. The system can save a receipt when the record arrives, the difference the record made to the state, and later transport that receipt through the intervening updates and subtract it. It can mask the record's rows in whatever attention channel the model also has. Or it can restore a checkpoint taken before the record and replay the surviving conversation. This paper measures what each option leaves behind on released models. Among these approaches, checkpoint replay alone reached the declared never-stored state exactly, with work proportional to the replayed suffix.
The receipt is the option worth studying, because if it worked, deletion would cost one fixed-size edit however long the conversation had run. For a fixed recorded history, whether it works has an exact test. Affine state recurrences admit the discrete variation-of-constants identity (Chen, 1999). Unrolling it gives a criterion for exact recorded-history omission by transporting a boundary receipt: the transported receipt reaches the never-stored state if and only if the changes the record induces in later updates cancel on net (Theorem 1). The criterion sorts write rules into classes (Corollary 1): additive writes keep a static receipt exact, per-channel decay keeps a diagonal ledger exact, and a delta rule needs the full transition product. Whether the residual term vanishes on a real model is an empirical question, because the changes the record induces can cancel.
We measured it on the released 48B Kimi Linear hybrid, whose Kimi Delta Attention (KDA) layers implement a gated delta rule, and followed it across suffix lengths from 0 to 4,096 tokens on 24 synthetic and 16 TOFU configurations. The record's imprint on the recurrent state decayed from 30.8% of the state norm to 4.5% and stayed there; none of the tested receipt classes removed it, and the share of the remaining difference that a receipt cannot explain rose to 0.98. Recomputing the first half of the suffix exactly still left 0.56 of the difference. The per-token transition log that transport requires costs more than a full checkpoint after 88 tokens, so the receipt interface loses to checkpointing on cost as well as on exactness. The write-rule classification held on Mamba-2, Falcon-H1, and RWKV-7 with predictions recorded before the runs. Restoring a checkpoint and replaying the surviving suffix matched the never-stored state with zero float32 residual on final logits and all 80 declared KDA arrays in every one of 21 qualified checks. In the hybrid suffix sweep, masking the record's attention rows brought sampled recovery close to the never-stored floor, even though fixed-position scoring probes retained some positive lifts and the recurrent imprint remained. An auditor who rebuilds the never-stored state from the visible transcript detected every masked state, which fixes the boundary between a mitigation and a deletion.
This paper makes four contributions.
-
An exact, architecture-independent criterion for when a boundary receipt can be transported to the never-stored state, with a classification of write rules by the receipt each one supports (Section 4).
-
A measurement of the criterion on a released 48B delta-attention hybrid across suffix lengths, including the residual each receipt class leaves, the price curve of partial recomputation, and the storage cost of the transport interface itself (Sections 6.1–6.4).
-
A separation of the two channels of a hybrid memory, measured against the same never-stored reference: masking attention rows suppresses sampled recovery while leaving a recurrent residual detectable by a rebuild-based auditor (Section 6.5).
-
A replay certificate audited on every declared recurrent and convolution array, with its cost curve and a sparse-checkpoint trade-off; a pre-registered test of the classification on three further released families; and an amendment path that replaces a record under the same certificate (Sections 6.6–6.8).
The identity and checkpoint replay are classical, and SISA and ReplayFilter apply recomputation to training (Bourtoule et al., 2021; Abdullah X, 2025). What is new is the criterion as a deletion test for inference-time memory, the measured obstruction, and its cost. An earlier combined preprint reported portions of the fixed-length Kimi evidence alongside separate addressable-memory experiments (Ramesh, 2026b); the suffix-length, behavioral, sampling, and cross-family studies here are new measurements. Section 2 fixes terms and scope, Section 3 places the work, Section 4 states the criterion, Section 5 describes models and protocols, Section 6 reports results, and Section 7 discusses what they allow an operator to decide.
Writing , omitting record from a recorded history defines the never-stored state
Nothing before the deleted record changes, so a checkpoint taken after the prefix is already the correct prefix state, and for deterministic replay satisfies
The identity predicts a zero replay residual. What the audit tests is whether the implementation, arithmetic, schedule, checkpoint format, and declared state inventory satisfy its premises. Table 1
Table 1: Terms used in this paper, with the section in which each is measured.
| term | meaning | measured in |
|---|---|---|
| target record | the record a user asks to delete; one contiguous span of tokens | all |
| never-stored state | the state the same history reaches with the target record left out (Eq. 2); every comparison is against it | all |
| receipt | the state difference at the boundary just after the record | §6.1, §6.3 |
| transport | carrying the receipt forward through the record-present transitions | §6.1, §6.3 |
| forcing | the difference injected after the boundary by transitions and writes the record changed; the term a receipt cannot carry | §6.1–§6.4 |
| imprint | ||present – never-stored||/||never-stored|| per layer; the residual left by doing nothing | §6.3 |
| movement | how much a record’s effect changes under two equal-length suffixes | §6.1 |
| static, ledger, full receipt | the receipt unchanged; scaled by cumulative per-channel decay; carried through the full transition product | §6.1–§6.7 |
| frozen-input counterfactual | the never-stored initial state advanced with the record-present inputs; sets forcing to zero by construction | §6.1, §6.7 |
| attempted, qualified | records tried; records whose presence the model demonstrably recalled (lift ≥ 0.05 nats) | §5 |
| declared active surface | final logits plus every recurrent and convolution array compared for exactness | §6.6 |
Table 2: Questions asked in this paper, the comparator that answers each, the evidence reported, and what each answer does not cover.
| question | comparator | evidence | outside the claim |
|---|---|---|---|
| When can a receipt reach the never-stored state? | affine recurrence algebra | Theorem 1, Corollary 1 | non-affine updates |
| Does native KDA satisfy the criterion? | frozen-input counterfactual vs. native never-stored state | residual relative to state norm; forcing share | caches outside the recurrence |
| What does the obstruction cost? | partial recomputation; transition log vs. checkpoint | residual vs. fraction recomputed; bytes | other hardware |
| Is the residual recoverable? | probes on each corrected state vs. never-stored | lift, rank, greedy, sampling | attacks not run (§7) |
| Is the deployed state distinguishable? | exact rebuilt never-stored state | first-token KL | adversaries without rebuild access |
| Does replay reach the never-stored state? | per-array float32 equality | 80 KDA arrays, logits | MLA bytes (§6.6), prior outputs, causal descendants |
| Does the classification transfer? | pre-registered predictions per family | frozen-input transport errors | families not tested |
collects the terms used throughout and the section in which each is measured. Of the operations called deletion in the literature, we execute a replay: restore the last unaffected checkpoint and reprocess the retained suffix. We evaluate it against the never-stored state of Equation 2, which a rebuild from the initial state would also reach. We evaluate neither a local refit of a stored optimization problem, which the companion retrofit study performs (Ramesh, 2026a), nor causal regeneration, which would also rerun the assistant turns and tool actions the record caused (Appendix A.13 gives an example).
Deletion is requested by the record’s owner or an operator under an authenticated policy, and the memory service resolves the request to one recorded boundary and runs the declared path. An observer may know the method and prompt adaptively. We assume it cannot forge ownership metadata, alter checkpoints, or bypass the executor. Table 2 states which question each measurement answers and what each leaves outside its scope. We refer to it instead of restating the boundary at each result.
3 RELATED WORK
Recomputation is the exact reference for training-time unlearning. SISA partitions training so that affected shards can be retrained (Bourtoule et al., 2021), and Unlearning at Scale logs deterministic training state and replays a filtered training tail (Abdullah X, 2025). Neither asks whether a saved boundary difference suffices for a memory written at inference time, which is the question the criterion answers.
Weight-space unlearning asks whether pretrained parameters still retain a target (Maini et al., 2024; Shi et al., 2025; Li et al., 2024a; Hu et al., 2024; Xu et al., 2026; Thaker et al., 2024; Lynch et al., 2024), and external retrieval stores expose records directly (Lewis et al., 2020; Laguna et al., 2026). This paper holds weights fixed and edits no external store. The audited object is an unmodified hybrid's recurrent and convolution state. Cache pruning and approximate suffix reconstruction (Zhang et al., 2023; Li et al., 2024b; Yao et al., 2026; Li et al., 2026) take the model's own behavior as their reference, whereas ours is a specific counterfactual state tested for exact equality on every declared array.
Linear attention, delta networks, state-space models, and test-time memories compress history into an evolving state (Katharopoulos et al., 2020; Yang et al., 2024; 2025; Gu & Dao, 2024; Behrouz et al., 2025). Kimi Linear and Qwen3.5 supply the two hybrids on which the violation is measured (Zhang et al., 2025; Qwen Team, 2026), and Mamba-2, Falcon-H1, and RWKV-7 the families on which the classification is tested. That literature designs the update rules; this paper supplies a deletion criterion about them, a per-array certificate, and an amendment path. Two companion studies treat memories that expose their stored units, where deletion is a question of what a local edit covers (Ramesh, 2026c) or whether such an edit can be installed into a released checkpoint (Ramesh, 2026a). The recurrence we study exposes no units, so its question is what exactness costs.
4 THE TRANSPORT CRITERION
Consider a record-present and a never-stored trajectory that share a prefix and diverge at the record. At the boundary just after the record the two states differ by the receipt . At each later step , both trajectories apply their own transition to their own state. If the record had changed nothing downstream, the two transitions would be identical, the difference would simply be carried forward, and subtracting the carried receipt at the end would recover the never-stored state exactly. In a delta rule the record does change what follows. Later keys, values, gates, and step sizes are computed from a state that contains the record, so the never-stored trajectory at step sees a transition and a write that differ from the record-present and . Multiplying the never-stored state by the transition change and adding the write change gives a new separation , injected after the boundary. It is not included in the transported boundary difference and is carried forward by subsequent transitions. We call it forcing.
A two-channel example shows why the class of the write rule decides what a receipt can do. Two decay steps transport by two scalar products, so a diagonal ledger is a sufficient receipt. One delta step already breaks that representation: with , , and , the receipt becomes , and no diagonal ledger can create the second coordinate because the suffix key has mixed the channels. Full matrix transport handles that mixing, and the theorem says what remains after it does.
Theorem 1 (Boundary transport criterion). Let record-present and never-stored trajectories obey in common row-vector coordinates, and let . Define
with an empty product equal to I. Then
and
Subtracting the transported boundary receipt reaches if and only if the accumulated forcing sum is zero.

The criterion concerns transported receipts; replay is the evaluated exact alternative.
Figure 1: The decision the criterion induces. A deletion request against a recurrent memory reaches one test: does the accumulated suffix forcing vanish? When it does, subtracting the transported receipt achieves exact omission; the cost of transport depends on the write rule. When it does not, that correction leaves a residual. Checkpoint replay is the exact alternative we evaluate, with work proportional to the replayed suffix. The annotated residuals place both audited delta-attention systems on the right-hand branch.
Proof. Subtract the affine recurrences and add and subtract to obtain Equation 4. Repeated substitution gives the standard variation-of-constants form in Equation 5; subtracting its first term gives the iff.
The algebra is standard; its use as a deletion test is new. The only-if direction identifies the residual left by subtracting the specified transported receipt. It is not a lower bound over all deletion algorithms or preprocessing and storage schemes. Observing does not by itself establish failure, because individually large forcing vectors can cancel, so a claim that an architecture defeats receipt transport must rest on a measured residual. Figure 1 states the decision the criterion induces, and Figure 2 illustrates the decomposition and the cancellation.
Corollary 1 (Write-rule classification). When accumulated forcing is zero:
-
additive writes () preserve a static receipt;
-
per-channel decay () transports a receipt with a diagonal decay ledger;
-
a delta rule generally requires the full suffix-specific matrix product. A per-channel ledger is insufficient except in special cases, and full transport reaches the never-stored state exactly when the theorem's accumulated forcing is zero.
Argument. Substitution gives an identity product for additive writes and a diagonal product for decay. The dense rank-one delta term is generally non-diagonal. Theorem 1 supplies the separate forcing condition.
We use two normalizations of the residual. The headline one divides the residual left after a correction by the norm of the never-stored state, so that 0 is exact and the value reads as a fraction of the state. The fixed-length audit also reports the accumulated forcing norm divided by , the forcing share of the direct difference. That share is a diagnostic of how much of the difference a receipt can explain, and because the receipt and the forcing can partly cancel it can exceed one (Appendix A.8).
(a)

state coordinate 1 (x)
(Equation 5)
exact the sum vanishes
M record present
M never-stored state — the reference
(b)

(c)
Individually large terms can sum to zero, so changed suffix writes do not imply failure. Native failure has to be measured.

Measured 0.064–1.010 across six source-free configurations (median 0.836) — a vector-norm diagnostic, not an attribution share.
Figure 2: The transport criterion. (a) The two trajectories share a prefix and diverge at the target record; transport carries the boundary receipt through the record-present transition product, while changed suffix transitions and writes inject forcing at every later step, leaving the sum in Equation 5. (b) Individually large forcing vectors can cancel, so changed writes alone do not prove failure. (c) Near-cancellation can push the forcing share above one; the measured share ranges from 0.064 to 1.010 across six source-free configurations (median 0.836). Paths are schematic; annotated values are measured on the audited 48B trajectories.
5 MODELS, CORPORA, AND AUDIT DESIGN
Kimi Linear interleaves 20 recurrent KDA layers with seven global multi-head latent attention (MLA) layers (Zhang et al., 2025; DeepSeek-AI, 2024; Yang et al., 2024; 2025), so a record lives in two channels: the recurrent and convolution state of the KDA layers, and the attention rows of the MLA layers. All Kimi experiments use the released mlx-community/Kimi-Linear-48B-A3B-Instruct-8bit weights under MLX on one Mac Studio, inference only. A logical checkpoint stores three short-convolution arrays and one recurrent matrix per KDA layer plus the attention offsets. Replay equality is tested by float32 maximum difference on final logits and all 80 KDA arrays. Records come from four corpora: synthetic patient records with unguessable ward codes, the public TOFU fictitious-author facts (Maini et al., 2024), and, for the credentialed confirmations, MIMIC-IV-Ext-CDS tables and MIMIC-IV notes.
The unit of every audit is an attempted target record, and we fix qualification before deletion outcomes are known. An attempt counts when the record-present field lift clears a frozen 0.05-nat threshold,
Table 3: Denominators of every empirical surface in the paper. An attempt qualifies when the record-present field lift clears the frozen 0.05-nat threshold (and, for short categorical targets, the first-token rank gate); rejected attempts stay in the attempted column.
| surface | attempted | qualified | audited unit |
|---|---|---|---|
| Kimi short tables | 8 records | 8 | final logits and 80 KDA arrays per record |
| Kimi 128-record context | 9 records | 9 | same exactness surface plus nine position timings |
| Kimi long notes | 5 records | 4a | same exactness surface |
| Kimi fixed-position masking vs. replay | 12 records (3 per corpus, 4 corpora) | 11b | lift after masking and after replay; replay residual on logits and KDA state |
| Kimi suffix sweep, synthetic | 24 configurations | 24 | 20 layers at 10 suffix lengths; probes and 100 sampled draws per condition |
| Kimi suffix sweep, TOFU | 16 configurations | 16 | same surface |
| Qwen staged check | 3 scenarios, 6 paths | 6 | 65 arrays/outputs and 82 flags across the six paths |
| Mamba-2 / Falcon-H1 / RWKV-7 | 12 / 12 / 12 configurations | 12 / 12 / 12 | all recurrent layers at five suffix lengths; probes at every length |
<sup>a</sup>The excluded record is the oldest MIMIC-Note record; its record-present lift of 0.00451 nats falls below the frozen threshold, so deletion is not scored for it. <sup>b</sup>The early MIMIC-Note record of the fixed-position runs has a record-present lift of 0.004 nats, also below the threshold; its masking result is not scored and its replay residual is reported (Table 5).
with a first-token rank gate of 10 for short categorical targets. Rejected attempts stay in the attempted denominator, arrays define the surface checked within each qualified attempt, and we never pool results from different models. Table 3 carries every count. The experiments test whether the zero-forcing condition holds on native trajectories. A single nonzero forcing residual rejects exact transport for that trajectory, and the corpora, positions, suffix lengths, and architectures probe how broadly the obstruction appears.
The Kimi audit uses one deterministic MLX implementation, and each checkpoint serializes the logical active state the executor uses. The never-stored run and the replay consume the same retained token sequence under the same arithmetic and schedule. We evaluate attention masking and receipt transport against that same never-stored state, which makes them mechanism-matched controls. Attention masking evicts the target record's key positions from every MLA layer by assigning them the minimum score in the native fused kernel. With no positions dropped the masked layer reproduces the released layer bit for bit.
In the fixed-length audit we build the KDA recurrence one term at a time (additive write, per-channel decay, delta rule) and compare a record's effect under two equal-length suffixes in six source-free configurations. We then run the transport twice: once against the frozen-input counterfactual, which sets forcing to zero by construction and checks the arithmetic, and once against the native never-stored state.
In the suffix-length sweep we place a target record after a preamble and prefix records and follow it with a fixed suffix from the same corpus. The record-present and never-stored contexts are ingested in chunks whose boundaries are the cut points , so one pass per condition yields the state at every suffix length, and the kernel inputs are captured on all 20 KDA layers for both conditions. We carry the decomposition of Theorem 1 token by token over all layers at once, recording norms at each cut, and restart it from each cut to obtain the residual of recomputing the first suffix tokens exactly. At every cut we inject each corrected recurrent state into the live cache and probe it with the target record's question: teacher-forced lift of the secret over the never-stored state, first-token rank, first-token KL to the never-stored distribution, and, on the public corpora, whether greedy decoding returns the secret. At ingestion and at the longest cut we also draw 100 continuations at temperature one from each condition and count those containing the secret. A retained record from the prefix is probed under the same conditions. Appendix A.11 lists layouts, cut points, and memory limits.
For the cross-family test we run the same record-present and never-stored protocol, one suffix token at a time, through the pure-PyTorch reference implementations of Mamba-2
Table 4: Interventions evaluated against the never-stored state on the 48B Kimi Linear hybrid. Replay reaches it; each control isolates a live channel or a violated transport premise.
| intervention | what it preserves | observed comparison with the never-stored state |
|---|---|---|
| zero recurrent matrices | MLA text and convolution arrays | ward code remains rank 1; first-token prob. 0.881 |
| attention maskingfrozen-input transportnative transport | recurrent and convolution stateidentical suffix transitions and writesboundary receipt but not changed suffix forcing | nonzero residual on every tested recordcloses to relative errorresidual 0.7–32.9% of state norm; forcing share 0.064–1.010 |
| checkpoint replay | unaffected prefix and full retainedsuffix | zero residual on logits and 80 KDA arrays |
(AntonV/mamba2-1.3b-hf), Falcon-H1 (tiiuae/Falcon-H1-1.5B-Base), and RWKV-7 (Hakureirm/rwkv7-1.5b-hf). An adapter records each model's per-token transition and write terms, verifies a handwritten recurrence against the model's state, and evaluates the three receipt classes against the frozen-input counterfactual and the native never-stored state. We wrote the predictions for every family to a tracked file before running any of these models (Appendix A.12). The staged Qwen3.5-4B confirmation pins Qwen/Qwen3.5-4B-Base and Transformers 5.12.1 (Appendix A.2).
6 RESULTS
6.1 A RECORD'S RECURRENT EFFECT DEPENDS ON WHAT FOLLOWS IT, AS THE WRITE RULE PREDICTS
We constructed the KDA recurrence one term at a time and compared a single record's effect under two equal-length suffixes. The movement
(defined as zero when both effects are zero) measures how much a record's stored effect changes when only its context changes. Each term behaved as Corollary 1 predicts. Additive writes were suffix-independent to numerical noise, so a static receipt survives them. Decay introduced up to 10.9% movement, which its diagonal ledger returned to noise, so a per-channel receipt survives decay as well. Adding the delta rule produced 12–49% movement, and the ledger reduced it only to 8–49%; the ledger runs out of expressive power exactly where the corollary says it should. Both endpoints of these pooled ranges come from the MIMIC corpora (Appendix Table 9).
6.2 THE FROZEN-INPUT CONTROL CLOSES AND NATIVE TRANSPORT DOES NOT
Movement alone does not settle the question, because forcing can cancel, so we ran the transport twice. The frozen-input control reuses the record-present transitions and writes, which sets the forcing to zero by construction, and full matrix transport then reproduced the frozen counterfactual to maximum relative error, so the arithmetic is sound. Against the native never-stored state the same transport did not close. Across the six source-free configurations, three probed layers, and two suffixes (36 evaluations of about 180 suffix tokens), the record's imprint was 9.6–33.4% of the state norm (median 15.0%). The residual left after subtracting the fully transported receipt was 0.7–32.9% of the state norm (median 12.6%). The forcing share of the direct difference ranged from 0.064 to 1.010 with median 0.836. None of the 36 evaluations is zero, so even the smallest violates the exact criterion, and the spread is configuration dependence. The later keys, values, gates, and step sizes differed between the two trajectories by median relative amounts from 0.025 (gates) to 0.246 (values). Because the forcing identity itself closes to numerical precision, the residual is a property of the architecture. Table 4 collects the controls.

(b) share transport cannot explain
(c) partial recomputation
Figure 3: Suffix-length sweep on the 48B Kimi Linear hybrid, 24/24 admitted synthetic configurations, median over 20 KDA layers with a p10–p90 band. (a) Residual left in the recurrent state relative to the never-stored state, with no correction and after subtracting each receipt class; toward zero is better. (b) The share of the direct difference contributed by accumulated forcing, which the transported receipt cannot explain; one means transport explains nothing. (c) Remaining forcing after recomputing the first k of L suffix tokens exactly and transporting the rest, against the fraction recomputed; the dotted line is the linear relation that would hold if forcing were spread evenly along the suffix. All points are measured; the band is the p10–p90 range over layers and configurations.
6.3 THE IMPRINT PERSISTS AND FORCING DOMINATES AS THE SUFFIX GROWS
We followed the obstruction from 0 to 4,096 suffix tokens on 24/24 admitted synthetic configurations (6 target records at prefix depths of 0, 4, 16, 64 records) and 16/16 TOFU configurations (Figure 3). The decomposition closed to relative error at every cut, and the replay identity held exactly (maximum state difference 0).
We found that the record's imprint decayed slowly and never vanished. Immediately after ingestion the record-present and never-stored states differed by 30.8% of the never-stored norm (median over the 20 KDA layers and all configurations). After 4,096 suffix tokens the difference was still 4.5%, ranging from 0.3% to 24.2% across layers and configurations, and the TOFU records behaved the same way (2.9% at 4,096 tokens). No receipt class removed the imprint. At the longest suffix, subtracting the transported receipt left 4.4% of the state norm, the diagonal ledger left 6.0%, and the static receipt left 27.5%, which is larger than the 4.5% left by doing nothing: a static receipt subtracted late in a conversation moves the state further from the never-stored state than leaving the imprint in place.
We also found that the share of the difference that transport cannot explain grew with the suffix. At 16 suffix tokens the accumulated forcing accounted for a median 0.67 of the direct difference; at 4,096 tokens it accounted for 0.98, ranging from 0.000 to 2.712 across layers and configurations. The zero is the first KDA layer in configurations whose suffix inputs to that layer were identical in the two trajectories, so the forcing there was exactly zero and the receipt transported exactly; the values above one are layers in which the transported receipt and the forcing partly cancel (Appendix A.8). A share near one means the transported receipt has become nearly irrelevant to what separates the two states: that separation was injected after the boundary and is absent from the transported receipt. In this sweep, transport therefore explains a smaller share of the state difference as the conversation grows.
6.4 PARTIAL RECOMPUTATION BUYS RESIDUAL IN PROPORTION TO ITS COST, AND THE TRANSPORT LOG COSTS MORE THAN A CHECKPOINT
A system unwilling to replay the whole suffix might recompute only its first k tokens exactly from the pre-record checkpoint and transport the remaining difference. Recomputing the first eighth of the suffix left 0.77 of the direct difference, a quarter left 0.69, and half left 0.56 (medians over layers and configurations; Figure 3c). The curve lies close to the straight line between the full-transport residual and zero, so the forcing is spread along the suffix rather than concentrated near the record, and there is no early-stopping point at which a small amount of recomputation removes most of the obstruction.
We also found that the storage side of the trade favors the checkpoint. Transporting a receipt through suffix tokens requires the per-token transition inputs for each of the 20 layers), which the system must log at ingestion. In the released bf16 arithmetic this log costs 481 KiB per token, about 470 MiB per thousand tokens, whereas a complete checkpoint of the recurrent and convolution state costs 41.4 MiB regardless of context length. A checkpoint is therefore cheaper than the transition log of about 88 tokens, and it supports exact replay where the log supports only an inexact correction. Prefill in this implementation ran at 1.32 ms per token and the stacked transport of all 20 layers at 9.4 ms per token on the Mac Studio, so transport is also slower than replay per token.
6.5 ATTENTION MASKING SUPPRESSES SAMPLED RECOVERY WHILE LEAVING A DETECTABLE STATE DIFFERENCE
In this hybrid, the attention rows provide a substantial route to recovering the record. Zeroing every recurrent matrix left a planted ward code at rank 1 with first-token probability 0.881; masking the record's attention rows brought sampled recovery close to the never-stored floor in the suffix sweep while leaving a 4.5% recurrent residual behind. The rest of this section quantifies both against the same reference (Figure 4). This result does not imply zero lift for every scoring probe: the separate fixed-position runs include positive post-mask lifts (Table 5 and Appendix Table 7).
We found that every correction confined to the recurrent state left the record fully recoverable. At the longest suffix, the median lift of the secret with the record present was 2.16 nats; after subtracting the fully transported receipt it was 2.15 nats, and the static and ledger receipts gave 2.15 and 2.16 nats. The first token of the secret stayed at rank 1, and greedy decoding returned the exact secret in 100% of configurations after full transport, the same as with the record present (100%). Masking the attention rows alone, with the recurrent state untouched, reduced the lift to 0.06 nats, moved the first token to median rank 89, and returned the secret in 0% of configurations; masking together with the transported receipt gave -0.01 nats and 0%.
Sampling told the same story as teacher forcing. We drew 100 continuations of the target record's question at temperature 1 from each condition, at ingestion and after 4,096 suffix tokens, and counted the draws that contained the secret. With the record present the secret appeared in 95.3% of the 2,400 draws over the 24 synthetic configurations at the longest suffix (97.9% at ingestion), and in every configuration at least once; after the static receipt was subtracted it still appeared in 94.9% of draws and in every configuration. Masking the attention rows produced 1 hit in the 2,400 draws at the longest suffix and 1 at ingestion, where the never-stored state itself produced 0 and 1; masking with the receipt subtracted gave 0 and 1. The masked and never-stored conditions sit together at the floor of chance guesses. On TOFU the exact-phrase endpoint is conservative, since the answers are sentences: the record-present rate was 20.3% of 1,600 draws with 6 of 16 configurations leaking at least once, the static receipt left 20.4% and the same 6 configurations, and masking gave 11 hits against 12 for never stored, all in one configuration whose answer is guessable from its question.
Low sampled recovery can coexist with a detectable state difference. Because the visible transcript after a deletion no longer contains the record, an adversary who can run the same model on that transcript holds the exact never-stored state, and any difference between it and the deployed state reveals that the record was once ingested. Against that adversary replay is undetectable by construction (the replay check reproduced the never-stored state bit for bit), whereas every masked state was detectable: over all 216 configuration-cut pairs on the synthetic records (24 configurations at the nine suffix lengths from 16 to 4,096 tokens; the cut at zero tokens has no suffix through which a receipt could be transported, so the receipt conditions do not exist there, and we use the same nine cuts for every condition) the first-token KL from the rebuilt never-stored state to the masked state was at least nats (median 0.0522), and 100% of pairs exceeded nats; on TOFU the minimum was nats and 98% of pairs exceeded . With the record present the same KL was 4.6 nats. The masked residual is two orders of magnitude quieter than the record itself and still far above any numerical floor. The TOFU records, whose answers are partly guessable from their questions, showed the same ordering with smaller lifts (1.34 nats present, 1.34 after full transport, 0.05 after masking), and the retained record's probe moved by less than 0.01 nats under every condition, so none of the corrections damaged neighboring memory.

Figure 4: Behavioral recoverability against recurrent-state residual on the Kimi hybrid, one point per condition and cut. (a) Synthetic ward-code records, 24 configurations at 10 suffix lengths. (b) TOFU records, 16 configurations. The vertical axis is the teacher-forced lift of the target record's secret over the never-stored state; the horizontal axis is the mean relative difference between the probed recurrent state and the never-stored state (the never-stored condition sits at zero, plotted at the left edge of the log axis). Corrections confined to the recurrent state (static, ledger, full transport) remain at the record-present level, while masking the record's attention rows, with or without transport, sits at the never-stored floor across a wide range of residuals.
6.6 REPLAY REACHES THE NEVER-STORED STATE EXACTLY
Equation 3 predicts a zero replay residual, and our audit confirms that this implementation, arithmetic, schedule, checkpoint format, and declared state inventory honor the identity's premises. Every one of the 21 qualified checks has exactly zero float32 residual against the never-stored state, on final logits and on each of the 80 named KDA arrays. Those checks have no masking arm, so we also ran a second set of fixed-position records, three per corpus with the target placed early, in the middle, and late, on which masking and replay were applied to the same record (Table 5; the synthetic block is in Appendix Table 7). Replay had zero residual on final logits and KDA state on all twelve, masking left the recurrent state and its imprint untouched on every one of them, and native receipt transport returned the residuals of Section 6.2.
Table 5: Replay reaches the never-stored state and attention masking does not. Each row applies both interventions to the same target record in a fixed context of 16 TOFU records with the target at positions 1, 8, and 14, of 16 MIMIC-CDS records at the same positions, or of 8 MIMIC-Note records at positions 1, 4, and 6. These records are separate from the 21 replay checks of Table 3, which have no masking arm, and masking is the native-kernel eviction of Section 5, the mechanism Section 6.5 uses. Lift is in nats against the never-stored state (field lift for the MIMIC corpora, whole-record lift for TOFU), and the replay residual is the maximum over final logits and the declared KDA arrays. aPresent lift 0.004 nats, below the 0.05-nat threshold, so the masking result is not scored and the replay residual is reported.
| corpus | position | present lift | lift after mask | replay residual | suffix tokens |
|---|---|---|---|---|---|
| TOFU | early | 0.78 | -0.08 | 0 | 762 |
| TOFU | middle | 1.51 | 0.11 | 0 | 399 |
| TOFU | late | 1.50 | 0.19 | 0 | 63 |
| MIMIC-CDS | early | 0.77 | 0.02 | 0 | 366 |
| MIMIC-CDS | middle | 1.97 | 0.24 | 0 | 176 |
| MIMIC-CDS | late | 0.61 | 0.19 | 0 | 26 |
| MIMIC-Note | earlya | 0.00 | 0.00 | 0 | 6635 |
| MIMIC-Note | middle | 2.33 | -0.02 | 0 | 3135 |
| MIMIC-Note | late | 1.75 | -0.04 | 0 | 1017 |
Qualification was fixed before outcomes were known: a record-present field lift of at least 0.05 nats, plus a first-token rank gate for short categorical targets, which long note continuation does not receive because many next tokens there are locally plausible. Under that rule 21 of 22 attempts qualified; the exclusion is the oldest MIMIC-Note record, whose lift of 0.00451 nats fell below the threshold
(a)
| COHORT | QUALIFIED |
|---|---|
| short tables | 8/8 |
| 128-record context | 9/9 |
| long notes | 4/5 |
RESIDUAL AGAINST NEVER-STORED STATE

attention masking: nonzero on every record, not on this scale
(b)

9 single timings · one 128-record context · mean 3.49 s
Figure 5: Replay exactness and cost on the Kimi hybrid. (a) All 21 qualified checks have zero residual on final logits and 80 KDA arrays; native transport spans a forcing share of 0.064–1.010, and attention masking is nonzero but, since it is not a forcing-to-difference ratio, is reported beneath the scale. (b) Nine positions in one 128-record context trace replay from nearly zero work for the newest record to full-rebuild cost for the oldest.
and which stays in the attempted denominator. The deleted content was gone behaviorally as well: MIMIC-CDS target lift fell from +2.020 nats to 0.000 with retained drift 0.000, and MIMIC-Note from +1.861 to 0.000.
The declared surface is final logits and the 80 KDA arrays. The MLA caches are compared through the logits they produce rather than byte for byte: the implementation allocates them in fixed-size blocks, so their buffers carry unused capacity beyond the current offset and raw bytes differ even for identical logical content, whereas every logit reads the full cache and every logit was identical. Appendix A.11 reports a direct comparison of the logical cache contents on the sweep configurations.
We measured the cost of replay as the suffix and nothing else. In the 128-record context, deleting the newest record took 0.00 s and the oldest 6.70 s, against a 6.77-s rebuild, averaging 3.49 s over nine positions; replay is cheap for recent records and converges to a rebuild for the oldest (Figure 5). Saving every sixteenth checkpoint cut storage from 5.22 GiB to 0.36 GiB while raising the estimated mean replay time only to 3.89 s, which gives an operator a cadence to tune against a deletion-latency target (Appendix A.9).
6.7 THE CLASSIFICATION HOLDS ACROSS RECURRENT FAMILIES
Corollary 1 predicts, for any affine recurrent memory, which receipt class can be exact, so we tested it on three further released models with the predictions written down first (Appendix A.12). Mamba-2 and the Falcon-H1 hybrid use a state-space update with one scalar decay per head, which places them in the decay class; RWKV-7 uses a diagonal-minus-rank-one transition, which places it with the delta rule.
We found that the predictions held in every family (Figure 6). On Mamba-2 the diagonal ledger and the full transport coincided, as they must for a scalar decay, and both reached the frozen counterfactual to within of the state norm across 12/12 admitted configurations, while the static receipt missed by 2.1. Falcon-H1 gave the same pattern (ledger and full , static 3.0). On RWKV-7 the ledger failed, missing by 0.191 of the state norm, while the full matrix transport was exact to . For RWKV-7 the write term is formed from the captured kernel inputs, so its recurrence check is independent of the model's state: the handwritten recurrence reproduced the model's float32 state with a maximum relative error of 0 while the transport errors above stayed nonzero, so the two computations are not aliased. Native forcing was nonzero in every family, with median shares at the longest suffix of 1.02 (Mamba-2), 1.04 (Falcon-H1), and 1.00 (RWKV-7), and replay reached the never-stored state exactly in all of them. The staged Qwen3.5-4B confirmation fits the same picture: its gated delta rule matched captured live-kernel state to , frozen-input transport closed to

Figure 6: Corollary 1 tested on three further released recurrent models, with predictions recorded before the runs. (a) Maximum frozen-input transport error of each receipt class relative to the never-stored state norm, over informative layers, cuts, and configurations; the dot-dash rule is the pre-registered exactness threshold. The diagonal ledger transports exactly for the two decay-class models and fails for RWKV-7, whose transition is diagonal minus rank one; the full transport is exact in all three; the static receipt fails in all three. (b) Median native forcing share at the longest suffix, with the range over configurations. All points are measured.
, native transport missed by a forcing share of 0.018–0.938, and replay had zero residual across every declared array, output, and flag on all six staged paths (Table 3).
The single-channel families also answer a question the hybrid cannot. Mamba-2 and RWKV-7 have no attention rows, so whatever the record leaves in the recurrent state is the only route to it. After full transport, the median lift of the secret at the longest suffix was -0.23 nats on Mamba-2 (0.55 with the record present) and -0.30 nats on RWKV-7 (0.79 present). The correction removed the recoverability the probe measures and overshot it, leaving the secret less likely than in the never-stored state; an abnormally low probability is itself a detectable departure from that state, as it was for the Gemma retrofit in the companion study (Ramesh, 2026a). On the Falcon-H1 hybrid, by contrast, full transport left the lift at 0.77 nats against 0.80 with the record present, the same pattern as on Kimi: where attention rows exist they carry the record.
6.8 THE SAME PATH CORRECTS A RECORD AS WELL AS REMOVING ONE
An invented scribe memory ingests a mistaken statement about a patient's family history and must replace it with a corrected one. Attention masking suppressed the old answer but could not install the correction; suppression and replacement are different operations that a behavioral test would confuse. Amendment restored the pre-record checkpoint, ingested the replacement, and replayed the remaining 55 tokens in 0.16 s, matching a corrected-from-start reference exactly on final logits, all KDA arrays, and the greedy answer (Appendix Table 8 and Figure 8).
7 DISCUSSION
The results help an operator choose between the evaluated deletion paths. Under zero forcing, additive writes admit a static receipt, per-channel decay a diagonal ledger, and delta writes generally require full matrix transport (Corollary 1). In the native delta-attention experiments, accumulated forcing was nonzero, so even full transport left a residual. Checkpoint replay reached the declared reference exactly. The suffix-length study also identifies costs of the alternatives we tested: the residual persists at several percent of the state norm after thousands of tokens, recomputing half the suffix leaves more than half the gap, and the transition log exceeds a full checkpoint after about 88 tokens. These measurements favor checkpoint replay within the evaluated design space; they do not exclude a different storage scheme or exact deletion algorithm with a lower cost.
The channel result adds the distinction an operator needs when exactness is not the requirement. In the hybrid suffix sweep, masking attention rows brought sampled recovery close to the never-stored floor while a recurrent residual of several percent remained. Some fixed-position scoring probes still showed positive post-mask lift, so the result does not establish silence under every probe. An auditor with the rebuilt reference detected every masked state in the rebuild-adversary evaluation. Masking is therefore a mitigation against the tested extraction procedures, while replay supplies the state equality required by the declared audit. The single-channel families make the same point from the other side: Mamba-2 and RWKV-7 have no attention channel, so whatever a receipt leaves in the recurrent state is the whole of what remains, and there the transported receipt overshot into a state that is itself detectable.
The scope of these results is stated in Table 2, and three limits deserve emphasis. The native Kimi results cover one MLX implementation, and the MLA caches are compared through the logits they produce rather than byte for byte (Section 6.6). The behavioral probes are teacher-forced scoring, first-token rank and KL, greedy decoding, and sampling at temperature one. The membership test assumes an adversary who can rebuild the never-stored state, which is the strongest such adversary and the one an auditor most resembles; weaker shadow-model attacks, elicitation, and relearning were not run against the masked states. Fixed-trace replay excludes causal descendants and prior outputs, which a deployed assistant must also handle (Section 6.6). Clinical runs are credentialed, local, and aggregate-only.
The next measurements follow from these limits. Shadow-model attacks against the masked states would establish how much of the recurrent residual is exploitable without rebuild access. Recording the transport log against a sparse checkpoint schedule would give the storage trade-off as a curve. And the same sweep on a larger delta-rule model without attention would show whether behavioral silence under masking is a property of hybrids alone.
8 CONCLUSION
A boundary receipt reaches the never-stored state exactly when the forcing accumulated after the boundary vanishes. On the released 48B Kimi Linear hybrid it does not vanish. The tested receipt and partial-recomputation methods leave a residual, whereas checkpoint replay matches the declared never-stored state exactly at a cost that grows with the replayed suffix. The write-rule classification also held in the frozen-input tests on the other released families. In the hybrid suffix sweep, masking attention rows suppresses sampled recovery close to the never-stored floor while leaving a state difference detectable by an auditor with the rebuilt reference. These findings support checkpoint replay when exact state agreement is required and motivate further work on alternatives to its storage and recomputation costs.
ETHICS STATEMENT
The clinical experiments use MIMIC-IV-Ext-CDS and MIMIC-IV-Note under credentialed PhysioNet access. Processing is local; reports are aggregate-only; no source text, identifier, timestamp, or generation from record-bearing contexts is released. The amendment and ward-code examples are invented. Deployment would additionally require authenticated authorization and tamper-evident deletion logs.
REPRODUCIBILITY STATEMENT
The release pins model revisions, tokenization, arithmetic, execution schedule, cohorts, checkpoint format, and every declared state array. Source-free artifacts reproduce the fixed-length transport audit, the suffix-length sweep, the sampling attack, the cross-family audit with its pre-registered predictions, the Qwen confirmation, replay exactness, the timing curve, the sparse-checkpoint estimates, and the amendment. Every number quoted from the sweep, the sampling attack, and the family audit is bound to those artifacts through a generated macro file. Credentialed MIMIC runners accept explicit local paths and emit aggregates only.
AI USE STATEMENT
Language-model tools assisted with literature search, code, figure drafting, and copy editing; the author designed the experiments, verified every claim and artifact, and is responsible for the text.
REFERENCES
Abdullah X. Unlearning at scale: State-exact trace-preserving deletion in billion-parameter language models. arXiv preprint arXiv:2508.12220v2, 2025. URL https://arxiv.org/abs/2508.12220v2. Author listed on arXiv as “Abdullah X”.
Ali Behrouz, Peilin Zhong, and Vahab Mirrokni. Titans: Learning to memorize at test time. In Advances in Neural Information Processing Systems (NeurIPS), 2025. URL https://arxiv.org/abs/2501.00663.
Lucas Bourtoule, Varun Chandrasekaran, Christopher A. Choquette-Choo, Hengrui Jia, Adelin Travers, Baiwu Zhang, David Lie, and Nicolas Papernot. Machine unlearning. In IEEE Symposium on Security and Privacy (S&P), 2021. URL https://arxiv.org/abs/1912.03817.
Chi-Tsong Chen. Linear System Theory and Design. Oxford University Press, 3 edition, 1999. ISBN 9780195117776.
DeepSeek-AI. DeepSeek-V2: A strong, economical, and efficient mixture-of-experts language model. arXiv preprint arXiv:2405.04434, 2024. URL https://arxiv.org/abs/2405.04434.
Albert Gu and Tri Dao. Mamba: Linear-time sequence modeling with selective state spaces. In Conference on Language Modeling (COLM), 2024. URL https://arxiv.org/abs/2312.00752.
Shengyuan Hu, Yiwei Fu, Zhiwei Steven Wu, and Virginia Smith. Unlearning or obfuscating? jogging the memory of unlearned LLMs via benign relearning. arXiv preprint arXiv:2406.13356, 2024. URL https://arxiv.org/abs/2406.13356.
Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and François Fleuret. Transformers are RNNs: Fast autoregressive transformers with linear attention. In International Conference on Machine Learning (ICML), 2020. URL https://arxiv.org/abs/2006.16236.
Sonia Laguna, Jorge da Silva Gonçalves, Moritz Vandenhirtz, Alain Ryser, Irene Cannistraci, and Julia E. Vogt. Rethinking machine unlearning: Models designed to forget via key deletion. In ICLR 2026 Workshop on Test-Time Updates (TTU), 2026. URL https://openreview.net/forum?id=IjJUrgd5cS. Oral presentation.
Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems (NeurIPS), 2020. URL https://arxiv.org/abs/2005.11401.
Mufei Li, Shikun Liu, Dongqi Fu, Haoyu Peter Wang, Yinglong Xia, Hong Li, Hong Yan, and Pan Li. KVERaser: Learning to steer KV cache for efficient localized context erasing. arXiv preprint arXiv:2606.17034, 2026. URL https://arxiv.org/abs/2606.17034.
Nathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue, Daniel Berrios, et al. The WMDP benchmark: Measuring and reducing malicious use with unlearning. In International Conference on Machine Learning (ICML), 2024a. URL https://arxiv.org/abs/2403.03218.
Yuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh, Acyr Locatelli, Hanchen Ye, Tianle Cai, Patrick Lewis, and Deming Chen. SnapKV: LLM knows what you are looking for before generation. In Advances in Neural Information Processing Systems (NeurIPS), 2024b. URL https://arxiv.org/abs/2404.14469.
Aengus Lynch, Phillip Guo, Aidan Ewart, Stephen Casper, and Dylan Hadfield-Menell. Eight methods to evaluate robust unlearning in LLMs. arXiv preprint arXiv:2402.16835, 2024. URL https://arxiv.org/abs/2402.16835.
Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary C. Lipton, and J. Zico Kolter. TOFU: A task of fictitious unlearning for LLMs. arXiv preprint arXiv:2401.06121, 2024. URL https://arxiv.org/abs/2401.06121.
Qwen Team. Qwen3.5: Towards native multimodal agents, February 2026. URL https://qwen.ai/blog?id=qwen3.5.
Vishwajith Ramesh. Can an AI assistant really forget? auditable deletion from addressable memory. arXiv preprint arXiv:2607.27539v3, 2026a. URL https://arxiv.org/abs/2607.27539.
Vishwajith Ramesh. Subtract, transport, or replay? auditable deletion from language-model memory. arXiv preprint arXiv:2607.27539v2, 2026b. URL https://arxiv.org/abs/2607.27539v2. Version 2 of arXiv:2607.27539, the earlier combined preprint; superseded by Ramesh (2026a).
Vishwajith Ramesh. What a deletion certificate covers, and where it expires: Auditable removal from a support-vector memory. arXiv preprint arXiv:2607.12204v3, 2026c. URL https://arxiv.org/abs/2607.12204.
Weijia Shi, Jaechan Lee, Yangsibo Huang, Sadhika Malladi, Jieyu Zhao, Ari Holtzman, Daogao Liu, Luke Zettlemoyer, Noah A. Smith, and Chiyuan Zhang. MUSE: Machine unlearning six-way evaluation for language models. In International Conference on Learning Representations (ICLR), 2025. URL https://arxiv.org/abs/2407.06460.
Pratiksha Thaker, Shengyuan Hu, Neil Kale, Yash Maurya, Zhiwei Steven Wu, and Virginia Smith. Position: LLM unlearning benchmarks are weak measures of progress. arXiv preprint arXiv:2410.02879, 2024. URL https://arxiv.org/abs/2410.02879.
Xiaoyu Xu, Xiang Yue, Yang Liu, Qingqing Ye, Huadi Zheng, Peizhao Hu, Minxin Du, and Haibo Hu. Unlearning isn't deletion: Investigating reversibility of machine unlearning in LLMs. In International Conference on Machine Learning, 2026. URL https://arxiv.org/abs/2505.16831.
Songlin Yang, Bailin Wang, Yu Zhang, Yikang Shen, and Yoon Kim. Parallelizing linear transformers with the delta rule over sequence length. In Advances in Neural Information Processing Systems (NeurIPS), 2024. URL https://arxiv.org/abs/2406.06484.
Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving mamba2 with delta rule. In International Conference on Learning Representations (ICLR), 2025. URL https://arxiv.org/abs/2412.06464.
Jiayi Yao, Samuel Shen, Kuntai Du, Shaoting Feng, Dongjoo Seo, Rui Zhang, Yuyang Huang, Yuhan Liu, Shan Lu, and Junchen Jiang. VeriCache: Turning lossy KV cache into lossless LLM inference. arXiv preprint arXiv:2605.17613, 2026. URL https://arxiv.org/abs/2605.17613.
Yu Zhang, Zongyu Lin, Xingcheng Yao, Jiaxi Hu, Fanqing Meng, Chengyin Liu, Xin Men, Songlin Yang, Zhiyuan Li, Wentao Li, Enzhe Lu, Weizhou Liu, Yanru Chen, Weixin Xu, Longhui Yu, Yejie Wang, Yu Fan, Longguang Zhong, Enming Yuan, Dehao Zhang, Yizhi Zhang, T. Y. Liu, Haiming Wang, Shengjun Fang, Weiran He, Shaowei Liu, Yiwei Li, Jianlin Su, Jiezhong Qiu, Bo Pang, Junjie Yan, Zhejun Jiang, Weixiao Huang, Bohong Yin, Jiacheng You, Chu Wei, Zhengtao Wang, Chao Hong, Yutian Chen, Guanduo Chen, Yucheng Wang, Huabin Zheng, Feng Wang, Yibo Liu, Mengnan Dong, Zheng Zhang, Siyuan Pan, Wenhao Wu, Yuhao Wu, Longyu Guan, Jiawen Tao, Guohong Fu, Xinran Xu, Yuzhi Wang, Guokun Lai, Yuxin Wu, Xinyu Zhou, Zhilin Yang, and Yulun Du. Kimi linear: An expressive, efficient attention architecture. arXiv preprint arXiv:2510.26692, 2025. URL https://arxiv.org/abs/2510.26692.
Zhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen, Lianmin Zheng, Ruisi Cai, Zhao Song, Yuandong Tian, Christopher Ré, Clark Barrett, Zhangyang Wang, and Beidi Chen. H2O: Heavy-hitter oracle for efficient generative inference of large language models. In Advances in Neural

Figure 7: The two channels in which a hybrid record lives. (a) Attention stores contextualized token rows, while KDA compresses the prefix into recurrent and convolution arrays; masking either channel leaves the other active. (b) The evaluated exact path restores the last unaffected checkpoint, skips the target record, and replays every surviving token. Equality is audited on final logits and all 80 KDA arrays.
Information Processing Systems (NeurIPS), 2023. URL https://arxiv.org/abs/2306.14048.
A KDA PROTOCOLS AND SUPPORTING RESULTS
A.1 REPLAY ARTIFACTS AND AUDITED SURFACE
The execution setting is given in Section 5. The three source-free replay artifacts record 22 attempts: artifacts/kimi_sv/mimic_deletion_8bit_n8.json qualifies 8/8, artifacts/kimi_sv/mimic_deletion_8bit_n128_v2.json qualifies 9/9, and artifacts/kimi_sv/notes_deletion_8bit_n16.json qualifies 4/5. The recall criterion and cohorts were frozen before outcomes. In MIMIC-Note, the oldest attempted target record has record-present lift 0.00451 nats, below the 0.05-nat threshold; it is excluded before deletion scoring and retained in the attempted denominator.
A.2 QWEN STAGED PROTOCOL
The confirmation pins Qwen/Qwen3.5-4B-Base@57370f0 and Transformers 5.12.1. One synthetic target record was run first; two more were then frozen and all three rerun with two equal-token suffixes each. Replay compares all 65 declared arrays or outputs and 82 flags. Transport and forcing inspect recurrent layers 0, 16, 30, with inputs captured before the live kernel. Protocol and result are benchmarks/qwen35_replay_v3.json and benchmarks/qwen35_replay_result_v3.json.
A.3 SPARSE CHECKPOINTS
For one 128-record context, exact record token lengths determine replay work at checkpoint intervals 1, 2, 4, ..., 128. A linear fit to nine measured dense replay timings has . Token counts and storage are exact; sparse latencies are estimates. Every 16th boundary uses 0.36 GiB at 3.89 s estimated mean replay; every 32nd uses 0.20 GiB at 4.31 s; only the oldest checkpoint uses 0.08 GiB at 6.89 s.
A.4 NEGATIVE CONTROLS AND REPLAY ORACLE
Main-text Table 5 gives the per-record masking-versus-replay comparison. The figure and two tables here retain the verbatim hybrid-channel example and the separate synthetic ward-code block needed to interpret that negative control.

Figure 8: Single-channel ablations compared with replay on two invented examples. (a) Recurrent zeroing retains the ward code at rank 1 (first-token probability 0.881); record-present lift is 1.80–3.23 nats (Table 7). Replay reaches zero residual on logits and all 80 KDA arrays. (b) Attention masking suppresses the old answer but cannot install its correction, whereas replace–replay matches the corrected-from-start reference. Both transcripts are invented; annotations are measured.
Table 6: Verbatim greedy answers from two source-free examples. Zeroing the recurrent matrices leaves the ward code recoverable through the attention rows, whereas masking the attention rows of the TOFU record returns the never-stored answer; the recurrent residual that masking leaves behind is measured in Section 6.5.
| example | intervention | greedy answer |
|---|---|---|
| synthetic ward codesynthetic ward code | recurrent matrices zeroedcheckpoint replay | “OBSIDIAN-TWO”“The ward code for patient 5182 is not provided.” |
| TOFU biographyTOFU biographyTOFU biography | attention rows maskedcheckpoint replaynever stored | “Hsiao Yun-Hwa identifies as a woman.”“Hsiao Yun-Hwa identifies as a woman.”“Hsiao Yun-Hwa identifies as a woman.” |
Table 7: Synthetic block of sixteen ward-code records with the target at positions 1, 8, and 14, under the same native masking and replay as Table 5. Lift is in nats against the never-stored state; the replay residual is the maximum over final logits and the declared KDA arrays.
| position | present lift | after attention mask | replay residual | replay seconds |
|---|---|---|---|---|
| early | 2.86 | -0.23 | 0 | 1.2 |
| middle | 1.80 | 0.30 | 0 | 0.6 |
| late | 3.23 | 0.09 | 0 | 0.1 |
A.5 AMENDMENT
Amendment changes the declared operation from omission to replacement: restore the last unaffected checkpoint, ingest the corrected record, and replay the surviving suffix. Its reference is a run that contained the correction from the start, so matching it tests installation of the new content rather than mere suppression of the superseded answer.
Table 8: Amendment reaches the corrected-from-start reference. The transcript is invented; the statement's attention rows are masked in the native kernel, and every reported logit and KDA-array residual is zero.
| state | operation | greedy answer |
|---|---|---|
| original | ingest old statement | "Breast cancer." |
| masked | mask the statement's attention rows | "The patient did not mention anything about their mother's health condition." |
| amended | restore, replace, replay | "Benign breast lump" |
| reference | corrected from the start | "Benign breast lump" |
A.6 FULL WRITE-RULE HIERARCHY
The hierarchy separates suffix dependence from changed-input forcing. Additive writes preserve a static receipt, per-channel decay needs only its diagonal ledger, and KDA's delta rule requires full matrix transport even before the native forcing condition is checked. Table 9 reports all three corpora under the same movement definition.
Table 9: Suffix-dependent movement across all three corpora under the three write rules. "Raw" is movement before the decay correction and "ledger" after it. Additive writes admit no ledger correction, so only their raw maxima are defined.
| write rule | synthetic | MIMIC-CDS | MIMIC-Note | |||
|---|---|---|---|---|---|---|
| raw | ledger | raw | ledger | raw | ledger | |
| additive | — | — | — | |||
| per-channel decay | 0.007–0.066 | 0.008–0.078 | 0.015–0.109 | |||
| KDA delta rule | 0.151–0.419 | 0.139–0.418 | 0.116–0.300 | 0.089–0.300 | 0.122–0.489 | 0.081–0.494 |
A.7 PROOF DETAIL FOR COROLLARY 1
With zero accumulated forcing, . Additive writes give the identity. Per-channel decay gives a diagonal product whose entries are the cumulative decays. For KDA, each factor is diagonal minus rank one; products are generally non-diagonal and depend on the suffix key sequence, so a per-channel ledger cannot recover the transported receipt. Full matrix transport remains subject to Theorem 1: it reaches the never-stored state exactly when the accumulated forcing sum is zero.
Transport and forcing protocol. Each configuration uses four prefix records, one target record, and two equal-length suffixes. The isolated audit captures per-token from record-present and never-stored runs, checks a sequential recurrence against the live kernel, and evaluates additive, decay, and delta updates. Frozen-input transport has median/max relative error
; the forcing decomposition has . The corresponding native forcing share (accumulated-forcing norm divided by the final state-difference norm) ranges 0.064–1.010 (median 0.836; maximum 1.010); divided instead by the state norm, the residual after full transport is 0.7–32.9% (median 12.6%) over the same 36 evaluations. The versioned source-free aggregate records this as forcing_to_difference_norm_ratio in benchmarks/kda_transport_48b_v2.json.
A.8 WHY THE FORCING SHARE CAN EXCEED ONE
The forcing share divides the norm of the accumulated forcing by the norm of the direct difference . Both are vector norms, so the quotient compares two magnitudes and is free to exceed one. A worked case makes the behavior concrete. Suppose the transported receipt lands at and the accumulated forcing at . Their sum, the final present-minus-never-stored difference, is with norm one, while the forcing alone has norm two, so the share is 2.0 even though the forcing is smaller than the receipt that carried it. Near-cancellation shrinks the denominator without shrinking the numerator. A share near one therefore means that the forcing is about as large as the whole difference the receipt was supposed to explain, and a share above one means that the receipt and the forcing partly cancel. In both cases the receipt has stopped explaining the difference; the share does not say that more than all of it is unexplained. The fixed-length audit reached a maximum of 1.010 (Section 6.2). The suffix-length sweep pools 20 layers and 24 configurations at each cut and reached 2.712 at 4,096 tokens, in a layer whose imprint had decayed to a small fraction of the state norm while the transported receipt and the forcing remained each larger than the difference they left between them. The same pooled range has a minimum of 0.000, which comes from the first KDA layer in the configurations whose suffix inputs to that layer were identical in the two trajectories; there the forcing was exactly zero and full transport reached the never-stored state in that layer, as the if direction of Theorem 1 requires. The residual as a fraction of the state norm, which the paper reports as its headline, has no such ambiguity, because its denominator does not depend on the receipt. Figure 2(c) shows the cancellation geometrically.
A.9 CHECKPOINT CADENCE AS A DEPLOYMENT CONTROL
Replay moves the design choice from whether to recompute to how much history must be recomputed, and the resulting curve is the object a service actually tunes. In the measured 128-record context, a checkpoint at every boundary costs 41.4 MiB apiece, 5.22 GiB in total, and makes replay as short as possible, at 3.49 s on average. Keeping only every sixteenth checkpoint costs 0.36 GiB (a fourteen-fold reduction) for an estimated 0.40 seconds more, 3.89 s. Keeping only the oldest costs 0.08 GiB but raises the estimate to 6.89 s, at which point deletion costs a full rebuild and the checkpoint no longer saves any work. A service can therefore select its cadence from a deletion-latency objective, a storage budget, and a policy on how long replayable history may persist. The numbers are hardware-and workload-specific, and only storage and latency are measured here.
A.10 CORRECTION UNDER THE SAME CONTRACT
Restore-replace-replay changes the reference from “history without ” to “history containing from the start” while keeping the same unaffected prefix and surviving suffix. The amendment check reaches that reference exactly, whereas attention masking only hides the old answer. A deletion interface built around replay therefore exposes omission and amendment under one auditable state-transition contract, with one executor and one audit surface.
A.11 SUFFIX-LENGTH SWEEP PROTOCOL
The sweep uses the same released 8-bit Kimi Linear weights, MLX implementation, tokenizer, and arithmetic as the fixed-length audit. Cases are allocated from one ordered list per corpus: the first records serve as target records, the next 64 as the prefix pool, and the remainder as the suffix pool, so that every configuration of a corpus shares the same suffix. The synthetic corpus uses 192 generated patient records with unique ward codes; the TOFU corpus uses 200 rows of the forget10 split in the record format of the companion Gemma evaluation. A configuration is a target-record index and a prefix depth for the synthetic corpus and for TOFU; the target record's absolute positions are the attention rows evicted under masking.
The record-present context (preamble, prefix records, target record) and the never-stored context (preamble, prefix records) are ingested record by record, and the suffix is then ingested in chunks whose boundaries are the cut points ; both contexts use the same chunking, so the direct state difference at a cut is free of chunking effects. The kernel inputs are captured on all 20 KDA layers by wrapping the released kernel entry point, exactly as in the fixed-length audit, and the decomposition of Theorem 1 is carried token by token over the twenty layers stacked into one array, recording per-layer norms at each cut. The decomposition is restarted from each cut to obtain the residual of recomputing the first suffix tokens exactly, which equals the forcing accumulated after .
Behavioral probes run at every cut. For each condition the corresponding recurrent arrays are written into the live cache of the record-present run (its convolution arrays and attention rows unchanged, except where masking evicts the target record's rows), the cache is rolled back to the cut, and the target record's question is scored with the teacher-forced secret, its first-token rank and first-token distribution recorded, and, for the public corpora, a greedy answer decoded; the same cache is then rolled back and the retained record probed. Cuts are processed from the longest to the shortest so that rollback never has to roll forward. The sampling attack reuses the same contexts and injection path: at ingestion and at the longest cut, 100 continuations of the target record's question are drawn at temperature 1 and top- with at most 24 new tokens from each of five conditions (present, never stored, attention rows masked, static receipt subtracted, and masked with the receipt subtracted), and a draw counts as a hit when the casefolded, punctuation-stripped secret occurs in it. Only hit counts and positions are stored. The replay identity is checked last on each configuration by restoring the pre-record checkpoint of the record-present run and replaying the suffix, which reproduced the never-stored state with a maximum absolute difference of 0. On 8 of these configurations (synthetic and TOFU, at 4,096 suffix tokens) we also compared the logical contents of every MLA cache, the keys and values up to the current offset in all 7 layers, between the replayed and the never-stored run: the maximum absolute difference was 0, so the attention caches agree exactly on their logical contents even though their block-allocated buffers differ in unused capacity. Each worker held one 48B model under a 75 GiB memory limit; two workers ran beside the other experiments on one 512 GiB Mac Studio, with a watchdog that pauses workers below 15% free memory. The per-configuration reports and the source-free summary that binds the macros used in this paper are released with the code.
A.12 CROSS-FAMILY PROTOCOL AND PRE-REGISTERED PREDICTIONS
The three additional families run through their pure-PyTorch reference implementations in Transformers 5.12.1 on the same machine, in float32 on the Metal backend, with one process at a time under a 28 GiB allocator cap. Each adapter advances the model one suffix token at a time, which is the path that exposes the recurrence exactly, and reads the recurrent state of every layer from the model's own cache before and after each token. For Mamba-2 and Falcon-H1 the per-head decay is recomputed from the layer input through the model's own projection, bias, softplus, and clamp, and the write term is the state change not explained by that decay; for RWKV-7 the kernel entry point is wrapped to record , and both the transition and the write are applied by a handwritten recurrence that is checked against the model's state. The frozen-input counterfactual advances the never-stored initial state with the record-present inputs, so the difference between it and the record-present state is exactly what a receipt must transport under Corollary 1; the native reference is the never-stored run itself. Errors are reported relative to the never-stored state norm, and a layer contributes to an exactness verdict only when the frozen difference in that layer is at least of the state norm, because a layer whose decay has driven the difference below that floor carries no information about transport.
The predictions were recorded in a tracked file before any of the three models was run. For Mamba-2 and Falcon-H1 (decay class): the static receipt is not exact, the diagonal ledger and the full matrix transport are exact under frozen inputs, and native forcing is nonzero. For RWKV-7 (delta class): the static receipt and the diagonal ledger are not exact, the full matrix transport is exact under frozen inputs, and native forcing is nonzero. Exactness means a maximum error at or below of the state norm over informative layers, cuts, and configurations. Every prediction held (Section 6.7); the summary file records the agreement per property and per family.
A.13 FIXED-TRACE REPLAY AND CAUSAL REGENERATION
Replay reprocesses the recorded suffix as recorded and does not regenerate the assistant turns, summaries, retrieval writes, or tool actions that the deleted record caused. A small example shows the difference.
Illustrative synthetic Maaya example (not audited data).
Turn 12: "My dog's name is Maaya."
Turn 40: "Took Maaya to the vet."
Delete turn 12. Fixed-trace replay skips turn 12 but replays turn 40, so the name re-enters both the replay and its never-stored reference.
A causal reference would hold exogenous inputs and seeds fixed while regenerating the record's descendants. This study does not execute it, and the gap is measurable: the companion retrofit study found lexical contact with the deleted record in 24/96 frozen suffixes of long conversational histories (Ramesh, 2026a). The certificate of Section 6.6 covers the declared active state once an authorized replay completes; prior outputs, external copies, and causal descendants fall outside it (Table 2).