Skip to main content
QUICK REVIEW

[Paper Review] Large-Scale Characterization and Segmentation of Internet Path Delays with Infinite HMMs

Maxime Mouchet, Sandrine Vaton|arXiv (Cornell University)|Oct 28, 2019
Complex Network Analysis TechniquesPhysics and Astronomy38 references11 citations
TL;DR

This paper proposes an infinite Hidden Markov Model (HDP-HMM) for automated, scalable segmentation and characterization of Internet path delay traces. By leveraging nonparametric Bayesian inference, the model dynamically infers the number of hidden states, achieving human-level accuracy in identifying recurring patterns and anomalies in RTT time series from RIPE Atlas and CAIDA MANIC data, with a publicly available Web API for deployment.

ABSTRACT

Round-Trip Times are one of the most commonly collected performance metrics in computer networks. Measurement platforms such as RIPE Atlas provide researchers and network operators with an unprecedented amount of historical Internet delay measurements. It would be very useful to automate the processing of these measurements (statistical characterization of paths performance, change detection, recognition of recurring patterns, etc.). Humans are pretty good at finding patterns in network measurements but it can be difficult to automate this to enable many time series being processed at the same time. In this article we introduce a new model, the HDP-HMM or infinite hidden Markov model, whose performance in trace segmentation is very close to human cognition. This is obtained at the cost of a greater complexity and the ambition of this article is to make the theory accessible to network monitoring and management researchers. We demonstrate that this model provides very accurate results on a labeled dataset and on RIPE Atlas and CAIDA MANIC data. This method has been implemented in Atlas and we introduce the publicly accessible Web API.

Motivation & Objective

  • To automate the characterization and segmentation of large-scale Internet path delay traces, reducing reliance on manual analysis.
  • To address the challenge of determining the optimal number of hidden states in standard HMMs by using a nonparametric Bayesian approach.
  • To develop a scalable, fully automated method for detecting anomalies and recurring patterns in RTT time series across diverse network paths.
  • To validate the HDP-HMM model on real-world datasets (RIPE Atlas and CAIDA MANIC) and demonstrate its performance against human-labeled change points.
  • To implement and expose the model via a public Web API for integration into network monitoring and management systems.

Proposed method

  • The HDP-HMM employs a Hierarchical Dirichlet Process prior to allow an infinite number of potential hidden states, with the actual number inferred from data.
  • The model uses Gibbs sampling for posterior inference, enabling automatic state discovery without requiring pre-specification of the number of states.
  • It models RTT time series as a sequence of latent states, each with a distinct delay distribution (e.g., Gaussian), and captures temporal dynamics through state transition probabilities.
  • The method is applied to 100k one-week RTT traces from RIPE Atlas, with model likelihoods compared to synthetic data to validate fit.
  • A Web API is implemented to expose the HDP-HMM segmentation service, enabling real-time or batch processing of RTT measurements.
  • The approach is validated using labeled change-point datasets and compared to classical change detection methods.

Experimental results

Research questions

  • RQ1Can an infinite HMM model achieve segmentation accuracy comparable to human experts in identifying patterns and anomalies in RTT time series?
  • RQ2How well does the HDP-HMM model fit real-world Internet delay traces compared to synthetic data generated from the same model?
  • RQ3Can the HDP-HMM automatically infer the number of hidden states in delay time series without prior specification?
  • RQ4How does the HDP-HMM perform in detecting real-world network events such as BGP outages or DNS server spikes?
  • RQ5To what extent can the HDP-HMM be scaled and deployed operationally in large-scale measurement infrastructures like RIPE Atlas?

Key findings

  • The HDP-HMM model achieves segmentation accuracy on par with human experts when analyzing RTT time series, as validated on a labeled dataset of change points.
  • The model's likelihood on real RIPE Atlas traces closely matches that of synthetic data generated from the same model, confirming strong statistical fit across 100,000 time series.
  • The model successfully detected two major BGP outage events at DE-CIX Frankfurt (April 2018), with state transition spikes aligning precisely with observed network disruptions.
  • The model identified a DNS root server spike affecting multiple ASes, demonstrating its ability to detect infrastructure-level events from RTT data.
  • The HDP-HMM outperforms classical change-point detection methods on labeled data and provides interpretable, explainable parameters for network management tasks.
  • The method has been successfully deployed in production at RIPE Atlas, with a public Web API and accompanying notebook available for community use.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.