Impact of Batch Normalization and Spatial Dropout on VGG-11, NiN, and GoogLeNet

QR Code
Export Citation

Rafal BOGIEL

Military University of Technology, Warsaw, Poland

Cite this Article as:

Rafal BOGIEL (2026)," Impact of Batch Normalization and Spatial Dropout on VGG-11, NiN, and GoogLe Net", Communications of the IBIMA, Vol. 2026 (2026), Article ID 267504, https://doi.org/10.5171/2026.267504

Copyright © 2026. Rafal BOGIEL. Distributed under Creative Commons Attribution 4.0 International CC-BY 4.0

Abstract

We study the effects of batch normalization and spatial dropout on the performance of VGG-11, Network in Network, and GoogLeNet architectures. We incorporate these regularization techniques into each model and evaluate their impact on classification accuracy and average loss. Experimental results show that spatial dropout has a limited influence on performance metrics, whereas batch normalization consistently improves model performance. Moreover, combining both methods does not yield significant gains beyond those achieved by batch normalization alone.

Keywords: VGG-11, Network in Network, GoogLeNet, regularization, batch normalization, spatial dropout

Introduction

Deep convolutional neural networks (CNNs) have achieved state-of-the-art performance in a wide range of computer vision tasks, including image classification and object recognition (Huang et al., 2017) (He et al., 2016). Architectures such as VGG (Simonyan and Zisserman, 2015), Network in Network (Lin et al., 2014), and GoogLeNet (Szegedy et al., 2015) have played a significant role in the development of deep learning by demonstrating the effectiveness of increased depth and architectural innovation. However, training deep CNNs remains challenging due to optimization instability, slow convergence, and overfitting (Darwish, 2024) (Gupta and Jindal, 2025) (Korkmaz, 2025).

Batch normalization (Ioffe and Szegedy, 2015) was introduced to address these issues by normalizing intermediate activations, thereby stabilizing gradient propagation and accelerating training. In addition to improving convergence, batch normalization often provides implicit regularization. In parallel, dropout-based methods (Srivastava et al., 2014) (Tompson et al., 2015) have been widely used to reduce overfitting. While standard dropout is effective in fully connected layers, it may be less suitable for convolutional layers due to strong spatial correlations. Spatial dropout addresses this limitation by randomly suppressing entire feature maps, encouraging more robust channel-level representations (Tompson et al., 2015).

The effectiveness of normalization and regularization techniques strongly depends on network architecture. VGG employs deep homogeneous convolutional stacks (Simonyan and Zisserman, 2015), Network in Network introduces multilayer perceptrons within convolutional layers (Lin et al., 2014), and GoogLeNet utilizes Inception modules for multi-scale feature extraction (Szegedy et al., 2015). These structural differences suggest that batch normalization and spatial dropout may affect each architecture in distinct ways.

Despite their widespread use, relatively few studies have systematically analyzed the impact of batch normalization and spatial dropout across different CNN families (Cai et al., 2020) (Kim et al., 2023) (Lee and Lee, 2020). Consequently, clear guidelines for selecting appropriate training strategies remain limited.

In this paper, we present an empirical evaluation of batch normalization and spatial dropout applied to VGG-11, Network in Network, and GoogLeNet. For each architecture, we compare four configurations: a baseline model, a model with batch normalization, a model with spatial dropout, and a model combining both techniques. Spatial dropout layer is used in place of standard dropout, similarly to (Lee and Lee, 2020). We analyze their effects on classification accuracy and convergence behavior, providing practical insights for CNN design and training.

Related Work

Fully connected layer

A fully connected (FC) layer performs a linear transformation followed by a nonlinear activation (Rumelhart et al., 1986). For a given input vector , the output of the layer is computed as:

where W and b denote the weight matrix and bias vector, respectively, and Φ (.)   is a nonlinear activation function. Fully connected layers enable global interactions among input features and are commonly used for feature integration and final prediction stages in neural networks. However, due to their dense connectivity and large number of parameters, FC layers may suffer from increased computational cost and overfitting, particularly when applied to high-dimensional inputs.

Convolutional layer

A convolutional layer applies learnable filters to local regions of the input in order to extract spatially structured features (LeCun et al., 1998). Given an input tensor x, the output tensor Hk  is computed as:

