Manuscript Offprint

arXiv:2611.08162

RouteAlign: Aligning Task Requirements with Model Profiles for LLM Service Selection

Jihao Zhao, Ding Chen, Yanfang Chen, Bo Tang, Feiyu Xiong, Junchi Yan, Zhiyu Li

Abstract

LLM service selection requires performance evidence that reflects the demands of the current task. Aggregate scores obscure differences in capability and difficulty, while semantically related examples can involve different combinations of skills. We present RouteAlign, which uses task requirements to structure both the measurement of model performance and the selection of services. Task requirements describe capability demand and difficulty, enabling alignment with corresponding model performance measurements. Historical requirements determine how outcomes contribute to global profiles and local capability estimates; incoming requirements determine how those measurements inform the current decision. A shared scorer integrates the evidence, and a generation-cost preference controls selection among eligible services. Evaluation across diverse tasks and heterogeneous LLM services shows that RouteAlign extends the empirical quality-cost frontier toward higher task quality. Comparisons with open Jev-style decision backends show consistent quality gains, with lower generation cost than their strongest tested configuration. Ablations support the contribution of local performance evidence, while catalog-update experiments demonstrate effective reuse of the fitted scorer with refreshed model measurements.

Date: November 6, 2026

Correspondence: lizzy@memtensor.cn

Author Legend: * Co-equal primary author, ☑ Corresponding author

Code: https://github.com/MemTensor/RouteAlign

Keywords: Large language models, service selection, task requirements, model profiles, quality of service.

1 Introduction

Applications increasingly draw on large language models (LLMs) as services for tasks that span knowledge, reasoning, programming, and interaction with external systems. The breadth of foundation-model applications [1] makes the choice of service consequential: the same candidate may be suitable for routine requests yet unreliable on a demanding combination of skills. Service-oriented computing provides the architectural basis for invoking interchangeable functionality [2], and classical service selection compares eligible alternatives under quality-of-service (QoS) constraints [3]. For LLMs, however, task quality must be estimated for the particular request before the selected service executes it. An interface establishes how a model can be invoked; effective selection additionally requires evidence of what that model can accomplish under the current task demands.

Figure

Figure 1 Conceptual comparison of query-model matching and requirement-profile alignment for LLM service selection. The task combines coding, reasoning, and data analysis with weights of 0.50, 0.33, and 0.17 at difficulty L3. The model profiles of services A, B, and C express performance in the same capability coordinates.

The central challenge is determining which past outcomes support that estimate. Holistic evaluation reveals substantial variation across scenarios and quality dimensions [4], and the Benchmark Lottery shows that relative model rankings can change with the choice of evaluation tasks [5]. Dynabench further demonstrates the value of targeted challenge examples for exposing model failures [6]. Even within a topic, requests can require different combinations of capabilities. Consider identifying incorrect statistics in a Python script and repairing its implementation. Superficially similar programming examples may test routine syntax, algorithm design, or quantitative analysis, each providing different evidence about the requested repair. Instruction-following constraints introduce another source of variation, as illustrated by IFEval [7]; reasoning demands can also change the interpretation of measured performance, as shown on BIG-Bench Hard [8]. Figure 1 illustrates the resulting selection problem. A useful model description must preserve the conditions under which performance was observed, and a selector must consult that description according to the capabilities and difficulty of the incoming task.

Existing routing results establish the value of exploiting model complementarity [9]. RouteLLM learns pairwise preferences [10], RouterDC learns query-model compatibility [11], and nearest-neighbor routing estimates quality from similar tasks [12]. These advances motivate a practical question: which parts of a model's performance history are informative for a request that combines several capabilities? Global measurements provide coverage across topics, whereas related tasks preserve local context. Combining them requires distinguishing semantic resemblance from the capability demands associated with an observed outcome. This issue persists when the catalog changes. Dependencies among models, data, and system configuration complicate maintenance [13]; empirical studies also identify data versioning and model reuse as distinct software-engineering challenges [14]. A selector should therefore accommodate updated candidate evidence while preserving a consistent rule for comparing services.

We introduce RouteAlign to retain the task conditions that make past performance informative for a new request. In the programming example, results on statistical reasoning and routine code editing inform different aspects of the requested repair, even when the task descriptions are semantically close. The method preserves these distinctions through profiles of performance under different capability demands and difficulty levels, together with estimates from related tasks. Within that neighborhood, each outcome's influence depends on semantic proximity and the capability demands of both the historical and current tasks. The resulting estimate reflects how a candidate's measured competence matches the request's capability mixture. A shared scorer learns to combine broad performance coverage with this local context. A common measurement schema allows the learned scoring rule to be reused when candidate evidence is refreshed after catalog changes.

Across ten datasets and 13 candidate LLMs, RouteAlign achieves the highest Sample-Avg and Dataset-Avg among the evaluated routing baselines, exceeding RouteLLM by 1.38 and 2.22 percentage points at 1.05% higher generation cost. It also exceeds the strongest tested open Jev-style configuration by 5.22 and 6.44 points on the respective metrics at 9.7% lower generation cost. The quality gains persist across decision backends and scoring mixtures, supporting the combination of requirement-conditioned measurements and local performance evidence. Ablations identify local evidence as the most consequential feature group. Timing studies quantify cached selection and online requirement prediction. In controlled catalog updates, refreshed measurements let the retained scorer respond to changes in available services and prices.

The paper makes three contributions:

  • A requirement-aware formulation of LLM service selection that separates task competence, service eligibility, and generation-cost preference. Shared capability and difficulty coordinates make the relationship between task demands and measured model performance explicit.

  • A requirement-profile alignment mechanism that combines difficulty-conditioned model profiles with local estimates conditioned on the capabilities required by both historical and incoming tasks. A shared scorer integrates these complementary measurements across candidate services.

  • An empirical assessment spanning established routers, open Jev-style decision backends, and direct candidate invocation. Quality, generation cost, ablations, execution overhead, and catalog updates jointly examine the effectiveness and reuse of the selection policy.

References (50)