EDMB: Edge Detector with Mamba

Yachuan Li, Xavier Soria Poma, Yun Bai, Qian Xiao, Chaozhi Yang +2 more
1/8/2025
cs.CV

Official code: Li-yachuan/EDMB (18 stars, last commit 2026-04-16).

Abstract

Transformer-based models have made significant progress in edge detection, but their high computational cost is prohibitive. Recently, vision Mamba have shown excellent ability in efficiently capturing long-range dependencies. Drawing inspiration from this, we propose a novel edge detector with Mamba, termed EDMB, to efficiently generate high-quality multi-granularity edges. In EDMB, Mamba is combined with a global-local architecture, therefore it can focus on both global information and fine-grained cues. The fine-grained cues play a crucial role in edge detection, but are usually ignored by ordinary Mamba. We design a novel decoder to construct learnable Gaussian distributions by fusing global features and fine-grained features. And the multi-grained edges are generated by sampling from the distributions. In order to make multi-granularity edges applicable to single-label data, we introduce Evidence Lower Bound loss to supervise the learning of the distributions. On the multi-label dataset BSDS500, our proposed EDMB achieves competitive single-granularity ODS 0.837 and multi-granularity ODS 0.851 without multi-scale test or extra PASCAL-VOC data. Remarkably, EDMB can be extended to single-label datasets such as NYUDv2 and BIPED. The source code is available at https://github.com/Li-yachuan/EDMB.

View on arXivView PDF

Code Implementations(1)

Li-yachuan/EDMBOfficial100%

Code of paper "EDMB: Edge Detector with Mamba"

180PythonSep 1, 20246 months ago

Similar Papers

Cite this paper

@article{li2025edmb,
  title  = {EDMB: Edge Detector with Mamba},
  author = {Yachuan Li and Xavier Soria Poma and Yun Bai and Qian Xiao and Chaozhi Yang and Guanlin Li and Zongmin Li},
  year   = {2025},
  eprint = {2501.04846},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.04846v1}
}

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/2501.04846.svg)](https://codeofpaper.com/paper/2501.04846)

Discussion