DeepConfig: Automating Data Center Network Topologies Management with Machine Learning

Christopher Streiffer, Huan Chen, Theophilus Benson, Asim Kadav

Abstract

Modern data center networks (DCNs) rely on complex, hand-tuned heuristics for management tasks like routing and topology augmentation. These heuristics are often brittle and fail to generalize across varying workloads. This paper introduces DeepConf, a framework that leverages deep reinforcement learning (DRL) to automate DCN management. By representing network states as spatial traffic matrices processed through convolutional neural networks (CNNs), DeepConf learns optimal strategies for topology management. Experimental results demonstrate that DeepConf achieves near-optimal performance compared to mathematical solutions while offering significantly faster decision-making capabilities.

Introduction

Modern data center networks are the backbone of the internet, but managing them is a nightmare of complexity. Tasks like routing traffic, saving energy by powering down idle links, or augmenting topologies with flexible optical links are typically treated as optimization problems. Because these problems are often NP-hard and don't scale well, engineers rely on "greedy heuristics"—rule-of-thumb algorithms designed for specific hardware or workloads. However, these heuristics are brittle; if the workload changes or a new type of switch is installed, the heuristic often fails or provides sub-optimal performance. DeepConf aims to build a general-purpose "brain" for the network that can learn optimal strategies across various management tasks without manual redesign.

The DeepConf Framework

DeepConf integrates Deep Reinforcement Learning (DRL) with Software Defined Networking (SDN) to replace hand-tuned heuristics. The system uses an intermediate representation where network traffic patterns are captured in a "traffic matrix" (a map of communication between nodes) alongside the current network topology.

The DeepConf agent architecture uses CNNs to process network state and output a policy vector.

Key technical components include:

  • CNN-based Agent: The system uses a Convolutional Neural Network (CNN) to extract spatial features from the traffic matrix, effectively "seeing" hotspots in the network much like a computer vision model identifies objects in an image.
  • A3C Algorithm: It employs the Asynchronous Advantage Actor Critic (A3C) algorithm, allowing multiple agents to learn in parallel to speed up training and improve stability.
  • Abstraction Layer: An SDN abstraction layer translates high-level model decisions (e.g., "add a link") into low-level flow table entries or hardware commands.
  • Training via Simulation: DeepConf trains its agents using high-fidelity network simulators and historical traffic traces, avoiding the risks of testing on live production networks.

Evaluation and Results

The researchers evaluated DeepConf using large-scale MapReduce traces from Facebook and standard data center architectures, specifically K=4 Fat-tree and VL2 topologies. They focused on a "Topology Augmentation" use case—deciding where to place a limited number of flexible optical links to relieve congestion.

DeepConf achieves flow completion times comparable to optimal mathematical solutions across different topologies.

The results showed that DeepConf performed comparably to the optimal solution (derived from an Integer Linear Program) in terms of median Flow Completion Time (FCT). Crucially, while mathematical solutions become computationally prohibitive as networks grow, the trained DeepConf agent can make decisions almost instantaneously. The RL agent successfully learned to prioritize high-utilization links while penalizing long-lasting flows, effectively guiding the network toward higher throughput.

Conclusion and Future Work

DeepConf demonstrates that structural similarities in network management tasks allow a single ML architecture to solve a broad array of problems. By treating traffic matrices as image-like inputs, the model identifies congestion patterns that traditional algorithms might miss.

Future work will address generalization to ensure models don't overfit to specific layouts, the design of complex reward functions for multi-objective optimization (e.g., latency vs. energy), and the resolution of potential conflicts between multiple specialized agents operating on the same network.

Summary updated

BibTeX
@inproceedings{streiffer2018deepconfig,
  author = {Christopher Streiffer and Huan Chen and Theophilus Benson and Asim Kadav},
  title = {{DeepConfig: Automating Data Center Network Topologies Management with Machine Learning}},
  booktitle = {NetAI@SIGCOMM},
  year = {2018},
  doi = {10.1145/3229543.3229554},
}
Figure