← News

ResearchSources: arXiv · 3 Dec 2026

Unwrite removes records from linear attention memory without replaying text

An arXiv paper proposes a method to delete a token record from linear attention states during inference, avoiding full replay of later text.

In plain words

Linear attention models compress everything they read into a fixed-size memory, so removing one user message is hard. Unwrite keeps a second, record-free copy of that memory while reading, stores the difference at low rank, and subtracts it later. The authors say this deletes a record in about 1.4 ms without needing the original text or a checkpoint.

What was announced

The paper, posted on arXiv by the Unwrite authors, frames deletion as a practical need for language model assistants when users enter wrong or sensitive information. Softmax attention can simply drop a record's keys and values, but linear attention folds every token into fixed-size recurrent states with no per-token entries. The authors identify two shortcomings in existing fixes: replay reprocesses everything read after the record, while cheaper approaches subtract a saved difference yet miss how the record influenced later tokens.

Unwrite runs the model on a copy of its state that skips the record, reading every later token in the same forward pass, and stores the state difference at low rank. Deletion then needs only one addition, no text or checkpoint, and the authors report it equals replay at full rank on purely recurrent models. In tests on three linear attention models it matched replay on answers, and on a hybrid model it removed more of the record's effect than attention masking. A deletion took about 1.4 ms and was up to 739 times faster than checkpoint replay on Gated DeltaNet 1.3B.

What it does not show

  • Evidence is limited to the paper's abstract; the full method, experimental setup and results have not been independently verified.

For security and IT teams

Scope
The reported results cover three linear attention models plus one hybrid model, with the 739x speedup specific to Gated DeltaNet 1.3B.

Sources

Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 3 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.