Complex reasoning queries can be decomposed into directed acyclic task graphs and distributed across heterogeneous LLMs, reducing latency through parallelism and enabling smaller models to solve complex tasks. In practice, however, the suitability of an LLM for a given subtask may be a priori unknown, and execution alone does not reveal output correctness. We propose JOVE, an online framework that jointly assigns executor LLMs and selects intermediate outputs for paid verification. Verification runs asynchronously and is used to improve future allocations, so the system must balance spending on execution now against learning for later. We study how to optimize this trade-off under a long-term budget and a per-query latency constraint, with stochastic, initially unknown LLM service quality, invocation costs, and execution times. JOVE makes execution and verification decisions by solving a sequence of per-query mixed-integer linear programs. Online learning updates task-dependent estimates of LLM quality based on verification feedback, while an information-gain bonus incorporates the value of learning into allocation decisions. Under a natural set of assumptions, we establish sublinear quality-learning regret for JOVE. Across four reasoning benchmarks, JOVE achieves competitive accuracy against standard inference baselines while reducing average cost and latency by at least 3.17 times.
Figures & tables
Figure 1: Overview of JOVE. A planner decomposes each query into a task graph and identifies candidate executor LLMs for each node. JOVE jointly assigns executors and selects outputs for verification, subject to a long-term execution/verification budget and latency constraints. Verification proceeds asynchronously without delaying the current response, improving model-quality estimates.
(a) Accuracy (%) ↑
Methods
Bamboogle
MMLU-Pro
LiveBench-Reasoning
GPQA
Inference-level baselines (unconstrained)
Direct (Qwen3-32B)
47.5±3.2
47.3±0.8
31.4±1.2
45.1±3.8
CoT ( Wei et al., 2022 )
51.7±1.2
54.1±1.1
39.2±0.9
54.2±3.6
SoT ( Ning et al., 2024 )
48.9±3.4
52.0±3.1
33.4±2.3
50.9±6.8
Plato ( Jin et al., 2025a )
46.5±0.9
52.8±3.2
38.4±1.8
60.3±0.1
Table 1: Accuracy, latency, and API cost per query across four benchmarks. Averaged across benchmarks, JOVE achieves competitive accuracy with substantially lower latency and API cost than the unconstrained inference baselines. Values are mean ± standard deviation over three random seeds.
Figure 2: Accuracy, latency, and cost trade-offs, averaged over four datasets.
Figure 3: Verification analysis of JOVE. (a) Final-answer accuracy versus the number of verifier-labeled incorrect nodes k , grouped by the number of verified nodes n , with results pooled across all four datasets. (b) GPQA final-answer accuracy and the fraction of executed nodes verified, split by verifier-labeled correct and incorrect output, as the verification weight kv varies.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Methods
Accuracy (%) ↑
Latency (sec.) ↓
Cost ( ×10−4 USD) ↓
Inference-level baselines (unconstrained)
Direct (Qwen3-32B)
47.3±0.8
45.39±2.29
5.34±0.38
CoT ( Wei et al., 2022 )
54.1±1.1
34.11±4.63
5.38±0.34
SoT ( Ning et al., 2024 )
52.0±3.1
70.17±6.27
27.53±3.71
Plato ( Jin et al., 2025a )
52.8±3.2
104.20±5.21
22.23±2.02
Resource-aware methods (constrained)
Appendix
Table 2: Results on MMLU-Pro. Each query generates one task graph in the learning sequence.
Datasets
t∈[1,50]
t∈[51,100]
t∈[101,200]
t∈[201,end]
Bamboogle
96.8±4.0
98.2±1.6
98.1±2.1
98.6±1.4
MMLU-Pro
75.6±8.8
93.4±3.6
95.8±1.7
98.4±0.4
LiveBench-Reasoning
56.9±10.0
89.7±4.3
94.7±4.0
96.0±2.1
GPQA
72.9±12.2
91.6±5.6
95.7±1.3
98.7±1.3
Appendix
Table 3: Deadline hit rate (%) across successive intervals. The target is 90%.
Datasets
t∈[1,50]
t∈[51,100]
t∈[101,200]
t∈[201,end]
Bamboogle
11.29±3.3
1.83±0.3
1.38±0.2
0.98±0.2
MMLU-Pro
23.09±12.4
7.65±4.1
3.24±1.2
1.99±0.1
LiveBench-Reasoning
6.15±2.0
2.39±1.3
1.97±0.5
1.97±0.4
GPQA
21.35±4.6
8.74±3.2
3.05±1.0
1.66±0.1
Appendix
Table 4: Average cost ( ×10−4 USD) across successive intervals. γ=2×10−4 USD.
Figure 4: Ablation of the cost and latency constraints on GPQA.
Methods
Accuracy(%)
Latency (s)
Cost ( ×10−4 USD)
p=0.2
33.6±1.7
4.23±0.83
2.06±0.11
p=0.5
34.8±1.2
3.27±0.35
2.42±0.24
p=0.8
42.3±0.9
3.09±0.72
2.35±0.14
p=0.9
37.1±1.4
3.02±0.40
2.37±0.12
p=1.0
38.5±1.2
4.00±0.39
2.09±0.09
JOVE
49.3±1.0
3.68±0.48
2.18±0.18
Appendix
Table 5: Comparison of verification strategies on Bamboogle.
Symbol
Description
Query and task graph
t , T
Query index and horizon (number of queries).
xt
The t -th query.
Gt=(Nt,Et)
Planner-generated task graph (DAG) for query xt .
Nt , ∣Nt∣
Node (subtask) set and its cardinality.
Et
Edge set; (j,i)∈Et means node i requires the output of node j .
Appendix
Table 6: Notation for the task graph, decisions, outcomes, and oracle statistics.
Symbol
Description
Online estimation (Section 3.3 )
ϕti(a)∈Rd , d
Feature vector of the task–model pair and its dimension.
Dt−1
Feature–label pairs obtained through verification before query t .
Υt−1(a)
Execution records (ϕ,m,d) for model a collected before query t .
w(ϕ,ϕti(a))
Softmax similarity weight assigned to a past record.
Gt−1 , Gt−1+
Ridge information matrix before query t , and after adding one verified observation.
Appendix
Table 7: Notation for online learning, resource control, and the analysis.
Large language model inference scheduling allocates requests, batches, compute, and KV-cache memory to balance latency, throughput, and service-level objectives.