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 ChenarXiv 2026

It’s late, you’ve had a long day, and you just want to understand why Large Language Models (LLMs) are such memory hogs. You’ve likely heard of the KV Cache—the "scratchpad" where models store past conversation history to avoid recomputing everything for every new word.

The problem? That scratchpad grows linearly. If you want a model to reason through a 100,000-token document, the KV cache becomes a monster, devouring over 80% of your GPU’s memory and slowing inference to a crawl.

Enter Gossamer. This paper proposes a hardware-software co-design that keeps that scratchpad at a constant, manageable size without losing the model's "train of thought."

TL;DR

Gossamer is a specialized architecture that keeps the LLM's memory (KV cache) at a fixed budget, regardless of how long the conversation gets. It achieves this by using "Free-Lunch Utilization"—exploiting idle compute cycles during memory-heavy operations to calculate which memories are worth keeping, merging, or shrinking—resulting in up to a 16.7× throughput boost.

What Problem Does This Paper Address?

In the world of "Reasoning LLMs" (like DeepSeek-R1 or OpenAI’s o1), context is king. But as context grows, the KV cache creates two massive bottlenecks:

  1. Memory Capacity: It physically fills up the high-bandwidth memory (HBM), limiting how many requests you can handle at once (batch size).
  2. Memory Bandwidth: Every time the model generates a new token, it has to read the entire previous cache. This makes the "Attention" layer memory-bound—the processor spends most of its time waiting for data to arrive from memory rather than actually doing math.

Existing solutions usually try to prune (evict) unimportant tokens or shrink them (quantization). However, deciding which tokens to prune requires complex calculations that often take longer than the inference itself, creating a "cure is worse than the disease" scenario.

Methods

The authors introduce Gossamer, a utility-driven framework that bridges the gap between algorithms and hardware.

1. Free-Lunch Utilization

This is the "aha!" moment of the paper. Because the attention mechanism is memory-bound, the compute units (the parts that do the math) are often sitting idle, waiting for data. Gossamer "fuses" the importance-scoring math directly into the attention kernel. By adding a few auxiliary rows to the matrix multiplication, they calculate token similarity and redundancy "for free" while the data is already being moved.

Fig. 1: Overview of Gossamer: (a) batching boosts FC utiliza- tion, (b) attention idles enable free-lunch utilization, and (c) utility actions manage KV under a constant budget.

2. Dynamic Action Utility (DAU)

Instead of just deleting tokens, Gossamer uses a "least bad" decision framework. For every token that exceeds the budget, it evaluates three options:

  • Evict: Delete it entirely (if it’s useless).
  • Merge: Combine it with a semantically similar token (to preserve information).
  • Quantize: Shrink its precision (e.g., from 16-bit to a compressed vector format).

3. Hardware Co-design

They don't just write code; they design a specialized accelerator. It features a Systolic Array (standard for AI) augmented with three custom engines:

  • Input Prepare Engine: Normalizes keys on the fly.
  • Scoring & Select Engine: Tracks which tokens are "heavy hitters."
  • DAU Engine: Executes the eviction/merging/quantization logic with negligible overhead.

Datasets

The authors evaluated Gossamer using state-of-the-art reasoning models like DeepSeek-R1-Distill-Llama-8B, DeepSeek-R1-Distill-Qwen-14B, and QwQ-32B. They tested these on several grueling benchmarks:

  • MATH-500 & AIME 2024: For complex mathematical reasoning.
  • LongBench v1 & v2: To test long-context retrieval and understanding.
  • GPQA Diamond: For high-level science and logic questions.

Key Insights and Ideas

  • The "M=1" Trap: During the decoding phase (generating one word at a time), the query is just a single vector (M=1). This is why hardware utilization is so low. Gossamer turns this weakness into a strength by padding that single vector with "utility" vectors to do extra work without increasing latency.
  • Hybrid is Better: The paper shows that relying on just one compression method (like only quantization) is brittle. By allowing the system to choose the "least bad" action dynamically, it maintains much higher accuracy under tight memory budgets.
  • Constant Budget = Predictability: By enforcing a hard cap on the KV cache, system architects can guarantee memory usage, which is a dream for deploying LLMs at scale.
Fig. 2: (a) Hardware Roofline model; (b) M vs. Latency

Key Results

  • Speed: Gossamer delivers up to 16.7× throughput improvement over uncompressed baselines and is significantly faster than other state-of-the-art compression methods like R-KV (1.8× faster).
  • Accuracy: Under tight memory constraints (e.g., a 256-token budget), Gossamer maintains reasoning quality that is nearly indistinguishable from using the full, uncompressed cache.
  • Efficiency: The custom hardware logic adds only 0.68% area overhead and 0.65% power overhead to a standard baseline accelerator.

Limitations and Future Work

  • Offline Profiling: The vector quantization relies on a "codebook" that is generated offline by profiling the model. While they showed this codebook transfers well between different tasks, it still requires a pre-deployment step.
  • Hardware Requirement: To get the full "Free-Lunch" benefit, you need the specific Gossamer hardware. While the logic could be adapted to GPUs, the specialized engines are what drive the extreme efficiency.
  • Future Directions: The authors suggest exploring how this architecture could handle multi-modal models (like those that process images and text) where the "cache" might look very different.

Summary updated

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$\times$ over uncompressed baselines, 5.5$\times$ and 4.9$\times$ over the quantization-based Oaken and Ecco, and 1.8$\times$ over the eviction-based R-KV.
BibTeX
@misc{cheng2026gossamer,
  author = {Feng Cheng and Cong Guo and Junyao Zhang and Haoxuan Shan and Chiyue Wei and Hong Wang and Hai Li and Yiran Chen},
  title = {{Gossamer: A Utility-Driven Architecture for Constant-Budget KV Cache Compression in Reasoning LLMs}},
  year = {2026},
  eprint = {2611.29497},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29497},
}
Figure