Cost-Aware Multi-Objective Optimization of Random Forest for Industrial Machine Failure Prediction

Zahratul Laily binti Edaris(1*), Siti Maryam binti Zainol(2), H.R Merdu Wira Jasa(3), M Mesran(4),

(1) Department of Mechanical Engineering, Politeknik Sultan Abdul Halim Mu'adzam Shah, Kedah, Malaysia
(2) Department of Electrical Engineering, Politeknik Tuanku Syed Sirajuddin, Arau, Perlis, Malaysia
(3) Informatics, STIKOM Tunas Bangsa, Pematangsiantar, North Sumatra, Indonesia
(4) Management Study Program, Sekolah Tinggi Ilmu Manajemen Sukma, Medan, Indonesia
(*) Corresponding Author

Abstract


Industrial machine failures are relatively rare but potentially costly to overlook, making aggregate classification accuracy insufficient for maintenance decision support. This study assesses whether cost-aware multi-objective Random Forest tuning, combined with an optimized decision threshold, improves failure prediction under asymmetric error penalties. The experiment covers 10,000 synthetic machine-operating observations, including 339 recorded failures, partitioned into 6,000 training, 2,000 development, and 2,000 held-out test records. Four alternatives were evaluated: default Random Forest, threshold adjustment alone, random-search tuning, and the proposed Pareto-based (NSGA-II) forest with threshold optimization. A missed failure was assigned twenty times the penalty of a false alarm, and model selection was restricted to development data. On the final test, the proposed method reduced the assumed average cost from 0.1800 to 0.0945 units per observation and raised failure recall from 73.53% to 94.12%. This improvement relative to the default model accompanied a precision decrease from 100.00% to 36.99% and an F1 decrease from 0.8475 to 0.5311. The simpler threshold-only comparator achieved a lower cost of 0.0925 at the same 94.12% recall. The proposed search therefore improved the default decision rule but did not outperform the strongest controlled alternative. Interpretation remains limited by the synthetic benchmark, a single recorded partition, hypothetical maintenance penalties, and unavailable optimization source modules.

Full Text:

PDF

References


A. Hamdi Alaoui, A. Meddaoui, and M. Hain, “AI-driven predictive maintenance for industry 4.0: A systematic review of models, methods, and challenges,” The International Journal of Advanced Manufacturing Technology, vol. 143, pp. 4861–4876, 2026, doi: 10.1007/s00170-026-17531-w.

D. Guidotti, L. Pandolfo, and L. Pulina, “A systematic literature review of supervised machine learning techniques for predictive maintenance in Industry 4.0,” IEEE Access, vol. 13, pp. 102479–102504, 2025, doi: 10.1109/ACCESS.2025.3578686.

P. Mallioris, E. Aivazidou, and D. Bechtsis, “Predictive maintenance in Industry 4.0: A systematic multi-sector mapping,” CIRP J. Manuf. Sci. Technol., vol. 50, pp. 80–103, 2024, doi: 10.1016/j.cirpj.2024.02.003.

Y. Yang and H. Wang, “Random forest-based machine failure prediction: A performance comparison,” Applied Sciences, vol. 15, no. 16, p. 8841, 2025, doi: 10.3390/app15168841.

A. de Giorgio, G. Cola, and L. Wang, “Systematic review of class imbalance problems in manufacturing,” J. Manuf. Syst., vol. 71, pp. 620–644, 2023, doi: 10.1016/j.jmsy.2023.10.014.

Y. Yang and M. Z. Iqbal, “Cost-optimised machine learning model comparison for predictive maintenance,” Electronics (Basel)., vol. 14, no. 12, p. 2497, 2025, doi: 10.3390/electronics14122497.

T. de Menezes e Silva Filho, H. Song, M. Perello-Nieto, R. Santos-Rodriguez, M. Kull, and P. Flach, “Classifier calibration: A survey on how to assess and improve predicted class probabilities,” Mach. Learn., vol. 112, no. 9, pp. 3211–3260, 2023, doi: 10.1007/s10994-023-06336-7.

