Geminet: Learning the Duality-based Topology-Agnostic Update Operator for Lightweight Traffic Engineering in Changing Topologies

Ximeng Liu (Shanghai Jiao Tong University and Zhongguancun Academy), Zhuoran Liu (Shanghai Jiao Tong University), Yingming Mao (Xi'an Jiaotong University and Shanghai Innovation Institute), Yatao Li (Zhongguancun Academy and Zhongguancun Institute of Artificial Intelligence), Shizhen Zhao (Shanghai Jiao Tong University), Xinbing Wang (Shanghai Jiao Tong University)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Smart Pipes, Smarter Learning

Overview

Traffic engineering (TE) is a critical operational pillar for modern wide-area networks (WANs) like Google's B4 and Microsoft's SWAN, as well as dynamic data center architectures featuring optical circuit switches (OCS) such as Google's Jupiter. The core mandate of a TE solver is to distribute traffic across multi-candidate paths between source-destination pairs to balance link loads, avoid congestion hotspots, and minimize the Maximum Link Utilization (MRU). As networks scale and demand fluctuates continuously, TE algorithms must satisfy three stringent requirements simultaneously: high solution quality (low MRU), high scalability to handle massive network graphs, and topology adaptiveness to seamlessly handle link failures, capacity upgrades, or runtime OCS reconfigurations without requiring costly model retraining or redeployment.

Watch on YouTube · Slides

Visual summary for Geminet: Learning the Duality-based Topology-Agnostic Update Operator for Lightweight Traffic Engineering in Changing Topologies by Ximeng Liu, Zhuoran Liu, Yingming Mao, Yatao Li, Shizhen Zhao, Xinbing Wang
Visual summary for Geminet: Learning the Duality-based Topology-Agnostic Update Operator for Lightweight Traffic Engineering in Changing Topologies by Ximeng Liu, Zhuoran Liu, Yingming Mao, Yatao Li, Shizhen Zhao, Xinbing Wang

Key moments

  1. 0:00 Introduction to Geminet and traffic engineering background
  2. 4:18 Limitations of existing LP and learning-based TE approaches
  3. 7:12 Core design: Topsis-agnostic update operator and duality transformation
  4. 8:38 Detailing Design 1: Topology-agnostic update operator via scalar features
  5. 11:28 Detailing Design 2: Moving from path space to edge space via duality
  6. 15:20 Evaluation results on topology changes and memory overhead

Geminet: Learning the Duality-based Topology-Agnostic Update Operator for Lightweight Traffic Engineering in Changing Topologies

Speakers: Ximeng Liu (Shanghai Jiao Tong University and Zhongguancun Academy); Zhuoran Liu (Shanghai Jiao Tong University); Yingming Mao (Xi'an Jiaotong University and Shanghai Innovation Institute); Yatao Li (Zhongguancun Academy and Zhongguancun Institute of Artificial Intelligence); Shizhen Zhao (Shanghai Jiao Tong University); Xinbing Wang (Shanghai Jiao Tong University)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=odWgHARpYoY

Overview

Traffic engineering (TE) is a critical operational pillar for modern wide-area networks (WANs) like Google's B4 and Microsoft's SWAN, as well as dynamic data center architectures featuring optical circuit switches (OCS) such as Google's Jupiter. The core mandate of a TE solver is to distribute traffic across multi-candidate paths between source-destination pairs to balance link loads, avoid congestion hotspots, and minimize the Maximum Link Utilization (MRU). As networks scale and demand fluctuates continuously, TE algorithms must satisfy three stringent requirements simultaneously: high solution quality (low MRU), high scalability to handle massive network graphs, and topology adaptiveness to seamlessly handle link failures, capacity upgrades, or runtime OCS reconfigurations without requiring costly model retraining or redeployment.

In this talk, presenter Ximeng Liu introduces Geminet (referred to phonetically in transcript as Termite or Geminate), a novel learning-based TE framework designed to achieve lightweight, topology-agnostic traffic engineering. Traditional linear programming (LP) solvers like Gurobi guarantee optimal solutions but fail to meet latency constraints at scale. Prior learning-based methods such as DOT provide rapid one-shot inference but lack topology adaptiveness, breaking down completely when network graphs change. Recent adaptive architectures like HARP employ stacked graph neural networks (GNNs) and transformers to encode changing topologies, but suffer from severe computational and memory bottlenecks as path counts and network sizes grow. Geminet solves this dilemma by decoupling topology encoding from learnable model parameters and shifting the iterative decision space from the combinatorial path level to the compact edge level.

The framework introduces two foundational innovations: a topology-agnostic update operator that replaces deep neural network topology encoders with fixed, deterministic scalar features, and a partial dual-variable transformation that maps the update state from paths to edges. Evaluated across diverse network topologies, Geminet matches the solution quality of state-of-the-art adaptive baselines while slashing GPU memory consumption down to just 4% of competing methods, operating up to 3.6× faster in dynamic scenarios, and utilizing a fraction of the parameter footprint. This talk offers systems engineers and network operators a compelling blueprint for deploying adaptive, machine learning-driven optimization systems that scale gracefully into the future.

Background

▶ Watch: Introduction to Geminet and traffic engineering background (0:00)

The systems and machine learning communities have long grappled with the tension between optimality and execution speed in network optimization. Classical traffic engineering formulates the flow-routing problem as a large-scale linear program or multi-commodity flow problem. Solvers like Gurobi compute mathematically optimal split ratios, but their execution time grows exponentially or cubically with network size, making them impractical for real-time reactions in hyperscale WANs and dynamic data centers where topology changes are an everyday norm rather than exceptional events.

To circumvent the computational bottlenecks of mathematical solvers, researchers turned to machine learning. Early data-driven approaches trained neural networks to map traffic demands directly to path split ratios in a single forward pass. However, these models were strictly hardcoded to a single, static topology. If a link dropped, a node went offline, or an OCS reconfigured the optical interconnect, the underlying graph structure changed, rendering the pre-trained neural network invalid. Operators faced an untenable choice: wait hours for model retraining or suffer suboptimal routing.

Recent breakthroughs like HARP attempted to solve this by embedding topology awareness directly into the model architecture. HARP stacks Graph Neural Networks (GNNs) to process the network graph, Transformers to encode candidate paths, and recurrent adjustment units to iteratively refine split ratios. While this unlocked topology adaptiveness, it introduced severe scalability bottlenecks. Stacking deep neural layers causes computation and memory costs to explode as network depth, path length, and candidate path counts increase. Furthermore, because these models maintain state variables for every individual candidate path, they struggle with combinatorial path inflation. In real-world topologies like Juniper or KDL, the number of candidate paths is routinely 25 to over 1,200 times larger than the number of network edges. Geminet was created to eliminate this structural overhead by rethinking where topology encoding and state updates occur within the machine learning pipeline.

Key Findings

▶ Watch: Core design: Topsis-agnostic update operator and duality transformation (7:12)

Geminet demonstrates that learning-based traffic engineering can achieve robust topology adaptiveness without incurring the massive computational and memory penalties associated with path-level GNN and transformer stacks. The research establishes several major discoveries regarding state representation and optimization dynamics in changing networks:

  • Path-to-Edge Dimensionality Reduction: By transforming the problem space from primal paths to dual edge variables, Geminet reduces state tracking dimensionality by one to three orders of magnitude. In the KDL topology, where candidate paths outnumber edges by 1,268 to 1, edge-level dual variables restrict the optimization state space to the physical edge count.
  • Parameter Minimization: Across complex topologies, Geminet requires drastically fewer model parameters than baseline adaptive methods. On the large KDL network, Geminet uses between 0.04% and 7% of the parameter count of competing learning-based models.
  • Dramatic Memory Efficiency: When evaluated on dynamic topologies, Geminet consumes only 4% of the GPU memory footprint demanded by state-of-the-art architectures like HARP, eliminating out-of-memory errors on large enterprise and data center graphs.
  • Speedup and Convergence: Geminet achieves up to 3.6× faster time-to-target performance in dynamically changing topologies compared to HARP, and scales up to 18× faster when reaching target performance benchmarks on large topologies like KDL.
  • Quality Parity: Despite operating with a fixed, parameter-free feature extractor and a compact edge-space update operator, Geminet preserves competitive solution quality, matching the MRU minimization capabilities of heavier, deep-stacked topology-aware networks.

Technical Deep Dive

▶ Watch: Detailing Design 1: Topology-agnostic update operator via scalar features (8:38)

The architectural innovation of Geminet rests on two core design principles: the Topology-Agnostic Update Operator and the Duality-Based Edge-Level Transformation.

Traditional neural network solvers attempt to approximate a TE solver via two paradigms: one-shot solvers that ingest the entire graph, all candidate paths, and all link capacities to output split ratios directly (requiring deep, expensive topology encoders), or update solvers that approximate iterative gradient steps. Geminet adopts an iterative update solver design but radically alters how information flows through the network.

Design 1: Topology-Agnostic Update Operator

Instead of feeding raw network graphs and path structures into learnable GNN and transformer layers, Geminet completely extracts topology encoding out of the learnable neural network parameters. At each iteration $T$ for each path $P$, the framework computes a fixed 4-dimensional scalar feature vector derived directly from the MRU objective. These four features capture crucial local and global signals:

  1. The bottleneck link status across the graph.
  2. The specific traffic demand of the source-destination pair.
  3. Global network MRU metrics.
  4. First-order gradient effects of the split ratio on MRU.

Crucially, computing these features acts as a non-trainable, deterministic projection of the topology and path states. Because the neural network receives a standardized 4-dimensional tensor regardless of whether the network has 50 nodes or 5,000 nodes, the network architecture remains invariant to network size. The topology encoding has zero learnable parameters, allowing the exact same operator weights to generalize across completely new or reconfigured topologies without retraining.

Design 2: Duality-Based Edge-Level Transformation

Eliminating the GNN stack solves the first bottleneck, but updating states at the individual candidate path level still introduces severe scaling friction due to path explosion. Geminet resolves this by invoking partial Lagrangian duality on the capacity constraints of the TE problem.

By taking the partial dual of the capacity constraints, the framework introduces a dual variable $\lambda_E$ for each physical edge $E$ in the network. Intuitively, $\lambda_E$ represents the dynamic congestion price of that specific edge. Linear programming duality guarantees that the information contained within these edge dual variables ($\lambda$) is entirely sufficient to recover the optimal path split ratios for the primal problem.

The recovery mechanism is mathematically elegant: once dual variables are updated, the optimal primal split ratios are recovered independently for each source-destination pair via a closed-form formula. To ensure end-to-end differentiability during training, Geminet replaces the hard $\arg\min$ operator with a softmin function over path costs (defined as the sum of dual edge prices $\lambda$ along a given path).

The Geminet Iterative Loop

The operational lifecycle of Geminet functions as a coupled twin system between primal and dual domains:

  1. Initialization: Edge-level dual variables $\lambda$ are initialized using lightweight heuristic congestion price estimates.
  2. Iteration: In each step, the topology-agnostic edge-level update operator computes adjustments to the dual variables $\lambda$.
  3. Recovery: Split ratios are recovered from $\lambda$ via the softmin bridge.
  4. Convergence: The loop repeats iteratively until a strict computational time budget is exhausted, successfully converging on a congestion-minimizing traffic distribution.

Experimental Setup & Results

▶ Watch: Detailing Design 2: Moving from path space to edge space via duality (11:28)

The evaluation methodology benchmarks Geminet against leading adaptive learning-based traffic engineering baselines (specifically HARP) across multiple synthetic and real-world network topologies of varying scales, including Juniper and KDL.

The hardware setup utilizes GPU-accelerated environments to measure memory consumption, parameter counts, and wall-clock execution time. Because traffic engineering in WANs and dynamic data centers involves continuous state shifts, evaluation runs focus heavily on dynamically changing topologies characterized by simulated link failures, capacity additions, and structural graph reconfigurations.

  • GPU Memory Footprint: Geminet demonstrates an exceptionally lean memory profile across all tested scales. Across every network topology evaluated, Geminet achieves the lowest GPU memory footprint in the benchmark suite, consuming a mere 4% of the memory required by stacked GNN/transformer baselines like HARP.
  • Parameter Efficiency: Parameter scaling analysis reveals orders-of-magnitude reductions. On the largest topology tested (KDL), Geminet utilizes only 0.04% to 7% of the model parameters found in competing architectures.
  • Inference and Convergence Speed: When tracking time-to-target performance on dynamically changing topologies, Geminet delivers a 3.6× speedup over HARP. On the large-scale KDL network, Geminet reaches target performance benchmarks up to 18× faster than baseline models.
  • Solution Quality: Ablation and performance metrics confirm that despite stripping away deep trainable encoders and operating entirely in the edge-dual space, Geminet retains near-optimal MRU minimization quality, proving that massive parameter overhead is unnecessary for robust topology adaptation.

Practical Implications

▶ Watch: Evaluation results on topology changes and memory overhead (15:20)

For network infrastructure teams, traffic engineering operators, and ML systems builders, Geminet marks a significant paradigm shift in how machine learning can be safely and efficiently integrated into core networking gear and control planes.

  1. Elimination of Retraining Bottlenecks: The primary barrier to deploying ML-based TE in production has been operational fragility—when a link fails or an OCS reconfigures, traditional ML models fail or demand offline retraining. Geminet’s topology-agnostic update operator completely removes this friction, allowing models to be deployed once and run continuously across evolving topologies.
  2. Edge-Scale Feasibility: By moving state management from combinatorial path spaces to physical edge spaces, Geminet brings learning-based TE within reach of resource-constrained control plane hardware. Infrastructure teams no longer need heavy, multi-GPU training clusters simply to compute routing updates for large WANs.
  3. Tradeoffs and Limitations: While Geminet successfully decouples topology encoding, the framework relies on the availability of candidate path sets and initial heuristic dual pricing. Furthermore, as with iterative optimization schemes, system designers must carefully tune the iteration budget to balance sub-millisecond control-plane latency requirements against convergence precision. Nonetheless, the memory and speed advantages make it an extraordinarily strong candidate for real-world software-defined networking (SDN) controllers.

Key Takeaways

  • The Adaptiveness Dilemma Solved: Geminet successfully bridges the gap between high-speed machine learning inference and universal topology adaptiveness without requiring model retraining or redeployment after network changes.
  • Decoupled Topology Encoding: By replacing trainable GNN and transformer stacks with fixed, parameter-free 4-dimensional scalar features derived from MRU gradients, the neural network becomes entirely independent of network size and graph structure.
  • Combinatorial Path Defiance: Shifting the optimization state from primal paths to edge-level dual variables ($\lambda$) reduces state dimensionality by orders of magnitude, neatly sidestepping the path explosion problem in large networks.
  • Extreme Efficiency Gains: Geminet achieves up to an 18× speedup in time-to-target performance, reduces GPU memory consumption to just 4% of baseline models, and operates on a fraction of the parameter footprint on large networks like KDL.
  • Production Readiness: The framework offers network operators a lightweight, robust, and mathematically grounded tool for real-time traffic engineering in dynamic WANs and optical circuit-switched data centers.

About the Speaker(s)

Ximeng Liu is a researcher affiliated with Shanghai Jiao Tong University and the Zhongguancun Academy, presenting this work on behalf of a collaborative research team including Zhuoran Liu, Yingming Mao, Yatao Li, Shizhen Zhao, and Xinbing Wang. In the talk introduction, Liu notes that the research addresses fundamental scalability and adaptiveness bottlenecks in modern data center and wide-area network traffic engineering.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)