TECHNOLOGY

CEMA-Router: a lower weighted objective can accept higher quality loss

In this article
THE QUICK TAKE

The reported objective improvement combines normalized preferences; deployment energy and completion time are estimates, and quality loss increases in the main comparison.

Route a batch to concrete destinations

CEMA-Router is a research system for assigning a batch of LLM requests across heterogeneous cloud and edge endpoints. A destination means a particular node–model pair. The router considers predicted quality, token charges, endpoint throughput, network conditions and inherited backlog rather than choosing a model from capability alone.

Its memetic search combines initial assignments with local repairs and swaps. Moving one request can change the completion time of others sharing the destination, so evaluating a complete assignment can capture contention that independent per-request decisions miss. The model-versus-provider routing guide explains why model identity and executor identity should remain separate in that analysis.

The objective is a configured preference

The full paper minimizes a weighted sum of normalized quality loss, monetary cost, energy and batch completion time. Default weights are 0.25 for each component. Normalization and the selected weights belong to the result’s definition; a percentage improvement in that combined score is not the same percentage of money, joules or latency saved.

The controlled RouterBench evaluation uses stored model responses and a simulated infrastructure profile. A separate deployment exercises request dispatch, health checks, network measurements and completion monitoring across six endpoints. It samples 300 GSM8K and 600 MMLU questions and reports 10 runs per method for the main comparison, with batches of 30 requests.

Quality is predicted from an offline store of automatically scored endpoint responses. Embedded prompts retrieve nearby profiled examples, whose scores estimate each destination’s quality. Both CEMA-Router and UniRoute receive the same quality source. This controls that input, but does not turn predicted quality into independent evaluation of every newly returned answer.

Read the raw metrics beside the headline

For GSM8K, CEMA-Router reports an objective of 0.0669 against UniRoute’s 0.4894, a reported reduction of 86.3%. The raw profiled quality loss rises from 0.3362 to 0.3670; lower is better, so this is a quality concession within the chosen objective.

The energy entries are 12928 versus 19541 joules, and completion-time entries are 2.443 versus 3.351 seconds. Crucially, the methodology defines energy using fixed power profiles and modeled completion time, and defines completion time as an estimate after dispatch. These are not integrated whole-system meter readings or directly measured complete client latency.

All self-hosted endpoints have zero external API charge in this deployment. The monetary term therefore does not distinguish assignments. Zero API price is a modeling boundary, not evidence that operating the hardware costs nothing. The complete router-cost guide explains which expenses such a term leaves outside its scope.

Decision overhead can consume the advantage

Routing decision time is measured separately from estimated batch completion time. In the main GSM8K table, it is 1.059 seconds for CEMA-Router and 0.523 for UniRoute. A comparison that reports only the completion estimate omits this extra work, as well as the request-collection interval before dispatch.

The paper explicitly acknowledges that larger batches can push decision time beyond the batching interval. Its expanded destination-count test also replicates a profiled catalogue; it is not evidence of a newly measured physical fleet at that scale.

The defensible result is a particular infrastructure-aware tradeoff under calibrated profiles. Before applying it to a service, validate quality predictions on held-out traffic and measure the complete request window and actual energy domain. Those checks determine whether avoided waiting exceeds routing overhead under the application’s priorities.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles