Manuscript Offprint
arXiv:2610.25173An Information-Geometric Framework for OCS-Reconfigurable Interconnect Topology in Large-Scale AI Clusters
Abstract
The interconnects of large AI training clusters, exemplified by NVIDIA’s GB200 NVL72 systems, are built from static and symmetric fabrics: an NVLink domain within the rack and a Fat-Tree between racks. Optical circuit switches render the inter-pod wiring programmable, and thereby raise three design questions that static fabrics never pose: which wiring to deploy, how far it should depart from the symmetric reference, and when it should be changed. This paper answers them within a single information-geometric framework.
A wiring is a point of the probability simplex over candidate circuits, constrained to a degree polytope, and its departure from a symmetric prior encoding the uniform logical capacity of a non-blocking Fat-Tree is measured by the Kullback–Leibler divergence. The cost is a smoothed critical-path length of the training-iteration DAG; it is convex with explicit smoothness constants, and its gradient is given by the marginals of a Gibbs distribution over DAG paths, computable by a forward–backward recursion. For the free energy we establish well-posedness, monotone dependence on the inverse temperature with quantitative limits at both ends, a lower bound on the gain of adaptation by the Jeffreys divergence between the static and the adaptive wiring, and a symmetry principle that characterises exactly when static wiring is optimal. The associated entropic proximal-gradient method reduces each step to a multiplicative update followed by a KL projection with a -dimensional dual, and converges linearly in KL divergence, also in the presence of inexact projections.
For time-varying traffic, a threshold policy attains regret against the switching-free dynamic optimum, with a finite-sample counterpart whose radius depends on the support size rather than the ambient dimension; the KL indicator of traffic change is identified as the multinomial generalised likelihood-ratio statistic, which yields an adaptive-lag GLR–CUSUM detector with a non-asymptotic false-alarm bound. For clusters shared by several jobs, generalised-mean fairness of slowdowns is convex, coincides in its maximisers with -fairness of throughputs for , and leads to a Gibbs-form optimality condition. Synthetic experiments on pipeline-, data- and expert-parallel workloads confirm the theory and delineate its scope, including the regime in which exact integer programming remains preferable.
Keywords: information geometry, optical circuit switching, Fat-Tree, large language model training, Bregman proximal gradient, KL projection, change detection, fairness.
Contents
1 Introduction 2
1.1 The Communication Bottleneck in LLM Training 2
1.2 Fat-Tree as the Dominant Paradigm and Its Limitations 2
1.3 Optical Circuit Switching: Promise and Open Problems 2
1.4 Contributions and Their Relation to Known Results 2
2 Background 3
2.1 Fat-Tree, Blackwell, and OCS Fabrics 3
2.2 Information Geometry of the Simplex 3
3 Model: Wiring Manifold, Prior, and DAG Cost 5
3.1 Wirings and the Degree Polytope 5
3.2 The Symmetric Prior 6
3.3 Workload, DAG, and Smoothed Critical Path 6
4 Free Energy and Temperature 7
5 Entropic Proximal-Gradient Algorithm and Convergence 9
5.1 The Update as a KL Projection 9
5.2 Convergence 10
5.3 Integer Circuits 12
6 When to Reconfigure: Regret and Likelihood-Ratio Detection 12
6.1 Setting 12
6.2 Threshold Policies and Regret 13
6.3 The KL Indicator as a Likelihood-Ratio Statistic 15
7 Multi-Tenant Clusters 15
7.1 Shared Port Budget and the KL Chain Rule 15
7.2 Fairness Functionals 16
7.3 Reconfiguration with Externalities 17
8 Synthetic Experiments 17
8.1 Setup 17
8.2 Convergence and Temperature 18
8.3 Integer Circuits Against an Exact MILP 18
8.4 Dynamic Reconfiguration 19
8.5 Multi-Tenant Fairness 21
9 Discussion 22
10 Conclusion 23
A Deferred Proofs 23
1.1 The Communication Bottleneck in LLM Training
Large language models (LLMs) now reach hundreds of billions to trillions of parameters [6, 7, 28], and training them requires tens of thousands of accelerators operating in concert. The interconnect is a first-order determinant of throughput and of reliability: during a 54-day snapshot of Llama 3 405B pre-training, 35 of 419 unexpected interruptions (8.4%) were attributed to network switches and cables [18].
A training job is decomposed along tensor (TP), pipeline (PP), data (DP) and, for mixture-of-experts (MoE) models, expert (EP) parallelism [12, 24]. Each dimension induces a distinct collective: TP issues latency-critical collectives that normally stay inside the scale-up domain, PP sends activations and gradients between adjacent stages, DP performs gradient all-reduce, and EP performs all-to-all exchanges whose volume depends on token routing. The resulting traffic is strongly structured, phase-dependent, and—for MoE—time-varying.
1.2 Fat-Tree as the Dominant Paradigm and Its Limitations
The k-ary Fat-Tree [1, 15] is the de facto standard for HPC and AI clusters. NVIDIA's DGX SuperPOD reference architecture uses a multi-tier InfiniBand Fat-Tree [20]; the Blackwell generation adds a rack-scale NVLink domain (GB200 NVL72: 72 GPUs, fifth-generation NVLink, 1.8 TB/s per GPU and 130 TB/s in aggregate) with an InfiniBand or Ethernet Fat-Tree between racks [21]. A non-blocking Fat-Tree offers the same logical capacity to every host pair and is therefore optimal for worst-case (uniform) traffic. For structured LLM traffic it is over-provisioned in some directions and cannot be re-shaped when the parallelism layout changes: the only remaining degree of freedom is routing, constrained by fixed wiring.
1.3 Optical Circuit Switching: Promise and Open Problems
Optical circuit switches establish reconfigurable point-to-point light paths that bypass electrical packet switching. Google’s TPU v4 [14] interconnects 4,096 chips through a 3D torus whose slices are composed per job by 48 OCS units, and Google’s data-centre networks use OCS at scale [23, 29]. Topology engineering for such fabrics is typically posed as an integer or mixed-integer programme: COUDER [27] optimises over sets of traffic matrices and reports, on Facebook traces, about 20% higher throughput and 32% lower average hop count than cost-equivalent static topologies; ATRO [13] jointly optimises topology and routing, finding the global optimum for one-hop routing and alternating updates for multi-hop routing; TopoOpt [30] co-optimises topology and parallelisation for training jobs; DELTA [11] encodes the training DAG in a MILP and reports up to 17.5% lower communication time and at least 20% fewer optical ports than traffic-matrix baselines; and InfiniteHBD [25] builds a data-centre-scale high-bandwidth domain from OCS transceivers, reporting a cost of 31% of NVL72. What is missing is a continuous theory that (a) states what a reasonable departure from the symmetric Fat-Tree reference is, (b) admits provable, low-complexity updates, (c) incorporates the causal structure of the training DAG, and (d) gives a statistically principled rule for when to reconfigure.
1.4 Contributions and Their Relation to Known Results
We develop such a theory by combining elementary information geometry [2, 3, 9] with first-order methods in Bregman geometry [4, 17] and classical sequential analysis [16, 26]. The tools are standard; the contribution lies in the formulation they make possible and in the results specific to it. We regard the following three as the principal contributions.
(I) A temperature-controlled design principle (Section 4). Wirings are points of a simplex restricted to a degree polytope, and their departure from a symmetric Fat-Tree-like prior is penalised by the KL divergence with weight . We prove well-posedness and strict positivity (Theorem 4.2), monotone and quantitative limits in (Theorem 4.3), a lower bound on the gain of adaptation by the Jeffreys divergence between static and adaptive wirings (Theorem 4.4), and a symmetry principle identifying exactly when static wiring is optimal (Theorems 4.5 and 4.7).
(II) A differentiable DAG cost (Section 3). The iteration time is a smoothed critical path of the training DAG; it is convex with explicit smoothness constants (Theorem 3.3), and its gradient is the vector of path criticalities of a Gibbs distribution over DAG paths, computed by a forward–backward recursion (Theorem 3.4).
(III) Guarantees for reconfiguration (Section 6). A threshold policy has regret against the switching-free dynamic optimum (Theorem 6.3), with a KL-threshold variant (Theorem 6.5) and a finite-sample version whose radius scales with the support size (Theorem 6.7); the GLR–CUSUM detector obtained from the likelihood-ratio form of the KL indicator controls false alarms (Theorem 6.9).
Two further components apply established results to the present model and are included to make the framework complete and verifiable: the convergence analysis of the entropic proximal-gradient method (Section 5; Theorems 5.4 and 5.5), which specialises the theory of Bregman proximal gradient methods under relative smoothness, and the multi-tenant extension (Section 7), which combines the KL chain rule with generalised-mean fairness and identifies the range in which fairness and convexity are compatible (Theorems 7.2, 7.4 and 7.5). Synthetic experiments (Section 8) verify every bound and compare against static, demand-proportional and exact integer baselines. We have not carried out an exhaustive priority search, and make no claim that the individual inequalities are new as abstract statements; their interest lies in what they assert about reconfigurable fabrics.
2 Background
2.1 Fat-Tree, Blackwell, and OCS Fabrics
A k-ary Fat-Tree has core switches and pods, each with aggregation and edge switches; every edge switch serves hosts, for hosts and inter-switch links in total. Its automorphism group permutes pods and the hosts below an edge switch, and with full bisection bandwidth it offers the same logical capacity to every host pair. Figure 1(a) shows .
In Blackwell NVL72 systems [21] the 72 GPUs of a rack are connected through NVSwitch trays; each GPU also has a NIC to the scale-out InfiniBand or Ethernet Fat-Tree (Figure 1(b)). All layers are static.
An OCS device establishes point-to-point optical circuits between transceivers; switching takes milliseconds for MEMS devices, while end-to-end reconfiguration including transceiver and NIC re-initialisation is reported in the range of seconds [11, 22]. We work at pod granularity: a pod is a scale-up domain (e.g. a rack) with r OCS uplinks; the OCS layer realises any multigraph on the pods in which every pod has degree at most r and the total number of circuits does not exceed the OCS port budget (Figure 1(c)).
2.2 Information Geometry of the Simplex
Let be a finite set and , with relative interior . With the Fisher metric , is a dually flat manifold [2, 3]: the -affine coordinates are and the -affine coordinates are . The canonical divergence is the KL divergence (with ), which is the Bregman divergence of the negative entropy restricted to .
(a) Fat-Tree (k=4)
Static, symmetric