where * denotes the convolution operation, wk and Bk   are the kernel and bias corresponding to the k-th output channel.

Equivalently, the convolution can be expressed in index-wise form (Zhang et al., 2023a) as:

where cin denotes the number of input channels and p×q is the spatial size of the convolutional kernel.

By leveraging local connectivity and weight sharing, convolutional layers significantly reduce the number of parameters compared to fully connected layers and introduce inductive biases such as translation equivariance, making them particularly effective for processing grid-structured data such as images and signals (Zhang et al., 2023a).

Convolutional layers are commonly followed by pooling layers, which perform a fixed downsampling operation over local neighborhoods. For example, max pooling computes:

 

Pooling layers reduce spatial resolution, improve computational efficiency, and introduce robustness to small spatial variations (LeCun et al., 1998).

Batch normalization

Batch normalization is a technique used to stabilize and accelerate the training of deep neural networks by normalizing the input of each layer (Ioffe and Szegedy, 2015). For a mini-batch ß= { x1,x2…,,,xn}, the normalized output is computed as:

where  and  are mean and variance of batch, is a small constant for numerical stability, and y,β are learnable scale and shift parameters. BN allows for higher learning rates, faster convergence, and improved generalization. It is commonly applied after fully connected or convolutional layers, before the activation function.

During inference, batch normalization operates differently from training, as the batch statistics cannot be computed on-the-fly. Instead, fixed estimates of the mean and variance, typically obtained by aggregating statistics over the entire training dataset, are used to normalize the inputs.

Dropout

Dropout is a regularization technique designed to reduce overfitting in neural networks by randomly deactivating a subset of neurons during training (Srivastava et al., 2014). For a given output of fully connected layer h, dropout is applied as:

where r is binary mask, p denotes the probability of retaining a neuron, and represents element-wise multiplication. During inference, dropout is disabled and the activations are scaled accordingly to account for the expected value of the mask. By preventing co-adaptation of neurons, dropout improves generalization and is commonly applied to fully connected layers.

Spatial Droput

Spatial dropout is a structured regularization technique that extends standard dropout by randomly dropping entire feature maps rather than individual activations (Tompson et al., 2015). Given a convolutional layer output HK for channel , spatial dropout is defined as:

where rk is channel-wise binary mask and  is the probability of retaining a feature map. By enforcing independence across channels, spatial dropout mitigates feature co-adaptation and improves robustness in convolutional neural networks, while preserving spatial correlations within each feature map. During inference, spatial dropout is disabled and output activations are scaled by probability .

VGG Network

VGG-11, denoted as ConvNet with 11 layers in the original paper (Simonyan and Zisserman, 2015), is a deep convolutional neural network architecture characterized by a simple and uniform design based on stacked  convolutional layers followed by max-pooling operations. The network consists of 11 learnable layers, including eight convolutional layers and three fully connected layers, with ReLU activations applied after each convolution. By progressively increasing the number of feature channels while reducing spatial resolution, VGG-11 captures hierarchical image representations.

Network in Network

Network in Network (NiN) (Lin et al., 2014) is a convolutional neural network architecture that improves feature representation by introducing multilayer perceptron convolution (mlpconv) layers. An mlpconv layer begins with a conventional spatial convolution to capture local receptive field information, followed by one or more  convolutional layers, all with nonlinear activation functions. This sequence effectively implements a micro multilayer perceptron at each spatial location, enabling richer nonlinear feature transformations while preserving spatial structure.

In addition, NiN replaces traditional fully connected layers with global average pooling. Global average pooling computes the spatial average of each feature map, producing a single scalar per channel that is directly used for classification. This operation significantly reduces the number of parameters, improves robustness to spatial translations, and mitigates overfitting by enforcing a stronger correspondence between feature maps and output categories.

The original NiN consists of four mlpconv layers that are separated by three 3Χ3 max polling layers. The network terminates with global average pooling layer.

GoogLeNet

GoogLeNet (Szegedy et al., 2015) is a deep convolutional neural network architecture designed to improve computational efficiency while increasing representational capacity. Its core component is the Inception module, which performs parallel convolutions with multiple kernel sizes along with pooling operations, and concatenates their outputs along the channel dimension. The use of 1Χ1 convolutions for dimensionality reduction significantly decreases computational cost and the number of parameters. By stacking multiple Inception modules, GoogLeNet achieves substantial depth while maintaining efficiency, and replaces fully connected layers with global average pooling to further reduce model complexity.

