LVLM-Compress-Bench: Benchmarking the Broader Impact of Large Vision-Language Model Compression
Souvik Kundu, Anahita Bhiwandiwalla, Sungduk Yu, Phillip Howard, Tiep Le, Sharath Nittur Sridhar, David Cobbley, Hao Kang, Vasudev Lal
TL;DR
This work addresses the memory constraints of multi-modal LVLMs by introducing LVLM-Compress-Bench, a plug-and-play framework to benchmark the effects of dynamic KV cache and static weight compression on LVLM generation and societal trust metrics. It combines activation-aware weight quantization (AWQ) with a spectrum of KV cache quantization schemes (Uniform, Outlier-reduced, and Group-wise, including hybrids like g-KCVT) across multiple LLaVA variants and ten diverse benchmarks. The study uncovers that carefully designed KV quantization (notably 2-bit KV with g-KC$_{128}$VT$_{128}$) can preserve accuracy close to FP16, while joint KV+weight quantization can achieve memory savings and sometimes even improve performance on certain tasks; larger models generally tolerate lower precision better, though weight precision remains a sensitivity factor for smaller models. These findings offer practical guidance for deploying memory-efficient LVLMs on edge devices and in privacy-conscious scenarios, while highlighting avenues for future work in pruning and low-rank techniques to expand the compression toolkit with robust ethical safeguards.
Abstract
Despite recent efforts in understanding the compression impact on large language models (LLMs) in terms of their downstream task performance and trustworthiness on relatively simpler uni-modal benchmarks (for example, question answering, common sense reasoning), their detailed study on multi-modal Large Vision-Language Models (LVLMs) is yet to be unveiled. Towards mitigating this gap, we present LVLM-Compress-Bench, a framework to first thoroughly study the broad impact of compression on the generative performance of LVLMs with multi-modal input driven tasks. In specific, we consider two major classes of compression for autoregressive models, namely KV cache and weight compression, for the dynamically growing intermediate cache and static weights, respectively. We use four LVLM variants of the popular LLaVA framework to present our analysis via integrating various state-of-the-art KV and weight compression methods including uniform, outlier-reduced, and group quantization for the KV cache and weights. With this framework we demonstrate on ten different multi-modal datasets with different capabilities including recognition, knowledge, language generation, spatial awareness, visual reasoning, hallucination and visual illusion identification, toxicity, stereotypes and bias. In specific, our framework demonstrates the compression impact on both general and ethically critical metrics leveraging a combination of real world and synthetic datasets to encompass diverse societal intersectional attributes. Extensive experimental evaluations yield diverse and intriguing observations on the behavior of LVLMs at different quantization budget of KV and weights, in both maintaining and losing performance as compared to the baseline model with FP16 data format. Code will be open-sourced at https://github.com/opengear-project/LVLM-compress-bench.
