Skip to content
aiqbench takeAI Research

aiqbench analysis

This research introduces Query-derived Erase Direction (QED), a novel mechanism in linear attention models that addresses state interference by adding an erase vector orthogonal to the key and derived from the query. By enabling cancellation of old-state content along the query dimension, QED effectively doubles usable context length on S-NIAH-1 while improving retrieval beyond training windows. This advancement directly tackles fundamental limitations in long-context handling for large language models through architectural innovation rather than scaling parameters alone.
Sources coveringarXiv, The Verge, Latent Space
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

The Query Knows What to Forget: A Second Erase Direction for Linear Attention

arXiv2 min read

arXiv:2608.13668v1 Announce Type: new Abstract: Linear attention keeps a state of fixed size. At long context, many stored items share this state, and interference between them degrades retrieval. Gated DeltaNet-2 (GDN-2), like every delta-rule model before it, derives its erase vector from the key of the current token. However, the interference in its reads is measured through the query, and the erase step cannot reach it. We introduce the Query-derived Erase Direction (QED). QED adds a second erase direction derived from the query and orthogonal to the key. In the fast-weight view, a key-directed delta edit cannot change the key-orthogonal part of a read. It uses the editable part to cancel old-state content measured along the query. It also improves retrieval at every length past the training window, and it about doubles the usable context length on S-NIAH-1.

Abstract:Linear attention keeps a state of fixed size. At long context, many stored items share this state, and interference between them degrades retrieval. Gated DeltaNet-2 (GDN-2), like every delta-rule model before it, derives its erase vector from the key of the current token. However, the interference in its reads is measured through the query, and the erase step cannot reach it. We introduce the Query-derived Erase Direction (QED). QED adds a second erase direction derived from the query and orthogonal to the key. In the fast-weight view, a key-directed delta edit cannot change the key-orthogonal part of a read. It uses the editable part to cancel old-state content measured along the query. It also improves retrieval at every length past the training window, and it about doubles the usable context length on S-NIAH-1.

Machine Learning (cs.LG)

arXiv:2608.13668 [cs.LG]

(or arXiv:2608.13668v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2608.13668 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 227 words

Related coverage