[Paper Review] Near-Deterministic Inference of AS Relationships
This paper proposes a near-deterministic algorithm for inferring Autonomous System (AS) relationships using an Internet core of top-level providers. By leveraging BGP and traceroute data, the method deterministically infers over 95% of AS links with minimal error, even with imperfect cores, and significantly improves p2p link detection via DIMES data, validating its robustness and scalability with as few as 20 core ASes and one week of data.
The discovery of Autonomous Systems (ASes) interconnections and the inference of their commercial Type-of-Relationships (ToR) has been extensively studied during the last few years. The main motivation is to accurately calculate AS-level paths and to provide better topological view of the Internet. An inherent problem in current algorithms is their extensive use of heuristics. Such heuristics incur unbounded errors which are spread over all inferred relationships. We propose a near-deterministic algorithm for solving the ToR inference problem. Our algorithm uses as input the Internet core, which is a dense sub-graph of top-level ASes. We test several methods for creating such a core and demonstrate the robustness of the algorithm to the core's size and density, the inference period, and errors in the core. We evaluate our algorithm using AS-level paths collected from RouteViews BGP paths and DIMES traceroute measurements. Our proposed algorithm deterministically infers over 95% of the approximately 58,000 AS topology links. The inference becomes stable when using a week worth of data and as little as 20 ASes in the core. The algorithm infers 2-3 times more peer-to-peer relationships in edges discovered only by DIMES than in RouteViews edges, validating the DIMES promise to discover periphery AS edges.
Motivation & Objective
- To address the lack of error bounds in existing AS relationship inference algorithms that rely heavily on heuristics.
- To develop a deterministic inference method that minimizes error propagation by using a stable, high-level Internet core as input.
- To evaluate the robustness of the algorithm under varying core definitions, sizes, and error levels.
- To improve p2p relationship detection by integrating DIMES traceroute data, which captures periphery links missed by BGP routing tables.
- To provide a strict bound on inference errors by isolating heuristic use to a small, well-defined subset of relationships.
Proposed method
- The algorithm uses a dense subgraph of top-level ASes—called the Internet core—as input, with known relationship types.
- It applies a deterministic inference process based on AS-level paths from RouteViews BGP data and DIMES traceroutes to infer relationships without introducing new errors.
- For edges not inferable deterministically, a two-stage heuristic is applied: degree-based voting and k-shell index comparison to resolve ties and infer p2p links.
- The core is constructed via multiple methods (e.g., k-core, greedy maximal clique) to test robustness across different definitions.
- The algorithm evaluates inference stability and accuracy by injecting random errors into the core and measuring degradation in deterministic inference and correlation with CAIDA’s ground truth.
- It leverages both BGP and traceroute data to increase vantage points and detect p2p links not visible in BGP tables.
Experimental results
Research questions
- RQ1Can a deterministic inference algorithm for AS relationships be designed that avoids the unbounded error propagation inherent in heuristic-based methods?
- RQ2How robust is the algorithm to variations in core size, density, and definition, including errors in core membership or relationships?
- RQ3To what extent does integrating DIMES traceroute data improve the detection of peer-to-peer (p2p) relationships compared to BGP-only data?
- RQ4What is the minimum core size required to achieve stable and accurate deterministic inference of AS relationships?
- RQ5How does the algorithm’s performance degrade when the core contains increasing levels of random or incorrect ASes?
Key findings
- The algorithm deterministically infers over 95% of approximately 58,000 AS topology links using only one week of data and a core of as few as 20 ASes.
- The algorithm remains robust even when up to 50% of core ASes are replaced with random ones, with less than 20% of edges requiring heuristic inference.
- The percentage of p2p relationships inferred by the algorithm that are not present in RouteViews BGP tables is approximately 40%, highlighting DIMES’ value in detecting periphery links.
- The proportion of p2p edges discovered only in DIMES data is around 12%, significantly higher than the average 4–5% across all edges, indicating DIMES captures more p2p relationships.
- When the core contains 50% random ASes, the percentage of p2p edges classified differently than in CAIDA’s ground truth increases from ~16% to over 40%.
- The algorithm achieves stable inference performance after one week of data, with minimal degradation under realistic core errors, demonstrating practical feasibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.