Abstract
We develop Self2Seg, a self-supervised method for the joint segmentation and denoising of a single image. To this end, we combine the advantages of variational segmentation with self-supervised deep learning. One major benefit of our method lies in the fact, that in contrast to data-driven methods, where huge amounts of labeled samples are necessary, Self2Seg segments an image into meaningful regions without any training database. Moreover, we demonstrate that self-supervised denoising itself is significantly improved through the region-specific learning of Self2Seg. Therefore, we introduce a novel self-supervised energy functional in which denoising and segmentation are coupled in a way that both tasks benefit from each other. We propose a unified optimisation strategy and numerically show that for noisy microscopy images our proposed joint approach outperforms its sequential counterpart as well as alternative methods focused purely on denoising or segmentation.
Introduction
In scientific imaging, particularly biomedical microscopy, researchers frequently encounter high levels of noise and a lack of labeled training data. The standard approach—denoising an image first and then segmenting it—is often sub-optimal. Noise can obscure boundaries, leading to "leaky" segmentations, while global denoising algorithms often fail to account for the distinct statistical properties of different image regions, such as a textured foreground versus a smooth background. Self2Seg addresses these challenges by proposing a zero-shot, unsupervised framework that performs denoising and segmentation simultaneously on a single input image.
Methods: The Self2Seg Framework
The core of Self2Seg is a joint energy functional that merges classical Chan-Vese variational models with self-supervised Convolutional Neural Networks (CNNs).
The "Two Experts" Strategy
Instead of applying a single global denoiser, Self2Seg trains two separate CNN "experts": one for the foreground ($D_F$) and one for the background ($D_B$). These experts are trained using a modified Noise2Fast strategy, which employs a "blind-spot" checkerboard downsampling to prevent the network from simply learning the identity function.
Alternating Optimization
The segmentation mask $u$ is updated based on the relative performance of these experts. If the foreground expert $D_F$ denoises a pixel with lower reconstruction error than the background expert $D_B$, that pixel is more likely assigned to the foreground. The optimization follows an iterative process:
- Update CNNs: Fix the mask and optimize CNN parameters using the ADAM optimizer.
- Update Mask: Fix the CNNs and refine the segmentation mask using the Chambolle-Pock primal-dual algorithm.
Results and Discussion
The authors evaluated Self2Seg across diverse datasets, including microscopy cell nuclei (DSB2018), Brodatz textures, and natural images.
Key Insights
A central finding is that denoising error serves as a proxy for segmentation. When a network specialized for one region fails to denoise another, it signals a boundary. Unlike traditional models that assume piecewise constant regions, Self2Seg uses CNNs to segment based on complex texture and structure. This creates a mutual enhancement loop: better segmentation provides cleaner training data for the experts, which in turn provides higher fidelity for the segmentation mask.
Performance
On the DSB2018 dataset, Self2Seg consistently achieved higher Dice scores than sequential denoising-segmentation pipelines. It also outperformed partially supervised methods like DenoiSeg when training data was limited to very few images. Visual results on natural images, such as the zebra shown below, demonstrate that the joint approach recovers sharper edges and better detail than global self-supervised denoisers.
Conclusion
Self2Seg provides a powerful "zero-shot" tool for segmenting and denoising unique scientific data without pre-existing labels. While the current implementation faces challenges with mask convergence in highly complex scenes—sometimes requiring a mask prior—it represents a significant step toward robust unsupervised image analysis. Future work may explore incorporating contrastive learning or alternative denoiser backbones to handle larger-scale repeating patterns.
Summary updated