TTKV: Temporal-Tiered KV Cache for Long-Context LLM Inference

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dzikanyanga, Gradwell, Yang, Weihao, Huang, Hao, Wu, Donglei, Wang, Shihao, Xia, Wen, C, Sanjeeb K
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910156113051648
author Dzikanyanga, Gradwell
Yang, Weihao
Huang, Hao
Wu, Donglei
Wang, Shihao
Xia, Wen
C, Sanjeeb K
author_facet Dzikanyanga, Gradwell
Yang, Weihao
Huang, Hao
Wu, Donglei
Wang, Shihao
Xia, Wen
C, Sanjeeb K
contents Key-value (KV) caching is critical for efficient inference in large language models (LLMs), yet its memory footprint scales linearly with context length, resulting in a severe scalability bottleneck. Existing approaches largely treat KV states as equally important across time, implicitly assuming uniform precision and accessibility. However, this assumption contrasts with human memory systems, where memories vary in clarity, recall frequency, and relevance with temporal proximity.Motivated by this insight, we propose TTKV, a KV cache management framework that maps the human memory system onto the KV cache. TTKV partitions the KV cache into temporal tiers with heterogeneous capacity and precision. The design addresses three aspects: (1) Tier Layout, decoupling fast and slow memory using HBM and DRAM; (2) Tier Content, assigning more recent KV states to faster, higher-precision tiers based on temporal proximity; and (3) Tier Interaction, employing block-wise streaming attention to overlap communication and computation when accessing slow tiers. Experiments show that TTKV reduces cross-tier traffic by 5.94x on 128K-context tasks, achieving up to 76% latency reduction and 2x throughput improvement over strong baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19769
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle TTKV: Temporal-Tiered KV Cache for Long-Context LLM Inference
Dzikanyanga, Gradwell
Yang, Weihao
Huang, Hao
Wu, Donglei
Wang, Shihao
Xia, Wen
C, Sanjeeb K
Computation and Language
Artificial Intelligence
Machine Learning
Key-value (KV) caching is critical for efficient inference in large language models (LLMs), yet its memory footprint scales linearly with context length, resulting in a severe scalability bottleneck. Existing approaches largely treat KV states as equally important across time, implicitly assuming uniform precision and accessibility. However, this assumption contrasts with human memory systems, where memories vary in clarity, recall frequency, and relevance with temporal proximity.Motivated by this insight, we propose TTKV, a KV cache management framework that maps the human memory system onto the KV cache. TTKV partitions the KV cache into temporal tiers with heterogeneous capacity and precision. The design addresses three aspects: (1) Tier Layout, decoupling fast and slow memory using HBM and DRAM; (2) Tier Content, assigning more recent KV states to faster, higher-precision tiers based on temporal proximity; and (3) Tier Interaction, employing block-wise streaming attention to overlap communication and computation when accessing slow tiers. Experiments show that TTKV reduces cross-tier traffic by 5.94x on 128K-context tasks, achieving up to 76% latency reduction and 2x throughput improvement over strong baselines.
title TTKV: Temporal-Tiered KV Cache for Long-Context LLM Inference
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2604.19769