paper-with-me

Papers

HRSAM: Efficient Interactive Segmentation in High-Resolution Images

2024-07-02 · You Huang, Wenbin Lai, Jiayi Ji, Liujuan Cao, Shengchuan Zhang, Rongrong Ji

The Segment Anything Model (SAM) has advanced interactive segmentation but is limited by the high computational cost on high-resolution images. This requires downsampling to meet GPU constraints, sacrificing the fine-grained details needed for high-precision interactive segmentation. To address SAM's limitations, we focus on visual length extrapolation and propose a lightweight model named HRSAM. The extrapolation enables HRSAM trained on low resolutions to generalize to high resolutions. We begin by finding the link between the extrapolation and attention scores, which leads us to base HRSAM on Swin attention. We then introduce the Flexible Local Attention (FLA) framework, using CUDA-optimized Efficient Memory Attention to accelerate HRSAM. Within FLA, we implement Flash Swin attention, achieving over a 35% speedup compared to traditional Swin attention, and propose a KV-only padding mechanism to enhance extrapolation. We also develop the Cycle-scan module that uses State Space models to efficiently expand HRSAM's receptive field. We further develop the HRSAM++ within FLA by adding an anchor map, providing multi-scale data augmentation for the extrapolation and a larger receptive field at slight computational cost. Experiments show that, under standard training, HRSAMs surpass the previous SOTA with only 38% of the latency. With SAM-distillation, the extrapolation enables HRSAMs to outperform the teacher model at lower latency. Further finetuning achieves performance significantly exceeding the previous SOTA.

📄 PDF Abstract BibTeX arXiv:2407.02109

Code (1)

youhuang67/high-resolution-segment-anything 공식 구현 pytorch

Tasks

Data AugmentationGPUInteractive SegmentationSegmentationState Space Models

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Focus 설명 없음
BASE 설명 없음

Similar Papers 제목 키워드 기반

PC-SAM: Patch-Constrained Fine-Grained Interactive Road Segmentation in High-Resolution Remote Sensing Images

2026-04-01 · Chengcheng Lv, Rushi Li, Mincheng Wu, Xiufang Shi 외 arxiv

Road masks obtained from remote sensing images effectively support a wide range of downstream tasks. In recent years, most studies have focused on improving the performance of fully automatic segmentation models for this…

Interactive SegmentationRoad Segmentation

High Fidelity Interactive Video Segmentation Using Tensor Decomposition Boundary Loss Convolutional Tessellations and Context Aware Skip Connections

2020-11-23 · Anthony D. Rhodes, Manan Goel

We provide a high fidelity deep learning algorithm (HyperSeg) for interactive video segmentation tasks using a convolutional network with context-aware skip connections, and compressed, hypercolumn image features combine…

Interactive SegmentationSegmentationTensor DecompositionVideo Segmentation+1

Towards Fine-grained Interactive Segmentation in Images and Videos

2025-02-12 · Yuan YAO, Qiushi Yang, Miaomiao Cui, Liefeng Bo

The recent Segment Anything Models (SAMs) have emerged as foundational visual models for general interactive segmentation. Despite demonstrating robust generalization abilities, they still suffer performance degradations…

Interactive SegmentationSegmentation

DeepIGeoS: A Deep Interactive Geodesic Framework for Medical Image Segmentation

2017-07-03 · Guotai Wang, Maria A. Zuluaga, Wenqi Li, Rosalind Pratt 외

Accurate medical image segmentation is essential for diagnosis, surgical planning and many other applications. Convolutional Neural Networks (CNNs) have become the state-of-the-art automatic segmentation methods. However…

Brain Tumor SegmentationImage SegmentationInteractive SegmentationMedical Image Segmentation+4

High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs

2017-11-30 · CVPR 2018 6 · Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao 외

We present a new method for synthesizing high-resolution photo-realistic images from semantic label maps using conditional generative adversarial networks (conditional GANs). Conditional GANs have enabled a variety of ap…

Conditional Image GenerationFundus to Angiography GenerationImage GenerationImage-to-Image Translation+5