On the Relaxation of Conditional Independence Assumption for Image Segmentation

Zixun Wang, Ben Dai
9/30/2026
cs.CVcs.AIcs.LG

Official code: ZixunWang/RankSEG-DEP (1 star, last commit 2026-09-30).

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.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2026] On the Relaxation of Conditional Independence Assumption for Image Segmentation

10PythonMay 5, 20263 weeks ago

Similar Papers

Cite this paper

@article{wang2026relaxation,
  title  = {On the Relaxation of Conditional Independence Assumption for Image Segmentation},
  author = {Zixun Wang and Ben Dai},
  year   = {2026},
  eprint = {2609.38930},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.38930v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.38930.svg)](https://codeofpaper.com/paper/2609.38930)

Discussion