(b) Blackwell NVL72
NVLink (intra-rack) + InfiniBand Fat-Tree (inter-rack)
(c) OCS-Reconfigurable
Logical 2D/3D torus, re-wired per job

(d) Topology manifold
Information-geometric view

torus link OCS circuit

Figure 1: Four views of interconnect topology. (a) A Fat-Tree with 4 pods, core switches, 8 aggregation switches, 8 edge switches, and hosts. All links are fixed at deployment. (b) NVIDIA Blackwell NVL72: GPUs are fully meshed within each rack via NVSwitch (blue links), and racks are interconnected through a hierarchical InfiniBand Fat-Tree reached through per-GPU NICs (red links). Only 6 of the 72 GPUs per rack are drawn. The topology is static. (c) An OCS-reconfigurable fabric realizes a logical torus (dashed orange; arrows indicate wrap-around links) whose wiring is reprogrammed per job. The thick orange circuit is an example cross-connect set inside the OCS, turning otherwise idle fibres into a long-range link. (d) Schematic information-geometric view (not to scale): wirings are points of the simplex , and the degree polytope is -convex. The static symmetric wiring sits at the prior; an iterate outside (e.g. the multiplicative step (15)) is mapped back by the KL projection (Theorem 5.1). Other topology families are shown only for orientation; families with different switch sets are not, in general, points of the same simplex (Theorem 3.2).
A set is -convex if it is convex in -coordinates (e.g. a polytope cut out by linear inequalities in ), and -flat if it is the intersection of with an affine subspace. For a closed -convex and we call
the KL projection (Csiszár's I-projection [9]) of q onto W. In Amari's terminology the minimiser over the first argument onto an m-flat set is reached along an e-geodesic and is called the e-projection; to avoid the ambiguity present in parts of the literature we use the explicit form (1) throughout.
Lemma 2.1 (Positivity). Let be closed and convex and contain a point with all coordinates positive. Let with and convex and continuously differentiable on a neighbourhood of . Then every minimiser of over has all coordinates positive.
Proof. Let minimise over and suppose for some . Pick with and set for . For coordinates with , the map is differentiable at ; so is . For the coordinate , as . Hence the right derivative of at is , so for small , a contradiction.
Theorem 2.2 (Generalised Pythagorean inequality [9]). Let be closed, -convex and contain a positive point, and let . Then exists, is unique, is positive, and for every ,
with equality for all when is m-flat.
Proof. is continuous and strictly convex on the compact set , so the minimiser exists and is unique; it is positive by Theorem 2.1. At a positive minimiser the first-order condition reads for all ; since this is . Direct expansion gives the identity
which proves (2). If is -flat, lies in its relative interior (it is positive), so for small and the first-order condition holds with equality.
We repeatedly use Pinsker’s inequality [8] and the following three-point identity, valid for and , which is (3) with replaced by any positive :
3 Model: Wiring Manifold, Prior, and DAG Cost
3.1 Wirings and the Degree Polytope
Let be the set of pods, , each with OCS uplinks of bandwidth , and let be the number of circuits the OCS layer can establish (its port budget). Let be the set of candidate pod pairs (in the experiments all pairs).
Definition 3.1 (Wiring, capacity, degree polytope). A wiring is ; it places circuits on pair . The capacity of pair is
(5) where is the bandwidth available to each pair through the static (electrical) fabric, used in parallel with the circuits. With the incidence matrix , the degree polytope is
W is a closed m-convex polytope (not, in general, m-flat). Integrality of the circuit counts is relaxed here and restored in Section 5.3.
Assumption A1 (Strict feasibility). W contains a point with all coordinates positive.
For the complete graph, the uniform wiring has degree , so Assumption A1 holds whenever .
3.2 The Symmetric Prior
The reference wiring is a positive . Our default is the uniform distribution on : at pod granularity this is the logical capacity a non-blocking Fat-Tree offers to uniform traffic, namely an equal share for every pod pair, and it is invariant under all permutations of pods. We write for its KL projection (1) onto ; when (as for the uniform prior under Assumption A1 with complete ), .
Remark 3.2 (Priors with restricted support). If one wishes to use a prior supported on a subset (for instance the links of a physical Fat-Tree), then for every wiring that puts mass outside , so the penalty forbids any departure from the support. The smoothed prior , , is positive and all results below apply to it; the bounds depend on through .
3.3 Workload, DAG, and Smoothed Critical Path
One training iteration is described by a DAG whose nodes are either compute nodes with fixed duration or communication nodes executing a phase . Phase moves volume over pair ; and . A phase lasts as long as its slowest pair:
Let be the set of paths from a source (node without predecessors) to a sink of , , and . The iteration time is the critical-path length .
Assumption A2 (Modelling assumptions). (i) Traffic of a phase uses the direct circuits of each pair together with the static fabric (single-hop routing, capacities add as in (5)); (ii) phases that may run concurrently in G do not contend for the same pair, or such contention is neglected; (iii) each node starts as soon as all its predecessors have finished.
With , which satisfies , we smooth both maxima:
where communication durations in are . Although may be exponential, and its gradient are computed in time (Theorem 3.4).
Lemma 3.3 (Convexity, smoothness, approximation). Under Assumption A2, U is convex and nonincreasing in every coordinate on . With , and
, set and , the sums running over the communication nodes of . Then for all and ,
Consequently for all (relative smoothness), and .
The proof is in Section A. Note that and for , ; the bound is conservative and in practice we use backtracking (Section 5).
Proposition 3.4 (Soft criticality and forward-backward gradient). Let , a Gibbs distribution on , and the soft criticality of node . Then and
where . is the softmax over of . The quantities (forward, at sources) satisfy , and obeys the backward recursion for sinks plus . If the critical path is unique, on it and elsewhere as .
Proof. gives and , hence ; (10) follows from the chain rule and the derivative of LSE. By induction over a topological order, , because ; summing over sinks gives . The backward recursion is reverse-mode differentiation of the forward recursion, and equals the -probability that the path passes because each factor is the conditional probability that the path enters from .
Remark 3.5 (The DAG as an exponential family). Phase durations are consequences of the wiring rather than free decision variables, so precedence constraints are not imposed on a separate schedule; they enter the problem exactly through the critical-path functional J. The geometric object that the DAG induces is the exponential family on , with sufficient statistic the path length and natural parameter ; the criticalities are its marginals, and the forward-backward recursion is the familiar sum-product computation of these marginals.
4 Free Energy and Temperature
Definition 4.1 (OCS free energy). For an inverse temperature and , let
As in statistical mechanics, multiplies the entropic (KL) term, so (high temperature) pins the wiring to the prior and (low temperature) yields pure cost minimisation (Table 1).
Theorem 4.2 (Well-posedness). Under Assumptions A1 and A2, for every the minimiser exists, is unique and has all coordinates positive, and for all
Table 1: Role of the inverse temperature (cf. Theorem 4.3).
| Optimal wiring | (static symmetric prior) | min-KL minimiser of on |
| Cost | ||
| Linear rate of Theorem 5.4 | fast, small | slow, tends to sublinear |
Proof. is continuous on the compact set , so a minimiser exists; it is positive by Theorem 2.1 with and . By convexity, , and by (4), . Adding, (the constant in is orthogonal to ). The first-order optimality condition at the positive point makes the inner product nonnegative, giving (12); uniqueness follows since for .
Theorem 4.3 (Temperature: monotonicity and limits). Let and let be the unique minimiser of over the convex set .
(i) is nonincreasing and is nondecreasing.
(ii) (High temperature) ; hence as .
(iii) (Low temperature) and ; hence as .
Proof. Write and, for , , .
(i) Optimality gives and . Adding them, , so ; the second inequality then gives .
(ii) Comparing with : . By Theorem 2.2, . Hence . Convergence follows from Pinsker's inequality.
(iii) Comparing with any : , which gives both and ; take . Let be a limit point as . By continuity, and ; since is the unique KL-minimal element of the convex set ( is strictly convex), , and compactness gives convergence of the whole family.
Theorem 4.4 (Gain of adaptation). For every , with ,
That is, the reduction of the iteration cost obtained by departing from the static prior is at least times the Jeffreys (symmetrised KL) divergence between the static and the adaptive wiring.
Proof. Apply (12) with : . Rearranging and using (Theorem 2.2) gives (13).
Proposition 4.5 (Symmetry inheritance). Let be a group of permutations of acting by . If , and for all , then for all and ; i.e. the optimal wiring is constant on the -orbits of .
Proof. , so with ; uniqueness (Theorem 4.2) gives .
Corollary 4.6 (Uniform traffic). If is complete, is uniform, and the workload is invariant under all permutations of pods (e.g. uniform all-to-all phases), then for every : the static symmetric wiring is optimal.
Proof. The symmetric group on pods acts transitively on pairs, so by Theorem 4.5 is constant on , i.e. uniform.
Proposition 4.7 (When is the static prior optimal?). If minimises over , then for all . If moreover (so ), the converse holds: for some if and only if .
Proof. The optimality condition of for is for all . At the KL-projection condition gives ; if also , the sum is nonnegative. If the log term vanishes at , so the condition for coincides with the optimality condition for .
Remark 4.8. Taken together, Theorems 4.4, 4.5 and 4.7 delimit the role of the symmetric reference precisely: the static wiring is optimal exactly when it already minimises the cost, which symmetric workloads guarantee, and otherwise the loss incurred by retaining it is bounded below by a divergence between the two wirings. Figure 3 illustrates Theorem 4.3.
Remark 4.9 (Scope: the continuous relaxation). Theorems 4.2 to 4.4 concern the continuous relaxation, in which need not be an integer. Deployable wirings consist of integer numbers of circuits, and the properties established here are not inherited automatically by integer optima; the relation between the two problems is quantified in Theorem 5.7 and examined empirically in Section 8.3.
5 Entropic Proximal-Gradient Algorithm and Convergence
5.1 The Update as a KL Projection
Given with positive coordinates, and a step , the Bregman proximal-gradient step [4, 17] with the entropy as reference function is
Lemma 5.1 (Closed form). Let and , and define the geometric mixture
Then , the KL projection of onto . In particular, without degree constraints the update is the multiplicative rule .
Proof. With , the objective of (14) equals, up to a constant,
Dividing by , the bracket becomes with the normaliser in (15); since , the objective is .
Algorithm 1 Entropic proximal gradient for
1: Input: prior , , initial step
2: static symmetric wiring; = if
3: for do
4: by the forward-backward pass (Theorem 3.4)
5:
6: repeat
7: form by (15) with step ; via Theorem 5.2
8: if then
9: until the test in the previous line passes
10: ,
11: end for
Lemma 5.2 (Dual of the KL projection). Let and as in (6) with , satisfying Assumption A1. For let and
Then is concave and smooth with , the problem attains its maximum at some , strong duality holds, and , with complementary slackness .
Proof. For fixed , minimising the Lagrangian over is a Gibbs variational problem with unique solution and value ; is a pointwise infimum of affine functions of , hence concave, and its gradient follows by Danskin's theorem. The primal is convex with affine inequality constraints and, by Assumption A1, has a feasible point in the relative interior of the domain of ; the refined Slater condition [5, §5.2.3] gives strong duality and dual attainment. Since the Lagrangian minimiser is unique, is the primal solution.
The dual has only variables and is solved by a quasi-Newton method with bound constraints; each evaluation costs .
5.2 Convergence
Lemma 5.3 (Three-point property). For the step (14), is positive and for every ,
(17)
Proof. The objective of (14) has the form with and linear, so its minimiser is positive by Theorem 2.1. For linear the Taylor expansion of around the positive point is exact: , and the last bracket equals on . The first-order optimality condition makes the inner product nonnegative.
Theorem 5.4 (Monotone descent and linear convergence). Let Assumptions A1 and A2 hold, let be the minimiser of on and . Suppose every step satisfies the acceptance test of Algorithm 1,
(18) which holds in particular whenever (Theorem 3.3); backtracking therefore terminates with . Then for all :
(a)
(b) , hence ;
(c) consequently and ;
(d) if and , then .
With uniform, .
Proof. Fix . Convexity of gives . Combining (18), the three-point property (17) and this inequality,
Taking gives (a). Taking gives the first part of (b); since , the left side is nonnegative, which gives the contraction. Iterating gives the first part of (c); the bound on follows from (b) and . For (d), summing (b) with over telescopes to , and by (a) the left side is at least . If , (18) follows from Theorem 3.3; halving from any stops at some . Finally, for uniform .
In practice the KL projection, and hence the step (14), is computed only approximately. The following result quantifies the effect.
Theorem 5.5 (Inexact steps). Suppose that, instead of (17), the computed iterate satisfies (18) and the three-point inequality (17) with up to an additive error on its right-hand side. Then
In particular, if , and , then whenever , and in general . If , then .
Proof. Repeating the chain of inequalities in the proof of Theorem 5.4 with and the perturbed three-point inequality gives . Since the left-hand side is nonnegative, multiplying by yields (19). Writing and , we have . For constant and , unrolling gives . In general, put and . Since is increasing, , whence . Finally, if , the recursion with and summable forcing gives .
Theorem 5.5 is a conditional error-propagation result: it asserts what follows if the computed iterates satisfy the perturbed three-point inequality with defects . We do not derive from the stopping rule of the dual solver. Whether the implementation meets the hypothesis is instead verified numerically: for the runs of Figure 2 we evaluated the defect of the three-point inequality at a reference optimum after every step, and obtained and over 400 iterations, with degree-constraint residuals below . By (19) the resulting error floor lies several orders of magnitude below the accuracies reported in Section 8.
Remark 5.6 (Complexity and scope). Each iteration costs one forward–backward pass , one mixture (15) and a -dimensional concave maximisation; by (c) an -accurate solution needs iterations. These guarantees concern the continuous relaxation; the integer topology problem is treated next and compared with an exact MILP in Section 8.3. Theorem 5.4 is an instance of the analysis of Bregman proximal gradient methods under relative smoothness [4, 17]; its role here is to certify the algorithm actually used, not to contribute new convergence theory.
5.3 Integer Circuits
A deployable wiring has integer circuit counts with and ; its capacity is , i.e. that of . Let , .
Proposition 5.7 (Relaxation bound and floor rounding). Let be the optimal iteration time over integer wirings and . Then , and the floor rounding is feasible and satisfies
Proof. Every integer-feasible gives , hence the first inequality. Flooring preserves the degree and budget constraints. For each pair, , so if ; otherwise} . Each transfer time, hence each phase duration, grows by at most this factor; compute durations are unchanged, so every path length and therefore grows by at most .
When the pod bandwidth is fixed and the number of ports grows, and floor rounding becomes asymptotically exact. For small we improve the rounded solution by a first-improvement local search over additions and degree-preserving 2-swaps , accepting moves on a smoothed objective with an annealed temperature (smoothing removes the plateaus of the hard maximum). The local search carries no guarantee; Section 8.3 quantifies its gap to the exact optimum.
6 When to Reconfigure: Regret and Likelihood-Ratio Detection
6.1 Setting
Time is indexed by training iterations . The workload of iteration is described by a distribution over cells , with for a known total volume (bytes per iteration are available from counters; their distribution must be estimated). Let be the number of cells, , and . A policy keeps the deployed wiring unchanged or reconfigures it at cost (downtime in seconds); a wiring computed at time is if . The regret against the zero-switching-cost dynamic optimum is
(21) where is the number of reconfigurations, and the workload path length is
Assumption A3 (Workload sensitivity). for all .
Lemma 6.1. For the smoothed critical-path cost (8), Assumption A3 holds with .
Proof. with , so . LSE is 1-Lipschitz in the sup-norm of its arguments, so .
Lemma 6.2 (Holding regret). If is for , then for every ,
Proof. Let minimise . The KL terms do not depend on , so ; the outer brackets are at most each, the middle one at most .
6.2 Threshold Policies and Regret
Theorem 6.3 (Regret of the TV-threshold policy). Consider the policy that, with the time of the last reconfiguration (initially , with an -optimal initial wiring), reconfigures at to an -optimal wiring for if and only if . Then and
With , .
Proof. At reconfiguration times the excess is at most ; otherwise and Theorem 6.2 bounds the excess by . Let be the reconfiguration times. By the triangle inequality for , ; the ranges are disjoint, so summing over gives . The choice of balances the two terms.
Remark 6.4 (On the comparator). The benchmark in is the dynamic optimum that pays nothing for switching; it is a demanding comparator, and therefore also contains the unavoidable cost of tracking a moving optimum. The theorem does not compare the policy with the best policy that accounts for switching costs, and it treats the computation of an wiring as instantaneous: computation time enters only through (a wiring computed with a limited iteration budget) and, if it causes downtime, through .
The counting argument rests on the triangle inequality, which total variation satisfies and the KL divergence does not. KL statistics can nevertheless be employed by means of Pinsker's inequality and its reverse, provided the reference distribution is bounded away from zero.
Corollary 6.5 (KL-threshold policy). Assume that every reference distribution used by the policy satisfies , and that the policy reconfigures at if and only if . Then
Proof. (i) Holding steps. If no reconfiguration occurs at , then , and Pinsker's inequality gives ; by Theorem 6.2 the excess is at most .
(ii) Reconfiguration steps. Since , , where . Hence a reconfiguration implies , that is, .
(iii) Counting. The argument of Theorem 6.3, with the threshold in place of , gives the bound on ; combining it with (i) yields the bound on .
Only the reference distributions need to be bounded away from zero; in practice this is ensured by additive smoothing of the reference estimate.
In practice is estimated from n sampled packets per iteration. We first record a deviation bound whose dimension dependence is through the support size only.
Lemma 6.6 ( deviation of the empirical distribution). Let be the empirical distribution of i.i.d. samples from , whose support has cells. Then and, for every , .
Proof. For a cell , ; cells outside the support contribute nothing. By the Cauchy-Schwarz inequality, , which gives the bound on the mean. Replacing one of the samples changes by at most , so McDiarmid's bounded-differences inequality [31] gives .
Theorem 6.7 (Sampled traffic). Let be the empirical distribution of i.i.d. samples from , let bound the support sizes of all , and let the policy reconfigure (to a wiring -optimal for the estimated workload ) when . For put
Then, with probability at least , if ,
Proof. By Theorem 6.6 with , for each ; a union bound gives the event with probability at least . On : the wiring deployed at is -optimal for , so by Theorem 6.2 applied with in place of , whenever no reconfiguration occurs (and when it does). A reconfiguration implies , and the counting argument gives .
The radius (25) depends on the number of cells only through the support size , not through the ambient number of cells. In the experiment of Section 8 ( , , , occupied cells) it gives , so the guarantee is non-vacuous for thresholds .
6.3 The KL Indicator as a Likelihood-Ratio Statistic
Let be the reference distribution at the last reconfiguration and let be cell counts of samples with empirical distribution .
Proposition 6.8 (GLR identity). For the multinomial model, the log generalised likelihood ratio of against equals
Proof. The supremum is attained at the maximum-likelihood estimate , and
Hence a KL indicator of traffic change acquires a precise statistical meaning once its reference is the distribution at the time of configuration and it is weighted by the sample size: it is then the log generalised likelihood ratio. The identity is classical; its use here is to fix the reference and the weighting that a principled detector must employ. If a change may have occurred at an unknown time , the GLR statistic maximises over [16, 26]:
where pools the samples of iterations and is the maximiser. The lag is thus selected by maximum likelihood rather than by a heuristic, and the pooled estimate is the natural input for re-optimisation.
Theorem 6.9 (False-alarm control). Suppose that no change occurs, i.e. all samples in iterations are i.i.d. from , and the maximisation in (28) ranges over at most W windows, each with at most samples. Then for every ,
In particular the threshold yields at most probability of any false alarm over T iterations.
Proof. Fix a window with samples. By the method of types [8, 10], the probability of observing a particular type is at most , and there are at most types. Summing over types with gives . A union bound over windows (and, for the second claim, over iterations) completes the proof.
Remark 6.10. The bound is non-asymptotic but conservative when is large; asymptotically is -distributed under (Wilks), with the support size, which gives practical thresholds. When is itself estimated we use additive smoothing; we do not analyse the resulting plug-in effect. The sequential statistic (28) and the regret analysis are complementary: the former controls false alarms, the latter quantifies the cost of any threshold.
7 Multi-Tenant Clusters
7.1 Shared Port Budget and the KL Chain Rule
Let jobs occupy disjoint pod sets . Since there is no traffic between jobs, the candidate circuits are with the pairs inside . The jobs share the OCS port budget through the simplex constraint, and is the degree polytope (6). Write (the share of job ) and for , and similarly .
Lemma 7.1 (Chain rule). .
Proof. Expand and use .
The prior thus penalises separately the allocation of the budget across jobs and the shape of each job’s wiring, corresponding to the mixed coordinates of the simplex.
7.2 Fairness Functionals
Let be the smoothed iteration time of job (it depends only on the block ), a reference time (e.g. job alone with all its ports), and the slowdown. Following the fairness families of network resource allocation [19], for weights , , and define
and the multi-tenant free energy .
Proposition 7.2 (Convexity; relation to -fairness). For , is convex on , and it is -smooth in for some finite when or when is smoothed, so Theorems 4.2 and 5.4 apply to .
Moreover, let the normalised throughput of job be and (). For the identity
holds. Consequently, for the set of wirings maximising the -fair utility of throughputs over coincides with the set minimising ; the two objectives are related by a strictly decreasing transformation and their values differ. For , the problems and are both convex but have different minimisers in general.
Proof. Each is convex and positive (Theorem 3.3); is a weighted -norm on , hence convex and nondecreasing in each argument, and so is ; the composition of a convex nondecreasing function with convex functions is convex. On the compact set the slowdowns lie in with , where is ; the chain rule and Theorem 3.3 bound the Hessian of the composition, giving a finite . For (31), , and summing with weights gives . Since is strictly decreasing on , maximisers of the left-hand side are exactly minimisers of . With the transformation acts on one term of the objective only, so the minimisers need not coincide; convexity of follows as above since is convex and nondecreasing on .
Remark 7.3 (The range ). Two cautions apply. First, -fair utilities must be applied to throughputs, not to costs: has second derivative and is therefore concave in the cost. Second, for the -fair problem in throughputs need not be convex in the wiring: with the convex cost , the throughput fails to be concave at . Theorem 7.2 thus singles out as the range in which fairness and convexity are compatible for this model.
Theorem 7.4 (Gibbs form of the fair optimum). Let minimise over and let at (for , ). Then and there exist with such that, for ,
Conversely, any satisfying (32) with such is the minimiser.
Proof. Positivity follows from Theorem 2.1. The constraints are affine, so the KKT conditions are necessary and sufficient for the convex problem (Abadie's constraint qualification holds for affine constraints). Stationarity at the positive point reads , with the multipliers of vanishing by complementary slackness. The chain rule gives for , since does not depend on for . Solving for gives (32).
The fairness weights increase with the slowdown, so jobs that are worse off pull the shared wiring towards themselves, increasingly so as grows; as the weight concentrates on the most slowed-down jobs.
Proposition 7.5 (Pareto optimality). If and , the minimiser of is Pareto optimal for the vector over ; for it is weakly Pareto optimal.
Proof. For , is strictly increasing in each coordinate on ; a point dominating would have strictly smaller . For only weak monotonicity holds.
Remark 7.6 (Structure of the Pareto set). The Pareto set is not, in general, the convex hull of the single-job optima: the shape that is optimal for job depends on its share through the degree constraints, so mixtures of single-job optima computed with the full budget are typically infeasible or dominated.
7.3 Reconfiguration with Externalities
Reconfiguring job only within its block, i.e. changing with fixed, touches no circuit of any other job, because blocks are disjoint. For such block-restricted reconfigurations Theorems 6.3 and 6.7 apply job by job (with constants , , ), relative to the dynamic optimum with the shares held fixed; the regrets add. Changing moves circuits between jobs and disturbs all jobs whose blocks change; applying Theorem 6.3 to the aggregate objective with the social cost internalises this externality.
8 Synthetic Experiments
8.1 Setup
All experiments use the model of Section 3, implemented in Python/NumPy; the KL projection is computed through the dual of Theorem 5.2 with a bound-constrained quasi-Newton method, global optima of the continuous problem are cross-checked with CVXPY and the Clarabel conic solver, and integer optima are computed with the HiGHS MILP solver through SciPy. Table 2 lists the parameters. Volumes are per iteration and aggregated over micro-batches; they are chosen to make pipeline, all-reduce and all-to-all phases comparable, not to reproduce a particular model.
Table 2: Default experimental parameters.
| Fabric | N = 16 pods, r = 8 OCS ports/pod, c = 50 GB/s per circuit, GB/s, (7/8 of the ports) |
|---|---|
| Job | S = 4 pipeline stages × D = 4 data-parallel replicas, one pod per (stage, replica) |
| Compute | forward 80 ms, backward 160 ms per stage, optimiser 20 ms |
| Volumes | PP 3 GB per stage boundary and replica; ring all-reduce 10 GB per ring edge; MoE all-to-all 4 GB × max(, ) between replicas of a stage, expert popularity unless stated |
| DAG | forward chain, backward chain, all-reduce of stage i after its backward pass |
| Smoothing | ms; prior uniform over all pairs |
(a) objective gap (monotone)

(b) distance to ; dotted: Thm. bound

Figure 2: Convergence of Algorithm 1 for . (a) Objective gap (log scale). (b) (solid) and the bound of Theorem 5.4(c) (dotted, same colour).
8.2 Convergence and Temperature
Figure 2 runs Algorithm 1 from for three temperatures. The free energy decreases monotonically in every run, and the KL distance to the optimum stays below the bound of Theorem 5.4(c) evaluated with the step sizes actually accepted by backtracking (dotted). The bound is valid but conservative: the accepted steps are small (median between and ) because the curvature of the smoothed maxima is large, while the observed contraction is much faster. Table 3 reports the checks; the final iterate agrees with the CVXPY/Clarabel optimum to within solver accuracy wherever Clarabel returned an optimal status.
Table 3: Checks of Theorem 5.4 (400 iterations from ). “Bound viol.” is the largest excess of over its bound; the last column is the difference to the CVXPY/Clarabel optimum.
| monotone | bound viol. | final gap [s] | |||
|---|---|---|---|---|---|
| 50 | yes | 0 | |||
| 5 | yes | 0 | solver failed | ||
| 1 | yes | 0 |
Figure 3 sweeps from 0.1 to . As predicted by Theorem 4.3, decreases and increases monotonically, between the static value and ; both quantitative bounds hold at every grid point, and so does the Jeffreys bound of Theorem 4.4. The hard iteration time falls from 2.204 s for the static symmetric wiring to 1.384 s for the fully adaptive one (37% lower). Most of the gain is obtained for , at a KL departure of about one nat; the curve thus indicates how much asymmetry a given gain requires, which is the design information is meant to provide.
8.3 Integer Circuits Against an Exact MILP
We compare, for pods (, ), dense and MoE workloads, and ports per pod at fixed pod bandwidth (): (i) Algorithm 1 (300 iterations, ) followed by floor rounding with greedy filling, (ii) the same followed by the local search of Section 5.3, and (iii) the exact MILP, in which each pair's circuit count is encoded by binary variables and transfer times by their exact values at each count. Results are normalised by the relaxation bound of Theorem 5.7 (computed with CVXPY).
(a) communication cost vs. temperature

(b) KL departure from the symmetric prior
Figure 3: Temperature sweep. (a) Smoothed iteration time of with the static and fully adaptive levels and the bound of Theorem 4.3(iii). (b) KL departure from the prior with the bound of Theorem 4.3(ii) and its limit .

Figure 4: Integer wirings for MoE workloads: iteration time divided by the relaxation lower bound, as a function of the number of OCS ports per pod at fixed pod bandwidth.
Figure 4 and Table 4 lead to three observations, which we report without qualification. First, the exact MILP is fast on all instances (at most 4.5s with HiGHS) and always finds the best integer wiring; on these sizes the continuous method therefore does not replace integer programming. Second, the relaxation bound of Theorem 5.7 is tight once pods have several ports: for the MILP optimum is within 3.3% of the bound (within 0.6% for ), so the continuous problem solved by Algorithm 1 accurately predicts the achievable iteration time, whereas for the integrality gap reaches 40%. Third, plain rounding loses up to 37% at , and the local search recovers most of it: Algorithm 1 with rounding and local search is within 1.5–14.1% of the MILP for and within 0–4.4% for , the gap shrinking with as Theorem 5.7 predicts. The running times of Algorithm 1 (14–57s for 300 iterations) and especially of the local search reflect an unoptimised Python implementation; they are not competitive with a compiled MILP solver at this scale, and we make no runtime claim.
8.4 Dynamic Reconfiguration
The MoE expert popularity of each stage follows a random walk on its logits (standard deviation 0.03 per iteration) with abrupt routing shifts at t = 120 and t = 440; at t = 280 the job is re-placed onto a random permutation of the pods. The workload distribution is defined on the
Table 4: Integer wirings. LB: relaxation bound; Rnd: Algorithm 1 + rounding; LS: + local search; MILP: exact (opt. = proven optimal). Times in seconds (single core, Python implementation for MD and LS).
| N | workload | r | LB | Rnd | LS | MILP | |||
|---|---|---|---|---|---|---|---|---|---|
| 16 | dense | 4 | 1.307 | 1.979 | 1.650 | 1.447 (opt.) | 26.4 | 9.4 | 0.09 |
| 16 | dense | 8 | 1.307 | 1.800 | 1.358 | 1.339 (opt.) | 40.3 | 12.0 | 0.27 |
| 16 | dense | 16 | 1.307 | 1.326 | 1.314 | 1.314 (opt.) | 27.1 | 18.4 | 0.35 |
| 16 | dense | 32 | 1.307 | 1.334 | 1.313 | 1.313 (opt.) | 44.7 | 28.4 | 1.97 |
| 24 | dense | 4 | 1.898 | 2.568 | 2.239 | 2.064 (opt.) | 37.5 | 18.3 | 0.22 |
| 24 | dense | 8 | 1.898 | 2.395 | 2.006 | 1.960 (opt.) | 14.1 | 26.8 | 0.63 |
| 24 | dense | 16 | 1.898 | 2.003 | 2.003 | 1.919 (opt.) | 14.5 | 26.9 | 1.56 |
| 24 | dense | 32 | 1.898 | 2.010 | 1.913 | 1.908 (opt.) | 27.5 | 98.9 | 4.51 |
| 32 | dense | 4 | 2.487 | 3.157 | 2.828 | 2.670 (opt.) | 44.2 | 40.2 | 0.22 |
| 32 | dense | 8 | 2.487 | 2.984 | 2.605 | 2.549 (opt.) | 39.1 | 102.9 | 0.87 |
| 32 | dense | 16 | 2.487 | 2.599 | 2.597 | 2.508 (opt.) | 27.7 | 110.4 | 3.18 |
| 32 | dense | 32 | 2.487 | 2.503 | 2.498 | 2.498 (opt.) | 24.7 | 230.7 | 4.18 |
| 16 | MoE | 4 | 1.692 | 2.790 | 2.193 | 2.160 (opt.) | 57.4 | 22.1 | 0.12 |
| 16 | MoE | 8 | 1.692 | 1.751 | 1.745 | 1.707 (opt.) | 20.9 | 33.4 | 0.05 |
| 16 | MoE | 16 | 1.692 | 1.781 | 1.742 | 1.707 (opt.) | 26.0 | 34.7 | 1.02 |
| 16 | MoE | 32 | 1.692 | 1.704 | 1.704 | 1.694 (opt.) | 18.5 | 47.2 | 0.64 |
| 24 | MoE | 4 | 2.517 | 4.110 | 3.513 | 3.418 (opt.) | 24.3 | 53.6 | 0.29 |
| 24 | MoE | 8 | 2.517 | 2.585 | 2.578 | 2.540 (opt.) | 15.0 | 128.5 | 0.11 |
| 24 | MoE | 16 | 2.517 | 2.644 | 2.571 | 2.540 (opt.) | 20.8 | 175.8 | 2.01 |
| 24 | MoE | 32 | 2.517 | 2.530 | 2.530 | 2.519 (opt.) | 16.9 | 194.3 | 1.11 |
| 32 | MoE | 4 | 3.341 | 5.430 | 4.833 | 4.664 (opt.) | 22.3 | 175.9 | 0.85 |
| 32 | MoE | 8 | 3.341 | 3.418 | 3.412 | 3.374 (opt.) | 31.4 | 316.3 | 0.13 |
| 32 | MoE | 16 | 3.341 | 3.473 | 3.399 | 3.369 (opt.) | 36.0 | 395.2 | 2.78 |
| 32 | MoE | 32 | 3.341 | 3.369 | 3.368 | 3.345 (opt.) | 34.6 | 584.4 | 1.77 |
cells (phase slot, pair); each iteration cell samples are observed. A reconfiguration costs s and re-optimises by 40 iterations of Algorithm 1 on the estimated workload, started from . Mixing with the prior matters: multiplicative updates recover slowly from coordinates that are nearly zero (after a re-placement the previously unused pairs are needed), and since coordinatewise, , so the bound of Theorem 5.4 does not depend on the previous wiring. The dynamic oracle re-optimises the true workload every iteration at no cost (25 warm-started iterations, and 400 iterations from both and the previous wiring at and at the three change points). We compare the static prior, a wiring optimised once, periodic re-optimisation, the TV-threshold policy of Theorem 6.7, and the GLR-CUSUM detector (28) with windows of at most 30 iterations, where the re-optimisation uses the pooled estimate .
Table 5 and Figure 5 summarise the results (workload path length ). Optimising once and never reconfiguring is the worst policy (regret 1282.0s): after the re-placement at the old wiring serves pairs that no longer carry traffic, and it is then far worse than even the static prior (525.0s), which illustrates why a symmetric fallback is valuable. Every adaptive family shows the trade-off of Theorem 6.3 between holding excess and switching cost, with an interior optimum (Figure 5(b)). The best periodic schedule () attains 142.1s; the best TV threshold () attains 116.2s with 9 reconfigurations; the GLR-CUSUM detector attains the lowest regret, 103.2s with 16 reconfigurations at , and is within 4% of it over . The conservative threshold of Theorem 6.9 for , , lies in this good range. Two caveats are visible. Large TV thresholds () react only to the re-placement and miss the routing shifts, and very small GLR thresholds () fire at every iteration, because sampling noise in the estimated reference already produces statistics of that size. Moreover, all policies retain an excess of roughly 0.1s per iteration after re-optimisation (Figure 5(a)); this is the and estimation term of Theorem 6.7, caused by the limited budget of 40 iterations per reconfiguration and by the pooled estimate, and it bounds what any detector can achieve here.
(a) per-iteration excess (9-pt moving avg.)

(b) trade-off (dashed: regret = const)
Figure 5: Dynamic workload (, ). (a) Excess iteration time over the dynamic oracle (log scale, 9-point moving average; vertical lines: abrupt changes). (b) Cumulative excess versus number of reconfigurations for each policy family; dashed lines have constant regret excess .
Table 5: Dynamic reconfiguration: number of reconfigurations, cumulative excess over the oracle and regret = excess (seconds; oracle total 853.7 s). Best regret per family in bold.
| Policy | parameter | excess | regret | |
|---|---|---|---|---|
| static prior q | - | 0 | 525.0 | 525.0 |
| periodic k | 3 | 199 | 84.1 | 283.1 |
| 10 | 59 | 83.1 | 142.1 | |
| 30 | 19 | 129.8 | 148.8 | |
| 100 | 5 | 182.4 | 187.4 | |
| ∞ (once) | 0 | 1282.0 | 1282.0 | |
| TV threshold θ | 0.05 | 9 | 107.2 | 116.2 |
| 0.1 | 3 | 117.5 | 120.5 | |
| 0.2 | 1 | 224.1 | 225.1 | |
| 0.3 | 1 | 224.1 | 225.1 | |
| 0.4 | 1 | 224.1 | 225.1 | |
| 0.6 | 1 | 224.1 | 225.1 | |
| GLR-CUSUM h | 300 | 599 | 79.7 | 678.7 |
| 1000 | 599 | 79.7 | 678.7 | |
| 3000 | 39 | 79.1 | 118.1 | |
| 10000 | 16 | 87.2 | 103.2 | |
| 30000 | 9 | 98.0 | 107.0 | |
| 100000 | 3 | 117.2 | 120.2 |
8.5 Multi-Tenant Fairness
Three jobs share an OCS layer: a dense pipeline job pods), a skewed MoE job , all-to-all 6 GB) and a smaller MoE job , 22 pods with . The reference times (each job alone with all of its own ports) are . We solve the fair problem for (, ) with port budgets and , and compare with a static partition of the budget in proportion to the number of pods, each job optimised alone in its partition.
Table 6 and Figure 6 show the predicted behaviour of the fairness weights of Theorem 7.4. As increases, the maximum slowdown decreases monotonically (from 1.114 to 1.084 for and from 1.215 to 1.199 for ) while the mean slowdown increases slightly (from 1.080 to
(a) per-job slowdown under a shared OCS budget

(b) efficiency vs. fairness (dotted: partition)
Figure 6: Multi-tenant OCS budget (). (a) Slowdown of each job for increasing fairness exponent and for a static proportional partition. (b) Maximum and mean slowdown; dotted lines show the static partition.
Table 6: Multi-tenant results: per-job slowdowns , maximum and mean slowdown, and budget shares (dense / MoE-A / MoE-B).
| μ | p | s1 | s2 | s3 | max | mean | shares ρ |
|---|---|---|---|---|---|---|---|
| 52 | 1 | 1.114 | 1.062 | 1.063 | 1.114 | 1.080 | 0.26 / 0.42 / 0.32 |
| 2 | 1.110 | 1.065 | 1.065 | 1.110 | 1.080 | 0.27 / 0.42 / 0.31 | |
| 4 | 1.105 | 1.068 | 1.067 | 1.105 | 1.080 | 0.27 / 0.42 / 0.31 | |
| 8 | 1.099 | 1.071 | 1.071 | 1.099 | 1.080 | 0.28 / 0.41 / 0.31 | |
| ∞ | 1.084 | 1.081 | 1.080 | 1.084 | 1.082 | 0.30 / 0.40 / 0.30 | |
| static partition | 1.050 | 1.119 | 1.104 | 1.119 | 1.091 | 0.36 / 0.36 / 0.27 | |
| 36 | 1 | 1.205 | 1.215 | 1.174 | 1.215 | 1.198 | 0.26 / 0.42 / 0.32 |
| 2 | 1.204 | 1.212 | 1.178 | 1.212 | 1.198 | 0.26 / 0.42 / 0.31 | |
| 4 | 1.203 | 1.209 | 1.183 | 1.209 | 1.198 | 0.26 / 0.43 / 0.31 | |
| 8 | 1.202 | 1.205 | 1.188 | 1.205 | 1.198 | 0.27 / 0.43 / 0.31 | |
| ∞ | 1.199 | 1.199 | 1.198 | 1.199 | 1.199 | 0.27 / 0.43 / 0.30 | |
| static partition | 1.122 | 1.285 | 1.230 | 1.285 | 1.212 | 0.36 / 0.36 / 0.27 |
1.082 and from 1.198 to 1.199): the budget moves towards the job that is currently worst off, at a small cost in aggregate efficiency. All runs decreased the free energy monotonically. Sharing the budget dominates the static proportional partition on both metrics: for the partition leaves the skewed MoE job at a slowdown of 1.285 while over-provisioning the dense job (1.122), whereas every shared solution keeps all slowdowns at or below 1.215. The effect of is modest in this instance because the three jobs respond similarly to additional circuits; larger differences arise when jobs differ more strongly in their sensitivity to bandwidth.
9 Discussion
What the geometry contributes. The information-geometric structure is used for three concrete purposes. (i) The KL penalty to a symmetric prior gives a convex, strictly positive and symmetry-respecting interpolation between static and adaptive wirings whose two ends are characterised exactly (Theorem 4.3), and the Pythagorean inequality turns this into a quantitative gain bound (Theorem 4.4). (ii) Entropic Bregman geometry makes the proximal step a multiplicative update followed by a KL projection with a -dimensional dual, and the three-point property delivers linear convergence without Euclidean projections onto the simplex. (iii) Exponential families appear twice more: the Gibbs distribution over DAG paths whose marginals are the criticalities, and the multinomial likelihood whose GLR statistic is the KL indicator.
Limitations
• Model. Routing is single-hop on direct circuits in parallel with a static fabric, and concurrent phases are assumed not to contend (Assumption A2). Multi-hop routing (as in ATRO [13]) would add a flow block coupled to the wiring through capacity constraints; the joint convexity of perspective functions makes this a natural extension, but its analysis is not done here.
• Integrality. The theory concerns the continuous relaxation. On our instances an exact MILP solved by HiGHS is fast and, for few ports per pod, clearly better than rounding plus local search (Section 8.3); the continuous method is competitive when the number of ports per pod is large, where Theorem 5.7 predicts small rounding loss. We therefore do not claim that the method replaces integer programming.
• Constants. L in Theorem 3.3 and in Theorem 6.1 are worst-case and conservative; backtracking avoids needing L, but the regret bounds are loose in absolute terms and should be read as scaling laws.
• Statistics. The false-alarm bound grows with the number of cells M; pooling cells (e.g. by pod pair) reduces M at the cost of resolution. The effect of estimating the reference distribution is not analysed.
• Evaluation. All experiments are synthetic. Validation on production traces and on real OCS hardware, including the cost and duration of reconfiguration, is required.
10 Conclusion
Optical circuit switching turns the wiring of an AI cluster from a fixed datum into a decision variable. We have argued that the appropriate language for this decision is the geometry of the probability simplex. In that language a single inverse temperature measures how far a deployment departs from the symmetric Fat-Tree reference; the limits of this departure, the gain it can buy and the circumstances in which it buys nothing admit exact statements; the causal structure of a training iteration becomes an exponential family over DAG paths whose marginals drive a convex and efficiently differentiable cost; and the decision to reconfigure becomes a likelihood-ratio test whose consequences are quantified by a regret bound. The same language accommodates clusters shared by several jobs, where convex fairness is available precisely in the range .
The experiments indicate both the value and the limits of this view. The continuous theory predicts the achievable iteration time accurately once pods have several optical ports, and likelihood-ratio detection gives the best reconfiguration policy among those examined; exact integer programming, however, remains preferable for small instances. Extending the framework to multi-hop routing and contention, and validating it on production traces and optical hardware, are the natural next steps.
A Deferred Proofs
Lemma A.1 (Smoothed maximum of convex functions). Let be convex and on an open convex set with and . Then is convex on , and .
Proof. With softmax weights , and
The bracket is a covariance matrix, positive semidefinite and dominated by . Hence and
since . The gradient bound is immediate.
Proof of Theorem 3.3. Work on the open set and evaluate the bounds on . The transfer time depends on one coordinate, is convex and decreasing, with and for ; thus . By Theorem A.1, is convex with and curvature constant . A path length is a sum of such terms and constants, so it is convex with gradient bound and curvature constant . A second application of Theorem A.1 gives convexity of and (9). Monotonicity holds because each is nonincreasing and LSE is nondecreasing in each argument.
For , Taylor's theorem with integral remainder and (9) give , and Pinsker's inequality yields relative smoothness. For the approximation bound, , so , and .
References
[1] M. Al-Fares, A. Loukissas, and A. Vahdat. A scalable, commodity data center network architecture. In Proc. ACM SIGCOMM, pages 63–74, 2008.
[2] S. Amari and H. Nagaoka. Methods of Information Geometry, volume 191 of Translations of Mathematical Monographs. American Mathematical Society, 2000.
[3] S. Amari. Information Geometry and Its Applications, volume 194 of Applied Mathematical Sciences. Springer, 2016.
[4] H. H. Bauschke, J. Bolte, and M. Teboulle. A descent lemma beyond Lipschitz gradient continuity: first-order methods revisited and applications. Mathematics of Operations Research, 42(2):330–348, 2017.
[5] S. Boyd and L. Vandenberghe. Convex Optimization. Cambridge University Press, 2004.
[6] T. B. Brown et al. Language models are few-shot learners. In Advances in Neural Information Processing Systems, volume 33, pages 1877–1901, 2020.
[7] A. Chowdhery et al. PaLM: Scaling language modeling with pathways. Journal of Machine Learning Research, 24(240):1–113, 2023.
[8] T. M. Cover and J. A. Thomas. Elements of Information Theory. Wiley, 2nd edition, 2006.
[9] I. Csiszár. I-divergence geometry of probability distributions and minimization problems. The Annals of Probability, 3(1):146–158, 1975.
[10] I. Csiszár. The method of types. IEEE Transactions on Information Theory, 44(6):2505–2523, 1998.
[11] N. Ye, J. Liu, G. Zhu, W. Sun, and W. Hu. Beyond traffic matrix: DELTA—a DAG-aware OCS logical topology optimization for AIDCs. arXiv preprint arXiv:2603.28096, 2026.
[12] Y. Huang et al. GPipe: Efficient training of giant neural networks using pipeline parallelism. In Advances in Neural Information Processing Systems, volume 32, 2019.
[13] Y. Mao, Q. Zhai, X. Liu, X. Han, F. Li, S. Zhao, Y. Zhou, Z. Yao, and X. Zhu. ATRO: A fast algorithm for topology engineering of reconfigurable datacenter networks. arXiv preprint arXiv:2507.13717, 2025.
[14] N. P. Jouppi, G. Kurian, S. Li, P. Ma, R. Nagarajan, L. Nai, N. Patil, S. Subramanian, A. Swing, B. Towles, C. Young, X. Zhou, Z. Zhou, and D. Patterson. TPU v4: An optically reconfigurable supercomputer for machine learning with hardware support for embeddings. In Proc. 50th Annual International Symposium on Computer Architecture (ISCA), 2023.
[15] C. E. Leiserson. Fat-trees: Universal networks for hardware-efficient supercomputing. IEEE Transactions on Computers, C-34(10):892–901, 1985.
[16] G. Lorden. Procedures for reacting to a change in distribution. The Annals of Mathematical Statistics, 42(6):1897–1908, 1971.
[17] H. Lu, R. M. Freund, and Y. Nesterov. Relatively smooth convex optimization by first-order methods, and applications. SIAM Journal on Optimization, 28(1):333–354, 2018.
[18] Llama Team, AI @ Meta. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
[19] J. Mo and J. Walrand. Fair end-to-end window-based congestion control. IEEE/ACM Transactions on Networking, 8(5):556–567, 2000.
[20] NVIDIA Corporation. DGX SuperPOD reference architecture. Technical documentation, 2024.
[21] NVIDIA Corporation. GB200 NVL72. Product documentation, https://www.nvidia.com/en-us/data-center/gb200-nv172/, accessed October 2026.
[22] G. Patronas et al. Optical switching for data centers and advanced computing systems. Journal of Optical Communications and Networking, 17(1):A87–A95, 2025.
[23] L. Poutievski et al. Jupiter evolving: Transforming Google’s datacenter network via optical circuit switches and software-defined networking. In Proc. ACM SIGCOMM, 2022.
[24] M. Shoeybi, M. Patwary, R. Puri, P. LeGresley, J. Casper, and B. Catanzaro. Megatron-LM: Training multi-billion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053, 2019.
[25] C. Shou, G. Liu, H. Nie, H. Meng, Y. Zhou, Y. Jiang, W. Lv, Y. Xu, Y. Lu, Z. Chen, Y. Yu, Y. Shen, Y. Zhu, and D. Jiang. InfiniteHBD: Building datacenter-scale high-bandwidth domain for LLM with optical circuit switching transceivers. arXiv preprint arXiv:2502.03885, 2025.
[26] D. Siegmund and E. S. Venkatraman. Using the generalized likelihood ratio statistic for sequential detection of a change-point. The Annals of Statistics, 23(1):255–271, 1995.
[27] M. Y. Teh, S. Zhao, P. Cao, and K. Bergman. COUDER: Robust topology engineering for optical circuit switched data center networks. arXiv preprint arXiv:2010.00090, 2020.
[28] H. Touvron et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
[29] R. Urata et al. Mission Apollo: Landing optical circuit switching at datacenter scale. arXiv preprint arXiv:2208.10041, 2022.
[30] W. Wang, M. Khazraee, Z. Zhong, M. Ghobadi, Z. Jia, D. Mudigere, Y. Zhang, and A. Kewitsch. TopoOpt: Co-optimizing network topology and parallelization strategy for distributed training jobs. In Proc. USENIX NSDI, 2023.
[31] C. McDiarmid. On the method of bounded differences. In Surveys in Combinatorics, volume 141 of London Mathematical Society Lecture Note Series, pages 148–188. Cambridge University Press, 1989.