Prompt-Guided Prefiltering for VLM Image Compression
Organizations: School of Engineering Science, Simon Fraser University, Burnaby, BC, Canada
Abstract
The rapid progress of large Vision-Language Models (VLMs) has enabled a wide range of applications, such as image understanding and Visual Question Answering (VQA). Query images are often uploaded to the cloud, where VLMs are typically hosted, hence efficient image compression becomes crucial. However, traditional human-centric codecs are suboptimal in this setting because they preserve many task-irrelevant details. Existing Image Coding for Machines (ICM) methods also fall short, as they assume a fixed set of downstream tasks and cannot adapt to prompt-driven VLMs with an open-ended variety of objectives. We propose a lightweight, plug-and-play, prompt-guided prefiltering module to identify image regions most relevant to the text prompt, and consequently to the downstream task. The module preserves important details while smoothing out less relevant areas to improve compression efficiency. It is codec-agnostic and can be applied before conventional and learned encoders. Experiments on several VQA benchmarks show that our approach achieves a 25-50% average bitrate reduction while maintaining the same task accuracy. Our source code is available at https://github.com/bardia-az/pgp-vlm-compression.
Figures & tables
| VLM | Compression Method | BD-Rate (%) | |||
|---|---|---|---|---|---|
| MMBench | MME | SEEDBench | Average | ||
| InternVL | JPEG | -25.88 | |||
| HEVC | -43.69 | ||||
| VVC | -46.45 | ||||
| Cheng [ 11 ] | -42.93 | ||||
| LLaVA | JPEG | -30.90 | |||
| Method Variant | InternVL | LLaVA | Average |
|---|---|---|---|
| Ours-57M | 0 | 0 | 0 |
| HEVC-Only | |||
| w/o TinyCLIP | |||
| Ours-23M | |||
| Ours-120M | |||
| NoOverlap |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Method Variant | InternVL | LLaVA | Average |
|---|---|---|---|
| Ours-57M | 0 | 0 | 0 |
| HEVC-Only | |||
| w/o TinyCLIP (Gaussian 0.2) | |||
| Global Gaussian ( | |||
| Global Gaussian ( | |||
| Downsampling (1/2) |
Vision-Language Models
Vision-language models connect visual inputs with text for retrieval, question answering, generation, and grounded multimodal reasoning.
See all 736 papers