An Adaptive Granularity Management System for a Large Language Model KV Cache Based on Access Co-occurrence Awareness
By adopting an adaptive granularity management system, the problem of mismatch between storage granularity and access granularity in the KV cache of large language models is solved, achieving efficient IO bandwidth utilization and reduced inference latency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING TREND TECHNOLOGY CO LTD
- Filing Date
- 2026-04-20
- Publication Date
- 2026-07-03
AI Technical Summary
Existing KV cache management for large language models lacks awareness of attention mechanism access patterns, resulting in a mismatch between storage granularity and actual access granularity. This leads to read amplification and write amplification issues, wasting IO bandwidth and increasing inference latency.
An adaptive granularity management system based on the access co-occurrence awareness of the large language model KV Cache is adopted. It achieves adaptive granularity management through a pattern feature extraction module, a head group clustering construction module, an elastic boundary generation module, a semantic weight calculation module, and a hierarchical compression storage module. It includes techniques such as sparse structure analysis, attention pattern fingerprint data extraction, head tuple aggregation, dynamic mapping table generation, and data block merging.
It effectively decouples the model structure from the sequence length, eliminates boundary jumps and memory fragmentation, and improves IO bandwidth utilization and inference efficiency.
Smart Images

Figure CN122332302A_ABST