paper-with-me

홈 › Papers

Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMs

2025-06-04 · Wanyun Cui, Mingwei Xu

Recent advances in Large Language Models (LLMs) have highlighted the critical importance of extending context length, yet the quadratic complexity of attention mechanisms poses significant challenges for efficient long-context modeling. KV cache compression has emerged as a key approach to address this challenge. Through extensive empirical analysis, we reveal a fundamental yet previously overlooked asymmetry in KV caches: while adjacent keys receive similar attention weights (local homogeneity), adjacent values demonstrate distinct heterogeneous distributions. This key-value asymmetry reveals a critical limitation in existing compression methods that treat keys and values uniformly. To address the limitation, we propose a training-free compression framework (AsymKV) that combines homogeneity-based key merging with a mathematically proven lossless value compression. Extensive experiments demonstrate that AsymKV consistently outperforms existing long-context methods across various tasks and base models. For example, on LLaMA3.1-8B, AsymKV achieves an average score of 43.95 on LongBench, surpassing SOTA methods like H$_2$O (38.89) by a large margin.

📄 PDF Abstract BibTeX arXiv:2506.05410

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Learning Unified Distance Metric for Heterogeneous Attribute Data Clustering

2026-03-03 · Yiqun Zhang, Mingjie Zhao, Yizhou Chen, Yang Lu 외 arxiv

Datasets composed of numerical and categorical attributes (also called mixed data hereinafter) are common in real clustering tasks. Differing from numerical attributes that indicate tendencies between two concepts (e.g.,…

Metric Learning

Dynamic Group Transformer: A General Vision Transformer Backbone with Dynamic Group Attention

2022-03-08 · Kai Liu, Tianyi Wu, Cong Liu, Guodong Guo

Recently, Transformers have shown promising performance in various vision tasks. To reduce the quadratic computation complexity caused by each query attending to all keys/values, various methods have constrained the rang…

image-classificationImage ClassificationInstance Segmentationobject-detection+2

pFedMoE: Data-Level Personalization with Mixture of Experts for Model-Heterogeneous Personalized Federated Learning

2024-02-02 · Liping Yi, Han Yu, Chao Ren, Heng Zhang 외

Federated learning (FL) has been widely adopted for collaborative training on decentralized data. However, it faces the challenges of data, system, and model heterogeneity. This has inspired the emergence of model-hetero…

Federated LearningMixture-of-ExpertsPersonalized Federated Learning

Enabling Homogeneous GNNs to Handle Heterogeneous Graphs via Relation Embedding

2022-09-23 · Junfu Wang, Yuanfang Guo, Liang Yang, Yunhong Wang

Graph Neural Networks (GNNs) have been generalized to process the heterogeneous graphs by various approaches. Unfortunately, these approaches usually model the heterogeneity via various complicated modules. This paper ai…

Graph LearningGraph Neural NetworkNode ClassificationRelation

Assessing Intervention Strategies for Non Homogeneous Populations Using a Closed Form Formula for R0

2020-08-12

A general stochastic model for susceptible -> infective -> recovered (SIR) epidemics in non homogeneous populations is considered. The heterogeneity is a very important aspect here since it allows more realistic but also…

Form