← Latest papers
🤖 AI

When Good Enough Is Optimal: Multiplication-Only Matrix Inversion Approximation for Quantized Gated DeltaNet

This paper proposes a hardware-friendly, multiplication-only matrix inversion approximation using a truncated Neumann expansion with structural masking and parallel residual correction to accelerate chunk-wise linear attention in quantized Gated DeltaNet models, achieving up to 5× speedup and 20% lower decode-layer overhead while preserving accuracy.

Original authors: Luoming Zhang, Yuwei Ren, Kui Zhang, Tian Liu, Lingjuan Ge, Denghao Li, Matthew Harper Langston, Yin Huang, Weiliang Will Zeng, Liang Zhang

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

Original authors: Luoming Zhang, Yuwei Ren, Kui Zhang, Tian Liu, Lingjuan Ge, Denghao Li, Matthew Harper Langston, Yin Huang, Weiliang Will Zeng, Liang Zhang

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 solve a massive, complex puzzle where every piece depends on the one before it. In the world of Artificial Intelligence, specifically for models that need to remember long conversations or stories (called "long-context models"), there is a specific step called matrix inversion that acts like a traffic jam.

Currently, solving this puzzle piece-by-piece is slow and inefficient, especially on the specialized chips (NPUs) found in modern phones and devices. It's like trying to fill a swimming pool by carrying water in a single cup, one cup at a time, while the pool is huge.

This paper introduces a new, much faster way to solve this puzzle. Here is the breakdown of their solution using simple analogies:

1. The Problem: The "Forward Substitution" Traffic Jam

In standard methods, the computer has to calculate the answer for piece #1, then use that to find piece #2, then piece #3, and so on. This is called "forward substitution."

  • The Analogy: Imagine a line of people waiting to get a stamp. The first person gets the stamp, then the second person can't get theirs until the first is done, and so on. The line moves slowly because everyone is waiting for the person in front of them.
  • The Result: On modern hardware, this "line" is very inefficient. The powerful engines (matrix processing units) sit idle, waiting for the slow, sequential steps to finish.

2. The Insight: "Good Enough" is Actually Perfect

The authors realized that to get a great result, you don't actually need to solve the entire puzzle perfectly.

  • The Analogy: Imagine you are painting a portrait. The most important details are in the center of the face (the main diagonal). The details in the far corners (the deep sub-diagonals) are so faint that you can barely see them. If you spend 90% of your time perfecting the center and just a quick glance at the corners, the painting looks just as good to the human eye, but you finish 10 times faster.
  • The Science: The paper shows that the "energy" or importance of the answer is concentrated near the center. The complex, hard-to-calculate parts far away contribute very little to the final result.

3. The Solution: The "Multiplication-Only" Shortcut

Instead of the slow, piece-by-piece method, the authors propose a new algorithm that relies entirely on Matrix Multiplication (doing many calculations at once).

They use a three-step trick:

  • Step A: The Rough Sketch (Truncated Neumann Series)
    Instead of calculating the whole infinite series of steps, they stop early. They calculate the first few "layers" of the answer.

    • Analogy: Instead of reading every single page of a 1,000-page book to understand the plot, you read the first 10 pages. You get the main idea immediately.
  • Step B: The Safety Net (Diagonal Masking)
    When you stop early, you might accidentally include some "noise" or weird numbers that are too big and could crash the system (like an overflow error).

    • Analogy: Imagine you are sketching a map. You draw the main roads clearly, but you accidentally scribble some wild, nonsensical lines in the empty fields. The authors put a "mask" over those wild scribbles and erase them, keeping only the clean, important roads. This prevents the numbers from getting too big and breaking the math.
  • Step C: The Quick Fix (Parallel Residual Correction)
    Because they stopped early, the sketch isn't perfect. There are small errors left over. Instead of fixing them one by one (which is slow), they fix them all at once using a parallel calculation.

    • Analogy: Imagine you have a rough draft of a document with a few typos. Instead of reading it line-by-line to fix them, you run a "Find and Replace" tool that fixes all the typos simultaneously in a split second.

4. The Results: Speed and Stability

The paper tested this on real AI models (Qwen3.5 family) and found:

  • Speed: The new method is 5 times faster at the core calculation level.
  • Efficiency: It reduces the total time spent decoding (generating text) by about 20%.
  • Accuracy: Despite taking shortcuts, the AI's answers remain just as accurate as the slow, perfect method. It works even when the numbers are shrunk down to save space (low-precision/quantized), which is crucial for running AI on mobile devices.

Summary

The paper argues that in AI, perfection is the enemy of speed. By realizing that we only need the "main diagonal" of the math to be perfect, and that we can fix the rest in parallel, they turned a slow, sequential bottleneck into a fast, parallel highway. This allows large AI models to run much faster on the chips inside our phones and edge devices without losing their intelligence.

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 →