arXiv:2608.26004cs.AIAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.26004

AsymSpec: Context-Asymmetric Speculative Decoding for Agentic LLMs

Sheng Liang, Yongyue Zhang, Nathanael Brian, Hang Lv, Hao Wang, Chen Zhang, Yong Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Agentic LLM pipelines face escalating inference costs as context accumulates across retrieval, tool use, and multi-turn interactions. To control latency, deployments routinely compress inputs, but this degrades task accuracy. Speculative decoding (SD) accelerates generation losslessly, yet it assumes the drafter and verifier share an identical context, preventing SD from resolving the accuracy-overhead trade-off. We propose ASYMSPEC, an asymmetric speculative decoding framework that breaks this symmetry: a lightweight drafter reads the full input while the large verifier operates on the compressed view. The drafter steers the verifier via a contrastive δ\delta-fusion of logits, modulated by a divergence-aware acceptance gate that preserves verification stability and high draft acceptance rates. Evaluated across four agentic capabilities and two end-to-end agent benchmarks, ASYMSPEC reaches ≈\approx90% of full-context accuracy on average, delivering 1.3−1.7×1.3-1.7\times throughput speedups at 0.2−0.3×0.2-0.3\times the compute cost on isolated text capabilities. These results show that asymmetric context access yields substantial gains precisely when compression discards critical reasoning signals.

1 Introduction

Modern LLM deployments increasingly operate as agentic pipelines—retrieving documents (Lewis et al., 2020; Gao et al., 2023; Wu et al., 2025a), invoking tools (Yao et al., 2023; Schick et al., 2023), maintaining multi-turn dialogue and memory (Sirdeshmukh et al., 2025; Zhang et al., 2025b; Wu et al., 2025b), and processing multimodal inputs (Liu et al., 2023). These settings issue repeated LLM calls over context that grows with every step. As retrieved passages, tool observations, and interaction histories accumulate, the forward pass becomes the dominant latency bottleneck, making context length the primary driver of inference overhead in production.

To control this overhead, deployments routinely compress the context (Pan et al., 2024b): RAG pipelines summarize retrieved passages, tool-use agents pass only API signatures instead of full documentation, and multimodal workflows feed short captions instead of raw images. Compression reduces serving cost but systematically discards fine-grained details critical for task accuracy. Deployments thus face a rigid accuracy-overhead tradeoff: absorb the prohibitive latency of full-context generation, or accept significant degradation.

Speculative decoding (SD) (Leviathan et al., 2023; Chen et al., 2023) has become the standard approach for accelerating LLM inference: a lightweight drafter proposes candidate tokens that a large verifier checks in parallel, guaranteeing lossless generation under the target distribution. Despite extensive improvements to drafter architectures (Li et al., 2024c; Cai et al., 2024; Li et al., 2024b) and contrastive logit fusion in the speculative loop (Yuan et al., 2023), all existing SD methods share a foundational constraint: drafter and verifier process the same input tokens. SD accelerates a fixed target distribution without changing what the target model sees; once the verifier is compressed, SD can only accelerate the compressed model—it cannot recover what compression removed. Either both models pay the full-context cost, or both inherit the compression loss.

Our key observation is a structural compute asymmetry: per-step latency is dominated by the large verifier, while a lightweight drafter adds negligible overhead. Compressing only the verifier captures most of the latency savings, but standard SD cannot exploit this because it enforces identical input. We break this symmetry with ASYM-SPEC, an asymmetric speculative decoding framework that explicitly decouples context access. The verifier operates strictly on the compressed view for efficiency, while the drafter reads the full input to reconstruct the discarded information. We realize this recovery through a contrastive mechanism: the drafter processes both context views, and subtracting their output distributions removes the drafter's context-independent preferences, isolating the information gain the uncompressed input provides. This gain signal, δ\delta, is fused into the verifier's logits and modulated by a parameter-free Context-Divergence Acceptance (CDA) gate. By scaling injection strength with the context divergence, the gate maintains stable verification and high acceptance rates. Since only the drafter processes the full input, ASYMSPEC recovers full-context reasoning fidelity at the compressed verifier's latency, and extends to cross-modal settings (e.g., a vision-language drafter on raw images steering a text-only verifier on captions).