paper-with-me

Papers

QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Model

2024-10-09 · Fei Xie, Weijia Zhang, Zhongdao Wang, Chao Ma

Recent advancements in State Space Models, notably Mamba, have demonstrated superior performance over the dominant Transformer models, particularly in reducing the computational complexity from quadratic to linear. Yet, difficulties in adapting Mamba from language to vision tasks arise due to the distinct characteristics of visual data, such as the spatial locality and adjacency within images and large variations in information granularity across visual tokens. Existing vision Mamba approaches either flatten tokens into sequences in a raster scan fashion, which breaks the local adjacency of images, or manually partition tokens into windows, which limits their long-range modeling and generalization capabilities. To address these limitations, we present a new vision Mamba model, coined QuadMamba, that effectively captures local dependencies of varying granularities via quadtree-based image partition and scan. Concretely, our lightweight quadtree-based scan module learns to preserve the 2D locality of spatial regions within learned window quadrants. The module estimates the locality score of each token from their features, before adaptively partitioning tokens into window quadrants. An omnidirectional window shifting scheme is also introduced to capture more intact and informative features across different local regions. To make the discretized quadtree partition end-to-end trainable, we further devise a sequence masking strategy based on Gumbel-Softmax and its straight-through gradient estimator. Extensive experiments demonstrate that QuadMamba achieves state-of-the-art performance in various vision tasks, including image classification, object detection, instance segmentation, and semantic segmentation. The code is in https://github.com/VISION-SJTU/QuadMamba.

📄 PDF Abstract BibTeX arXiv:2410.06806

Code (1)

vision-sjtu/quadmamba 공식 구현 pytorch

Tasks

image-classificationImage ClassificationInstance SegmentationLong-range modelingMambaobject-detectionObject DetectionSemantic SegmentationState Space Models

Methods 이 논문이 사용한 방법론

Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Attention 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

QDM: Quadtree-Based Region-Adaptive Sparse Diffusion Models for Efficient Image Super-Resolution

2025-03-15 · Donglin Yang, Paul Vicol, Xiaojuan Qi, Renjie Liao 외

Deep learning-based super-resolution (SR) methods often perform pixel-wise computations uniformly across entire images, even in homogeneous regions where high-resolution refinement is redundant. We propose the Quadtree D…

Image Super-ResolutionSuper-Resolution

QuadTree Attention for Vision Transformers

2022-01-08 · ICLR 2022 4 · Shitao Tang, Jiahui Zhang, Siyu Zhu, Ping Tan

Transformers have been successful in many vision tasks, thanks to their capability of capturing long-range dependency. However, their quadratic computational complexity poses a major obstacle for applying them to vision …

object-detectionObject DetectionSemantic SegmentationStereo Matching

AQuaUI: Visual Token Reduction for GUI Agents with Adaptive Quadtrees

2026-05-19 · Yuankai Li, Tinghui Zhu, Ha Min Son, Zhe Zhao 외 arxiv

Large Multimodal Models (LMMs) have recently emerged as promising backbones for GUI-agent models, where high-resolution GUI screenshots are introduced to the prompts at each iteration step. However, these screenshots exh…

MHS-VM: Multi-Head Scanning in Parallel Subspaces for Vision Mamba

2024-06-10 · Zhongping Ji

Recently, State Space Models (SSMs), with Mamba as a prime example, have shown great promise for long-range dependency modeling with linear complexity. Then, Vision Mamba and the subsequent architectures are presented su…

MambaState Space Models

Discrete Gaussian Process Representations for Optimising UAV-based Precision Weed Mapping

2025-03-10 · Jacob Swindell, Madeleine Darbyshire, Marija Popovic, Riccardo Polvara

Accurate agricultural weed mapping using UAVs is crucial for precision farming applications. Traditional methods rely on orthomosaic stitching from rigid flight paths, which is computationally intensive and time-consumin…

Computational Efficiency