NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Fast and Stable Triangular Inversion for Delta-Rule Linear Transformers

Aleksandros Sobczyk, Gioele Gottardo, Christos K Matzoros, Mirko De Vita, Filip Skogh, Anastasios Zouzias, Jiawei Zhuang

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Efficient Attention Mechanisms · Type: new method · Keywords: triangular matrix inversion, linear attention, Delta-Rule transformers, numerical stability, hardware efficiency, NPU benchmarks

Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Linearized Transformers

Summary

The paper introduces a fast and stable triangular inversion method for Delta-Rule linear transformers, achieving up to 4.3× speed-up on NPUs while preserving full end-to-end model accuracy.

Explained to a 5-year-old

Computers use a kind of math called linear attention to read long pieces of text quickly. Inside this math, they need to invert triangular matrices, which is like solving a puzzle. This puzzle can be slow and sometimes gives wrong answers if not done carefully. The paper studies two ways to solve the puzzle: direct and iterative methods. It tests the new ways on special hardware and finds they are quicker and still correct.

Explained to a 5-year-old, longer

Computers use a kind of math called linear attention to read long pieces of text quickly. Inside this math, they need to invert triangular matrices, which is like solving a puzzle. This puzzle can be slow and sometimes gives wrong answers if not done carefully. The paper studies two ways to solve the puzzle: direct and iterative methods. It looks at how stable and fast each method is, especially on modern hardware. The experiments also check how the methods work in low-precision formats, like when numbers have fewer digits. The results show that one of the new methods is up to 4.3 times faster than existing ones. Importantly, the new method still gives correct answers, keeping the AI model accurate. This improvement helps AI models process longer texts without slowing down the whole system. The findings are useful for building faster and more reliable AI assistants. Overall, the work makes the underlying math puzzle safer and quicker for real-world use.

For a technical reader

The paper addresses a performance bottleneck in Delta-Rule linear attention transformers caused by triangular matrix inversion. It compares direct and iterative inversion algorithms, focusing on numerical stability and hardware efficiency, and validates them on NPUs and low-precision arithmetic. The experimental results demonstrate up to a 4.3× speedup over the current state-of-the-art SGLang implementation while preserving model accuracy. This work enables faster, more stable deployment of linear-attention models on modern hardware.

Problem

Inverting triangular matrices for Delta-Rule linear attention layers is computationally expensive and highly sensitive to numerical errors, which can significantly degrade model accuracy and limit efficiency.

Method

The work systematically analyzes both direct and iterative triangular inversion algorithms, emphasizing numerical stability and computational complexity, and evaluates them on NPUs and low-precision floating-point formats to identify hardware-efficient implementations.

Results

The approach achieves up to 4.3× speed-up on NPUs compared to SGLang while maintaining full end-to-end model accuracy, and demonstrates robust performance in low-precision settings.

Contributions

Provides a systematic analysis of direct and iterative triangular inversion algorithms, identifies hardware-efficient implementations, and offers experimental validation across NPUs and low-precision formats.

Practical relevance

Enables faster and more accurate deployment of linear-attention transformer models on hardware such as NPUs, reducing computational bottlenecks.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction