Abstract

In semantic segmentation, a recent line of RankSEG methods directly optimizes Dice/IoU scores at inference time, improving alignment with evaluation metrics without modifying model training. Despite its theoretical and empirical success, RankSEG relies on the restrictive Conditional Independence Assumption (CIA), which ignores crucial label correlations and therefore degrades performance in ambiguous or low-contrast scenarios. However, accounting for full label dependence is computationally prohibitive, requiring $\mathcal{O}(d^3)$ time. To address this, we replace the CIA with a Spatially Localized Dependence (SLD) structure that captures local label correlations while keeping the dependence model tractable. We further overcome the remaining computational bottleneck via a Reciprocal Moment Approximation coupled with a novel fixed-point optimization strategy that eliminates exhaustive search. The proposed algorithm achieves a highly practical $\mathcal{O}(d \log d)$ complexity and consistently outperforms conventional argmax and CIA-based RankSEG across diverse segmentation benchmarks. Improvements are significant in low-contrast or small-object scenarios, where label dependence offers valuable signals complementary to image information for accurate segmentation. The code of experiments is available at https://github.com/ZixunWang/RankSEG-DEP.

Keywords

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Wang, Z., & Dai, B. (2026). On the Relaxation of Conditional Independence Assumption for Image Segmentation. https://omanscience.com/en/articles/on-the-relaxation-of-conditional-independence-assumption-for-image-segmentation

MLA 9

Wang, Zixun, and Ben Dai. "On the Relaxation of Conditional Independence Assumption for Image Segmentation." https://omanscience.com/en/articles/on-the-relaxation-of-conditional-independence-assumption-for-image-segmentation.

Chicago (author–date)

Wang, Zixun, and Ben Dai. 2026. "On the Relaxation of Conditional Independence Assumption for Image Segmentation." https://omanscience.com/en/articles/on-the-relaxation-of-conditional-independence-assumption-for-image-segmentation.

Harvard

Wang, Z. and Dai, B. (2026) 'On the Relaxation of Conditional Independence Assumption for Image Segmentation', Available at: https://omanscience.com/en/articles/on-the-relaxation-of-conditional-independence-assumption-for-image-segmentation.

Vancouver

Wang Z, Dai B. On the Relaxation of Conditional Independence Assumption for Image Segmentation. https://omanscience.com/en/articles/on-the-relaxation-of-conditional-independence-assumption-for-image-segmentation

IEEE

Z. Wang, and B. Dai, "On the Relaxation of Conditional Independence Assumption for Image Segmentation," https://omanscience.com/en/articles/on-the-relaxation-of-conditional-independence-assumption-for-image-segmentation.