ICaRus decomposes decoder-only Transformers into a frozen logical encoder (KV generation) and task-specific logical decoders (next-token prediction), enabling identical KV cache sharing across multiple specialized models. With 8 agents it achieves 11.1× P95 latency reduction and 3.8× throughput gain while matching or exceeding fine-tuned accuracy.
Multi-model inference — where task-specialized models (math, coding, reasoning) collaborate within agentic workflows — forces each model to maintain its own KV cache even when processing identical prompts. This causes three compounding problems:
Prior approaches attack only part of the problem: H2O / KVQuant / SwiftKV reduce single-model KV size; KVFlow schedules eviction/prefetching based on agent workflow but remains single-model; DroidSpeak shares non-sensitive layers between base and fine-tuned variants but must recompute sensitive layers.

Paper's Figure 1, verbatim (caption: "Comparison of KV cache management strategies and effectiveness in multi model scenarios between conventional approaches and ICaRus"). Sub-figure (a) shows how ICaRus eliminates per-model KV duplication by sharing a single cache; sub-figure (b) shows cross-model prefix caching enabling one prefill to serve all models.
Core insight: a decoder-only Transformer can be decomposed into a logical encoder $E$ (generates KV caches) and a logical decoder $D$ (predicts the next token from the KV cache). In standard fine-tuning, both $E$ and $D$ are updated, making each model's KV cache unique. ICaRus freezes $E_{\text{base}}$ (the pretrained encoder) and fine-tunes only $D_{\text{task}}$ per task:
$$K_{1:i}, V_{1:i} = E_{\text{base}}(x_{1:i}) \quad\text{(frozen, shared across all tasks)}$$
$$x_{i+1} = D_{\text{task}}(x_i, K_{1:i}, V_{1:i}) \quad\text{(task-specific decoder)}$$
Since all task models share $E_{\text{base}}$, the KV cache for any given input is identical across models → direct sharing without approximation. Training explicitly accounts for the shared-KV setting: input is duplicated to both encoder and decoder, encoder generates KV, decoder attends to it and computes loss. This KV-sharing-aware training ensures robustness at inference time.
Inference optimization: during decoding, ICaRus concatenates query representations from the encoder and decoder along the head dimension and executes a single GQA attention call, reading the shared KV cache only once. Combined with shared base-model parameters, this keeps per-token latency comparable to a single model despite running both encoder and decoder.
核心技术壁垒: Freezing the entire logical encoder — half the model's parameters — does NOT degrade task accuracy. On Qwen3-8B/14B, ICaRus actually outperforms conventional fine-tuning (87.3 vs 85.4 on GSM8K for Qwen3-8B). The paper attributes this to "implicit regularization" from the frozen encoder: all task specialization must flow through the decoder, preventing overfitting. This counter-intuitive result is the core barrier to replication — one must believe (or verify) that encoder freezing is not merely lossless but beneficial.
| Dimension | Result |
|---|---|
| Accuracy (Qwen3-8B, GSM8K) | ICaRus 87.3 vs baseline 85.4 (+1.9) |
| Accuracy (Qwen3-14B, GSM8K) | ICaRus 88.8 vs baseline 85.6 (+3.2) |
| Accuracy (LLaMA-3.1-8B, GSM8K) | ICaRus 67.9 vs baseline 69.7 (−1.8) |
| P95 latency (8 models, ReAct) | 11.1× reduction vs conventional |
| Throughput (8 models, ReAct) | 3.8× improvement vs conventional |
| P95 latency (swap-based, 8 models) | 12.1× reduction |
| Models validated | LLaMA-3.1-8B, Qwen3-1.7B/8B/14B/32B |
ICaRus wins on Qwen3 variants but loses slightly on LLaMA-3.1-8B math (67.9 vs 69.7). System gains grow super-linearly with agent count: throughput improvement from 1.4× (2 models) to 3.8× (8 models).
| Dimension | ICaRus |
|---|---|
| Serving stage | Both prefill and decode |
| Serving mode | Continuous batching (vLLM integration) |
| Parallelism owned | None (orthogonal to TP/PP/EP) |
| Deployment | Single node (evaluated on 8×A100 80GB) |
| Adaptation method | LoRA (rank 128, α=256); agnostic to adapter type |

