atlas

Research map / Architectures and efficiency / Attention and transformers

Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyond

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse efficient transformers for long context · 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 Flash Inference, a tiled relaxed-polynomial-interpolation scheme that makes exact autoregressive inference for long convolution sequence models (Hyena) run in O(L log^2 L), with across-layer parallelism.

Problem

Autoregressive inference for long convolution sequence models (LCSMs) like Hyena remains quadratic in sequence length because the convolution filter must be applied to incrementally revealed inputs, unlike the FFT-based training-time computation.

Approach

Applies van der Hoeven's relaxed polynomial interpolation via a fractal, power-of-two tiling of the contribution space, so each token's contributions are computed in FFT-sized blocks (O(L log^2 L) total) and tile work for different layers runs in parallel; generalizes to any associative, query-independent contribution-based mixer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Flash Inference with Hybrid τ implementation instead of Lazy inferenceHyena · Hyena mixer, B=1, N=18, D=864, L=217mixer speedup over Lazy: 110.74 ×Helped
Use Flash Inference with Hybrid τ implementation instead of Lazy inferenceHyena · Hyena end-to-end inferenceend-to-end speedup: up to 7.8×Helped
Use Flash Inference with Hybrid τ implementation instead of Lazy inferenceHyena · Hyena end-to-end inference, B=4, D=768, 18 layers, L=215end-to-end speedup: 4.8×Helped
Use the tiled approach instead of Eager or LazyHyena mixer · Hyena mixer, B=4, D=768, 18 layers, L=215mixer speedup: 90×Helped
Use the parallel-across-layers version instead of the non-parallel version (ablation)Eager and Lazy inference · Hyena and synthetic inferencespeedup: 10 −20%Helped
Use the Hybrid τ implementation that dynamically selects an implementation by tile size instead of a fixed τ implementation (ablation)Flash Inference · Synthetic inferencemixer timeHelped
Use Flash Conv1D instead of Eager or Lazy contribution computation (ablation)Flash Inference · Synthetic inferencemixer timeHelped
Enable CUDA Graphs for token generation (ablation)Flash Inference and its baselines · Hyena end-to-end inferenceend-to-end speedup: up to 8×; 1.6×Helped
Use the full Hybrid implementation rather than the FFT implementation (ablation)Flash Inference · Synthetic inferencemixer time: less than 2%Mixed
Use Hybrid instead of a fixed τ implementation (ablation)Flash Inference · Synthetic inferencemixer time: close to 20%Helped
Use parallel Lazy instead of non-parallel Lazy (ablation)Lazy inference · Hyena and synthetic inferencespeedup: 10%Helped

Surprising findings

Limitations

Experimental setup

Metrics: end-to-end wall-clock time mixer time speedup over lazy baseline

Baselines: Lazy Eager Conv1D FFT FlashFFTConv

Builds on: Hyena relaxed polynomial interpolation (van der Hoeven 1997) FlashFFTConv Massaroli et al. 2024 (distilled LTI SSM inference)

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