NeurIPS 2026QuestionsPapersAreasAboutMarkdown

DeltaFugue: Orchestrating Spatial and Associative Memory for Algorithmic Length Generalization

Anh T Nguyen, Quan Dao, Bing Liu

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Linear Attention Memory Mechanisms · Type: new method · Keywords: linear attention, spatial memory, algorithmic reasoning, length generalization, formal languages

Areas: LLM Reasoning › Efficient Reasoning › Sparse Attention; Memory › Memory mechanisms › State-Space Memory; Long Context › Long-context mechanisms › State space models for long sequences; Model Architectures & Sequence Modeling › Language Model Architectures › Long-Context Memory

Summary

DeltaFugue introduces a hardware-aware architecture that combines a continuous linear attention controller with a differentiable 1D spatial tape, enabling parallel training while achieving strong length generalization on formal languages and reasoning-heavy natural language tasks.

Explained to a 5-year-old

We give the computer two kinds of memory: one quick memory for general facts and a long tape that writes down step-by-step instructions. By using both together, the computer can solve puzzles that get longer and longer, like bigger math problems. It works while still being fast to train, so we can learn many things at once. This helps the computer understand patterns in language, math, and code. It makes hard problems easier for computers.

Explained to a 5-year-old, longer

The computer brain has a fast memory that stores a few things at a time, like a short note. It also has a long tape that can write down many steps, like a scroll that grows as we think. By moving information between the quick note and the scroll using simple updates, the brain can keep track of longer chains of reasoning. This design lets the brain solve puzzles that involve many steps, such as following a recipe or solving a math problem. It also works well when we train many examples at the same time, making learning faster. The result is a system that can understand patterns in language, mathematics, and even code. It helps computers handle tasks that require careful, step-by-step thinking. This approach makes it possible to build smarter assistants that can reason about complex problems. It also opens the door to more powerful tools for education and programming. By combining quick recall with a growing record, the system can adapt to new challenges without forgetting what it has learned.

For a technical reader

The work addresses the limitation of fixed-capacity associative memory in linear attention models by adding a differentiable spatial tape that provides unbounded storage. Read and write operations are performed via delta-rule updates, preserving the parallelism of linear transformers during training. Theoretical analysis shows that this decoupled routing can recognize regular, hierarchical, and context-sensitive languages. Empirically, the model achieves state-of-the-art length-generalization performance and excels on reasoning-heavy natural language tasks such as mathematics and code generation.

Problem

Linear attention models with fixed-size associative memory cannot capture unbounded structural dependencies required for multi-step algorithmic reasoning, especially in deterministic context-free and context-sensitive languages. This limits their ability to generalize to longer sequences where dependencies grow.

Method

The approach uses a continuous linear attention controller to provide associative memory and adds a differentiable 1D spatial tape for precise structural routing, performing read/write via delta-rule updates to keep full parallelism. This decoupled design enables parallel training while scaling memory capacity as needed.

Results

The approach attains state-of-the-art accuracy on length-generalization benchmarks and shows superior extrapolation on mathematics and code-generation tasks compared to existing parallelizable models.

Contributions

It proposes a decoupled spatial routing mechanism that combines linear attention with a differentiable tape, proving theoretical capability to recognize regular, hierarchical, and context-sensitive languages, and demonstrates strong empirical length generalization across formal and natural language tasks.

Research questions this paper is counted under

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