Paper's Figure 3, verbatim (caption: "Overview of the ICaRus architecture. The base model, a pretrained decoder-only Transformer, serves as the logical encoder, while the adapter-tuned model (consisting of the base model and a tunable adapter) serves as the logical decoder. The blue and orange lines indicate computations performed by the base model and the adapter-tuned model, respectively. The purple square denotes that the same base model generates the KV cache during both the prefill and decoding phases."). The figure shows how during decoding, the encoder and decoder share base-model parameters and the KV cache is written only by the encoder path. Queries from both paths are concatenated along the head dimension for a single GQA attention call.
Key structural points:
| Symbol | Meaning |
|---|---|
| $F$ | Decoder-only Transformer (full model) |
| $E$, $D$ | Logical encoder, logical decoder |
| $E_{\text{base}}$ | Frozen pretrained logical encoder |
| $D_{\text{task}}$ | Task-specific fine-tuned logical decoder |
| $x_i$ | $i$-th token |
| $K_{1:i}$, $V_{1:i}$ | Accumulated key and value sets up to position $i$ |
| $N$ | Number of task-specific models (agents) |
| $M$ | Base model parameter count |
| $L_i$ | Input prompt length |
| $L_o$ | Output tokens per turn |
| $t$ | Interaction turns per adapter |
| $L_t = L_i + tL_o$ | Total sequence length |
Eq 1 — Transformer as KV-conditioned predictor:
$$x_{i+1} = F(x_i, K_{1:i}, V_{1:i})$$
Next-token prediction depends only on the current token and accumulated KV cache, not on re-reading all previous tokens. This is the standard justification for KV caching.
Eq 2–3 — Encoder-decoder decomposition:
$$K_{1:i}, V_{1:i} = E(x_{1:i})$$
$$x_{i+1} = D(x_i, K_{1:i}, V_{1:i})$$
Any decoder-only Transformer $F$ can be split into an encoder $E$ (KV generation) and decoder $D$ (next-token prediction). The standard model is the special case where $E$ and $D$ share identical parameters.
Eq 4–5 — ICaRus sharing constraint:
$$K_{1:i}, V_{1:i} = E_{\text{base}}(x_{1:i})$$
$$x_{i+1} = D_{\text{task}}(x_i, K_{1:i}, V_{1:i})$$
Freezing $E_{\text{base}}$ guarantees that for a given input sequence, the KV cache is deterministic and model-independent. Multiple $D_{\text{task}}$ variants attend to the same cache.

Paper's Table 1, verbatim (caption: complexity comparison between single model and multi model scenarios). ICaRus eliminates the $N$ factor from both memory and prefill, reducing multi-model overhead to single-model equivalence.
| Metric | Baseline (N models) | ICaRus | Reduction |
|---|---|---|---|
| Memory | $\mathcal{O}(M + NL_t)$ | $\mathcal{O}(M + L_t)$ | $N\times$ |
| Prefill latency | $\mathcal{O}(N(ML_t + L_t^2))$ | $\mathcal{O}(ML_t + L_t^2)$ | $N\times$ |
| Decode memory access | $\mathcal{O}(M + L_t)$ | $\mathcal{O}(M + L_t)$ | 1× |
| Decode compute | $\mathcal{O}(M + L_t)$ | $\mathcal{O}(2M + 2L_t)$ | 0.5× (2× cost) |
| # | Claim | Verification | Status |
|---|---|---|---|
| 1 | Eq 1–3 decomposition: $F = D \circ E$ | Standard KV cache semantics in decoder-only Transformers; $E$ extracts KV, $D$ uses it. The special case $E \equiv D$ recovers $F$. | ✓ valid |
| 2 | Eq 4: frozen $E_{\text{base}}$ ⇒ identical KV | Deterministic forward pass with fixed parameters and identical input yields identical output. Requires no stochastic layers (dropout=0 at inference). | ✓ valid |
| 3 | Memory $\mathcal{O}(M + L_t)$ eliminates $N$ | Single shared KV store serves all decoders; each decoder only adds lightweight adapter weights ($\ll M$). | ✓ valid |
| 4 | Prefill $\mathcal{O}(ML_t + L_t^2)$ eliminates $N$ | One prefill pass generates KV for all models; subsequent models skip prefill entirely via cache hit. | ✓ valid |
| 5 | Decode memory access $\mathcal{O}(M + L_t)$ despite 2× compute | Encoder and decoder share base parameters (loaded once) and read KV cache once via concatenated queries. Memory traffic ≈ single model. | ✓ valid in memory-bound regime; no per-token latency measurement provided |
| 6 | Training convergence: decoder-only fine-tuning matches full fine-tuning | Fig 2 shows loss curves overlap. "Implicit regularization" explanation is intuitive but lacks formal proof or ablation isolating the regularization effect. | ✓ empirically validated; theoretical gap |

