Fiber Optic Fault Detection Based on Optical Time Domain Reflectometer Data Using Random Forest Algorithm
DOI:
https://doi.org/10.59934/jaiea.v6i1.3056Keywords:
fiber optics, Optical Time Domain Reflectometer, Random Forest, fault classification, machine learning.Abstract
Faults in fiber optic networks, such as fiber cuts, bending, and bad splices, can significantly degrade service quality if not detected quickly and accurately. Manual visual interpretation of Optical Time Domain Reflectometer (OTDR) traces by technicians is slow and prone to subjective error, particularly in large-scale networks. This study aims to build an automatic classification system to detect eight fiber optic network conditions (normal, fiber tapping, bad splice, bending, dirty connector, fiber cut, PC connector, and reflector) based on OTDR data using the Random Forest algorithm. The features used include Signal-to-Noise Ratio (SNR), a thirty-point trace sequence (P1 to P30), event position, reflectance, and loss. We split the dataset into training and testing sets using an 80:20 ratio. We tuned hyperparameters via GridSearchCV. Test results show that the Random Forest model with 200 decision trees and an entropy splitting criterion achieves 99.99 percent accuracy, a 99.99 percent macro F1-score, and a perfect ROC-AUC (1.0000) across all eight classes. The loss and Reflectance features proved to be the most influential predictors in the classification. Additional validation on 301 real-world OTDR field measurement files revealed a domain shift relative to the synthetic training data, indicating that the model’s generalization to field conditions without recalibration remains a limitation of this study. The resulting system is implemented as an interactive interface on Google Colab that is publicly accessible, allowing users to upload new OTDR data and obtain classification results along with the model’s confidence level directly.
Downloads
References
Abdelli, A., et al. (2022). Deep learning-based fault detection and localization in optical fiber networks. Journal of Optical Communications and Networking.
Kaushik, A., et al. (2024). Performance comparison of machine learning models for fiber optic fault classification. IEEE Access.
Kurniawati, D., et al. (2025). Evaluasi Metrik Klasifikasi Machine Learning pada Data Telekomunikasi. Jurnal Teknologi Informasi.
Mahmuda, R. (2024). Penerapan Algoritma Random Forest dan Decision Tree pada Klasifikasi Data. Jurnal Sistem Informasi.
Rahmatulloh, A., et al. (2023). Analisis Redaman Serat Optik pada Jaringan Access Network. Jurnal Teknik Elektro.
Saymanov, I., et al. (2025). OTDR Trace Analysis and Fault Detection in Fiber Optic Cable using Machine Learning Methods. IEEE Transactions on Network and Service Management.
Soothar, P., et al. (2024). Machine Learning Framework for Optical Fiber Fault Classification using OTDR Datasets. Optical Fiber Technology.
Titouni, F., et al. (2025). Hybrid CNN-Ensemble Learning for OTDR Optical Fault Diagnosis. IEEE Photonics Journal.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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








