NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Geminet: Learning the Duality-based Iterative Process for Lightweight Traffic Engineering in Changing Topologies

Ximeng Liu, Shizhen Zhao, Xinbing Wang · OpenReview

TL;DR

Geminet is a new ML-based framework for traffic engineering (TE) that tackles the scalability and adaptability issues of existing methods. It achieves this by decoupling the neural network from network topology and reformulating the optimization problem from path-level to edge-level, resulting in significantly reduced memory usage and faster training times while maintaining performance.

What Problem Does This Paper Address?

Traffic Engineering (TE) is crucial for optimizing network performance by efficiently routing traffic. While traditional optimization methods struggle with the scale and dynamic nature of modern networks, Machine Learning (ML) approaches have emerged as promising alternatives. However, existing ML-based TE solutions face two major hurdles:

  1. Handling Topology Changes: Network topologies are not static; they change due to failures, maintenance, or growth. Many ML-based TE schemes require retraining from scratch for each change, which is computationally expensive and leads to delays.
  2. Scalability Issues: As network sizes grow, the computational and memory demands of ML-based TE schemes become prohibitive. This is particularly true for methods that need to process a vast number of paths or handle dynamic topology updates.

These limitations prevent current ML-based TE solutions from being practical for large-scale, real-world deployments.

Methods

Geminet introduces two core innovations to address these challenges:

  1. Topology-Agnostic Update Operator: Instead of learning a model that directly maps network state to routing decisions, Geminet learns a topology-agnostic update operator. This operator is inspired by classical iterative optimization methods like gradient descent. The key insight is that the update rule itself (how to adjust routing based on current conditions) is largely independent of the specific network topology. Geminet's neural network learns this update rule, taking gradient-related quantities (like link utilization and traffic demand) as input. This decouples the neural network from explicit topology inputs, allowing it to generalize across different network structures.
  2. Duality Theory for Edge-Level Optimization: To combat the scalability problem arising from the sheer number of paths in large networks, Geminet leverages duality theory. It reformulates the TE optimization problem from a path-level decision problem (determining split ratios for each path) to an edge-level problem (optimizing dual variables associated with edges). Since the number of edges is significantly smaller than the number of paths, this shift drastically reduces memory consumption and computational complexity. The optimal edge-level dual variables can then be used to efficiently derive the path-level split ratios.

Datasets

The paper evaluates Geminet on several real-world datasets:

  • WAN Datasets: GEANT, Topology Zoo (Cogentco, KDL), CAIDA ASN topology.
  • Data Center Datasets: Meta WEB DC (PoD and ToR levels), direct-connect topology.
  • Dynamic Topology: DynGeant (a dynamic variant of GEANT).

Traffic data was sourced from public traces (GEANT, Meta WEB) and generated using the gravity model for others.

Key Insights and Ideas

  • The "Update Rule" is Topology-Agnostic: The core idea that the iterative process of finding optimal routing can be learned independently of the network's specific structure is a significant departure from previous approaches. This allows for greater reusability and adaptability.
  • Edges are "Cheaper" than Paths: By shifting optimization to the edge level using duality, Geminet exploits the fact that there are far fewer edges than paths in most networks. This is a clever way to dramatically reduce memory footprint without sacrificing performance.
  • Decoupling for Scalability and Adaptability: The combination of a topology-agnostic update operator and edge-level optimization is the key to Geminet's lightweight and scalable nature, making it suitable for dynamic environments.

Key Results

  • Scalability: Geminet significantly improves scalability. Its neural network size is a mere 0.04% - 7% of existing schemes. For large-scale topologies, Geminet consumes less than 10 GiB of memory, compared to over 80 GiB for HARP.
  • Performance: Geminet handles topology variations as effectively as HARP, a state-of-the-art ML-based TE approach, without performance degradation. It also performs comparably to HARP in handling link failures.
  • Speed: Geminet achieves 18x faster convergence than HARP and is 2.3x faster in inference time.
  • Adaptability: Geminet effectively handles dynamic topology changes, including node/link additions/removals, capacity changes, and link failures.

Limitations and Future Work

  • Drastic Topology Changes: While Geminet handles topology variations well, performance can degrade when tested on a topology drastically different from the training one. The authors suggest periodic fine-tuning as a practical remedy, noting that Geminet's small model size makes this efficient.
  • Non-Convex/Non-Differentiable Objectives: Geminet is primarily designed for convex objectives like MLU. Handling non-convex or non-differentiable objectives (e.g., minimizing packet loss) would require additional modules or integration with simulators.
  • Solution Time Bottleneck: While faster than many ML methods, Geminet's solution time can still be longer than simpler end-to-end models like DOTE due to its iterative adjustment process, which involves sparse matrix multiplications. Future work could focus on optimizing these computations.
  • End-to-End Training for Dynamic Topologies: The paper notes that end-to-end training (mapping historical traffic directly to TE decisions) is effective for static topologies under uncertainty but remains an open challenge for dynamic topologies.

Summary updated

BibTeX
@inproceedings{liu2026geminet,
  author = {Ximeng Liu and Shizhen Zhao and Xinbing Wang},
  title = {{Geminet: Learning the Duality-based Iterative Process for Lightweight Traffic Engineering in Changing Topologies}},
  booktitle = {NSDI},
  year = {2026},
}
Figure