In large-language models, memory constraints in the Key-Value Cache (KVC) pose a challenge during inference. In this work, we propose FDC, a fast KV dimensionality compression system that eliminates the decompression overhead incurred in the existing KV dimensionality compression system, Palu, and reduces attention time. Moreover, FDC employs adaptive compression, tailoring KV compression rates across heads and layers based on their contributions to inference to maximize overall compression while maintaining an accuracy loss constraint. Additionally, FDC enhances the attention kernel to balance the uneven workloads caused by the adaptive compression approach to further reduce attention computation latency. Comprehensive experiments demonstrate that compared to Palu, FDC can reduce Job Completion Time (JCT) by up to 64%, and delivers up to 1.97X throughput under the same latency, while maintaining 99% of the accuracy without compression. When state-of-the-art eviction and quantization methods are combined with FDC, they exhibit similar improvements compared to those combined with Palu. We open-sourced the code.
Bilateral Distribution Compression: Reducing Both Data Size and Dimensionality
School of Mathematics, University of Bristol, Bristol, United Kingdom(布里斯托大学数学系);Mathematical Institute, University of Oxford, Oxford, United Kingdom(牛津大学数学研究所)
Stochastic Forward-Forward Learning through Representational Dimensionality Compression
Institute of Science and Technology for Brain-Inspired Intelligence, Fudan University, Shanghai 200433, China(脑启发式智能科学与技术研究院,复旦大学,上海200433,中国);Key Laboratory of Computational Neuroscience and Brain-Inspired Intelligence (Fudan University), Ministry of Education, China(计算神经科学与脑启发式智能重点实验室(复旦大学),教育部,中国);MOE Frontiers Center for Brain Science, Fudan University, Shanghai 200433, China(教育部前沿脑科学中心(复旦大学),上海200433,中国);Ji Hua Laboratory, Foshan 528200, China(济华实验室,佛山528200,中国)
Guided Quantum Compression for High Dimensional Data Classification
Institute for Particle Physics and Astrophysics, ETH Zurich(苏黎世联邦理工学院粒子物理与天体物理研究所);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Institute for Quantum Electronics, ETH Zurich(苏黎世联邦理工学院量子电子学研究所)
SCAR: State-Space Compression for AI-Based Radio Resource Management of Vehicular Services
Middlesex University London(伦敦密德萨斯大学);IIIT-Hyderabad(海得拉巴国际信息技术学院);IIIT Hyderabad(海得拉巴国际信息技术学院);Manchester Metropolitan University(曼彻斯特城市大学);Dublin City University(都柏林城市大学)