Towards Internet-Scale Convolutional Root-Cause Analysis with DIAGNET

Loïck Bonniot, Christoph Neumann, François Taı̈ani2021

Abstract

Diagnosing problems in Internet-scale services remains particularly difficult and costly for both content providers and ISPs. Because the Internet is decentralized, the cause of such problems might lie anywhere between a user's device and the datacenters hosting the service. Further, the set of possible problems and causes is not known in advance, making it impossible in practice to train a classifier with all combinations of problems, causes and locations. In this paper, we explore how machine learning techniques can be used for Internet-scale root cause analysis based on measurements taken from end-user devices. Using convolutional neural networks, we show how to build generic models that (i) are agnostic to the underlying network topology, (ii) do not require to define the full set of possible causes during training, and (iii) can be quickly adapted to diagnose new services. We evaluate our proposal, DIAGNET, on a geodistributed multi-cloud deployment of online services, using a combination of fault injection and emulated clients running within automated browsers. Our experiments demonstrate the promising capabilities of our technique, delivering a recall of 73.9%, including on causes that were unknown at training time.

Introduction: The Challenge of Internet-Scale Diagnostics

When a user experiences performance degradation, such as a slow webpage or laggy video stream, the root cause could reside anywhere in the complex path between the user and the service. Potential culprits include home Wi-Fi issues, ISP congestion, misconfigured Content Delivery Networks (CDNs), or failing backend servers. For content providers and ISPs, diagnosing these "Internet-scale" problems is a significant challenge because the Internet is decentralized; no single entity possesses a complete view of the network path.

DIAGNET system overview showing clients, landmarks, and potential fault locations like CDNs and backends.

Existing solutions typically rely on expert-defined tests for known local issues or manual user-report aggregators, which lack the precision needed for automated resolution. There is a critical need for automated, generic tools capable of disentangling general Internet congestion from specific service-affecting root causes without requiring detailed, static network maps.

The DIAGNET Architecture

DIAGNET treats network troubleshooting as a machine learning problem, utilizing a Convolutional Neural Network (CNN) architecture designed for flexibility and scalability.

Core Components

  1. Landmarks and Probes: Clients running in browsers periodically probe a set of distributed "landmark" servers. They collect a variety of metrics, including latency, jitter, and TCP statistics.
  2. The "LandPooling" Layer: A key innovation of DIAGNET is the LandPooling layer. Standard neural networks require fixed input sizes, but the number of available landmarks in a network can vary. This layer applies non-overlapping convolutional filters to each landmark independently, followed by a global pooling function. This allows the model to handle a variable number of landmarks without retraining.
  3. Two-Stage Inference: The model first performs Coarse Prediction to identify the fault family (e.g., bandwidth vs. CPU stress). It then uses an attention mechanism—calculating gradients of the prediction relative to inputs—to perform Fine-Grained Localization, mapping the fault to a specific landmark or local feature.
The DIAGNET neural network architecture, featuring landmark/local feature processing, non-overlapping convolutions, and coarse prediction.

Experimental Evaluation

To evaluate DIAGNET, the authors created a custom benchmark using a geodistributed deployment across 10 world regions and four cloud providers (Azure, OVH, Scaleway, and Vultr). They used Linux traffic control (tc) to inject six types of faults: bandwidth shaping, service latency, gateway latency, jitter, packet loss, and CPU stress.

The dataset comprised 213,000 healthy samples and 30,000 faulty samples. To test generalization, three regions were "hidden" during training to evaluate the model's ability to diagnose faults in entirely unseen locations.

Key Results

  • Accuracy and Generalization: DIAGNET achieved an overall Recall@1 of 73.9%. Crucially, while traditional models like Random Forests fail (0% recall) in untrained regions, DIAGNET maintains performance due to its LandPooling architecture and attention mechanism.
  • Efficiency: Inference is highly efficient, taking only 45ms. Furthermore, the model supports rapid Transfer Learning; a general model can be specialized for a new service in just 4 seconds by retraining only the final layer.

Conclusion and Future Directions

DIAGNET demonstrates that CNNs can effectively learn failure patterns in a network-agnostic manner, identifying hidden relationships between services and network segments. While the current prototype relies on active probing, future work may explore combining this with passive monitoring to reduce overhead. Additionally, integrating more diverse data points like BGP updates and decentralizing the analysis service could further enhance the system's scale and precision.

Summary updated

BibTeX
@misc{bonniot2021towards,
  author = {Loïck Bonniot and Christoph Neumann and François Taı̈ani},
  title = {{Towards Internet-Scale Convolutional Root-Cause Analysis with DIAGNET}},
  year = {2021},
  doi = {10.1109/ipdps49936.2021.00084},
}
Figure