Deterministic Mode Proposals: An Efficient Alternative to Generative Sampling for Ambiguous Segmentation
Organizations: KTH Royal Institute of Technology, Stockholm, Sweden
Abstract
Many segmentation tasks, such as medical image segmentation or future state prediction, are inherently ambiguous, meaning that multiple predictions are equally correct. Current methods typically rely on generative models to capture this uncertainty. However, identifying the underlying modes of the distribution with these methods is computationally expensive, requiring large numbers of samples and post-hoc clustering. In this paper, we shift the focus from stochastic sampling to the direct generation of likely outcomes. We introduce mode proposal models, a deterministic framework that efficiently produces a fixed-size set of proposal masks in a single forward pass. To handle superfluous proposals, we adapt a confidence mechanism, traditionally used in object detection, to the high-dimensional space of segmentation masks. Our approach significantly reduces inference time while achieving higher ground-truth coverage than existing generative models. Furthermore, we demonstrate that our model can be trained without knowing the full distribution of outcomes, making it applicable to real-world datasets. Finally, we show that by decomposing the velocity field of a pre-trained flow model, we can efficiently estimate prior mode probabilities for our proposals.
Figures & tables
| Dataset | Method | Proposals | HM IoU* | Runtime |
| MMFire | ProbU-Net [ 9 ] | 16 | 0.637 | 0h12m |
| ProbU-Net [ 9 ] | 32 | 0.687 | 0h27m | |
| Diffusion + SPELL [ 9 ] | 16 | 0.784 | 0h55m | |
| Diffusion + SPELL [ 9 ] | 32 | 0.830 | 2h17m | |
| ModeProposalNet (Single) | 16 | 0.909 | 0h2m | |
| ModeProposalNet (Full) | 16 | 0.923 | 0h2m |
| Method | Proposals | HM IoU | |
|---|---|---|---|
| CIMD [ 22 ] , reported in [ 26 ] | 32 | 0.592 | |
| BerDiff [ 3 ] | 16 | 0.596 | |
| CCDM [ 26 ] | 32 | 0.631 | |
| MoSE [ 8 ] | 100 | 0.638 | |
| JProbU-Net [ 27 ] | 32 | 0.647 | |
| P2SAM [ 11 ] | 16 | 0.679 |
| Scenario | Filter duplicates | Selection F1 | HM IoU* | Proposals |
|---|---|---|---|---|
| MMFire - 8 modes | ||||
| Full | ✗ | 0.994 | 0.923 | 16.0 |
| Full | ✓ | 0.920 | 7.9 | |
| Single | ✗ | 0.692 | 0.910 | 16.0 |
| Single | ✓ | 0.894 | 14.0 | |
| Cityscapes - 16 modes | ||||
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Epochs | Proposals | Scenario | Loss function | Learning rate | |
|---|---|---|---|---|---|---|
| MMFire | 100 | 16 | Single | MSE | 1e-3 | 1e-2 |
| MMFire | 100 | 16 | Full | DiceFocal | 1e-3 | 1e-2 |
| Cityscapes | 400 | 32 | Single | MSE | 1e-4 | 1e-1 |
| Cityscapes | 400 | 32 | Full | MSE | 1e-4 | 1e-1 |
| LIDC | 100 | 8 | Single | DiceFocal | 1e-3 | 1e-3 |
| LIDC | 100 | 8 | Full | DiceFocal | 1e-3 | 1e-1 |
| Training regime | Pretrained | Frozen weights | HM IoU* | Selection F1 |
|---|---|---|---|---|
| From scratch | ✗ | ✗ | 0.927 | 0.948 |
| All weights | ✓ | ✗ | 0.927 | 0.952 |
| Decoder only | ✓ | ✓ | 0.923 | 0.994 |
| Last conv. only | ✓ | ✓ | 0.752 | 0.933 |
| Proposals | HM IoU | HM IoU multi | HM IoU* | |
|---|---|---|---|---|
| 0.0 | 8 | 0.624 | 0.834 | 0.799 |
| 0.0 | 16 | 0.690 | 0.852 | 0.818 |
| 0.0 | 32 | 0.797 | 0.863 | 0.832 |
| 0.0 | 64 | 0.868 | 0.872 | 0.844 |
| 0.0 | 128 | 0.869 | 0.869 | 0.840 |
| 0.1 | 8 | 0.622 | 0.831 | 0.794 |
| Method | BSS | ||||
|---|---|---|---|---|---|
| Target distribution | 0.050 | 0.250 | 0.750 | 0.950 | - |
| Proposals (manual) | 0.050 | 0.142 | 0.762 | 0.910 | 0.983 |
| GT masks | 0.053 | 0.145 | 0.706 | 0.921 | 0.982 |
| Training targets | Proposals | HM IoU* | Selection F1 |
|---|---|---|---|
| Full | 8 | 0.923 | 0.997 |
| Full | 16 | 0.923 | 0.994 |
| Full | 32 | 0.924 | 0.978 |
| Single | 8 | 0.883 | 0.995 |
| Single | 16 | 0.910 | 0.692 |
| Single | 32 | 0.914 | 0.306 |
| Samples | Brier Skill Score |
|---|---|
| 8 | 0.913 |
| 16 | 0.910 |
| 32 | 0.916 |
| 64 | 0.919 |
Segmentation Uncertainty Estimation
Segmentation uncertainty estimation measures where pixel- or object-level masks may be wrong, ambiguous, or unreliable.
See all 100 papers