Related Experiment Video
Updated: Sep 18, 2025

Subsurface Defect Localization by Structured Heating Using Laser Projected Photothermal Thermography
Published on: May 15, 2017
Impact of Activation Functions on the Detection of Defects in Cast Steel Parts Using YOLOv8
Yunxia Chen1,2, Yangkai He1, Yukun Chu1
1School of Intelligent Manufacturing and Control Engineering, Shanghai Polytechnic University, Pudong District, Shanghai 201209, China.
None:
In this paper, to address the issue of the unknown influence of activation functions on casting defect detection using convolutional neural networks (CNNs), we designed five sets of experiments to investigate how different activation functions affect the performance of casting defect detection. Specifically, the study employs five activation functions-Rectified Linear Unit (ReLU), Exponential Linear Units (ELU), Softplus, Sigmoid Linear Unit (SiLU), and Mish-each with distinct characteristics, based on the YOLOv8 algorithm. The results indicate that the Mish activation function yields the best performance in casting defect detection, achieving an mAP@0.5 value of 90.1%. In contrast, the Softplus activation function performs the worst, with an mAP@0.5 value of only 86.7%. The analysis of the feature maps shows that the Mish activation function enables the output of negative values, thereby enhancing the model's ability to differentiate features and improving its overall expressive power, which enhances the model's ability to identify various types of casting defects. Finally, gradient class activation maps (Grad-CAM) are used to visualize the important pixel regions in the casting digital radiography (DR) images processed by the neural network. The results demonstrate that the Mish activation function improves the model's focus on grayscale-changing regions in the image, thereby enhancing detection accuracy.
Related Concept Videos
Lumber Defects
Shakes are minor fractures that run along or across the wood's annual rings, while wane is...
Mechanical Characteristics of Steel
The tension test is fundamental for determining tensile strength. In this test, a steel specimen is stretched using a gripping device until it breaks. The data collected during this test are used...
Plastic Deformation in Circular Shafts
Non-destructive Tests for Concrete Strength
Detection of Gross Error: The Q Test
Steel Manufacturing
During this smelting process, limestone plays a crucial role by forming slag. Slag captures impurities within the molten iron, such...