The original paper describes Inception module consisting of four parallel convolutions stacks. First of them is a single 1Χ1 convolution. Second and third consist of 1Χ1 convolution, followed by 3Χ3 and 5Χ5  convolutions, respectively. Last path is built from 1Χ1 convolution preceded by 3Χ3  max pooling layer.

GoogLeNet architecture comprises approximately one hundred layers, of which around sixty layers are organized into Inception layers. Network concludes with a global average pooling layer, similarly as in (Lin et al., 2014), followed by an additional fully connected layer.

Methodology

Implementation Details

All networks were implemented using the PyTorch framework (Paszke et al., 2019), with layer parameters set to their default values unless stated otherwise.

We detail the architectural specifications of the VggBlock layer and the VGG-11 network in Fig. 1 and Fig. 2 respectively. In our implementation, the original architecture (Simonyan and Zisserman, 2015) was extended through the integration of batch normalization and spatial dropout layers.

We outline the internal structure of the Mlpconv layer in Fig. 3, while the configuration of the Network in Network model is presented in Fig. 4. As kernel sizes were not specified in the primary reference (Lin et al., 2014), we adopted the parameter settings of AlexNet (Krizhevsky et al., 2017), following the implementation suggested in (Zhang et al., 2023b). For the purposes of this study, we further modified the architecture to incorporate batch normalization and spatial dropout.

We present the detailed configuration of the Inception layer in Fig. 5, with the complete GoogLeNet architecture described in Fig. 6. Since the original architecture (Szegedy et al., 2015) does not incorporate regularization layers, we extended the implementation to include batch normalization, dropout, and spatial dropout.

We integrated batch normalization layers after each convolutional layer and prior to the activation function, following the architectural convention established in ResNet (He et al., 2016).

Given that the optimal placement of dropout and spatial dropout remains a non-trivial design choice (Kim et al., 2023), we positioned these layers in close proximity to maintain architectural consistency. In the VGG-11 configuration, we integrated the spatial dropout layer after the final convolutional layer. In the Network in Network implementation, it was inserted immediately after the existing dropout layer. In the absence of pre-existing regularization in the original GoogLeNet architecture, we integrated dropout and spatial dropout layers prior to the second-to-last Inception module to mirror the structural design of the Network in Network model.

For the purposes of this study, all implemented regularization layers could be selectively disabled.

 

Fig. 1 VggBlock

Fig. 2 VGG-11

Fig. 3 Mlpconv

Fig. 4 Network in Network

Fig. 5 Inception Layer

Fig. 6 GoogLeNet

Dataset Description

For the purposes of this study, we constructed a ten-class dataset based on the ImageNet-1k dataset (Deng et al., 2009). We selected the image classes pseudo-randomly using the random.sample() function (Python Software Foundation, 2026a) from the Python 3 random module. To ensure reproducibility, we fixed the random seed to 42 using the random.seed() function (Python Software Foundation, 2026b). The selected classes are listed in Tab. 1.

All images in the dataset were converted to the RGB color space. We rescaled the shorter side of each image to 256 pixels and extracted a centered  crop. Finally, we normalized the images using a mean vector of  and a standard deviation vector of .

Tab. 1 Imagenet-10

Experiments

Details

We trained all models for 40 epochs and evaluated them on the test dataset after each epoch to obtain the average loss and classification accuracy.

When we incorporated spatial dropout layers into our models, the standard dropout layers were always disabled. Since VGG-11 and Network in Network originally included dropout layers, these layers were retained in models with only batch normalization but omitted in models with spatial dropout or with both regularization methods. The original implementation of GoogLeNet does not include any dropout layers, therefore they were omitted in all variations.

VGG-11

As shown in Fig. 7, we observed that regularization with spatial dropout delayed the onset of overfitting and reduced the minimum average loss but slowed down the convergence rate compared to the original network. We found that batch normalization eliminated overfitting over the 40-epoch training period and further reduced the minimum average loss relative to spatial dropout, however, it also resulted in a slower convergence rate. The combination of spatial dropout and batch normalization allowed us to maintain a convergence rate comparable to the spatial dropout variant while achieving a minimum average loss similar to that obtained with batch normalization.

