mlsanityData to 14 Oct 2026

Polyline Path Masked Attention for Vision Transformer

arXiv 2506.15940 ↗First posted 19 Jun 2025cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Global dependency modeling and spatial position modeling are two core issues of the foundational architecture design in current deep learning frameworks. Recently, Vision Transformers (ViTs) have achieved remarkable success in computer vision, leveraging the powerful global dependency modeling capability of the self-attention mechanism. Furthermore, Mamba2 has demonstrated its significant potential in natural language processing tasks by explicitly modeling the spatial adjacency prior through the structured mask. In this paper, we propose Polyline Path Masked Attention (PPMA) that integrates the self-attention mechanism of ViTs with an enhanced structured mask of Mamba2, harnessing the complementary strengths of both architectures. Specifically, we first ameliorate the traditional structured mask of Mamba2 by introducing a 2D polyline path scanning strategy and derive its corresponding structured mask, polyline path mask, which better preserves the adjacency relationships among image tokens. Notably, we conduct a thorough theoretical analysis on the structural characteristics of the proposed polyline path mask and design an efficient algorithm for the computation of the polyline path mask. Next, we embed the polyline path mask into the self-attention mechanism of ViTs, enabling explicit modeling of spatial adjacency prior. Extensive experiments on standard benchmarks, including image classification, object detection, and segmentation, demonstrate that our model outperforms previous state-of-the-art approaches based on both state-space models and Transformers. For example, our proposed PPMA-T/S/B models achieve 48.7%/51.1%/52.3% mIoU on the ADE20K semantic segmentation task, surpassing RMT-T/S/B by 0.7%/1.3%/0.3%, respectively. Code is available at https://github.com/zhongchenzhao/PPMA.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 55 of its 61 references that are in the map. First posted on arXiv 19 Jun 2025.

Builds on

55 of 61 references.

References · 55

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2023Segment Anythingcited by 8,234
  7. 2017Mask R-CNNcited by 7,277
  8. 2016Densely Connected Convolutional Networkscited by 6,720
  9. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  10. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  11. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  12. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
38 more
  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  2. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  3. 2022A ConvNet for the 2020scited by 3,579
  4. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  5. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  7. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
  8. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  9. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  10. 2017Random Erasing Data Augmentationcited by 1,239
  11. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  12. 2024VMamba: Visual State Space Modelcited by 969
  13. 2020Designing Network Design Spacescited by 960
  14. 2024WorldSimBench: Towards Video Generation Models as World Simulatorscited by 881
  15. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 718
  16. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  17. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  18. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  19. 2021Conditional Positional Encodings for Vision Transformerscited by 406
  20. 2024MambaIR: A Simple Baseline for Image Restoration with State-Space Modelcited by 352
  21. 2024VideoMamba: State Space Model for Efficient Video Understandingcited by 328
  22. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  23. 2022Neighborhood Attention Transformercited by 239
  24. 2024LocalMamba: Visual State Space Model with Windowed Selective Scancited by 236
  25. 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 224
  26. 2024PointMamba: A Simple State Space Model for Point Cloud Analysiscited by 167
  27. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
  28. 2021MPViT: Multi-Path Vision Transformer for Dense Predictioncited by 122
  29. 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 102
  30. 2022Inception Transformercited by 99
  31. 2024MambaIRv2: Attentive State Space Restorationcited by 94
  32. 2024RS-Mamba for Large Remote Sensing Image Dense Predictioncited by 81
  33. 2024DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesiscited by 72
  34. 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
  35. 2024Voxel Mamba: Group-Free State Space Models for Point Cloud based 3D Object Detectioncited by 66
  36. 2024Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Modelcited by 62
  37. 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
  38. 2024FreqMamba: Viewing Mamba from a Frequency Perspective for Image Derainingcited by 57

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024FlashMask: Efficient and Rich Mask Extension of FlashAttention
  2. 2026Spatial Priors via Space Filling Curves for Small and Limited Data Vision Transformers
  3. 2026SAFE-DiT: Semantics-Aware Fast-path Execution for High-Resolution Diffusion Transformers
  4. 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition
  5. 2025ViT-Linearizer: Distilling Quadratic Knowledge into Linear-Time Vision Models
  6. 2025Training-free Token Reduction for Vision Mamba
  7. 2026ViT-5: Vision Transformers for The Mid-2020s
  8. 2025MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling