TRACE: Traceroute-based Internet Route change Analysis with Ensemble Learning

  • Raul Suzuki Borges UFV
  • Rodrigo Moreira UFV
  • Pedro Henrique A. Damaso de Melo UFV
  • Larissa F. Rodrigues Moreira UFV
  • Flávio de Oliveira Silva Uminho

Resumo


Detecting Internet routing instability is a critical yet challenging task, particularly when relying solely on endpoint active measurements. This study introduces TRACE, a Machine Learning (ML) pipeline designed to identify route changes using only traceroute latency data, thereby ensuring independence from control plane information. We propose a robust feature engineering strategy that captures temporal dynamics using rolling statistics and aggregated context patterns. The architecture leverages a stacked ensemble of Gradient Boosted Decision Trees refined by a hyperparameter-optimized meta-learner. By strictly calibrating decision thresholds to address the inherent class imbalance of rare routing events, TRACE achieves a superior F1-score performance, significantly outperforming traditional baseline models and demonstrating strong effectiveness in detecting routing changes on the Internet.

Referências

Al-Qudah, Z., Jomhawy, I., Alsarayreh, M., and Rabinovich, M. (2020). On the stability and diversity of Internet routes in the MPLS era. Performance Evaluation, 138:102084.

Alaraj, A., Bock, K., Levin, D., and Wustrow, E. (2023). A global measurement of routing loops on the internet. In Brunstrom, A., Flores, M., and Fiore, M., editors, Passive and Active Measurement, pages 373–399, Cham. Springer Nature Switzerland.

Alberti, A. M., Pivoto, D. G., Rezende, T. T., Leal, A. V., Both, C. B., Facina, M. S., Moreira, R., and de Oliveira Silva, F. (2024). Disruptive 6g architecture: Software-centric, ai-driven, and digital market-based mobile networks. Computer Networks, 252:110682.

Bhaskar, A. and Pearce, P. (2024). Understanding routing-induced censorship changes globally. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, CCS ’24, page 437–451, New York, NY, USA. Association for Computing Machinery.

Fazzion, E., Teixeira, G., Veitch, D., Diot, C., Teixeira, R., and Cunha, I. (2025). RemapRoute: Local Remapping of Internet Path Changes. In Proceedings of the 2025 ACM Internet Measurement Conference, IMC ’25, page 185–191, New York, NY, USA. Association for Computing Machinery.

Giotsas, V., Koch, T., Fazzion, E., Cunha, I., Calder, M., Madhyastha, H. V., and Katz-Bassett, E. (2020). Reduce, Reuse, Recycle: Repurposing Existing Measurements to Identify Stale Traceroutes. In Proceedings of the ACM Internet Measurement Conference, IMC ’20, page 247–265, New York, NY, USA. Association for Computing Machinery.

Islam, S., Welzl, M., Hapnes, E., and Feng, B. (2024). Using the IPv6 Flow Label for Path Consistency: A Large-Scale Measurement Study. In ICC 2024 - IEEE International Conference on Communications, pages 3022–3027.

Katsaros, K., Mavromatis, I., Antonakoglou, K., Ghosh, S., Kaleshi, D., Mahmoodi, T., Asgari, H., Karousos, A., Tavakkolnia, I., Safi, H., Hass, H., Vrontos, C., Emami, A., Marcelo Parra-Ullauri, J., Moazzeni, S., and Simeonidou, D. (2024). Ai-native multi-access future networks—the reason architecture. IEEE Access, 12:178586–178622.

Kirci, E. C., Torsiello, V., and Vanbever, L. (2024). What is the next hop to more granular routing models? In Proceedings of the 23rd ACM Workshop on Hot Topics in Networks, page 343–351, New York, NY, USA. Association for Computing Machinery.

Li, J., Giotsas, V., Wang, Y., and Zhou, S. (2022). BGP-Multipath Routing in the Internet. IEEE Transactions on Network and Service Management, 19(3):2812–2826.

Li, Y., Huang, Y., Liu, R. D., and Sun, B. S. (2025). Is Reverse Traceroute Reliable? In Proceedings of the 9th Asia-Pacific Workshop on Networking, APNET ’25, page 284–286, New York, NY, USA. Association for Computing Machinery.

Lin, S., Zhou, Y., Zhang, X., Arnold, T., Govindan, R., and Yang, X. (2025). Tiered Cloud Routing: Methodology, Latency, and Improvement. Proc. ACM Meas. Anal. Comput. Syst., 9(1).

Measurement Lab (2025). M-lab open data. [link]. Accessed: 2025-12-06.

Moreira, R., Rosa, P. F., Aguiar, R. L. A., and de Oliveira Silva, F. (2021). NASOR: A network slicing approach for multiple Autonomous Systems. Computer Communications, 179:131–144.

Paxson, V. (1996). End-to-end routing behavior in the Internet. SIGCOMM Comput. Commun. Rev., 26(4):25–38.

Sagatov, E. S., Chernysh, D. P., Mayhoub, S., and Sukhov, A. M. (2025). Detection of anomalous network behavior based on one-way delay measurements. Discover Internet of Things, 5(1):129.

Schmid, R., Schneider, T., Fragkouli, G., and Vanbever, L. (2025). Transient Forwarding Anomalies and How to Find Them. Proc. ACM Netw., 3(CoNEXT2).

Shapira, T. and Shavitt, Y. (2022). AP2Vec: An Unsupervised Approach for BGP Hijacking Detection. IEEE Transactions on Network and Service Management, 19(3):2255–2268.

Syamkumar, M., Gullapalli, Y., Tang, W., Barford, P., and Sommers, J. (2022). Bigben: Telemetry processing for internet-wide event monitoring. IEEE Transactions on Network and Service Management, 19(3):2625–2638.

Tian, Z., Su, S., Shi, W., Du, X., Guizani, M., and Yu, X. (2019). A data-driven method for future internet route decision modeling. Future Generation Computer Systems, 95:212–220.

Vermeulen, K., Gurmericliler, E., Cunha, I., Choffnes, D., and Katz-Bassett, E. (2022). Internet scale reverse traceroute. In Proceedings of the 22nd ACM Internet Measurement Conference, IMC ’22, page 694–715, New York, NY, USA. Association for Computing Machinery.

Wassermann, S., Casas, P., Cuvelier, T., and Donnet, B. (2017). Netperftrace: Predicting internet path dynamics and performance with machine learning. In Proceedings of the Workshop on Big Data Analytics and Machine Learning for Data Communication Networks, Big-DAMA ’17, page 31–36, New York, NY, USA. Association for Computing Machinery.

Yang, S., Tan, C., Madsen, D. Ø., Xiang, H., Li, Y., Khan, I., and Choi, B. J. (2022). Comparative analysis of routing schemes based on machine learning. Mobile Information Systems, 2022(1):4560072.
Publicado
25/05/2026
BORGES, Raul Suzuki; MOREIRA, Rodrigo; MELO, Pedro Henrique A. Damaso de; MOREIRA, Larissa F. Rodrigues; SILVA, Flávio de Oliveira. TRACE: Traceroute-based Internet Route change Analysis with Ensemble Learning. In: SIMPÓSIO BRASILEIRO DE REDES DE COMPUTADORES E SISTEMAS DISTRIBUÍDOS (SBRC), 44. , 2026, Praia do Forte/BA. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2026 . p. 1331-1344. ISSN 2177-9384. DOI: https://doi.org/10.5753/sbrc.2026.18039.