← News

ResearchSources: arXiv · 1 Dec 2026

LoSpAttn speeds up pretrained vision and diffusion transformers without retraining

A training-free hybrid attention method swaps parts of softmax attention for low-rank or block-sparse versions, chosen by a one-time calibration step.

In plain words

Softmax attention, the mechanism inside many image and image-generation models, gets slow when the number of tokens grows large. LoSpAttn replaces only the parts of attention where a cheaper approximation stays accurate, keeping exact attention elsewhere, so the pretrained model needs no retraining. The authors report faster inference with task quality close to the original models.

What was announced

The authors argue that uniformly swapping softmax attention for linear or sparse variants hurts large pretrained models, because attention rank and sparsity differ across heads, layers, and, in diffusion transformers, across denoising timesteps. LoSpAttn instead runs a one-time calibration that decides, per component, whether a low-rank or block-sparse replacement is accurate enough, and keeps exact softmax attention when neither is. The low-rank path uses a Nyström approximation with symmetric kernel lifting and preconditioning, which the paper says carries theoretical error guarantees for normalized attention.

Reported results cover ViT-Large, DiT-XL/2, and PixArt-Σ, with acceleration that preserves classification accuracy and generation quality comparable to the original pretrained models, and the largest gains at long token sequences. On PixArt-Σ at 2K resolution, about 16,384 tokens, the authors report up to 1.4× end-to-end and 11× attention speedup over FlashAttention-2. Code is available on GitHub. These are the authors' own measurements on the listed models; the abstract does not cover other architectures, and independent confirmation is not included.

What it does not show

  • Evidence is limited to the paper's abstract, so experimental details, baselines beyond FlashAttention-2, and setup conditions are not visible.
  • The speedup and quality figures are authors' self-reported results on three specific models and have not been independently verified.

For security and IT teams

Status
The method is described as training-free and the authors point to a public code repository, but the abstract does not state release maturity or supported model integrations.

Sources

Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 5 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.