Prediction of High-Risk Failures in Urban District Heating Pipelines Using KNN-Based Relabeling and AI Models
Source abstract
Abstract
This study generated an AI (Artificial Intelligence)-based prediction model for identifying high-risk groups of failures in urban district heating pipelines using pipeline attribute information and historical failure records. A total of 324,495 records from normally operating pipelines and 2293 failure cases were collected. Because the dataset exhibited severe imbalance, a KNN (K Nearest Neighbors)-based similarity selection was applied to reclassify the top 10% of normal data most similar to failure cases as high-risk. Input variables for model development included pipe diameter, purpose, insulation level, year of burial, and burial environment, supplemented with derived variables to enhance predictive capacity. The dataset was trained using XGBoost (eXtreme Gradient Boosting) v3.0.2, LightGBM (Light Gradient-Boosting Machine) v4.5.0, and an ensemble model (XGBoost + LightGBM), and the performance metrics were compared. The XGBoost model (K = 2) achieved the best results, with an F2-score of 0.921 and an AUC of 0.993. Variable importance analysis indicated that year of burial, insulation level, and purpose were the most influential features, highlighting pipeline aging and insulation condition as key determinants of high-risk classification. The proposed approach enables prioritization of failure risk management and identification of vulnerable sections using only attribute data, even in situations where sensor installation and infrared thermography are limited. Future research should consider distance functions suitable for mixed variables, sensitivity to unit length, and SHAP (Shapley Additive exPlanations)-based interpretability analysis to further generalize the model and enhance its field applicability.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Structural Integrity and Reliability Analysis · Water Systems and Optimization · Non-Destructive Testing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Geotechnical Engineering Research, Korea Institute of Civil Engineering and Building Technology, Goyang-si 10223, Republic of Korea
Funding
Korea Institute of Civil Engineering and Building Technology (KICT) Research Program
References (55)
Show source-provided references
1. A review of leakage detection methods for district heating networks10.1016/j.applthermaleng.2018.04.010 ↗
2. Predictive maintenance of district heating networks: A comprehensive review of methods and challenges10.1016/j.tsep.2024.102722 ↗
3. van Dreven, J., Boeva, V., Abghari, S., and Grahn, H. (2023). Intelligent Approaches to Fault Detection and Diagnosis in District Heating: Current Trends, Challenges, and Opportunities. Electronics, 12.10.3390/electronics12061448 ↗
4. Ihwnagu, U.T.I., Debnath, R., Ahmed, A.A., and Alam, M.J.B. (2025). An Integrated Approach for Earth Infrastructure Monitoring Using UAV and ERI: A Systematic Review. Drones, 9.10.3390/drones9030225 ↗
5. Ravindran, G. (2020). Evaluation of New Technologies to Support Asset Management of Metro Systems, UCL.
6. Automatic fault diagnosis algorithm for hot water pipes based on infrared thermal images10.1016/j.buildenv.2022.109111 ↗
7. Adegboye, M.A., Fung, W.-K., and Karnik, A. (2019). Recent advances in pipeline monitoring and oil leakage detection technologies: Principles and approaches. Sensors, 19.10.20944/preprints201905.0041.v1 ↗
8. Shen, Y., Chen, J., Fu, Q., Wu, H., Wang, Y., and Lu, Y. (2021). Detection of district heating pipe network leakage fault using UCB arm selection method. Buildings, 11.10.3390/buildings11070275 ↗
9. Integrated assessment of failure probability of the district heating network10.1016/j.ress.2014.09.022 ↗
10. Methodology for Estimating the Probability of Damage to a Heat Transmission Pipe
11. Applicable Predictive Maintenance Diagnosis Methods in Service-Life Prediction of District Heating Pipes
12. Intelligent Approaches to Fault Detection and Diagnosis in District Heating Systems: A Review
13. Hybrid Triboelectric–Piezoelectric Nanogenerator Assisted Intelligent Condition Monitoring for Aero-Engine Pipeline System10.1016/j.cej.2025.165121 ↗
14. A Machine Learning Approach for Failure Prediction of Water Distribution Networks
15. Risk-Based Prioritization of Water Pipe Replacement Using Statistical Failure Models
16. A GIS-Based Method for Pipe Network Diagnosis and Rehabilitation
17. Failure Predictions in Water Distribution Pipes Using Condition Assessment and Hydraulic Models
18. Comprehensive Review of Structural Deterioration of Water Mains: Statistical Models10.1016/S1462-0758(01)00033-4 ↗
19. Protecting Critical Infrastructure: Structural Reliability of Buried Pipes
20. Spatial Analysis of District Heating Pipe Failures Using GIS Data in Korea
21. Application of Deep Learning in Leakage Detection of Urban Pipelines
22. Data-Driven Prediction of Pipeline Failures under Imbalanced Datasets
23. Remaining Life Estimation of Buried Pipelines Considering Soil–Pipe Interaction
24. Long-Term Performance of Buried Infrastructure: Lessons from Case Histories
25. Euroheat & Power (2018). Guidelines for District Heating Pipe System Reliability Assessment, Euroheat & Power.
26. (2019). District Heating Pipes—Preinsulated Bonded Pipe Systems for Directly Buried Hot Water Networks (Standard No. CEN/TC 107. EN 253).
27. Lee, S.Y., Kang, J.M., and Kim, J.Y. (2023). Prediction modeling of ground subsidence risk based on machine learning using the attribute information of underground utilities in urban areas in Korea. Appl. Sci., 13.10.3390/app13095566 ↗
28. Lee, S., Kang, J., Kim, J., and Kong, M. (2025). AI-Based Damage Risk Prediction Model Development Using Urban Heat Transport Pipeline Attribute Information. Appl. Sci., 15.10.3390/app15148003 ↗
29. Evaluation of electrochemical properties and life prediction of sensor wire in leak detection systems of underground heating pipelines10.1149/1945-7111/ad7f94 ↗
30. Lidén, P., Adl-Zarrabi, B., and Hagentoft, C.E. (2021). Diagnostic Protocol for Thermal Performance of District Heating Pipes in Operation. Part 2: Estimation of Present Thermal Conductivity in Aged Pipe Insulation. Energies, 14.10.3390/en14175302 ↗
31. Song, S., and Kim, J. (2016, January 4–7). Advanced monitoring technology for district heating pipelines using fiber optic cable. Proceedings of the 15th International Symposium on District Heating and Cooling, Seoul, Republic of Korea.
32. Fuzzy reliability and risk-based maintenance of buried pipelines using multiobjective optimization10.1061/(ASCE)IS.1943-555X.0000537 ↗
33. The correlation coefficient: An overview10.1080/10408340500526766 ↗
34. Dependent evidence combination based on shearman coefficient and Pearson coefficient10.1109/ACCESS.2017.2783320 ↗
35. Aslam, M., and Smarandache, F. (2023). Chi-square test for imprecise data in consistency table. Front. Appl. Math. Stat., 9.10.3389/fams.2023.1279638 ↗
36. Using chi-square categorical testing to analyse the survey data and find people’s attitude towards inequalities
37. Development of trenchless rehabilitation for underground pipelines from an academic perspective10.1016/j.tust.2023.105515 ↗
38. Scalable k-NN graph construction for heterogeneous architectures10.1145/3733610 ↗
39. Revisiting the index construction of proximity graph-based approximate nearest neighbor search10.14778/3725688.3725709 ↗
40. Enhancing K-nearest neighbor algorithm: A comprehensive review and performance analysis of modifications10.1186/s40537-024-00973-y ↗
41. Learning from positive and unlabeled data: A survey10.1007/s10994-020-05877-5 ↗
42. Distance-Based Image Classification: Generalizing to New Classes at Near-Zero Cost10.1109/TPAMI.2013.83 ↗
43. Chen, T., and Guestrin, C. (2016, January 13–17). XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
44. A gradient boosting method to improve travel time prediction10.1016/j.trc.2015.02.019 ↗
45. iBLP: An XGBoost-Based Predictor for Identifying Bioluminescent Proteins
46. Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., and Liu, T. (2017, January 4–9). LightGBM: A Highly Efficient Gradient Boosting Decision Tree. Proceedings of the Advances in Neural Information Processing Systems 30, Long Beach, CA, USA.
47. An Economic Forecasting Method Based on the LightGBM-Optimized LSTM and Time-Series Model10.1155/2021/8128879 ↗
48. Gu, Q., Zhu, L., and Cai, Z. (2009, January 23–25). Evaluation measures of the classification performance of imbalanced data sets. Proceedings of the ISICA 2009—The 4th International Symposium on Computational Intelligence and Intelligent Systems, Huangshi, China.
49. Evaluation measures for models assessment over imbalanced data sets
50. Machine learning for automated sand transport monitoring in a pipeline using distributed acoustic sensor data10.1109/JSEN.2024.3408140 ↗
51. Automated defect identification in electroluminescence images of solar modules10.1016/j.solener.2022.06.031 ↗
52. An introduction to ROC analysis10.1016/j.patrec.2005.10.010 ↗
53. On over-fitting in model selection and subsequent selection bias in performance evaluation
54. Determination of the long-term performance of district heating pipes through accelerated ageing10.1016/j.polymdegradstab.2018.04.003 ↗
55. Risk-cost optimization of buried pipelines using subset simulation10.1061/(ASCE)IS.1943-555X.0000287 ↗