Paper's Table 2, verbatim (caption: "Comparison of conventional methods and ICaRus on diverse datasets"). ICaRus achieves parity or better on Qwen3-8B across all tasks. On LLaMA-3.1-8B, ICaRus trails by 1.8 points on GSM8K but gains on GPQA (+1.5) and HumanEval+ (+2.4).
Key observations:

Paper's Table 3, verbatim (caption: comparison across Qwen3-1.7B/8B/14B on MetaMathQA-40K). ICaRus advantage grows with model size: +0.8 at 1.7B, +1.9 at 8B, +3.2 at 14B on GSM8K.

Paper's Figure 4, verbatim (caption: "P95 latency and throughput of ICaRus compared with multiple task-specific agents fine-tuned from the LLaMA-3.1-8B base model under the ReAct pattern"). Left: P95 latency across QPS for 2/4/8 agents. Right: throughput across QPS. ICaRus curves remain flat or improving while baseline degrades at moderate QPS due to KV eviction cascading.
Headline numbers at baseline's peak-throughput QPS:
| Agent count | P95 latency reduction | Max throughput gain |
|---|---|---|
| 2 | 3.8× | 1.4× |
| 4 | 5.1× | 2.3× |
| 8 | 11.1× | 3.8× |
The super-linear scaling with agent count is the key system result: each additional model in the baseline adds $\mathcal{O}(L_t)$ KV memory, accelerating memory saturation and eviction. ICaRus keeps KV at $\mathcal{O}(L_t)$ regardless of $N$.

Paper's Figure 5, verbatim (caption: "Comparison of P95 latency and maximum throughput across QPS for LLaMA3.1-8B and Qwen-3-14B Base under ReAct and Reflexion patterns"). ICaRus advantages generalize across model sizes (8B vs 14B) and agentic patterns (ReAct vs Reflexion). Qwen3-14B shows up to 7.4× latency reduction and 3.6× throughput gain.
| Workload regime | ICaRus | Baseline | Why |
|---|---|---|---|
| Many models ($N \geq 4$), moderate-high QPS | Large win (3.8–11.1× latency) | Memory saturates → eviction cascade | ICaRus eliminates $N\times$ KV growth |
| Few models ($N = 2$), low QPS | Moderate win (1.4× throughput) | KV fits in memory | Both fit; ICaRus saves prefix recompute |
| Skewed/random agent invocation | Large win (up to 15× P95 at $N = 2$) | Hot model evicts cold model's cache | ICaRus shares cache regardless of invocation order |
| Single model | No benefit | Standard serving | No cross-model sharing to exploit; decode overhead is pure cost |
| Short prompts, low concurrency | Minimal win | Low KV pressure | Less prefix to share |
| Step | Claim | Evidence | Depends on |
|---|---|---|---|
| 1 | A decoder-only Transformer decomposes into logical encoder $E$ (KV generation) and logical decoder $D$ (next-token prediction). | Eqs 1–3: standard KV cache semantics. The special case $E \equiv D$ recovers $F$. | Transformer architecture definition |
| 2 | Freezing $E_{\text{base}}$ and fine-tuning only $D_{\text{task}}$ preserves task accuracy. | Table 2: ICaRus matches or exceeds conventional fine-tuning on 4/5 benchmarks (Qwen3-8B). Fig 2: training loss curves overlap. | Step 1 (decomposition must be valid) |
| 3 | Shared $E_{\text{base}}$ guarantees identical KV caches across models for identical inputs. | Eq 4: deterministic forward pass with frozen parameters. No approximation or layer selection needed (unlike DroidSpeak). | Step 2 (encoder must be frozen) |
| 4 | Identical KV caches enable cross-model prefix caching and eliminate $N\times$ memory/prefill overhead. | Table 1: memory $\mathcal{O}(M + L_t)$ vs $\mathcal{O}(M + NL_t)$; prefill latency eliminates factor $N$. | Step 3 (KV identity guarantee) |
| 5 | Query concatenation along head dimension enables parallel encoder–decoder execution with single KV read. | Fig 3, Algorithm 3 (Appendix B.2): concatenated queries → single GQA call. Memory access $\mathcal{O}(M + L_t)$ matches single-model. | Step 3 (shared KV) + GQA mechanics |
| 6 | End-to-end system gains grow super-linearly with agent count. | Fig 4: 1.4×/2.3×/3.8× throughput at $N$ = 2/4/8. Baseline throughput degrades at lower QPS as $N$ increases (eviction onset earlier). | Steps 4 + 5 (memory + latency benefits compound) |
[実現未公開] — the paper does not release source code. Implementation details are described at pseudocode level in Appendix B (Algorithms 1–3) and the system is evaluated within vLLM, but no repository URL or patch is provided.