[Paper Review] A Regularized Convolutional Neural Network for Semantic Image Segmentation
This paper proposes a regularized softmax layer that integrates total variation (TV) spatial regularization into convolutional neural networks (CNNs) for semantic image segmentation. By modifying the softmax activation to include TV regularization, the method improves edge preservation and robustness to noise, significantly outperforming standard CNNs like Unet and Segnet on WBC, CamVid, and SUN-RGBD datasets, especially under noisy conditions.
Convolutional neural networks (CNNs) show outstanding performance in many image processing problems, such as image recognition, object detection and image segmentation. Semantic segmentation is a very challenging task that requires recognizing, understanding what's in the image in pixel level. Though the state of the art has been greatly improved by CNNs, there is no explicit connections between prediction of neighbouring pixels. That is, spatial regularity of the segmented objects is still a problem for CNNs. In this paper, we propose a method to add spatial regularization to the segmented objects. In our method, the spatial regularization such as total variation (TV) can be easily integrated into CNN network. It can help CNN find a better local optimum and make the segmentation results more robust to noise. We apply our proposed method to Unet and Segnet, which are well established CNNs for image segmentation, and test them on WBC, CamVid and SUN-RGBD datasets, respectively. The results show that the regularized networks not only could provide better segmentation results with regularization effect than the original ones but also have certain robustness to noise.
Motivation & Objective
- Address the lack of explicit spatial regularization in standard CNNs for semantic image segmentation, which leads to fragmented or irregular predictions.
- Improve robustness of segmentation models to noise by embedding spatial regularization directly into the network architecture.
- Preserve structural consistency (e.g., object boundaries) in predictions by enforcing smoothness across neighboring pixels.
- Enable seamless integration of traditional variational regularization (like TV) into deep learning frameworks without major architectural changes.
- Demonstrate the effectiveness of the approach across diverse datasets, including biomedical (WBC), urban scenes (CamVid), and indoor environments (SUN-RGBD)
Proposed method
- Propose a regularized softmax layer that incorporates total variation (TV) regularization into the loss function during backpropagation.
- Modify the gradient computation to include TV regularization terms, enabling the network to learn spatially smooth predictions while maintaining end-to-end differentiability.
- Apply the regularized softmax layer to existing CNN architectures—Unet and Segnet—without altering their encoder-decoder structures or other layers.
- Use a proximal gradient method to efficiently compute gradients for the TV-regularized softmax, minimizing computational overhead.
- Train the modified networks (RUnet, RSegnet) using standard optimization with fixed learning rates and batch sizes, while preserving pre-trained ImageNet weights for transfer learning.
- Evaluate performance using mIoU, accuracy, and reconstruction error (RE) on clean and noisy test data
Experimental results
Research questions
- RQ1Can integrating total variation (TV) regularization into the softmax activation of CNNs improve the spatial coherence of semantic segmentation predictions?
- RQ2Does the proposed regularization enhance robustness to noise in image segmentation, particularly in noisy or low-quality input data?
- RQ3How does the performance of RUnet and RSegnet compare to their original counterparts on diverse datasets with varying complexity and noise levels?
- RQ4Can the proposed method be applied to existing CNN architectures with minimal architectural changes and without retraining from scratch?
- RQ5Does the regularization prevent over-smoothing of object boundaries, especially in complex scenes with fine structures?
Key findings
- RUnet achieved a 27.40 mIoU on the clean SUN-RGBD dataset, outperforming standard Unet (26.50 mIoU), with a 0.9% improvement.
- On noisy SUN-RGBD data with σ=0.09 Gaussian noise, RSegnet2 maintained a mIoU of 21.90, compared to Segnet2’s 21.12, showing improved robustness.
- In the presence of salt-and-pepper noise (1% pixels corrupted), RSegnet2 achieved a mIoU of 24.42, outperforming Segnet2’s 23.36.
- The reconstruction error (RE) for RSegnet2 was 2.31 on clean data and 3.39 on high-noise data, significantly lower than Segnet2’s 4.84 and 5.40, respectively.
- RSegnet preserved fine structures like distant poles in CamVid, while post-processing TV on Segnet caused over-smoothing, demonstrating the advantage of in-network regularization.
- On the WBC dataset, RUnet maintained high segmentation quality under noise, while standard Unet’s performance degraded sharply, confirming the robustness of the proposed method.
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.