Neural Image Compression with Text-guided Encoding for both Pixel-level and Perceptual Fidelity
Hagyeong Lee, Minkyu Kim, Jun-Hyuk Kim, Seungeon Kim, Dokwan Oh, Jaeho Lee
TL;DR
The paper tackles the conflict between pixel-level fidelity and perceptual quality in text-guided image compression. It introduces TACO, an encoder-centric approach that augments a PSNR-oriented backbone with a CLIP-based text adapter to inject semantic information directly into the latent representation, and it trains with a joint image-text loss to align reconstructions with caption semantics. Key contributions include (i) a cross-attention-based text adapter injected into the encoder, (ii) a joint loss that combines rate, distortion, LPIPS, and CLIP-based text-image alignment, and (iii) strong LPIPS performance at standard bitrates with competitive PSNR across multiple datasets while preserving textual content. The results demonstrate that text can meaningfully improve perceptual quality without substantial sacrifices in pixel accuracy, offering a practical pathway for text-conditioned image compression that avoids the diversity of text-guided decoding.
Abstract
Recent advances in text-guided image compression have shown great potential to enhance the perceptual quality of reconstructed images. These methods, however, tend to have significantly degraded pixel-wise fidelity, limiting their practicality. To fill this gap, we develop a new text-guided image compression algorithm that achieves both high perceptual and pixel-wise fidelity. In particular, we propose a compression framework that leverages text information mainly by text-adaptive encoding and training with joint image-text loss. By doing so, we avoid decoding based on text-guided generative models -- known for high generative diversity -- and effectively utilize the semantic information of text at a global level. Experimental results on various datasets show that our method can achieve high pixel-level and perceptual quality, with either human- or machine-generated captions. In particular, our method outperforms all baselines in terms of LPIPS, with some room for even more improvements when we use more carefully generated captions.
