atlas

Research map / Architectures and efficiency / Attention and transformers

Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Linear attention approximations · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Tiled Flash Linear Attention (TFLA), a two-level sequence-parallel kernel algorithm for linear RNNs/mLSTM enabling arbitrary chunk sizes, plus mLSTMsig with sigmoid input gate that is faster at equal language modeling performance.

Problem

Chunkwise-parallel linear RNN kernels (e.g., Flash Linear Attention) are limited in chunk size by GPU SRAM, forcing many intermediate states into HBM, which lowers arithmetic intensity and increases memory use and IO for long-context training.

Approach

Add a second level of sequence parallelism by tiling the intra-chunk matrix multiplications along the sequence dimension, so chunk size can grow without limit; additionally replace the exponential input gate of mLSTM with a sigmoid gate, removing the normalizer and max states to reduce computation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the exponential input gate with a sigmoid input gate (ablation)mLSTMexp · DCLM language modeling, up to 1.4B parametersperplexityNo clear effect
Use the TFLA xl_chunk kernel instead of the limit_chunk kernel (ablation)mLSTMexp · DCLM validation, context length 4096perplexity: 21.03 -> 21.18; 16.55 -> 16.80; 13.20 -> 13.87*Mixed
Initialize input gate biases to -10 (ablation)mLSTMexp and mLSTMsig · DCLM language-model trainingtraining stabilityHelped
Use TFLA xl_chunk instead of limit_chunk (ablation)mLSTMexp kernels · Kernel runtime benchmark on NVIDIA H100runtime: about 25% fasterHelped
Replace mLSTMexp with mLSTMsig (ablation)TFLA forward kernel · Kernel runtime benchmark on NVIDIA H100forward-pass runtime: over 30% fasterHelped
Use TFLA mLSTM kernelsmLSTM · Training kernel benchmark; longer sequencesruntimeHelped
Use TFLA mLSTM kernels instead of Mamba 2 kernelsmLSTM · Training kernel benchmark; all sequence lengthsruntime: more than 2x fasterHelped
Increase the TFLA chunk size (ablation)mLSTMsig xl_chunk kernel · Kernel runtime benchmarkruntimeMixed

Surprising findings

Limitations

Experimental setup

Datasets: DCLM

Benchmarks: validation perplexity on DCLM TFLA kernel runtime on H100

Metrics: validation perplexity kernel runtime arithmetic intensity FLOPs

Baselines: FlashAttention-2 FlashAttention-3 Mamba-2 GLA FLA kernels LightningAttention-2 Llama2-style Transformer

Builds on: Flash Linear Attention FlashAttention-2 xLSTM Gated Linear Attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy