TACT-KV: Tri-Axis Cosine Transform for Compressing Volumetric KV Caches in Medical VLMs
Chongyu Qu, Ritchie Zhao, Yufan He, Dong Yang, Zhengyi Lu, Junchao Zhu, Tianyuan Yao, Juming Xiong, Junlin Guo, Yanfan Zhu, Yuechen Yang, Daguang Xu, Bennett Allan Landman, Yucheng Tang, Yuankai Huo
Abstract
Vision-language models (VLMs) applied to 3D medical scans face a structural memory wall. A single CT or MRI volume produces tens of thousands of vision tokens, and the resulting key-value (KV) cache scales linearly with both batch and context. Existing KV compression methods operate on the cache's feature or token statistics, or apply 1D and 2D transforms, leaving the three-axis spatial structure in the cache unexploited. We propose TACT-KV (Tri-Axis Cosine Transform), a calibration-free KV compression method that exploits strong spatial correlations in visual KV states along all three anatomical axes of 3D scans. This correlation concentrates the KV cache energy under a frequency-domain transform. TACT-KV applies a separable 3D discrete cosine transform to the KV cache, allocates a per-layer bit budget across frequency bins via reverse water-filling (more bits to high-energy components), and quantizes each bin with a fixed scalar codebook. We derive a close-form relation: the distortion reduction from adaptive bit allocation is dominated by the spectral concentration of the transformed cache. Across six medical VLMs and two 3D CT benchmarks, TACT-KV achieves the lowest 1-bit prediction-flip rate on eleven of twelve model and dataset pairs in our main comparison. The same advantage reproduces on four general-purpose VLMs evaluated on video tasks, indicating that the benefit of exploiting three-axis structure generalizes beyond medical imaging. At equal high-bandwidth memory (HBM), TACT-KV scales the decoding batch size on a single GPU by up to .
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- Accepted at NeurIPS 2026
Related papers
VoluCompose: Constructing Compact Volumetric Visual Representations for Medical Image Understanding
Shared title terminologycs.CVZanting Ye, Yunrui Lin, Shengyuan Liu et al.
TRiST: Topology-Reinforced Swin Transformer for Medical Image Analysis
Shared title terminologycs.CVPengfei Gu, Huimin Li, Guangyu Meng et al.
Medical Image Segmentation Is Now Just Another Coding Task
Shared title terminologycs.CVShuheng Cao, Ruiqi Chen, Qizhen Lan et al.
Spec^2R: Recovering Emergent Properties in Supervised Vision Transformers
Shared title terminologycs.CVAdam Wróbel, Jacek Tabor, Bartosz Zieliński et al.
Your Codec, Your Generator: Idempotent Generative Compression without Retraining
Shared title terminologycs.CVRaz Haim, Assaf Shocher
A dataset of clinically similar image pairs from citation-linked case reports for medical image retrieval
Shared title terminologycs.CVGuy Shmueli, Keno K. Bressem, Tom Hope