CATS:基于内存限制的LLM推理加速的级联自适应树推测
CATS: Cascaded Adaptive Tree Speculation for Memory-Limited LLM Inference Acceleration
AI总结:
CATS通过级联验证和修正机制,在内存受限设备中优化LLM推理,提升吞吐量并保持内存足迹。
摘要:
CATS通过级联验证和修正机制,在内存受限设备中优化LLM推理,提升吞吐量并保持内存足迹。
英文摘要:
Auto-regressive decoding in Large Language Models (LLMs) is inherently memory-bound: every generation step requires loading the model weights and intermediate results from memory (e.g., High-Bandwidth Memory (HBM) for GPU servers), making throughput bottlenecked by memory bandwidth rather than compute. Speculative decoding addresses this by enabling parallel verification of multiple draft tokens, effectively amortizing the cost of each target-model call. However, existing speculative decoding methods are designed under the assumption that HBM is sufficiently large to hold both the target model and an auxiliary draft model simultaneously -- an assumption that breaks down on memory-constrained devices such as edge platforms with limited DRAM. We analyze the inference bottleneck in this memory-limited regime and propose CATS, a self-speculative decoding framework that conducts cascaded verification and correction based on the memory budget and parameter offloading patterns on memory-limited devices. This design maximizes token acceptance rate and end-to-end speedup while keeping the peak memory footprint on the device equal to that of the target model alone. We evaluate CATS on different models across five benchmarks on real edge devices. CATS can achieve a wall-clock speedup of up to 5.08x with no degradation in generation quality, outperforming the SOTA method by up to 1.45x under edge memory constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。