LiSA: Linear Stochastic Attention for Long-Range Visual Modeling

Sahar Dastani, Fereshteh Shakeri, Samuel Barbeau, Kunal Mahatha, Ismail Ben Ayed +2 more
11/3/2026
cs.CV
transformer-attention

No official code found. Best implementation: Sahardastani/lisa (0 stars, last commit 2026-10-18).

Abstract

Self-attention has become the standard for modern sequence modeling, enabling Transformers to model long-range dependencies across a wide range of modalities. Despite these advances, its quadratic cost with respect to sequence length remains a significant computational bottleneck.

Show full abstract

Recent work addresses this limitation by introducing linear variants of self-attention, namely with kernel approximations of the softmax operator. However, their first-order aggregation restricts expressivity and struggles to capture higher-order structure. We propose Linear Stochastic Attention (LiSA), a linear attention plug-in module that enables higher-order token interactions via a stochastic diffusion process based on truncated random walks. LiSA incorporates adaptive locality, favoring semantically similar neighbors to preserve fine-grained structures, while maintaining stable and efficient training. We conduct extensive experiments on classification, semantic segmentation, and object detection tasks and show improved results over state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

Sahardastani/lisaCommunity25%

[WACV 2027] LiSA: Linear Stochastic Attention for Long-Range Visual Modeling

00Oct 18, 20261 months ago

Similar Papers

Cite this paper

@article{dastani2026lisa,
  title  = {LiSA: Linear Stochastic Attention for Long-Range Visual Modeling},
  author = {Sahar Dastani and Fereshteh Shakeri and Samuel Barbeau and Kunal Mahatha and Ismail Ben Ayed and Herve Lombaert and Christian Desrosiers},
  year   = {2026},
  eprint = {2611.04216},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.04216v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.04216.svg)](https://codeofpaper.com/paper/2611.04216)

Discussion