Inferring Multiple Relationships between ASes using Graph Convolutional Network

Songtao Peng, Xincheng Shu, Zhongyuan Ruan, Zegang Huang, Qi XuanarXiv 2021

Introduction

Understanding the connectivity between Autonomous Systems (ASes) is fundamental to mapping the Internet's structure. These connections, governed by the Border Gateway Protocol (BGP), reflect business relationships that dictate traffic flow. Traditionally, research has focused on binary classification: Provider-Customer (P2C) or Peer-to-Peer (P2P). However, the modern Internet landscape includes more complex relationships, such as Sibling-to-Sibling (S2S) and Exchange-to-Exchange (X2X) links. This paper introduces AS-GCN, a Graph Convolutional Network designed to solve the challenging 4-class inference problem with high accuracy.

The Similarity Trap in AS Relationships

Existing algorithms struggle with multi-class inference because niche relationships often mimic standard ones. S2S links (between ASes under the same administrative control) frequently appear structurally identical to P2C links. Similarly, X2X links (connections at Internet Exchange Points) are often indistinguishable from P2P links when using traditional metrics.

Misclassification of S2S and X2X links by traditional algorithms.

As shown in Figure 1, state-of-the-art algorithms like AS-Rank and ProbLink exhibit significant error rates when encountering these relationships, often misclassifying over 75% of S2S links as P2C and X2X links as P2P. This "similarity trap" highlights the need for more sophisticated structural analysis.

Methodology: AS-GCN

To overcome these limitations, the authors propose AS-GCN, a semi-supervised framework. Unlike traditional methods that rely on local "valley-free" path features, AS-GCN leverages the global graph structure of the Internet. By using GCN layers, the model aggregates information from multi-hop neighbors, capturing the hierarchical nature of the network.

The model incorporates several key features:

  1. Common Neighbor Ratio: A novel metric measuring the overlap of neighbors between two ASes.
  2. AS Type: Categorization based on business function (e.g., Content, Enterprise).
  3. Topological Metrics: Standard features such as the distance to vantage points (VPs).
Cumulative Distribution Function (CDF) of topological features across relationship types.

Figure 6 illustrates the distribution of "Distance to VP" features. The distinct curves for different relationship types, particularly in the mean distance, provide the discriminative power necessary for the GCN to differentiate between similar-looking links before the final classification layer.

Key Results and Insights

AS-GCN demonstrates superior performance across both binary and multi-class tasks:

  • High Accuracy: The model achieves over 95% overall accuracy on the 4-class problem, significantly outperforming traditional machine learning baselines like Random Forest (92.9%) and XGBoost (93.9%).
  • Feature Importance: Ablation studies highlight the "common neighbor ratio" as the most critical feature for distinguishing X2X links, which typically act as central hubs with high shared connectivity (>60% scoring high).
  • Robustness: The GCN's ability to "see" broader neighborhood contexts allows it to break the structural ties that baffle local-feature-based algorithms, mirroring the hierarchical nature of the Internet.

Conclusion

AS-GCN represents a significant step forward in Internet topology inference. By moving beyond binary classification and utilizing graph-based deep learning, it provides a more nuanced and accurate map of AS relationships. Future work will focus on identifying even more complex relationships, such as partial transit, to further refine our understanding of global routing dynamics.

Summary updated

Abstract

Precisely understanding the business relationships between Autonomous Systems (ASes) is essential for studying the Internet structure. So far, many inference algorithms have been proposed to classify the AS relationships, which mainly focus on Peer-Peer (P2P) and Provider-Customer (P2C) binary classification and achieved excellent results. However, there are other types of AS relationships in actual scenarios, i.e., the businessbased sibling and structure-based exchange relationships, that were neglected in the previous research. These relationships are usually difficult to be inferred by existing algorithms because there is no discrimination on the designed features compared to the P2P or P2C relationships. In this paper, we focus on the multi-classification of AS relationships for the first time. We first summarize the differences between AS relationships under the structural and attribute features, and the reasons why multiple relationships are difficult to be inferred. We then introduce new features and propose a Graph Convolutional Network (GCN) framework, AS-GCN, to solve this multi-classification problem under complex scene. The framework takes into account the global network structure and local link features concurrently. The experiments on real Internet topological data validate the effectiveness of our method, i.e., AS-GCN achieves comparable results on the easy binary classification task, and outperforms a series of baselines on the more difficult multi-classification task, with the overall accuracy above 95%.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
binary classification experimentAS-GCNAccuracy95.93%Image Classification · split: val
Source quote
L302: 2017 │ 94.19 │ 95.08 │ 93.77 │ 82.04 │ 91.10 │ 88.90 │ 95.93
binary classification experimentProbLinkAccuracy95.08%Image Classification · split: val
Source quote
L302: 2017 │ 94.19 │ 95.08 │ 93.77 │ 82.04 │ 91.10 │ 88.90 │ 95.93
BibTeX
@misc{peng2021inferring,
  author = {Songtao Peng and Xincheng Shu and Zhongyuan Ruan and Zegang Huang and Qi Xuan},
  title = {{Inferring Multiple Relationships between ASes using Graph Convolutional Network}},
  year = {2021},
  eprint = {2107.13504},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.13504},
}
Figure