M. Yang and X. Bi, “Cost-aware calibration of classifiers,” INFORMS Journal on Data Science, vol. 4, no. 2, pp. 101–113, 2024, doi: 10.1287/ijds.2024.0038.

B. Bischl et al., “Hyperparameter optimization: Foundations, algorithms, best practices, and open challenges,” WIREs Data Mining and Knowledge Discovery, vol. 13, no. 2, p. e1484, 2023, doi: 10.1002/widm.1484.

L. Xing, J. Li, H. Ma, Z. Su, and J. Wu, “A relevant feature combination assisted bi-level evolutionary multi-objective algorithm for feature selection in classification,” Sci. Rep., vol. 15, p. 39288, 2025, doi: 10.1038/s41598-025-23043-6.

M. Chen and Z. Liu, “Predicting performance of students by optimizing tree components of random forest using genetic algorithm,” Heliyon, vol. 10, no. 12, p. e32570, 2024, doi: 10.1016/j.heliyon.2024.e32570.

Y. Wang, M. Khodadadzadeh, and R. Zurita-Milla, “Spatial+: A new cross-validation method to evaluate geospatial machine learning models,” International Journal of Applied Earth Observation and Geoinformation, vol. 121, p. 103364, 2023, doi: 10.1016/j.jag.2023.103364.

X. Shao, B. Cai, Z. Zou, H. Shao, C. Yang, and Y. Liu, “Artificial intelligence enhanced fault prediction with industrial incomplete information,” Mech. Syst. Signal Process., vol. 224, p. 112063, 2025, doi: 10.1016/j.ymssp.2024.112063.

I. Hector and R. Panjanathan, “Predictive maintenance in Industry 4.0: A survey of planning models and machine learning techniques,” PeerJ Comput. Sci., vol. 10, p. e2016, 2024, doi: 10.7717/peerj-cs.2016.

S. F. Falkenberg and S. Spinler, “The role of novel data in maintenance planning: Breakdown predictions for material handling equipment,” Comput. Ind. Eng., vol. 169, p. 108230, 2022, doi: 10.1016/j.cie.2022.108230.

G. Vashishtha et al., “A roadmap to fault diagnosis of industrial machines via machine learning: A brief review,” Measurement, vol. 242, p. 116216, 2025, doi: 10.1016/j.measurement.2024.116216.

A. A. Murtaza, A. Saher, M. H. Zafar, S. K. R. Moosavi, M. F. Aftab, and F. Sanfilippo, “Paradigm shift for predictive maintenance and condition monitoring from Industry 4.0 to Industry 5.0: A systematic review, challenges and case study,” Results in Engineering, vol. 24, p. 102935, 2024, doi: 10.1016/j.rineng.2024.102935.

W. Chen, K. Yang, Z. Yu, Y. Shi, and C. L. P. Chen, “A survey on imbalanced learning: Latest research, applications and future directions,” Artif. Intell. Rev., vol. 57, p. 137, 2024, doi: 10.1007/s10462-024-10759-6.

M. Owusu-Adjei, J. B. Hayfron-Acquah, T. Frimpong, and G. Abdul-Salaam, “Imbalanced class distribution and performance evaluation metrics: A systematic review of prediction accuracy for determining model performance in healthcare systems,” PLOS Digital Health, vol. 2, no. 11, p. e0000290, 2023, doi: 10.1371/journal.pdig.0000290.

Y. Mahale, S. Kolhar, and A. S. More, “Enhancing predictive maintenance in automotive industry: Addressing class imbalance using advanced machine learning techniques,” Discover Applied Sciences, vol. 7, p. 340, 2025, doi: 10.1007/s42452-025-06827-3.

X. Li, J. Williams, C. Swanson, and T. Berg, “A machine learning approach to predictive maintenance: Remaining useful life and motor fault analysis,” Comput. Ind. Eng., vol. 206, p. 111222, 2025, doi: 10.1016/j.cie.2025.111222.

D. K. Yadav, A. Kaushik, and N. Yadav, “Predicting machine failures using machine learning and deep learning algorithms,” Sustainable Manufacturing and Service Economics, vol. 3, p. 100029, 2024, doi: 10.1016/j.smse.2024.100029.

