Impact of Activation Functions on the Detection of Defects in Cast Steel Parts Using YOLOv8

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 (<i>ReLU</i>), Exponential Linear Units (<i>ELU</i>), <i>Softplus</i>, Sigmoid Linear Unit (<i>SiLU</i>), and <i>Mish</i>-each with distinct characteristics, based on the YOLOv8 algorithm. The results indicate that the <i>Mish</i> activation function yields the best performance in casting defect detection, achieving an [email protected] value of 90.1%. In contrast, the <i>Softplus</i> activation function performs the worst, with an [email protected] value of only 86.7%. The analysis of the feature maps shows that the <i>Mish</i> 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 <i>Mish</i> activation function improves the model's focus on grayscale-changing regions in the image, thereby enhancing detection accuracy.

Authors

Institutions

Publication Details

Journal
Materials
Published
2025-06-16
DOI
https://doi.org/10.3390/ma18122834
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Impact of Activation Functions on the Detection of Defects in Cast Steel Parts Using YOLOv8

Yuan He, Yunxia Chen, Yukun Chu
4 links
Materials
Industrial Vision Systems and Defect Detection
article

Impact of Activation Functions on the Detection of Defects in Cast Steel Parts Using YOLOv8

Yuan He, Yunxia Chen, Yukun Chu
article en

Abstract

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 (<i>ReLU</i>), Exponential Linear Units (<i>ELU</i>), <i>Softplus</i>, Sigmoid Linear Unit (<i>SiLU</i>), and <i>Mish</i>-each with distinct characteristics, based on the YOLOv8 algorithm. The results indicate that the <i>Mish</i> activation function yields the best performance in casting defect detection, achieving an [email protected] value of 90.1%. In contrast, the <i>Softplus</i> activation function performs the worst, with an [email protected] value of only 86.7%. The analysis of the feature maps shows that the <i>Mish</i> 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 <i>Mish</i> activation function improves the model's focus on grayscale-changing regions in the image, thereby enhancing detection accuracy.

MaterialsVol. 18(12)
Shanghai Polytechnic University (CN), Shanghai Jiao Tong University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 81%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.