Moving target defense means changing a network's structure on purpose, often enough that an attacker's map goes stale before it can be used. In practice this means rewiring which nodes forward to which and remapping addresses. Learned versions of this already exist: a reinforcement-learning agent picks edge swaps that make the topology as unpredictable as possible. They score each swap only on abstract graph statistics, so they cannot tell a swap that is free from one that, mid-traffic, strands packets in buffers, forms brief routing loops, or spikes tail latency. A cycle-accurate simulator tracks every buffer and link clock-cycle by clock-cycle, so it could tell these cases apart. It is far too slow to sit inside a training loop that tries millions of swaps.
This note proposes to learn a fast model of the cost of the transition itself: the disruption caused while the network moves from one topology to the next under live traffic. The design copies the analytical-plus-learned recipe that made CPU simulation five orders of magnitude cheaper, and the resulting model becomes the price signal for a learned defender. The claim is narrow and testable. How fast a defender can safely reconfigure, and therefore how fast it can make an attacker's knowledge decay, is limited by transition cost rather than steady-state cost. Transition cost is exactly what cheap analytical models get wrong and what slow simulation gets right.
Core Claim
The closest existing work is the entropy-maximizing rewiring agent of Dynamic Network Reconfiguration for Entropy Maximization using Deep Reinforcement Learning. That paper casts rewiring as a sequential decision problem. A deep Q-network, using graph-neural-network node embeddings, chooses base node, target node and edge to remove. It rewards gains in degree-distribution entropy and maximal-entropy random-walk entropy, and it penalizes disconnection. It tests on synthetic graphs and a 461-node, 790-edge graph drawn from the LANL enterprise dataset. It models no packets at all. On the simulation side, Evaluating Chiplet-based Large-Scale Interconnection Networks via Cycle-Accurate Packet-Parallel Simulation makes cycle-accurate network simulation 11–14× faster, but only on fixed topologies.
Neither paper asks what happens during a topology change. We will build three things:
- A simulator that can change topology mid-run.
- A transition-cost surrogate trained on that simulator.
- A defender trained to maximize reconnaissance decay under an explicit disruption budget.
Formally, the defender at step $t$ moves from forwarding graph $G_t$ to $G_{t+1}$ and maximizes
$$\sum_t \Delta H(G_t \to G_{t+1}) \quad \text{subject to} \quad \hat{C}(G_t, G_{t+1}, x_t) \le B .$$
Here $\Delta H$ is the entropy gain used by Doorman et al. Here $\hat{C}$ is the surrogate's prediction of transition cost given current traffic state $x_t$, measured as 99th-percentile latency inflation plus dropped packets over the transition window, and $B$ is the operator's disruption budget. Learning will use a Lagrangian relaxation of the constraint.
Research Program
Simulator. First we extend a packet-level cycle-accurate simulator so that the forwarding graph and routing tables can change mid-run. We will use the packet-parallel design of CNSim if its code is available and BookSim otherwise. Routing updates will reach switches with configurable delays, so the simulator reproduces the stale-state window that Ripple identifies as the weakness of centralized controllers. Update ordering will be either naive or two-phase consistent.
Running this simulator over sampled (graph, swap, traffic) triples gives ground-truth transition costs. We expect a few hundred thousand transitions on small and medium graphs. That count is comparable to the 789,000 training points behind Concorde, and generating them is the main compute expense.
Surrogate. The surrogate borrows Concorde's structure, where Concorde supplies the method. A first stage computes cheap analytical bounds for each affected link and switch:
- steady-state load before and after the swap under shortest-path routing;
- packets in flight on the removed edge;
- buffer drain time at the observed occupancy;
- path-length change for the rerouted flows.
A small network then fuses these bounds with a graph embedding of the neighborhood around the swap and predicts the cost distribution. This mirrors Concorde's step of feeding analytical performance distributions into a shallow learned model. CAPSim found that adding a context matrix of current architectural state improved accuracy by up to 9.6%. That result motivates conditioning on live buffer occupancy rather than on topology alone.
Defender. We train the Doorman-style agent with $\hat{C}$ in the loop. ArchAgent showed an optimizer discovering a policy that exploited a simulator bug to fake gains. That result constrains our design: the agent will find the surrogate's blind spots. We therefore add cascaded verification. Every action the agent commits to during evaluation, and a sampled fraction during training, is replayed in the true simulator. Disagreements go back into the surrogate's training data.
Security metric. Entropy alone is a proxy. Our primary security metric is reconnaissance staleness. A scripted scanner probes the network at a fixed rate and builds a map, and staleness is the fraction of that map that is wrong when the scanner tries to use it. This connects the reconfiguration rate the cost budget permits to the outcome a defender actually cares about.
Baselines
Random rewiring. The naive reference is random edge swapping at fixed intervals under the same connectivity constraint. Doorman et al. report that their agent beats it on entropy gain, but the file gives no reported number for the size of that gain. We rerun random rewiring on the same graphs and traffic, at matched reconfiguration rates.
Entropy-only agent. This is a re-implementation of the deep Q-network of Dynamic Network Reconfiguration for Entropy Maximization using Deep Reinforcement Learning, trained with the same budget of environment steps and hyperparameter search as our agent. No reported entropy-gain figure exists on Lacuna for it on LANL, so we report our own reproduction. Beating it means one of two outcomes at matched entropy gain: lower measured 99th-percentile latency inflation and drops, or more completed reconfigurations within the disruption budget and therefore higher staleness.
Analytical-penalty agent (strongest competitor). The same agent is given a penalty equal to the first-stage analytical bounds alone, with no learned fusion. It is the strongest competitor because it is cheap, interpretable, and may already capture most of the cost. It gets the same tuning budget as our agent, including a search over the penalty weight. Beating it requires a statistically clear improvement in staleness at equal measured disruption across all three traffic regimes. Measured disruption always comes from true simulation, never from the surrogate.
Ablations. Two ablations isolate the key ingredient. One drops the live traffic-state input from the surrogate, which tests whether the transition matters or only the endpoint topologies. The other drops cascaded verification, which tests reward hacking.
Oracle. On graphs small enough for direct simulation, an agent rewarded by true simulation serves as an upper bound.
For surrogate accuracy, the only comparable reported figures are from CPU modeling. Concorde reports about 2% average CPI error, with 2.5% of samples above 10% error. We treat these as a reference for what analytical-plus-learned fusion achieves, not as a target for this different task.
Why not just…?
Why not just penalize steady-state link utilization analytically? This is the real threat. If steady-state flow analysis ranks swaps by true transition cost about as well as the learned model does, the surrogate is unnecessary. Concorde's need for a learned second stage is suggestive, but it concerns CPUs, not networks. We settle this directly by measuring rank correlation with simulated transition cost for the analytical bounds and for the surrogate, broken down by traffic load. If the analytical bounds match the surrogate's rank correlation in all regimes, we will report that and drop the learned stage. We expect the gap to appear at high load and with non-consistent updates, where in-flight state dominates.
Why not just run the simulator directly, perhaps truncated? Even at CNSim's 11–14× speedup, simulating each candidate swap under traffic costs orders of magnitude more than a forward pass. Exploration needs millions of candidates. Truncated runs are a reasonable shortcut, and ArchAgent uses them as its screening stage. Its experience also shows short runs can mislead, which is why it still needed long-run validation. We include a truncated-simulation reward as an additional baseline at matched wall-clock time, so the comparison is about cost-adjusted quality rather than an assumption.
Why not just use consistent (two-phase) routing updates so transitions become harmless? Consistent updates can remove loops and drops. They do so by holding duplicate rules and delaying the switch, which turns loss into latency and slows the achievable reconfiguration rate. We treat update protocol as an experimental factor rather than a competitor. If consistent updates make transition cost negligible and uniform across swaps, the surrogate has nothing left to price, and the experiment will show it.
Proposed Experiments
Graphs and traffic. We use Barabási–Albert, Watts–Strogatz and Erdős–Rényi graphs at 50–1,000 nodes, plus the 461-node LANL graph. Traffic comes from three sources: flows replayed from the LANL Unified Host and Network data, the synthetic uniform and bit-permutation patterns used for CNSim, and PARSEC-derived traces for a chiplet-scale variant.
Metrics. Surrogate quality is measured by Spearman correlation and tail error against the simulator. Defense quality is measured as reconnaissance staleness against measured disruption, traced as a curve over budgets $B$. Overhead is the surrogate's evaluation speedup over simulation.
Decisive checks. Three checks decide whether the idea holds:
- The rank-correlation comparison against analytical bounds described above.
- A test of whether the gap between surrogate and simulator is larger on actions the agent chooses than on random actions, which would expose exploitation, and whether cascaded verification closes that gap.
- Whether the defender trained on small graphs keeps its advantage when its committed actions are verified by simulation on the largest graphs, where the oracle cannot be trained.
If the second check shows persistent exploitation even with verification, the honest conclusion is that learned transition pricing needs simulation in the loop. The contribution then shifts to the verified cascade itself.
References
- Dynamic Network Reconfiguration for Entropy Maximization using Deep Reinforcement Learning
- Evaluating Chiplet-based Large-Scale Interconnection Networks via Cycle-Accurate Packet-Parallel Simulation
- Ripple: A Programmable, Decentralized Link-Flooding Defense Against Adaptive Adversaries
- Concorde: Fast and Accurate CPU Performance Modeling with Compositional Analytical-ML Fusion
- CAPSim: A Fast CPU Performance Simulator Using Attention-based Predictor
- ArchAgent: Towards Agentic Architecture Discovery