A New Convolutional Network-in-Network Structure and Its Applications in Skin Detection, Semantic Segmentation, and Artifact Reduction

Yoonsik Kim, Insung Hwang, Nam Ik ChoarXiv 2017

Introduction

Researchers from Seoul National University have developed a novel "Network-in-Network" (NiN) architecture specifically designed for image-to-image tasks. Unlike traditional convolutional neural networks (CNNs) optimized for classification, this structure excels at dense pixel-wise predictions such as skin detection, semantic segmentation, and image artifact reduction. By maintaining full spatial resolution and utilizing multi-scale kernels, the model achieves state-of-the-art performance with a remarkably lean footprint of approximately 300,000 parameters.

Applications of the proposed NiN structure: skin detection (left), semantic segmentation (middle), and artifact reduction (right).

The Challenge: Balancing Receptive Field and Spatial Detail

Most heavyweight CNNs, like GoogLeNet or VGG, rely on pooling layers to downsample images. This process is essential for image classification as it extracts high-level abstract features and increases the "receptive field"—the area of the input image that influences a specific neuron.

However, for image-to-image problems where the output must be a pixel-perfect map of the input, pooling is problematic. It destroys the fine spatial details required for accurate reconstruction. While existing solutions often employ complex encoder-decoder structures with deconvolution layers to recover this lost detail, these methods are often computationally expensive and can result in coarse outputs.

Methods: The Modified Inception Module

The proposed architecture addresses these issues by reimagining the Inception module for dense prediction. The approach rests on three key architectural shifts:

  1. Removal of Pooling: All pooling and subsampling layers are eliminated. This ensures that the feature maps remain the same size as the input throughout the entire network, preserving spatial integrity.
  2. Introduction of Larger Kernels: To compensate for the reduced receptive field caused by removing pooling, the authors introduced a 7x7 convolution branch to the standard Inception module. This allows the network to capture wider contextual information without increasing depth excessively.
  3. Network-in-Network Structure: The final model consists of four initial convolution layers followed by a cascade of eight modified Inception modules.
Comparison between the original Inception module and the proposed modified version, which removes pooling and adds a 7x7 convolution branch.

Experimental Results

The researchers validated their model across three distinct domains, demonstrating its versatility and efficiency.

Skin Detection

Evaluated on the ECU and Pratheepan datasets, the model achieved an accuracy of 0.9562 and an F-measure of 0.8917 on the ECU dataset. These results outperformed established methods like Bayesian and FPSD, proving the effectiveness of maintaining spatial resolution for identifying skin pixels.

Semantic Segmentation

On the CamVid dataset (focusing on an 11-class set), the model achieved a Mean Intersection over Union (mIoU) of 0.517. This performance notably surpassed popular architectures such as SegNet (0.477) and FCN (0.450), which are significantly larger in terms of parameter count.

Artifact Reduction

The model was also tested for its ability to remove JPEG compression noise. On the LIVE1 dataset with a quality factor of 10, it achieved a Peak Signal-to-Noise Ratio (PSNR) of 29.25, exceeding specialized models like AR-CNN (28.98) and RAR-CNN (29.08).

Conclusion

The proposed NiN structure demonstrates that for tasks where input and output dimensions are identical, maintaining a 1:1 pixel mapping is superior to the traditional downsampling-upsampling paradigm. By prioritizing breadth (multi-scale kernels) over depth and avoiding spatial loss, the network achieves high performance with a fraction of the parameters used by general-purpose models. While it still faces challenges with high-complexity occlusions, it represents a significant step forward in efficient, high-precision image processing.

Summary updated

Abstract

The inception network has been shown to provide good performance on image classification problems, but there are not much evidences that it is also effective for the image restoration or pixel-wise labeling problems. For image restoration problems, the pooling is generally not used because the decimated features are not helpful for the reconstruction of an image as the output. Moreover, most deep learning architectures for the restoration problems do not use dense prediction that need lots of training parameters. From these observations, for enjoying the performance of inception-like structure on the image based problems we propose a new convolutional network-in-network structure. The proposed network can be considered a modification of inception structure where pool projection and pooling layer are removed for maintaining the entire feature map size, and a larger kernel filter is added instead. Proposed network greatly reduces the number of parameters on account of removed dense prediction and pooling, which is an advantage, but may also reduce the receptive field in each layer. Hence, we add a larger kernel than the original inception structure for not increasing the depth of layers. The proposed structure is applied to typical image-to-image learning problems, i.e., the problems where the size of input and output are same such as skin detection, semantic segmentation, and compression artifacts reduction. Extensive experiments show that the proposed network brings comparable or better results than the state-of-the-art convolutional neural networks for these problems.
BibTeX
@misc{kim2017new,
  author = {Yoonsik Kim and Insung Hwang and Nam Ik Cho},
  title = {{A New Convolutional Network-in-Network Structure and Its Applications in Skin Detection, Semantic Segmentation, and Artifact Reduction}},
  year = {2017},
  eprint = {1701.06190},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.06190},
}
Figure