← Latest papers
💬 NLP

OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attention

The paper introduces Online Scaled DeltaNet (OSDN), a linear attention model that enhances the Delta Rule by incorporating an online-updated diagonal preconditioner for feature-wise scaling, thereby achieving provable super-geometric convergence and significantly improving in-context associative recall while maintaining hardware-efficient parallelism.

Original authors: Chenyu Zhou, Hongpei Li, Yuerou Liu, Jianghao Lin, Dongdong Ge, Yinyu Ye

Published 2026-05-14
📖 4 min read☕ Coffee break read

Original authors: Chenyu Zhou, Hongpei Li, Yuerou Liu, Jianghao Lin, Dongdong Ge, Yinyu Ye

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to memorize a very long story so you can answer questions about it later. In the world of AI, this is called "in-context learning." The AI reads the story (the context) and updates its internal memory to remember important details.

For a long time, the best way to do this was like a giant library with a perfect index (called "Softmax Attention"). But this library is slow and takes up a massive amount of space. Newer, faster methods (like DeltaNet) act more like a person taking notes in a small notebook. They are fast and efficient, but they sometimes struggle to remember specific details if the story gets too long or if the same words appear many times. They tend to "blur" the notes together.

This paper introduces a new method called OSDN (Online Scaled DeltaNet) to fix that blurring. Here is how it works, using simple analogies:

1. The Problem: The "One-Size-Fits-All" Pen

Imagine the AI is writing in its notebook. Every time it sees a new word (a "token"), it writes a note.

  • Old Method (DeltaNet): The AI uses a single pen with a fixed ink flow. If it needs to write a tiny, delicate detail, the pen is too thick and smudges it. If it needs to write a huge, bold headline, the pen is too thin and the ink runs out. It treats every piece of information with the exact same "step size" or intensity.
  • The Issue: Some facts in the story are rare and need a strong, clear note. Others are common and need a light touch. Using the same "pen pressure" for everything leads to mistakes in recall.

2. The Solution: The "Smart, Adjustable Pen" (OSDN)

OSDN gives the AI a smart, adjustable pen. Instead of one fixed setting, the pen has a dial for every single letter of the alphabet (or every feature of the data).

  • How it learns: As the AI reads the story, it constantly checks: "Did I write that note correctly?" If the note is too faint, it turns the dial up for that specific letter next time. If it's too dark, it turns it down.
  • The Magic Trick: The paper proves that this "dial" doesn't need a complicated, slow computer to calculate. It can be figured out instantly, just by looking at the word being written. This allows the AI to keep its speed while getting much smarter about how it writes.

3. The "Forgetting" Mechanism (APF)

Sometimes, the story changes topics. A fact that was important at the beginning might be irrelevant by the end.

  • The Problem: If the AI keeps adjusting its pen based on old topics, it might get confused when the story switches to a new subject.
  • The Fix (APF): OSDN includes a feature called Adaptive Preconditioner Forgetting. Think of this as a "fresh page" button. If the AI notices the topic has shifted, it gently resets its pen dials for the new topic, so it doesn't get stuck using settings from the previous chapter.

4. Why This Matters (The Results)

The authors tested this on AI models of different sizes (from small to very large).

  • The "Memory Test": They gave the AI a story and then asked it to recall specific details, especially when those details appeared twice (like a character being introduced, then mentioned again later).
  • The Outcome:
    • At a medium size, OSDN improved the ability to remember repeated details by 32% compared to the old method.
    • At a massive size (1.3 billion parameters), it improved memory recall by 39% while keeping the AI just as good at general tasks (like writing sentences or answering general questions).
    • Crucially, it did this without slowing down the AI significantly. It's like upgrading a car's engine to be more precise without making the car heavier or slower.

Summary

Think of OSDN as teaching an AI to be a better note-taker. Instead of scribbling everything with the same pressure, it learns to press harder on important, rare details and lighter on common ones. It also knows when to wipe the slate clean for a new topic. This allows the AI to remember complex stories much better without losing its speed or efficiency.

What the paper does NOT claim:

  • It does not claim this makes AI "conscious" or able to feel emotions.
  • It does not claim this solves all AI problems (like reasoning or math); it specifically targets the ability to remember and retrieve information from a long text.
  • It does not suggest this is ready for medical diagnosis or critical real-world deployment yet; it is a research breakthrough in how AI models process sequences of text.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →