journal article·2026-07-01Open access

A fusion of attention and multi-task learning approach for surface quality prediction in turning

Wen Cheng, Yan Cao, Weitao Dou, Heyuan Tian

AIP Advances· Volume 16· Issue 7

Abstract

Surface quality is a critical indicator of mechanical part performance and service life, encompassing surface roughness, dimensional accuracy, and roundness. Traditional deep learning methods typically focus on predicting single surface quality parameters, failing to meet the industrial demand for real-time multi-parameter prediction. This paper proposes a novel multi-task learning approach for simultaneous prediction of surface roughness, dimensional accuracy, and roundness in CNC turning processes. A hybrid network architecture named MTL-GAMDenseNet-CA is developed, integrating global attention mechanism into the DenseNet encoder for enhanced feature extraction and coordinate attention into task-specific decoders for adaptive feature selection. To address the high computational cost of gradient-based loss balancing, a loss ratio normalized weight strategy is proposed. Multi-channel vibration signals from three sensor positions (tool, spindle bearing, and bearing end cap) are converted into relative position matrix images and fused using two-dimensional discrete wavelet transform. Experimental results based on 144 turning tests under 36 operating conditions demonstrate that the proposed method achieves a surface roughness recognition F1-score of 0.9907, dimensional accuracy prediction mean absolute error (MAE) of 0.0228 mm, Root Mean Square Error (RMSE) of 0.0279 mm, and roundness prediction MAE of 0.0323 mm, RMSE of 0.0420 mm. The multi-task model achieves computational efficiency equivalent to 34.12% of three single-task models, validating its effectiveness for intelligent manufacturing applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced machining processes and optimization · Surface Roughness and Optical Measurements · Tribology and Lubrication Engineering

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Shaanxi Higher Vocational College Key Laboratory of Aerospace Fastener Technology and Application, Xi’an Aeronautical Polytechnic Institute 1 , Xi’an, Shaanxi 710089,

School of Mechatronic Engineering, Xi’an Technological University 2 , Xi’an 710021, Shaanxi,

Hangzhou Ji Zhi Electromechanical Co., Ltd. 3 , Hangzhou, Zhejiang 311000,

Funding

National Natural Science Foundation of China · Key Research and Development Projects of Shaanxi Province

References (30)

Show source-provided references
1. Research status and development trend of machining quality prediction10.3969/j.issn.0258-2724.20220085 ↗
2. Surface processing quality prediction based on RPM and multi-task learning10.3969/j.issn.1009-0134.2025.10.004 ↗
3. Experimental study on microhole drilling of 304 stainless steel assisted by ultrasonic vibration10.19344/j.cnki.issn1671-5276.2025.04.018 ↗
4. Surface roughness prediction based on fusion of dynamic-static data10.1016/j.measurement.2024.116351 ↗
5. A novel multi-task learning model with PSAE network for simultaneous estimation of surface quality and tool wear in milling of nickel-based superalloy Haynes 23010.3390/s22134943 ↗
6. Multitask learning10.1023/a:1007379606734 ↗
7. A survey on multi-task learning10.1109/tkde.2021.3070203 ↗
8. LibMTL: A Python library for deep multi-task learning
9. GradNorm: Gradient normalization for adaptive loss balancing in deep multitask networks
10. End-to-end multi-task learning with attention
11. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics
12. Densely connected convolutional networks
13. Y. Liu , Z.Shao, and N.Hoffmann, “Global attention mechanism: Retain information to enhance channel-spatial interactions,” arXiv:2112.05561 (2021).
14. Coordinate attention for efficient mobile network design
15. Deep residual learning for image recognition
16. Rethinking the inception architecture for computer vision
17. EfficientNet: Rethinking model scaling for convolutional neural networks
18. Imaging time-series to improve classification and imputation
19. Gear fault diagnosis method based on GASF and MSCAM-DenseNet with small samples10.13196/j.cims.2023.0400 ↗
20. A new multitask learning method for tool wear condition and part surface quality prediction10.1109/tii.2020.3040285 ↗
21. A multitask-aided transfer learning-based diagnostic framework for bearings under inconsistent working conditions10.3390/s20247205 ↗
22. Multitask learning based on lightweight 1DCNN for fault diagnosis of wheelset bearings10.1109/tim.2020.3017900 ↗
23. An integrated multitasking intelligent bearing fault diagnosis scheme based on representation learning under imbalanced sample condition10.1109/tnnls.2022.3232147 ↗
24. Bearing fault diagnosis under various conditions using an incremental learning-based multi-task shared classifier10.1016/j.knosys.2023.110395 ↗
25. Surface roughness prediction based on wavelet packet transform and residual network10.13196/j.cims.2023.10.003 ↗
26. Prediction of surface roughness based on sensitive factor selection and residual network10.13196/j.cims.2022.0630 ↗
27. An intelligent surface roughness prediction method based on automatic feature extraction and adaptive data fusion10.1007/s43684-024-00083-9 ↗
28. A monitoring method for surface roughness of γ-TiAl alloy based on deep learning of time-frequency diagram10.1007/s00170-023-12453-3 ↗
29. A deep learning framework for time series classification using relative position matrix and convolutional neural network10.1016/j.neucom.2019.06.032 ↗
30. Surface roughness prediction based on multi-channel signal fusion GADF and MA-ResNet10.62756/jmsi.1674-8042.2025029 ↗