Centralised Metaheuristic Load Balancer
- Centralised metaheuristic load balancer is a system architecture that gathers global state to solve assignment problems via iterative heuristic and stochastic search methods.
- It employs various techniques, including Greedy, Tabu Search, Simulated Annealing, Genetic Algorithms, and quantum annealing to address dynamic load and partitioning challenges.
- Empirical studies demonstrate its benefits in reducing straggler effects in cloud, HPC, and delayed-feedback systems, while highlighting trade-offs in scalability and model sensitivity.
Searching arXiv for the cited works to ground the article in current preprints. A centralised metaheuristic load balancer is a load-balancing architecture in which a single control point gathers system-wide state, formulates a global assignment or partitioning problem, and computes reassignments by heuristic, stochastic, or simulator-driven search rather than by static dispatch rules. In the recent literature, this pattern appears in cloud resource management with VM live migration, online token redistribution for distributed Diffusion Transformers training, quantum-annealing-based partitioning for adaptive mesh refinement and smoothed particle hydrodynamics, and partially observable queue routing under delayed acknowledgements (Sliwko, 22 Sep 2025, Sliwko et al., 13 Nov 2025, Zhang et al., 8 Aug 2025, Rathore et al., 2024, Tahir et al., 2021).
1. Conceptual scope and defining characteristics
Across the cited systems, centralisation means that the balancing decision is made from globally collected metadata rather than from purely local rules. In the cloud prototypes, a single scheduler queries nodes for current resource utilisation and resident services, maintains the current assignment, and issues migration commands (Sliwko, 22 Sep 2025). In KnapFormer, all GPUs in a balancing group perform an all-gather of length metadata on the CPU, after which a single CPU process solves a global assignment problem and broadcasts a routing plan (Zhang et al., 8 Aug 2025). In the quantum-annealing HPC setting, the balancer takes a global list of task weights, and, when needed, communication costs, formulates a small Ising/QUBO problem, minor-embeds it onto a QPU, samples many anneals, and returns the lowest-energy assignment (Rathore et al., 2024). In the delayed-feedback cluster model, the dispatcher maintains a belief state over all servers and selects the routing action at each arrival epoch by Monte Carlo tree search over a simulator (Tahir et al., 2021).
The “metaheuristic” aspect varies by domain. The cloud schedulers explicitly employ Greedy, Tabu Search, Simulated Annealing, and Genetic Algorithm variants (Sliwko, 22 Sep 2025, Sliwko et al., 13 Nov 2025). KnapFormer uses a three-pass greedy heuristic for a global multi-knapsack assignment (Zhang et al., 8 Aug 2025). The HPC partitioner compares Quantum Annealing against Steepest Descent and Simulated Annealing (Rathore et al., 2024). The delayed-feedback dispatcher is a related instance of centralised online search: it adapts POMCP with UCT selection and rollout simulation to the queuing simulator (Tahir et al., 2021). This suggests that, in practice, “centralised metaheuristic load balancer” denotes a family of globally informed optimisation loops rather than a single algorithmic template.
| Setting | Central state | Optimisation target |
|---|---|---|
| Cloud service placement | Node capacities, task demands, migration costs | Stability and minimum cost |
| HPC partitioning | Task weights, edge-cut weights | Imbalance and communication |
| DiT training | Sequence lengths, workload estimates | Variance of per-GPU workloads |
| Delayed-feedback routing | Belief over queue states | Discounted return |
2. Mathematical formulations
In the cloud formulation denoted the D-Resource System Optimisation Problem, physical nodes are , tasks are , and there are resource types . A task-to-node assignment induces node residual resources
and an assignment is stable iff for all nodes and resources. Given an initial assignment , the total System Transformation Cost is
and the optimisation target is a stable assignment with minimum STC (Sliwko, 22 Sep 2025). A closely related binary placement model uses decision variables 0, capacity constraints 1, assignment constraints 2, and a multi-term objective 3 (Sliwko et al., 13 Nov 2025).
For HPC partitioning, the central model is cast as Ising/QUBO optimisation. For adaptive mesh refinement, with indivisible patches and patch cell counts 4, the number-partitioning Hamiltonian is
5
with 6 in the reported experiments (Rathore et al., 2024). For smoothed particle hydrodynamics, a graph 7 with node weights 8 and edge weights 9 yields the multi-objective energy
0
where
1
Here 2 is a load-balance penalty, 3 is an edge-cut penalty, and 4 tunes the relative weight of the two objectives (Rathore et al., 2024).
In KnapFormer, the balancing problem is a global multi-knapsack assignment on 5 sequences across 6 compute bags. If 7 is the estimated workload of sequence 8, 9 indicates assignment to bag 0, and 1, then the bag load is
2
and a stated objective is to minimise the variance of per-GPU workloads: 3 subject to assignment and capacity constraints (Zhang et al., 8 Aug 2025). The semi-empirical workload model is
4
with 5 fitted per GPU, for example 6 on H100 (Zhang et al., 8 Aug 2025).
In the delayed-feedback cluster model, the dispatcher–server system is a POMDP. Each server state is 7, where 8 is current queue length, 9 is the number of outstanding acknowledgements not yet observed, and 0 is the number of acknowledgements observed in the last epoch. A common reward is
1
and the objective is to maximise discounted return 2 (Tahir et al., 2021).
3. Centralised control architectures
The cloud scheduler is organised around two principal modules: an Event Monitor & Workload Database and an Optimizer. The monitor listens to task submit/cancel events, node up/down events, and VM-live-migration cost readings; it stores the current assignment 3, node resource vectors 4, and live usage 5. The optimizer periodically, or upon overload, invokes a metaheuristic, reconstructs migration costs from the LMDT formula, and submits VM-migration commands through a hypervisor API or cloud-platform API (Sliwko, 22 Sep 2025). The reported data structures include a hash-map Task6Node, two 7-vectors 8 per node, and a sorted set or heap for overloaded nodes.
KnapFormer instantiates the same centralisation pattern in GPU training. Each iteration, GPUs measure sequence lengths and estimated per-sequence workload, all-gather length metadata on the CPU, and receive a centrally computed routing plan. A single all-to-all collective then moves packed token chunks to target devices; within each compute bag, sequences are split evenly into contiguous chunks and processed in parallel via DeepSpeed Ulysses; after forward and backward passes, a symmetric reverse-all-to-all restores the original ordering (Zhang et al., 8 Aug 2025). This is centralised at the metadata and planning level, but distributed at the data-movement and execution level.
The quantum-annealing implementation is likewise centralised, though the solver is hybrid CPU/QPU. The problem Hamiltonian
9
is derived from the Ising expansion, minor-embedded onto D-Wave Chimera or Pegasus via minorminer, and sampled over 0 anneals, with the lowest-energy bit string chosen as the assignment (Rathore et al., 2024). The details emphasise precomputing five distinct embeddings to average out hardware biases and monitoring the chain-break fraction.
The delayed-feedback dispatcher is fully online. At each arrival epoch, belief is represented by 1 particles, a search tree is built at the root belief node, UCT selection and rollout simulation are executed within a time budget approximately equal to the next-arrival interval, and the action 2 is dispatched (Tahir et al., 2021). This architecture remains centralised because the policy search is performed at a single dispatcher using a global belief state.
4. Algorithmic families
The cloud literature presents the most explicit catalogue of centralised metaheuristics. Greedy starts from the current assignment and repeatedly moves a task from an overloaded node to the “best-fit” alternative node. Tabu Search evaluates all single-task reassignment neighbors while maintaining a tabu list of the last 3 moves; the tuned parameters reported are 4, 5, and 6 restarts. Simulated Annealing uses the same neighborhood and accepts uphill moves with probability 7, cooling by 8. Genetic Algorithm uses a population of assignments, standard crossover, mutation by random task reassignment, and elitist retention; one prototype uses 9 and 0, while another reports effective ranges of 1, 2, and 3 (Sliwko, 22 Sep 2025, Sliwko et al., 13 Nov 2025).
A distinctive refinement is seeded GA. Instead of fully random initial populations, the GA is seeded with outputs of Greedy, Tabu Search, and Simulated Annealing, producing SGA-Greedy, SGA-TS, and SGA-SA (Sliwko et al., 13 Nov 2025). The reported rationale is to reduce the expensive “genetic drift” step while preserving high-quality diversity.
KnapFormer’s solver is not a GA or SA, but it is still a centralised heuristic search over a global assignment. Its three passes are: descending sort by workload and bag assignment by minimal current occupancy under capacity constraints; chunk partitioning within each bag; and routing-plan generation for one all-to-all (Zhang et al., 8 Aug 2025). The method relaxes the integrality of a knapsack solver in exchange for simplicity and speed.
The quantum-annealing protocol adds hardware-specific metaheuristic structure. Minor embedding maps logical qubits to chains of physical qubits; chain strength is set either by uniform torque-compensation or by manual tuning with multiplier 4; and anneal times are 5, with 6 anneals per call (Rathore et al., 2024). The primary obstacle to scalability is limited coupling on current quantum annealing hardware.
The delayed-feedback setting uses POMCP adapted to the queuing simulator, with UCT exploration constant 7, depth 8, and rollouts bounded by the inter-arrival interval (Tahir et al., 2021). Although framed as a policy-search algorithm rather than a classical metaheuristic, it occupies a similar operational niche: centralised stochastic search under incomplete information.
5. Empirical behaviour across application domains
The reported results show that centralised metaheuristic balancing is not tied to a single performance regime; its behaviour depends strongly on state observability, communication topology, and migration or embedding overhead.
| Setting | Metric | Reported result |
|---|---|---|
| AMR, 9 | Normalized maximum disparity | QA: 0; RR: 1 |
| SPH, 2 | Imbalance, cut-wt | QA: 3; METIS: 4 |
| Delayed feedback, 5 | Drop rate | POL 6; JMO 7; FI 8 |
| KnapFormer, 32 H100 | WIR, FBL, HFU | WIR reduced to 9; FBL 0; HFU 1 |
| Cloud trace replay | Throughput, overload | MASB 2, 3 overload |
In the AMR experiments, Quantum Annealing consistently beats Round Robin and is on par with Simulated Annealing and Steepest Descent for 4, except for a “kink” at 5 due to stochastic sampling. With 6 anneals, the QA best sample equals the SD best sample, while roughly 7 of samples beat RR (Rathore et al., 2024). For SPH, the reported outcome is stronger: both QA and METIS cut 8 edges, but QA achieves cut-weight 9 METIS cut-weight, node-imbalance 0 versus 1, and edge-cut 2 versus 3; the Pareto front obtained by varying 4 strictly dominates METIS, and approximately 5 of QA samples also Pareto-dominate METIS (Rathore et al., 2024).
In the delayed-feedback POMDP, the policy obtained by MCTS outperforms limited-information strategies such as JMO and JMO-E and nearly matches or overlaps full-information baselines such as JSQ and SED in several regimes. For 6, 7, 8, 9, 00, and 01, the reported drop rates are approximately 02 for POL, 03 for JMO, 04 for JMO-E, and below 05 for full-information policies (Tahir et al., 2021).
In distributed DiT training, the reported heterogeneity is extreme: without balancing, the Workload Imbalance Ratio ranges from 06 up to 07. KnapFormer with g8n4 bags reduces WIR to approximately 08, corresponding to less than 09 variance, and yields 10 to 11 speedup in end-to-end training workloads, including the example 12 for forward-backward latency in the hardest joint-pretraining case (Zhang et al., 8 Aug 2025). This suggests that when metadata are compact and re-sharding can be amortised by heavy computation, centralised balancing can substantially reduce straggler effects.
In large-scale cloud replay, MASB processes approximately 13 K tasks/min at 14 CPU, 15 memory, and 16 overload, fits an additional 17 tasks/min at 18 workload with 19 overload, and retains the full 20 K tasks/min under compaction from 21 K to 22 K nodes with 23 overload (Sliwko, 22 Sep 2025). A second cloud prototype reports that SGA-TS gives the lowest cost in fixed time, and in the largest scenario explores approximately 24 fewer candidate solutions than unseeded GA while finding a 25 better solution (Sliwko et al., 13 Nov 2025).
6. Limitations, trade-offs, and extensions
The central limitation of these systems is that global optimisation quality is purchased with centralised coordination overhead. In the cloud prototype, a single-head metaheuristic scheduler “chokes once the node-count 26 and task-count 27,” whereas offloading the logic to NAs gives linear scaling up to 28 K nodes (Sliwko, 22 Sep 2025). This directly challenges the misconception that a centralised metaheuristic load balancer is inherently scalable in all deployment regimes.
A second recurring limitation is model sensitivity. In the delayed-feedback system, performance depends on the accuracy of 29 and of arrival/service estimates; mis-specification leads to suboptimality, and long feedback delays with 30 require larger particle sets (Tahir et al., 2021). In KnapFormer, the compute-bag topology must be pre-specified, the greedy solver is not globally optimal, and irregular attention masks require more complex modelling (Zhang et al., 8 Aug 2025). In the cloud placement models, higher-quality allocations incur more migrations, while lower-quality allocations incur higher resource waste (Sliwko, 22 Sep 2025).
Quantum annealing adds hardware-specific constraints. Fully connected problems hit qubit-coupling limits, chain-break fraction rises sharply for 31 under default chain strengths, manual tuning has no a priori prescription, and current NISQ hardware limits dense graphs to approximately 32 (Rathore et al., 2024). The reported evidence therefore does not support a general claim that QA uniformly dominates classical load-balancing heuristics; on AMR it is competitive with SA and SD rather than decisively superior, whereas on the SPH multi-objective graph partitioning it is Pareto dominant over METIS (Rathore et al., 2024).
The cited extensions preserve the centralised optimisation loop while altering its solver or hardware substrate. Proposed directions include co-locating QPU with CPU in the same data-centre and using QA asynchronously at regular rebalancing intervals, replacing recursive two-way splits by a 33-way QUBO, employing machine learning to predict good 34, parallelising MCTS or offloading rollouts to GPU, incorporating more detailed delay models, exploring integer relaxations for the KnapFormer assignment, and extending the centralised knapsack formulation to Mixture-of-Experts routing, pipeline-parallel stage balancing, or multi-tenant inference serving (Rathore et al., 2024, Tahir et al., 2021, Zhang et al., 8 Aug 2025). A plausible implication is that the long-term research frontier is not the abandonment of centralisation, but the design of central controllers whose optimisation kernels are domain-specific, latency-aware, and hybrid across CPU, GPU, and QPU resources.