atlas

Research map / Detection and segmentation / CNN features

Polyline Path Masked Attention for Vision Transformer

NeurIPS 2025 · Detection and segmentation › CNN features · approach: Plain and high-resolution ViTs · 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 Polyline Path Masked Attention (PPMA), which turns Mamba2's 1D structured mask into a 2D polyline-path mask and injects it into ViT self-attention and criss-cross attention as an explicit positional encoding.

Problem

ViTs' positional encodings do not explicitly model spatial adjacency, and Mamba-style 1D scanning breaks 2D spatial adjacency, so both lag behind Transformer and SSM backbones on high-level vision tasks.

Approach

Define an L-shaped (V2H and H2V) polyline scanning path on the 2D token grid and a corresponding decay mask whose product of horizontal and vertical input-dependent decays decomposes into two 1D structured masks, enabling efficient O(N^1.5) multiplication; the mask is Hadamard-multiplied into softmax attention of ViTs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the 2D polyline path mask (ablation)PPMA-T · ImageNet-1KTop-1 accuracy: +0.32%Helped
add the 2D polyline path mask (ablation)PPMA-T · ADE20KSS mIoU: +0.95%Helped
replace no mask with the RMT decay mask (ablation)PPMA-T · ImageNet-1KTop-1 accuracy: 82.28 -> 82.35Helped
replace no mask with the RMT decay mask (ablation)PPMA-T · ADE20KSS mIoU: 47.78 -> 48.01Helped
add the cross scan mask (ablation)PPMA-T · ImageNet-1KTop-1 accuracy: 82.28 -> 82.44Helped
add the cross scan mask (ablation)PPMA-T · ADE20KSS mIoU: 47.78 -> 48.14Helped
add the Hilbert scan mask (ablation)PPMA-T · ImageNet-1KTop-1 accuracy: 82.28 -> 82.44Helped
add the Hilbert scan mask (ablation)PPMA-T · ADE20KSS mIoU: 47.78 -> 48.14Helped
use a V2H polyline path mask (ablation)PPMA-T · ImageNet-1KTop-1 accuracy: 82.28 -> 82.44Helped
use a V2H polyline path mask (ablation)PPMA-T · ADE20KSS mIoU: 47.78 -> 48.57Helped
use separate horizontal and vertical decay factors instead of a shared factor (ablation)PPMA-T · ImageNet-1KTop-1 accuracy: 82.37 -> 82.60Helped
use separate horizontal and vertical decay factors instead of a shared factor (ablation)PPMA-T · ADE20KSS mIoU: 48.27 -> 48.73Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K MSCOCO2017 ADE20K

Benchmarks: ImageNet-1K MSCOCO2017 ADE20K

Metrics: top-1 accuracy box AP mask AP mIoU FLOPs throughput

Baselines: RMT VMamba MLLA 2DMamba Spatial-Mamba MambaVision Swin CSWin ConvNeXt GrootVL

Builds on: Mamba2 State Space Duality RMT criss-cross attention UPerNet

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