Abstract
Image smoothing is a fundamental low-level vision task that aims to preserve salient structures of an image while removing insignificant details. Deep learning has been explored in image smoothing to deal with the complex entanglement of semantic structures and trivial details. However, current methods neglect two important facts in smoothing: 1) naive pixel-level regression supervised by the limited number of high-quality smoothing ground-truth could lead to domain shift and cause generalization problems towards real-world images; 2) texture appearance is closely related to object semantics, so that image smoothing requires awareness of semantic difference to apply adaptive smoothing strengths. To address these issues, we propose a novel Contrastive Semantic-Guided Image Smoothing Network (CSGIS-Net) that combines both contrastive prior and semantic prior to facilitate robust image smoothing. The supervision signal is augmented by leveraging undesired smoothing effects as negative teachers, and by incorporating segmentation tasks to encourage semantic distinctiveness. To realize the proposed network, we also enrich the original VOC dataset with texture enhancement and smoothing labels, namely VOC-smooth, which first bridges image smoothing and semantic segmentation. Extensive experiments demonstrate that the proposed CSGIS-Net outperforms state-of-the-art algorithms by a large margin.
Introduction
Image smoothing is a classic "low-level" vision task: the goal is to remove "noise" or "texture" (like the grain of a wooden table or the blades of grass in a field) while keeping the "salient structures" (the edges of the table or the outline of a dog).
Existing deep-learning approaches often struggle with two major issues. First, the Generalization Gap: most models are trained on a limited amount of high-quality data, leading to failure when encountering messy, real-world images (domain shift). Second, Semantic Blindness: traditional filters treat all pixels similarly based on local statistics. However, a "wall" and a "face" require different smoothing strengths. Without understanding what an object is (semantics), models often over-blur important details or leave behind stubborn textures.
Methodology
The authors propose the Contrastive Semantic-Guided Image Smoothing Network (CSGIS-Net), which uses a multi-task learning strategy to solve these issues.
1. System Architecture
The core is a smoothing network based on rHDC (residual Hybrid Dilated Convolution) blocks. It utilizes an "Edge Interpreter" to predict structural boundaries and a "Smooth Interpreter" to generate the final image. This backbone is supported by a Semantic Segmentation Module (Deeplabv3+) that forces the model to recognize different objects, allowing the smoothing process to be adaptive to the content.
2. Contrastive Learning: The "Negative Teacher"
Instead of just showing the model what a "perfect" smoothed image looks like, the authors incorporate contrastive learning. They provide the model with "negative" samples—images that are either over-smoothed (blurry) or under-smoothed (too textured).
As shown in the Contrastive Module, the loss function forces the model's output to move away from these bad examples in a latent feature space and toward the ground truth. By explicitly defining what a "bad" result looks like, the model gains a much clearer boundary for high-quality smoothing.
Datasets: VOC-smooth
To bridge the gap between smoothing and high-level vision, the authors created VOC-smooth. By augmenting the PASCAL VOC 2012 benchmark, they generated 15,000 images with three types of labels: texture-enhanced inputs, high-quality smoothing ground truths, and semantic segmentation masks. This is the first dataset to explicitly link image smoothing with semantic segmentation.
Key Results and Insights
CSGIS-Net outperformed eight state-of-the-art methods (including traditional filters like the Bilateral Filter and recent deep learning models like JESS) across multiple metrics:
- Quantitative Superiority: On the VOC-smooth dataset, it achieved a PSNR of 29.33 and an SSIM of 0.899, beating the next best method by nearly 1.0 dB in PSNR.
- Qualitative Performance: Visual results show that CSGIS-Net is significantly better at removing "strong" textures (like heavy brickwork or complex fabric patterns) that typically cause other models to fail or produce "halo" artifacts.
- Mutual Benefit: Interestingly, the authors found that well-smoothed images actually improve the performance of segmentation tasks. By removing "non-semantic" textures, the high-level features of objects become clearer to the AI.
Conclusion
CSGIS-Net demonstrates that texture is inherently linked to semantics. A model cannot perfectly smooth an image unless it understands the difference between a "texture" (like a pattern on a shirt) and a "structure" (the edge of the shirt). By leveraging negative knowledge and semantic priors, CSGIS-Net sets a new standard for robust image smoothing in real-world scenarios.
Summary updated