Manuscript Offprint

arXiv:2610.05285

Quality-Aware Cross-Model Computation Reuse

Jin Cheng, Xiangxiang Dai, Maoli Liu, Ziyi Han, Zhuohua Li, John C. S. Lui

ABSTRACT

An intermediate result computed by one model can be reused by other models to perform their tasks. Existing work mainly focuses on practical execution, leaving a theoretical gap in optimizing reuse decisions. This optimization faces two challenges: quality uncertainty, because the effect of reuse on task quality is uncertain across models, and coupled scheduling, because tasks need to share the cost of preparing reusable results. These challenges compound each other: quality must be learned online, but the shared preparation structure makes scheduling NP-hard even with known quality, breaking the key assumption in existing methods. We formulate cross-model computation reuse as an online decision problem and develop the Quality-Aware Reuse Scheduling (QARS) algorithm to address it. For quality uncertainty, QARS learns task-dependent reuse quality from selected, possibly delayed feedback and uses optimistic estimates to guide decisions. For coupled scheduling, it jointly chooses which results to prepare and which tasks should use them, adapting scheduling accuracy to the remaining quality uncertainty. For the considered problem, our analysis separates learning and optimization error in regret and quantifies the tradeoff between scheduling accuracy and computation. Completing the quality-aware stopping rule yields O~(T)\widetilde{O}(\sqrt{T}) regret while preserving feasibility. Experiments demonstrate the effectiveness of QARS in optimizing cross-model reuse, reducing the combined cost of computation and quality loss by up to 18.0%, and mean regret by 63.9% over the strongest scheduling baseline.

1 INTRODUCTION

Large language models (LLMs) often process the same input for many tasks, such as several questions about one document or successive turns of a conversation. Such repeated processing is common in serving workloads and adds latency and cost (Wang et al., 2025; Ye et al., 2025). Computation reuse avoids it by computing a result once and sharing it across tasks, for example by caching the attention states of a shared prefix (Gim et al., 2024; Zheng et al., 2024; Yao et al., 2025). This reuse typically assumes one model both produces and consumes the result. However, LLM workflows increasingly combine multiple models (Zhang et al., 2025), so one model's result can also serve another.

Cross-model computation reuse targets this case: a source model computes a reusable result, and a target model uses it for multiple tasks (Figure 1). For example, a small source model can summarize or compress a long document (Jiang et al., 2023; Xu et al., 2024), and a larger target model then answers several questions from this result instead of the full document. Similarly, KV caches can be shared or converted across models (Liu et al., 2026; Fu et al., 2026). Such reuse avoids repeated processing, but the target model sees a condensed or converted input, which may reduce task quality. Existing reuse work mainly focuses on practical execution, leaving a theoretical gap in optimizing reuse decisions. Prior studies develop mechanisms for cross-model reuse (Liu et al., 2026; Fu et al., 2026) and model-cache selection (Lu et al., 2026). Building on these systems, we study the reuse scheduling problem: which results should be prepared for reuse, and

Figure

Compute Once

Reuse across Models

Figure 1: Cross-model reuse.

how should tasks be assigned to them when task-dependent quality is unknown and preparation costs are shared? Optimizing these decisions faces two coupled challenges.

Challenge I: Quality uncertainty arises because the effect of reuse on task quality is uncertain across models. Reuse quality depends on the source and target models, the task, and how the result is reused (Liu et al., 2026; Fu et al., 2026; Heo et al., 2026). In Figure 1, a summary that the target model can read may still lack the evidence needed to answer a question. Quality feedback is available only for executed assignments and may be delayed. The scheduler must therefore learn task-dependent reuse quality from selected feedback while controlling quality loss and execution cost.

Challenge II: Coupled scheduling arises because tasks share the cost of preparing reusable results, coupling their reuse decisions. The scheduler must therefore jointly choose which results to prepare and how to assign tasks to them, accounting for shared preparation costs, task-dependent execution costs, and quality losses.

We formulate cross-model computation reuse as an online decision problem and develop Quality-Aware Reuse Scheduling (QARS) to address it. For Challenge I, QARS learns task-dependent reuse quality from selected, possibly delayed feedback and uses optimistic estimates to guide reuse decisions. For Challenge II, its Joint Adaptive Scheduling (JAS) algorithm jointly chooses which results to prepare and how to assign tasks to them. The scheduler uses a computable optimization gap to adjust scheduling accuracy to the remaining quality uncertainty.

Our main contributions are as follows:

• Problem formulation. We provide a theoretical framework for cross-model computation reuse. We formulate it as an online decision problem, capturing quality uncertainty and coupled scheduling. We show that the shared preparation structure makes scheduling NP-hard even with known quality, breaking the efficient-oracle assumption in existing methods (Section 3).

• Joint scheduling with adaptive accuracy. We develop QARS, which learns reuse quality from selected, possibly delayed feedback and uses JAS for joint preparation and assignment. Unlike existing methods, JAS bounds each feasible schedule’s optimization error by a computable gap and stops once this gap matches the remaining quality uncertainty (Section 4).

• Theoretical guarantees. We separate learning and optimization error, obtaining O~(T)\widetilde{O}(\sqrt{T}) regret when quality-aware stopping is met at every epoch. Under the component conditions, we bound the scheduling work needed to reach a positive stopping tolerance (Section 5).

• Empirical validation. Experiments on four datasets support the analysis, with QARS reducing the combined cost of computation and quality loss by up to 18.0%, and mean regret by 63.9% over the strongest scheduling baseline (Section 6).

References (91)