D-Convexity: A Unified Differentiable Convex Shape Prior via Quasi-Concavity for Data-driven Image Segmentation
Shengzhe Chen, Hao Yan
Abstract
Convexity is a fundamental geometric prior that underlies many natural and man-made structures, yet remains challenging to impose effectively in end-to-end trainable segmentation networks.
We revisit convexity from a functional perspective and propose a unified, thresholdfree convexity prior based on the quasi-concavity of the network's output mask function u. Instead of constraining a single binary segmentation, we require all super-level sets of u to be convex, transforming global shape constraints into local, differentiable inequalities on u and its derivatives. From this principle, we derive zero, first, and second-order characterizations, yielding respectively a local midpoint convexification algorithm, a gradient-based condition linked to supporting hyperplanes, and a sufficient second-order inequality expressed as a quadratic form on the tangent plane. The first and second-order formulations produce a compact convolutional loss that can be densely applied across the image without thresholding. Our quasi-concavity losses integrate seamlessly with modern segmentation networks via the proposed convex gradient projection module (CGPM). They consistently enforce convexity and improve shape regularity across multiple datasets, outperforming networks tailored for retinal segmentation and surpassing previous shape-aware methods. Remarkably, our analysis unifies a wide spectrum of previous convex shape models, from discrete 1-0-1 line constraints and graph-cuts convexity formulations to curvature or signed distance Laplacian based level-set priors, within a single continuous and differentiable framework. Code is available at https://github.com/ShengzheC/D-Convexity.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on3
- Active Boundary Loss for Semantic SegmentationChi Wang, Yunke Zhang, Miaomiao Cui, Peiran Ren et al.AAAI 2022 · 91 citations
- Convex Shape Prior for Multi-Object Segmentation Using a Single Level Set FunctionShousheng Luo, Xue-Cheng Tai, Limei Huo, Yang Wang et al.ICCV 2019 · 26 citations
- Convex Combination Star Shape Prior for Data-driven Image Semantic SegmentationXinyu Zhao, Jun Xie, Shengzhe Chen, Jun LiuCVPR 2025
Related papers
- Implicit Representations for Constrained Image SegmentationJan Philipp Schneider, Mishal Fatima, Jovita Lukasik, Andreas Kolb et al.ICML 2024 · 4 citations
- Conformable Convolution for Topologically Constrained Learning of Complex Anatomical StructuresYousef Yeganeh, Goktug Guvercin, Nassir Navab, Azade FarshadAAAI 2026 · 1 citation
- Deep Active Surface ModelsUdaranga Wickramasinghe, Pascal Fua, Graham KnottCVPR 2021
- Differentiable Laplacian Matrix Guided Superpixel SegmentationJeremy Juybari, Josh Hamilton, Shuvra Das, Chaofan Chen et al.CVPR 2026
- AD-GBC: Anisotropic Granular-Ball Skip-Connection Refiner for UNet-Based Medical Image SegmentationXiya Shen, Qinglin Zhao, Li FengCVPR 2026
