TL;DR
ACCT (Asymmetric Cross-LLM Context Transfer) enables heterogeneous LLM systems to share context computation between different-sized models within the same family. By transforming a source model's KV cache into a sparse, target-compatible format, ACCT achieves up to a 21.2× speedup in context prefilling and maintains competitive performance while using only 25% of the original KV cache budget.
What Problem Does This Paper Address?
In modern AI deployments, we often use "model cascades" or routers that switch between different LLMs based on task difficulty or latency requirements. However, there is a hidden "prefill tax": even if the conversation history or document context remains the same, every time a system switches to a new model, that model must re-process the entire context from scratch to build its internal KV (Key-Value) cache.
As contexts grow into the tens of thousands of tokens, this repeated computation becomes a massive bottleneck. Standard caching only works if you stay within the same model. ACCT addresses this by treating context computation as a reusable resource that can be transferred across different model scales (e.g., from a 3B model to an 8B model) without re-encoding the raw text.
Methods
The authors introduce a lightweight "transfer interface" that sits between a source and target model. It consists of three primary components:
- The Cartographer: This module identifies which context tokens are most important for the target model's specific layers and attention heads based on the current query. It scores tokens to establish retention priorities.
- The Allocator: Instead of giving every attention head the same amount of memory, the Allocator learns to distribute a global KV budget. It ensures that critical layers get more "slots" to store information while less important ones stay lean.
- The Compiler: This is the "translator." It converts the source model's internal representations into the target model's specific KV format. It uses an Affine Bridge (a linear mapping) followed by a Neural Residual network to correct for semantic mismatches between the two models.
The workflow is simple: the source model processes the context once. The ACCT interface then picks the best tokens, converts them, and "mounts" them directly into the target model’s cache. The target model then only needs to process the new query.
Datasets
The researchers evaluated ACCT across three model families (Qwen3, Llama 3.1/3.2, and Qwen2.5) using a fixed panel of 10,000 evaluation examples:
- General Capability Benchmarks: HellaSwag, Winogrande, MMLU, PIQA, and WikiText2.
- Context-Dependent Tasks: SearchQA, TriviaQA, BoolQ, RACE, WikiHop, and PubMedQA.
Training was remarkably efficient, using only 5,000 examples from SearchQA to train the Cartographer and Allocator, and a tiny subset of 500 examples for the Compiler.
Key Insights and Ideas
- Computation is Decoupled: ACCT proves that "understanding" a context and "reasoning" over it can be handled by different models. You can use a small, fast model to do the heavy lifting of context encoding and a larger model for the final answer.
- Sparsity as a Filter: Surprisingly, ACCT sometimes outperforms the baseline where the target model sees the full context. By using the Cartographer to select only query-relevant tokens, the system effectively filters out "noise" from the context, leading to better accuracy on tasks like MMLU and TriviaQA.
- Asymmetric Advantage: The speedup is most dramatic when transferring from a smaller source to a larger target. Because the interface is lightweight, the cost of conversion is a fraction of the cost of a full-scale prefill.
Key Results
- Massive Speedups: At context lengths of ~19K tokens, ACCT achieved speedups between 6.5× and 21.2× compared to the target model's native prefill time.
- Memory Efficiency: The system maintained high performance even when the KV cache was compressed by 4× (75% reduction in stored tokens).
- Performance Parity: In many cases, the target model using transferred, sparse KV states matched or exceeded the performance of the same model processing the full, raw context ("Target Full").
Limitations and Future Work
- Intra-Family Only: Currently, ACCT requires models to be from the same family (e.g., Qwen to Qwen). Transferring context between entirely different architectures (e.g., Llama to Mistral) remains a challenge due to deeper semantic gaps.
- Size Asymmetry Limits: The authors noted that when the source model is significantly larger than the target (a high source-to-target ratio), performance can degrade. The current "capacity rules" for the interface don't yet fully account for extreme size differences.
- Pair-Specific Training: An interface must be trained for every specific model pair, which adds an overhead step for developers setting up new heterogeneous systems.
Future research will likely focus on cross-family transfers and developing more universal "scaling laws" for how much interface capacity is needed for different model sizes.
Summary updated