A. Osojnik, P. Panov, and S. Džeroski, “iSOUP-SymRF: Symbolic feature ranking with random forests in online multi-target regression and multi-label classification,” Mach. Learn., vol. 114, p. 34, 2025, doi: 10.1007/s10994-024-06718-5.

M. Chen, R. Yu, Z. Liang, K. Li, and H. Qi, “A multiscale process-aware retention network for fault prediction in mixed-model production,” Comput. Ind., vol. 170, p. 104313, 2025, doi: 10.1016/j.compind.2025.104313.

S. Gawde, S. Patil, S. Kumar, P. Kamat, and K. Kotecha, “An explainable predictive maintenance strategy for multi-fault diagnosis of rotating machines using multi-sensor data fusion,” Decision Analytics Journal, vol. 10, p. 100425, 2024, doi: 10.1016/j.dajour.2024.100425.

S. Gawde, S. Patil, S. Kumar, P. Kamat, K. Kotecha, and S. Alfarhood, “Explainable predictive maintenance of rotating machines using LIME, SHAP, PDP, ICE,” IEEE Access, vol. 12, pp. 29345–29361, 2024, doi: 10.1109/ACCESS.2024.3367110.

V. Warke, S. Kumar, A. Bongale, and K. Kotecha, “Robust tool wear prediction using multi-sensor fusion and time-domain features for the milling process using instance-based domain adaptation,” Knowl. Based. Syst., vol. 288, p. 111454, 2024, doi: 10.1016/j.knosys.2024.111454.

P. Kamat, S. Kumar, and K. Kotecha, “DeepTool: A deep learning framework for tool wear onset detection and remaining useful life prediction,” MethodsX, vol. 13, p. 102965, 2024, doi: 10.1016/j.mex.2024.102965.

M. A. B. Syed, M. R. Hasan, N. I. Chowdhury, M. H. Rahman, and I. Ahmed, “A systematic review of time series algorithms and analytics in predictive maintenance,” Decision Analytics Journal, vol. 15, p. 100573, 2025, doi: 10.1016/j.dajour.2025.100573.

G. K. Koulinas, P. D. Paraschos, and D. E. Koulouriotis, “A machine learning framework for explainable knowledge mining and production, maintenance, and quality control optimization in flexible circular manufacturing systems,” Flex. Serv. Manuf. J., vol. 36, pp. 737–759, 2024, doi: 10.1007/s10696-024-09537-x.

A. Giannoulidis, A. Gounaris, A. Naskos, N. Nikolaidis, and D. Caljouw, “Engineering and evaluating an unsupervised predictive maintenance solution: A cold-forming press case-study,” J. Intell. Manuf., vol. 36, pp. 2121–2139, 2025, doi: 10.1007/s10845-024-02352-z.

D. Holtz, C. Kaymakci, D. Leuthe, S. Wenninger, and A. Sauer, “A data-efficient active learning architecture for anomaly detection in industrial time series data,” Flex. Serv. Manuf. J., vol. 38, pp. 618–649, 2026, doi: 10.1007/s10696-024-09588-0.

D. Bromberger, A. Neuenfeldt Júnior, V. Garcia, and M. Francescatto, “Interpretable machine learning in industrial water pump failure prediction: The role of Shapley additive explanations values and data sampling techniques,” Eng. Appl. Artif. Intell., vol. 165, p. 113558, 2026, doi: 10.1016/j.engappai.2025.113558.

L. Zhuang, A. Xu, and X.-L. Wang, “A prognostic driven predictive maintenance framework based on Bayesian deep learning,” Reliab. Eng. Syst. Saf., vol. 234, p. 109181, 2023, doi: 10.1016/j.ress.2023.109181.

J. Yang, D. Zhu, Z. Wang, and Z. Zhang, “Decoupled focal loss and Bayesian temperature fusion XGBoost for imbalanced credit card fraud detection,” Sci. Rep., vol. 16, 2026, doi: 10.1038/s41598-026-64196-2.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Zahra: Bulletin Big data, Data Science and Artificial Intelligence

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.