ResearchBy

Unwrite removes records from linear attention memory without replay

In an arXiv preprint, Yihao Qiao and Sihao Hu propose Unwrite, a method for removing the influence of a record from a language model’s inference state. The method tracks an alternate state that skips the record and updates it as the model reads subsequent text. The authors report that Unwrite matched replay on answers across three linear attention models and removed more of the record’s influence than attention masking on one hybrid model. On Gated DeltaNet 1.3B, a deletion took about 1.4 milliseconds and was up to 739 times as fast as replaying from a checkpoint.

Why it matters

The method shifts work to the initial reading pass so that a later deletion can happen without reprocessing the subsequent text. The reported speedup applies to the tested Gated DeltaNet model.

Sources

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet