A new recurrent attention architecture, Gated DeltaNet 2, promises to significantly improve how large language models handle long-context information by decoupling memory erasure and writing into separate, independent operations.
Traditional models use a single scalar to control both forgetting old data and adding new information to a fixed-size memory. This often leads to interference, where removing stale content accidentally disrupts recent associations. Gated DeltaNet 2 solves this by introducing channel-wise gates that allow the model to surgically erase outdated information while preserving new connections.
Developed by researchers at NVIDIA and others, the architecture achieves superior performance in long-context retrieval tasks—like finding a "needle in a haystack"—and reasoning over lengthy documents. Tests show it outperforms comparable models such as Mamba-2 and KDA across multiple language modeling benchmarks.
By combining this decoupled update rule with a sliding-window attention mechanism, the hybrid system maintains training efficiency and linear computational costs, setting a new state-of-the-art for recurrent layers in LLMs.