Gossamer: A Utility-Driven Architecture for Constant-Budget KV Cache Compression in Reasoning LLMs
Feng Cheng, Cong Guo, Junyao Zhang, Haoxuan Shan, Chiyue Wei, Hong Wang, Hai Li, Yiran Chen
Abstract
Transformer-based large language models (LLMs) are increasingly applied to complex reasoning tasks, yet their inference efficiency is fundamentally constrained by the rapid growth of the KV cache. As reasoning contexts extend to hundreds of thousands of tokens, the key-value (KV) cache becomes the dominant contributor to both memory footprint and bandwidth demand, tightly coupling computation with memory utilization and thereby limiting scalability. Existing compression methods, such as quantization and eviction, alleviate capacity pressure but remain purely algorithmic, often introducing additional passes and compute overhead that reduce system efficiency. This paper presents Gossamer, a KV cache compression architecture for reasoning LLMs that bridges the algorithm--system--hardware gap. Gossamer introduces a unified utility-based action framework that dynamically selects compression operations, quantization, merging, or eviction, under a constant KV cache budget. Through cross-domain co-design, we fuse cosine-similarity estimation directly into the attention computation, exploiting idle compute cycles to perform similarity evaluation without latency or bandwidth cost. We call this mechanism Free-Lunch Utilization. This enables real-time, fine-grained KV management with near-constant memory usage and negligible overhead. Under tight memory constraints, Gossamer sustains reasoning quality comparable to uncompressed inference while improving end-to-end throughput by up to 16.7 over uncompressed baselines, 5.5 and 4.9 over the quantization-based Oaken and Ecco, and 1.8 over the eviction-based R-KV.
Create a lesson
Related papers
Compressing Page-Table Leaves in Shared Caches
Shared title terminology · Samarth Narang, Aamer Jaleel, Brandon Reagen
AMARA: Compiler-Driven Accelerator Architecture Design for Graphical Probabilistic Sampling
Shared title terminology · Zhan Chen, Yihan Fu, Wenshuo Yue et al.
Motivo: A Motif-Based Algorithm-Architecture Co-Design for Fast and Energy-Efficient Graph-Based Genome Analysis
Shared title terminology · Eirini Maria Tzermpou, Konstantina Koliogeorgi, Konstantinos Kanellopoulos et al.
CarrierKV: An Edge LLM Accelerator with Positional Carrier Decomposition for Low-Bit KV Cache
Shared title terminology · Junyi Luo, Xinting Jiang, Ruichen Qi et al.
CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables
Shared title terminology · Hyunjun Park, Seungyub Han, Jason Jaesung Lee et al.
SGLayout: Schema-Guided Closed-Loop Refinement for LLM-Driven Parameterized Layout Generation
Shared title terminology · Siyang Chen, Yuan Pu, Yuhan Qin et al.