[Paper Review] Image Segmentation by Iterative Inference from Conditional Score Estimation
This paper proposes a novel iterative inference method for image semantic segmentation using conditional denoising autoencoders to estimate the score (gradient of log-density) of the conditional distribution of pixel labels given an image. By corrupting the feedforward network's prediction rather than the ground truth, the model learns to iteratively refine predictions via gradient ascent toward a high-probability configuration, outperforming CRF-based post-processing and baseline models on CamVid and PASCAL-Context benchmarks.
Inspired by the combination of feedforward and iterative computations in the virtual cortex, and taking advantage of the ability of denoising autoencoders to estimate the score of a joint distribution, we propose a novel approach to iterative inference for capturing and exploiting the complex joint distribution of output variables conditioned on some input variables. This approach is applied to image pixel-wise segmentation, with the estimated conditional score used to perform gradient ascent towards a mode of the estimated conditional distribution. This extends previous work on score estimation by denoising autoencoders to the case of a conditional distribution, with a novel use of a corrupted feedforward predictor replacing Gaussian corruption. An advantage of this approach over more classical ways to perform iterative inference for structured outputs, like conditional random fields (CRFs), is that it is not any more necessary to define an explicit energy function linking the output variables. To keep computations tractable, such energy function parametrizations are typically fairly constrained, involving only a few neighbors of each of the output variables in each clique. We experimentally find that the proposed iterative inference from conditional score estimation by conditional denoising autoencoders performs better than comparable models based on CRFs or those not using any explicit modeling of the conditional joint distribution of outputs.
Motivation & Objective
- To develop a method for structured prediction in image segmentation that captures complex, multimodal conditional distributions of output variables.
- To replace explicit energy function design in CRFs with end-to-end learned score estimation via denoising autoencoders.
- To improve segmentation coherence and accuracy by iteratively refining predictions using gradient ascent based on estimated conditional scores.
- To investigate whether corrupting the feedforward prediction instead of ground truth improves performance in score-based iterative inference.
- To demonstrate state-of-the-art performance on benchmark datasets without end-to-end training with the segmentation network.
Proposed method
- A conditional denoising autoencoder is trained to predict the difference between a corrupted output and the true output, approximating the score (negative gradient of log-density) of the conditional distribution p(y|x).
- The model takes as input a corrupted segmentation prediction y and image features h, and outputs a vector that estimates ∂log p(y|x)/∂y.
- Iterative inference performs gradient ascent on y using the predicted score: y ← y + ε × (ŷ − y), where ε is the step size.
- The corruption is applied to the feedforward network's output (not the ground truth), simulating the initial state of the iterative process.
- The method is applied as a post-processing step after a pre-trained feedforward segmentation network, avoiding end-to-end training.
- The approach leverages deep convolutional architectures to model long-range dependencies beyond local cliques, unlike traditional CRFs.
Experimental results
Research questions
- RQ1Can conditional denoising autoencoders effectively estimate the score of the conditional distribution p(y|x) for structured prediction tasks?
- RQ2Does corrupting the feedforward prediction rather than the ground truth lead to better performance in iterative inference for segmentation?
- RQ3Can score-based iterative inference outperform CRF-based post-processing in producing coherent, high-accuracy segmentations?
- RQ4Is the performance gain robust across different backbone architectures and datasets?
- RQ5Does end-to-end training with the segmentation network improve results, or is post-processing sufficient?
Key findings
- The proposed method, DAE(y), outperforms DAE(y_true) by 2.2% in mean IoU on FCN-8, with consistent improvements across all classes.
- On FC-DenseNet103, DAE(y) still shows a noticeable improvement over DAE(y_true), though the margin is smaller than on FCN-8.
- The method improves segmentation quality by correcting structural errors, such as adding missing objects like fences, which CRF fails to recover.
- CRF post-processing sometimes degrades performance on certain classes, such as column poles, while the proposed method maintains or improves accuracy.
- The performance is robust to step size and number of iterations, with optimal performance achievable across a range of hyperparameters.
- End-to-end training with the segmentation network did not improve results and was more memory-intensive, indicating that post-processing is sufficient and efficient.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.