1. ECTD
  2. AI News
  3. News
  4. Unwrite: Deleting Records from Linear Attention Memory without Replay

arXiv cs.CL · 3 Dec 2026, 04:47 AEST

Unwrite: Deleting Records from Linear Attention Memory without Replay

normalaitech

Unwrite is a method for deleting a record from a linear attention language model's memory at inference time, without replaying the text. It keeps a record-free state alongside the model while reading, so a deletion is one addition that matches full-rank replay on purely recurrent models.

Key facts

  • Deleting a record read at inference time is important for language model assistants when a user has entered wrong or sensitive information.
  • We identify two limitations of the existing remedies: (i) replay reprocesses everything read after the record, and (ii) cheaper remedies subtract a difference saved when the record is read and miss the record's effect on later tokens.
  • We propose Unwrite, which addresses both limitations by maintaining the record-free state alongside the model as it reads the text.
  • Empirically, Unwrite matches replay on answers on three linear attention models and removes more of the record's effect than attention masking on a hybrid model.
  • Since its extra work is done during reading, a deletion takes about 1.4 ms and is up to $739\times$ faster than checkpoint replay on Gated DeltaNet 1.3B.

Read aloud

Unwrite is a method for deleting a record from a linear attention language model's memory at inference time, without replaying the text. It keeps a record-free state alongside the model while reading, so a deletion is one addition that matches full-rank replay on purely recurrent models. Deleting a record read at inference time is important for language model assistants when a user has entered wrong or sensitive information. We identify two limitations of the existing remedies: i replay reprocesses everything read after the record, and ii cheaper remedies subtract a difference saved when the record is read and miss the record's effect on later tokens. We propose Unwrite, which addresses both limitations by maintaining the record-free state alongside the model as it reads the text. Empirically, Unwrite matches replay on answers on three linear attention models and removes more of the record's effect than attention masking on a hybrid model. Since its extra work is done during reading, a deletion takes about one point four ms and is up to seven hundred thirty nine dollars\times$ faster than checkpoint replay on Gated DeltaNet one.3B.

Sources in this cluster

Free daily email

Get AI news, checked against sources

One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.

We email a confirmation link first. Pro and API plans