# Exact Flow Linear Attention: Exact Solution from Continuous-Time Dynamics

*Jingdi Lei, Di Zhang, Soujanya Poria*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154073) · [OpenReview](https://openreview.net/forum?id=GOjRwLmiSD) · [alphaXiv](https://www.alphaxiv.org/abs/2512.12602) · [Open on the map](../papers.html#p154073)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Efficient Attention Mechanisms](../pgroup/327.md) · Type: new method · Keywords: linear attention, exact flow, continuous-time dynamics, delta-rule, language modeling

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Linearized Transformers

## Summary
Exact Flow Linear Attention (EFLA) provides an exact closed-form flow formulation of delta-rule linear attention, eliminating discretization error while preserving its efficiency and parallelism.

## Explained to a 5-year-old
The paper makes a new way for computers to pay attention to words. It fixes a small mistake that happens when the computer guesses the next word. This new method works faster and uses less memory, like a clever shortcut. It helps the computer understand language better, especially when the words are noisy. The result is a smoother and more reliable language model.

## Explained to a 5-year-old, longer
In computers, when they read text, they need to decide which parts are important. The usual way they do this is called linear attention, which is fast and cheap. However, this fast method sometimes makes small mistakes because it uses a simple guess. The mistake can make the computer less accurate, especially when the words are weird or noisy. The researchers looked at the problem and saw that the mistake comes from using a quick math trick. They realized that the quick trick is like a small step in a bigger, smoother math process. By using the full, smooth math process, they can get the exact answer without the mistake. This new idea keeps the speed and low memory of the original method but fixes the error. It also works well on many tests, like understanding normal sentences and handling tricky ones. The improvement helps the computer make better predictions, which is useful for chatbots and translators. Overall, the paper shows that a more careful math approach can make simple computer tools smarter. This could lead to better language models that are both fast and reliable.

## For a technical reader
The paper introduces Exact Flow Linear Attention (EFLA), which reformulates the delta-rule linear attention as an exact solution of its underlying continuous-time dynamics instead of using an Euler discretization. By exploiting the rank-1 structure of the dynamics matrix, EFLA computes the matrix exponential and input integral with a simple update that retains the original attention’s low-rank parameter count and linear-time complexity. This eliminates the discretization error that can cause instability, especially when inputs are corrupted or have high energy, leading to more robust behavior. Experiments on language modeling benchmarks and synthetic tasks show that EFLA reduces perplexity and improves downstream performance compared to both state-space model and Euler-style baselines. The approach is fully compatible with existing chunkwise parallel implementations, offering a drop-in replacement that improves accuracy without extra parameters or training overhead.

## Problem
Existing delta-rule linear attention mechanisms approximate continuous-time dynamics using an explicit Euler discretization, which introduces discretization error and can affect stability, especially under corrupted or high-energy inputs. This limits robustness and accuracy in practical scenarios.

## Method
The approach interprets the delta-rule update as an Euler discretization of a continuous-time system and replaces it with the exact closed-form flow solution. By exploiting the rank-1 structure of the dynamics matrix, the matrix exponential and input integral simplify to an efficient update that retains the original linear attention's properties. This yields an exact-flow attention mechanism without extra parameters.

## Results
The approach shows improved stability on corrupted and high-energy inputs, lower perplexity on language modeling benchmarks, and stronger downstream performance than state-space model and Euler-style baselines.

## Contributions
The paper provides an exact-flow formulation of delta-rule linear attention that eliminates discretization error while preserving its efficiency and parallelism, and demonstrates its benefits across robustness, language modeling, and synthetic benchmarks.

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](../feedback/?on=p/154073)
