cs.CVSep 30, 2026

On the Relaxation of Conditional Independence Assumption for Image Segmentation

Authors: Zixun Wang, Ben Dai

Organizations: Department of Statistics and Data Science The Chinese University of Hong Kong

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 O(d3)\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 O(dlog⁡d)\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.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SegPAR: Class-Centric Decision-Based Sparse Attack for Semantic Segmentation

    Aug 11, 2026Dongsu Song, DaeYun GO, Boseung Seo +1Semantic SegmentationSparse Supervision

  2. A Unified Variational Framework for Deep Weakly Supervised Image Segmentation

    Jul 22, 2026Yin King Chu, Lingfeng Li, Sung Ha Kang +2VariationalSpatial Photonic Ising Machines

  3. Towards Fairness under Label Bias in Image Segmentation: Impact, Measurement and Mitigation

    May 7, 2026Aditya Parikh, Stella Frank, Sneha Das +1BiasesAlgorithmic Fairness