Fig. 7 VGG-11 cumulative loss

As presented in Fig. 8, we observed that incorporating spatial dropout into the model slowed the rate of accuracy improvement during training but led to higher accuracy near the 40th epoch. Batch normalization further reduced the rate of accuracy increase, while producing a higher final accuracy compared to spatial dropout alone. In models incorporating both regularization methods, we observed a combination of effects. The accuracy increase rate resembled that of the spatial dropout variant, whereas the final accuracy approached that of the model with batch normalization.

Fig. 8 VGG-11 correct guesses

 Network in Network

As illustrated in Fig. 9, we observed that spatial dropout marginally reduced the network’s minimum average loss, without noticeable improvements in the convergence rate or the emergence of overfitting. In contrast, batch normalization eliminated overfitting and visibly enhanced both the convergence rate and the minimum average loss. When applied in combination, we did not observe any improvement compared to the variant with batch normalization alone.

Fig. 9 Network in Network cumulative loss

As shown in Fig. 10, we observed that spatial dropout, when applied independently, slowed down the rate of accuracy improvement during training, but improved the final network accuracy. Batch normalization further enhanced both metrics. When both methods were combined, we did not observe any improvement over the variant with batch normalization alone.

Fig. 10 Network in Network correct guesses

GoogLeNet

As illustrated in Fig. 11, we observed that spatial dropout improved the convergence rate relative to the original architecture, without yielding a noticeable reduction in the minimum average loss. Batch normalization improved the convergence rate and reduced the minimum average loss compared to spatial dropout. We did not observe any visible improvement in models incorporating both regularization methods compared to the variant with batch normalization alone. Furthermore, we observed the onset of overfitting in all network variants near the 40th epoch of training.

Fig. 11 GoogLeNet cumulative loss

As illustrated in Fig. 12, we observed that spatial dropout increased the rate of accuracy improvement during training, without enhancing the final accuracy relative to the original architecture. Batch normalization improved both the final accuracy and the accuracy improvement rate. When both methods were incorporated, we did not observe any improvement compared to the variant with batch normalization applied independently.

Fig. 12 GoogLeNet correct guesses

Summary

We evaluated the influence of batch normalization and spatial dropout on the performance of VGG-11, Network in Network, and GoogLeNet architectures.

We observed that spatial dropout reduced the average loss substantially in VGG-11 and marginally in the Network in Network architecture. While it resulted in a slower convergence rate in VGG-11, an improvement in convergence was observed in GoogLeNet. Spatial dropout also delayed the emergence of overfitting in VGG-11. Furthermore, it reduced the rate of accuracy improvement during training in VGG-11 and Network in Network but increased it in GoogLeNet. The final accuracy was improved in both VGG-11 and Network in Network models.

In comparison to spatial dropout, batch normalization resulted in a slower convergence rate in VGG-11, but improved convergence in the remaining architectures. The average loss was reduced in all evaluated models relative to spatial dropout. We found that batch normalization eliminated overfitting within the 40-epoch training period in both VGG-11 and Network in Network architectures. Although the rate of accuracy improvement during training was lower compared to spatial dropout in VGG-11, the final accuracy was higher. In Network in Network and GoogLeNet, batch normalization consistently led to faster accuracy improvement and higher final accuracy.

The combination of both methods yielded performance metrics similar to those obtained with batch normalization alone in Network in Network and GoogLeNet. In VGG-11, the combined approach resulted in an average loss and final accuracy comparable to batch normalization, while the convergence rate and accuracy improvement rate resembled those of the spatial dropout variant.

We presented the best achieved accuracy of each model in Tab. 2.

Tab. 2 Accuracy of evaluated models

Conclusions

Our results indicate that although spatial dropout and batch normalization may reduce the convergence rate and slow accuracy improvement during training, they do not adversely affect the final average loss or classification accuracy. Additionally, batch normalization is more likely to result in improved performance metrics than spatial dropout. Finally, combining both methods does not appear to provide additional benefits in terms of accuracy or average loss compared to batch normalization alone, particularly in more recent network architectures.

