arXiv:2507.06569cs.CV2025-07

提出三类损失函数,提升边缘检测精度与边界定位能力。

Edge-Boundary-Texture Loss: A Tri-Class Generalization of Weighted Binary Cross-Entropy for Enhanced Edge Detection

  • 将像素分为边缘、边界、纹理三类,分别赋予不同监督权重
  • 在多个数据集上显著优于传统加权二元交叉熵损失
  • 超参数统一且鲁棒,易于实际部署

边缘检测(ED)是计算机视觉中的基础任务,但其性能常受物体边界附近非边缘像素模糊性影响。现有广泛使用的加权二元交叉熵(WBCE)损失对所有非边缘像素一视同仁,忽略边缘周围的结构细节,导致预测结果模糊。本文提出边-界-纹理(EBT)损失,将像素显式划分为三类:边缘、边界和纹理,并为每类分配不同的监督权重。该三分类框架通过引导模型关注边缘精度与上下文边界定位,实现更结构化的学习。理论上证明,EBT损失是WBCE的推广形式,后者为其极限情形。在多个基准上的大量实验表明,EBT损失在定量和感知评价上均表现更优。此外,所有模型与数据集使用统一超参数,且对适度变化具有鲁棒性,表明该损失几乎无需微调,可轻松实用部署。

原文摘要 · Abstract (English)

Edge detection (ED) remains a fundamental task in computer vision, yet its performance is often hindered by the ambiguous nature of non-edge pixels near object boundaries. The widely adopted Weighted Binary Cross-Entropy (WBCE) loss treats all non-edge pixels uniformly, overlooking the structural nuances around edges and often resulting in blurred predictions. In this paper, we propose the Edge-Boundary-Texture (EBT) loss, a novel objective that explicitly divides pixels into three categories, edge, boundary, and texture, and assigns each a distinct supervisory weight. This tri-class formulation enables more structured learning by guiding the model to focus on both edge precision and contextual boundary localization. We theoretically show that the EBT loss generalizes the WBCE loss, with the latter becoming a limit case. Extensive experiments across multiple benchmarks demonstrate the superiority of the EBT loss both quantitatively and perceptually. Furthermore, the consistent use of unified hyperparameters across all models and datasets, along with robustness to their moderate variations, indicates that the EBT loss requires minimal fine-tuning and is easily deployable in practice.

边缘检测损失函数图像分割

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。