Machine Learning With Computer Networks: Techniques, Datasets, and Models

Haitham Afifi, Sabrina Pochaba, Andreas Boltres, Dominic Laniewski, Janek Haberer, Leonard Paeleke, Reza Poorzare, Daniel Stolpmann, Nikolas Wehner, Adrian Redder, Eric Samikwa, Michael SeufertIEEE Access 2024 · DOI

This academic paper, published in IEEE Access (2024), serves as a comprehensive "starter kit" for researchers and engineers working at the intersection of machine learning (ML) and computer networking. Rather than presenting a single new experiment, it synthesizes the current state of the field, providing a roadmap of algorithms, datasets, and tools necessary to build the next generation of "AI-native" networks.

The Complexity Crisis in Modern Networking

Modern computer networks have grown exponentially in complexity, spanning 5G, IoT, and massive data centers. Traditional hand-crafted heuristics and manual configurations are increasingly failing to keep up with dynamic traffic patterns and diverse service requirements. While ML offers a solution for dynamic optimization, the field remains highly fragmented, leaving researchers to navigate two primary obstacles:

  1. The Data Gap: Unlike Computer Vision or NLP, networking lacks a "central" repository of high-quality, labeled datasets due to privacy concerns and the proprietary nature of network infrastructure.
  2. The Trust Gap: Network operators are hesitant to deploy "black-box" models that might cause catastrophic downtime. Without clear explanations for model decisions, moving ML from the lab to real-world infrastructure remains a significant risk.

The authors address these challenges by providing a unified taxonomy and a practical guide to the tools that bridge these gaps.

A Unified Taxonomy: ML4N and N4ML

The paper organizes the field into two distinct paradigms that define the bidirectional relationship between machine learning and networking. This structure is designed to guide researchers through the various layers of integration, from basic algorithms to complex distributed systems.

The paper's organizational structure, detailing the taxonomy of ML methods, datasets, and networking architectures.

ML for Networks (ML4N)

This paradigm focuses on using ML to solve classical networking problems like traffic prediction, anomaly detection, and routing. The authors highlight Graph Neural Networks (GNNs) as particularly powerful in this domain because they naturally respect the graph-based topology of networks, allowing models to generalize to new topologies without retraining.

Networks for ML (N4ML)

This involves designing network protocols specifically to support distributed ML training. The paper compares four key architectures:

  • Parameter Server: A centralized hub for model updates.
  • Federated Learning (FL): Training on local data to preserve privacy.
  • All-Reduce: A peer-to-peer approach for high-performance clusters.
  • Split Learning: Dividing a model between resource-constrained IoT devices and powerful servers.

Bridging the Data and Trust Gaps

To solve the Data Gap, the paper catalogs essential resources for practitioners, including mobile throughput traces for 4G/5G (e.g., Riiser and Raca), routing and topology datasets (Abilene, Internet Topology Zoo), and encrypted traffic analytics like AppClassNet. It also discusses the use of Generative Adversarial Networks (GANs) to create realistic, privacy-preserving synthetic traffic.

To address the Trust Gap, the paper emphasizes Explainable AI (XAI) methods such as SHAP, LIME, and Neural Additive Models. In networking, a slightly less accurate model that is explainable is often more valuable than a "perfect" black-box model that might behave unpredictably during a DDoS attack or hardware failure.

An illustration of supervised learning, a foundational component of the ML techniques discussed for network optimization.

Key Insights and Future Directions

Several critical insights emerge from this synthesis:

  • The Latency Loop: A recursive relationship exists where network latency affects ML training speed, which in turn affects how quickly ML can optimize the network.
  • TinyML at the Edge: The future lies in "Intelligence Everywhere," where low-power IoT sensors run quantized ML models to make local decisions without cloud dependency.

Despite the progress, "grand challenges" remain. Scalability to millions of nodes often leads to computation time explosions, and there is a lack of standardized frameworks for cross-vendor interoperability. Furthermore, the environmental impact of training massive models necessitates research into "Green AI" for networks, ensuring that the move toward AI-native infrastructure is sustainable.

Summary updated

BibTeX
@article{afifi2024machine,
  author = {Haitham Afifi and Sabrina Pochaba and Andreas Boltres and Dominic Laniewski and Janek Haberer and Leonard Paeleke and Reza Poorzare and Daniel Stolpmann and Nikolas Wehner and Adrian Redder and Eric Samikwa and Michael Seufert},
  title = {{Machine Learning With Computer Networks: Techniques, Datasets, and Models}},
  journal = {IEEE Access},
  year = {2024},
  doi = {10.1109/access.2024.3384460},
}
Figure