References

  • Cai, S., Shu, Y., Chen, G., Ooi, B.C., Wang, W. and Zhang, M. (2020) “Effective and Efficient Dropout for Deep Convolutional Neural Networks.” Available at: http://arxiv.org/abs/1904.03392.
  • Darwish, D. (2024) “Improving Techniques for Convolutional Neural Networks Performance,” European Journal of Electrical Engineering and Computer Science, 8(1).
  • Deng, J., Dong, W., Socher, R., Li, L.J., Li, K. and Fei-Fei, L. (2009) “ImageNet: A Large-Scale Hierarchical Image Database,” 2009 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2009.
  • Gupta, R. and Jindal, R. (2025) “Impact of Too Many Neural Network Layers on Overfitting,” International Journal of Computer Science and Mobile Computing, 14(5).
  • He, K., Zhang, X., Ren, S. and Sun, J. (2016) “Deep residual learning for image recognition,” Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition.
  • Huang, G., Liu, Z., Van Der Maaten, L. and Weinberger, K.Q. (2017) “Densely connected convolutional networks,” Proceedings – 30th IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017.
  • Ioffe, S. and Szegedy, C. (2015) “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” 32nd International Conference on Machine Learning, ICML 2015.
  • Kim, B.J., Choi, H., Jang, H., Lee, D. and Kim, S.W. (2023) “How to Use Dropout Correctly on Residual Networks with Batch Normalization,” Proceedings of Machine Learning Research.
  • Korkmaz, O.E. (2025) “Revisiting convolutional design for efficient CNN architectures in edge-aware applications,” Scientific Reports, 15(1).
  • Krizhevsky, A., Sutskever, I. and Hinton, G.E. (2017) “ImageNet classification with deep convolutional neural networks,” Communications of the ACM, 60(6).
  • LeCun, Y., Bottou, L., Bengio, Y. and Haffner, P. (1998) “Gradient-based learning applied to document recognition,” Proceedings of the IEEE, 86(11).
  • Lee, S. and Lee, C. (2020) “Revisiting spatial dropout for regularizing convolutional neural networks,” Multimedia Tools and Applications, 79(45–46).
  • Lin, M., Chen, Q. and Yan, S. (2014) “Network in network,” 2nd International Conference on Learning Representations, ICLR 2014 – Conference Track Proceedings.
  • Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J. and Chintala, S. (2019) “PyTorch: An imperative style, high-performance deep learning library,” Advances in Neural Information Processing Systems.
  • Python Software Foundation (2026a) “random.sample()”. Available at: https://docs.python.org/3/library/random.html#random.sample (Accessed: 18 February 2026).
  • Python Software Foundation (2026b) “random.seed()”. Available at: https://docs.python.org/3/library/random.html#random.seed (Accessed: 18 February 2026).
  • Rumelhart, D.E., Hinton, G.E. and Williams, R.J. (1986) “Learning representations by back-propagating errors,” Nature, 323(6088).
  • Simonyan, K. and Zisserman, A. (2015) “Very deep convolutional networks for large-scale image recognition,” 3rd International Conference on Learning Representations, ICLR 2015 – Conference Track Proceedings.
  • Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I. and Salakhutdinov, R. (2014) “Dropout: A simple way to prevent neural networks from overfitting,” Journal of Machine Learning Research, 15.
  • Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V. and Rabinovich, A. (2015) “Going deeper with convolutions,” Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition.
  • Tompson, J., Goroshin, R., Jain, A., LeCun, Y. and Bregler, C. (2015) “Efficient object localization using Convolutional Networks,” Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition.
  • Zhang, A., Lipton, Z.C., Li, M. and Smola, A.J. (2023a) “Dive into deep learning. Chapter 7. Convolutional Neural Networks.” Cambridge University Press. Available at: https://d2l.ai/chapter_convolutional-neural-networks/index.html (Accessed: 18 February 2026).
  • Zhang, A., Lipton, Z.C., Li, M. and Smola, A.J. (2023b) “Dive into deep learning. Chapter 8. Modern Convolutional Neural Networks.” Cambridge University Press. Available at: https://d2l.ai/chapter_convolutional-modern/index.html (Accessed: 18 February 2026).

 

Shares