Search arXiv⌕ Search

arXiv · 2611.39521

LoSpAttn: Fast Training-Free Hybrid Attention for Vision and Diffusion Transformers

Abstract

Softmax attention is central to modern vision and diffusion transformers, but its quadratic complexity in tokens remains a major computational bottleneck. Uniformly replacing softmax attention with linear or sparse attention in large pretrained models often degrades performance, as attention rank and sparsity vary across heads and layers, and additionally across denoising timesteps in diffusion transformers. We show that selectively exploiting these two complementary structures enables inference acceleration in large pretrained models while retaining competitive task performance, with the largest gains at long token sequences. In particular, we propose Low-Rank and Sparse Attention (LoSpAttn), a training-free hybrid framework that uses fast, one-time calibration to select low-rank or block-sparse replacements, retaining exact softmax when neither is sufficiently accurate. For reliable low-rank replacement, we develop a numerically stable Nyström approximation using symmetric kernel lifting and preconditioning, with theoretical error guarantees for normalized attention. Experiments on ViT-Large, DiT-XL/2, and PixArt-$Σ$ demonstrate inference acceleration while maintaining classification accuracy and generation quality comparable to the original pretrained models. For example, on PixArt-$Σ$ at 2K resolution ($16{,}384$ tokens), LoSpAttn achieves up to $1.4\times$ end-to-end and $11\times$ attention speedup over the FlashAttention-2. Code provided at https://github.com/J-Karthik-palaniappan/LospAttn

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

J Karthik Palaniappann, Akshay Kiran Jose, Anvitha Vinod, Pravin Nair. 2026-11-29. LoSpAttn: Fast Training-Free Hybrid Attention for Vision and Diffusion Transformers. https://searcharxiv.org/abs/2611.39521

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

IB-AdCSCNet:Adaptive Convolutional Sparse Coding Network Driven by Information Bottleneck

In the realm of neural network models, the perpetual challenge remains in retaining task-relevant information while effectively discarding redundant data during propagation. In this paper, we introduce IB-AdCSCNet, a deep learning model grounded in information bottleneck theory. IB-AdCSCNet seamlessly integrates the information bottleneck trade-off strategy into deep networks by dynamically adjusting the trade-off hyperparameter $λ$ through gradient descent, updating it within the FISTA(Fast Iterative Shrinkage-Thresholding Algorithm ) framework. By optimizing the compressive excitation loss function induced by the information bottleneck principle, IB-AdCSCNet achieves an optimal balance between compression and fitting at a global level, approximating the globally optimal representation feature. This information bottleneck trade-off strategy driven by downstream tasks not only helps to learn effective features of the data, but also improves the generalization of the model. This study's contribution lies in presenting a model with consistent performance and offering a fresh perspective on merging deep learning with sparse representation theory, grounded in the information bottleneck concept. Experimental results on CIFAR-10 and CIFAR-100 datasets demonstrate that IB-AdCSCNet not only matches the performance of deep residual convolutional networks but also outperforms them when handling corrupted data. Through the inference of the IB trade-off, the model's robustness is notably enhanced.

cs.CV↗

Superpixel Segmentation: A Long-Lasting Ill-Posed Problem

For many years, image over-segmentation into superpixels has been essential to computer vision pipelines, by creating homogeneous and identifiable regions of similar sizes. Such constrained segmentation problem would require a clear definition and specific evaluation criteria. However, the validation framework for superpixel methods, typically viewed as standard object segmentation, has rarely been thoroughly studied. In this work, we first take a step back to show that superpixel segmentation is fundamentally an ill-posed problem, due to the implicit regularity constraint on the shape and size of superpixels. We also demonstrate through a novel comprehensive study that the literature suffers from only evaluating certain aspects, sometimes incorrectly and with inappropriate metrics. Concurrently, recent deep learning-based superpixel methods mainly focus on the object segmentation task at the expense of regularity. In this ill-posed context, we show that we can achieve competitive results using a recent architecture like the Segment Anything Model (SAM), without dedicated training for the superpixel segmentation task. This leads to rethinking superpixel segmentation and the necessary properties depending on the targeted downstream task.

cs.CV↗

Geometric Prior-Guided Neural Implicit Surface Reconstruction in the Wild

Neural implicit surface reconstruction using volume rendering techniques has recently achieved significant advancements in creating high-fidelity surfaces from multiple 2D images. However, current methods primarily target scenes with consistent illumination and struggle to accurately reconstruct 3D geometry in uncontrolled environments with transient occlusions or varying appearances. While some neural radiance field (NeRF)-based variants can better manage photometric variations and transient objects in complex scenes, they are designed for novel view synthesis and lack the surface constraints needed for precise surface reconstruction. To overcome this limitation, we introduce a novel approach that applies multiple geometric constraints to the implicit surface optimization process, enabling more accurate reconstructions from unconstrained image collections. First, we utilize sparse 3D points from structure-from-motion (SfM) to refine the signed distance function estimation for the reconstructed surface, with a displacement compensation to accommodate noise in the sparse points. Additionally, we employ robust normal priors derived from a normal predictor, filtered using edge detection and a reprojection consistency check, to improve alignment with the actual surface geometry. Experiments show that our method achieves the best average performance among the compared methods on the Heritage-Recon benchmark of internet photo collections and performs comparably to the strongest baselines on two standard multi-view datasets. Our approach enables high-quality 3D reconstruction of landmarks and objects, making it applicable to diverse scenarios such as digital preservation of cultural heritage sites and 3D object modeling.

cs.CV↗