Lune

CVPR2026Top-tier venue

MEMO: Human-like Crisp Edge Detection Using Masked Edge Prediction

Jiaxin Cheng, Yue Wu, Yicong Zhou

Abstract

Learning-based edge detection models trained with crossentropy loss often suffer from thick edge predictions, which deviate from the crisp, single-pixel annotations typically provided by humans. While previous approaches to achieving crisp edges have focused on designing specialized loss functions or modifying network architectures, we show that a carefully designed training and inference strategy alone is sufficient to achieve human-like edge quality. In this work, we introduce the Masked Edge Prediction MOdel (MEMO), which produces both accurate and crisp edges using only cross-entropy loss. We first construct a largescale synthetic edge dataset to pre-train MEMO, enhancing its generalization ability. Subsequent fine-tuning on downstream datasets requires only a lightweight module comprising 1.2% additional parameters. During training, MEMO learns to predict edges under varying ratios of input masking. A key insight guiding our inference is that thick edge predictions typically exhibit a confidence gradient: high in the center and lower toward the boundaries. Leveraging this, we propose a novel progressive prediction strategy that sequentially finalizes edge predictions in order of prediction confidence, resulting in thinner and more precise contours. Our method achieves visually appealing, post-processing-free, human-like edge maps and outperforms prior methods on crispness-aware evaluations. https://github.com/cplusx/MEMO Edge Detection

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • EDTER: Edge Detection with Transformer cites Pixel Difference Networks for Efficient Edge Detection
  • Segment Anything cites EDTER: Edge Detection with Transformer
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  3. Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
  4. Pixel Difference Networks for Efficient Edge DetectionZhuo Su, Wenzhe Liu, Zitong Yu, Dewen Hu et al.ICCV 2021 · 488 citations
  5. EDTER: Edge Detection with TransformerMengyang Pu, Yaping Huang, Yuming Liu, Qingji Guan et al.CVPR 2022 · 224 citations

Related papers

  1. MatchED: Crisp Edge Detection Using End-to-End, Matching-based SupervisionBedrettin Cetinkaya, Sinan Kalkan, Emre AkbasCVPR 2026 · 2 citations
  2. DiffusionEdge: Diffusion Probabilistic Model for Crisp Edge DetectionYunfan Ye, Kai Xu, Yuhang Huang, Renjiao Yi et al.AAAI 2024 · 101 citations
  3. MuGE: Multiple Granularity Edge DetectionCaixia Zhou, Yaping Huang, Mengyang Pu, Qingji Guan et al.CVPR 2024 · 25 citations
  4. SAUGE: Taming SAM for Uncertainty-Aligned Multi-Granularity Edge DetectionXing Liufu, Chaolei Tan, Xiaotong Lin, Yonggang Qi et al.AAAI 2025 · 10 citations
  5. The Treasure Beneath Multiple Annotations: An Uncertainty-Aware Edge DetectorCaixia Zhou, Yaping Huang, Mengyang Pu, Qingji Guan et al.CVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines