Abstract
This study investigates the influence of various hyperparameters—specifically pooling layers, activation functions, and optimizers—on the performance of Deep Convolutional Neural Networks (DCNNs) for crack detection. Using a balanced dataset of 800 crack images, the researchers evaluated multiple configurations to identify optimal settings for structural health monitoring tasks. The results indicate that a combination of Max Pooling, the Adam optimizer, and the Tanh activation function achieves superior classification accuracy, highlighting the sensitivity of DCNNs to internal component selection in niche binary classification tasks.
Introduction
Deep Learning has significantly advanced image recognition, yet selecting the right hyperparameters often remains a trial-and-error process, particularly for specialized datasets. In structural health monitoring, where detecting cracks in concrete or pavement requires high precision, understanding the impact of model "knobs" is crucial. This paper addresses the lack of a definitive configuration for small-scale binary classification by systematically testing the sensitivity of a standard DCNN to various internal components.
Methods
The study employed a DCNN architecture featuring two convolutional layers, two pooling layers, one dropout layer, and a final dense layer. To isolate the impact of specific parameters, the researchers conducted a comparative analysis across three categories:
- Optimizers: SGD, AdaGrad, AdaDelta, RMSProp, and Adam.
- Activation Functions: ReLU, Tanh, GeLU, ELU, SeLU, SiLU, Softmax, and Softplus.
- Pooling Layers: Max Pooling vs. Average Pooling.
By maintaining a constant architecture and swapping these components, the study identifies how each choice affects training and validation accuracy.
Dataset
The experiments utilized a Crack Image Dataset consisting of 800 RGB images (227x227 pixels). The dataset is perfectly balanced, with 400 images labeled "Positive" (containing cracks) and 400 labeled "Negative" (no cracks). This controlled environment allows for a clear observation of how hyperparameter adjustments influence a model's generalization capabilities on limited data.
Results and Discussion
The study revealed several key insights into the behavior of DCNN components:
- Max Pooling Superiority: Max Pooling consistently outperformed Average Pooling. By focusing on the most salient features and rejecting less relevant data, Max Pooling is better suited for identifying the thin, sharp features characteristic of cracks.
- Tanh vs. ReLU: While ReLU is often preferred for avoiding vanishing gradients, Tanh achieved the highest training accuracy (100%) in this specific study. The authors suggest that Tanh's range (-1 to 1) may provide a more effective mapping for this binary task compared to ReLU's 0 to 1 range.
- Adam Optimizer: Adam proved to be the most robust optimizer, successfully combining the benefits of AdaGrad and RMSProp to handle both sparse gradients and non-stationary objectives.
The top-performing configuration—Max Pooling + Adam + Tanh—reached a validation accuracy of 95.42%. Interestingly, while ReLU with Adam achieved a slightly higher validation accuracy of 96.67%, Tanh demonstrated greater stability during the training phase. Conversely, configurations using Softplus or AdaDelta performed poorly, often yielding results close to random chance (50% accuracy).
Conclusion
This research underscores the importance of hyperparameter tuning in specialized image classification. While the study was limited to a specific two-layer DCNN architecture and a relatively small dataset, it provides a valuable baseline for researchers in structural health monitoring. Future work will explore deeper architectures, such as ResNet or Inception, and a broader range of parameters like kernel sizes and dropout rates across larger, more diverse datasets.
Summary updated