LMM-driven Semantic Image-Text Coding for Ultra Low-bitrate Learned Image Compression

Shimon Murai, Heming Sun, Jiro KattoarXiv 2024

TL;DR

This paper introduces a novel framework for ultra-low bitrate image compression that uses a single Large Multi-modal Model (LMM) to both generate and efficiently compress image captions. By pairing this with a new semantic-perceptual loss function, the authors achieve a 41.58% improvement in perceptual quality (LPIPS) and significantly better semantic consistency compared to previous state-of-the-art methods.

What Problem Does This Paper Address?

Traditional image compression (like JPEG) and early neural network-based methods focus on pixel-level fidelity, often measured by Mean Squared Error (MSE). However, at "ultra-low" bitrates (less than 0.1 bits per pixel), these metrics fail. Images become blurry, blocky, or lose their meaning entirely.

Recent "generative" compression methods use Diffusion Models or GANs to "hallucinate" details, creating images that look good but might differ semantically from the original. Some advanced models use text captions as "sub-information" to guide this generation, but they often treat text compression as an afterthought or rely on external, unoptimized tools. The authors identify a gap in how text information is generated, compressed, and used to maintain semantic integrity at extreme compression levels.

Methods

The authors propose a three-part architecture:

  1. Image Compression Network: A standard Learned Image Compression (LIC) network that creates a base image bitstream.
  2. Caption Generation & Compression Network: This is the core innovation. They use an LMM (LLaVa) to generate a caption. Crucially, they use the LMM’s own internal probability predictions for the "next token" to perform lossless entropy coding. By converting tokens into ranks based on these probabilities, they can compress the text much more effectively than standard algorithms like gzip.
  3. Diffusion Network: A Latent Diffusion Model (DiffBIR) takes the decompressed base image and the text caption to reconstruct a high-quality final image.
The proposed network architecture showing the dual paths for image and text compression.

Additionally, they introduced a Semantic-Perceptual-Oriented Loss function. Instead of just training on pixel errors, they optimized the network using a combination of:

  • MSE & LPIPS: For pixel and perceptual similarity.
  • CLIP-IQA: To ensure the "look and feel" of a high-quality photo.
  • CLIP Image-to-Text: To ensure the reconstructed image actually matches the generated caption.

Datasets

  • Training: The LIC network was fine-tuned using the COCO 2014 dataset (approximately 80,000 images).
  • Evaluation: The models were tested on the CLIC2020-Professional dataset. This is a standard benchmark for learned image compression and was chosen because it was not included in the LMM's original training data, ensuring a fair test of the model's generalization.
  • Qualitative Examples: The authors used images from the Kodak dataset (e.g., Kodim15 and Kodim19) for visual comparisons.

Key Insights and Ideas

  • LMMs as Universal Compressors: The "aha moment" here is that an LMM's ability to predict the next word is mathematically equivalent to a compression engine. By using the LMM's internal logic, they achieve a 65.14% text compression ratio, far exceeding standard methods.
  • Semantic Anchoring: At ultra-low bitrates, pixels are expensive, but words are cheap. A few bytes of text ("a girl with face paint") provide a much stronger "semantic anchor" for a diffusion model than a handful of highly compressed pixels.
  • Preventing Over-fitting to Metrics: Pure perceptual losses (like LPIPS) can sometimes introduce weird artifacts or noise. The authors found that adding a semantic loss (CLIP-based) acts as a regularizer, keeping the generative model "on track" and preventing it from distorting colors or shapes to satisfy a single mathematical metric.
Fig. 3. The visualization of LMM text compression.

Key Results

  • Perceptual Gains: The method achieved a 41.58% improvement in LPIPS BD-rate compared to the previous state-of-the-art (MISC).
  • Semantic Consistency: It showed a 60.99% improvement in CLIP Image-to-Image similarity, meaning the compressed images were much more faithful to the original's meaning.
  • Visual Quality: Qualitatively, the model eliminates the severe color distortion and "muddy" textures seen in competing methods at similar bitrates.
Fig. 1. Compression results of Kodim15.png [8] with a zoom-in. Our model achieves the ultra-low bitrate compression while avoiding the color distortion seen in MISC [3].

Limitations and Future Work

  • Computational Complexity: While the model is efficient in terms of bitrate, Diffusion Models and Large Multi-modal Models are computationally heavy. Running this on a mobile device for real-time decompression remains a challenge.
  • Modality Expansion: The authors suggest that this framework could be extended to other modalities, such as video compression, where temporal consistency and semantic descriptions would be even more valuable.
  • Refinement: There is still room to refine the LIC base network to further improve the "starting point" for the diffusion reconstruction.

Summary updated

BibTeX
@misc{murai2024lmm,
  author = {Shimon Murai and Heming Sun and Jiro Katto},
  title = {{LMM-driven Semantic Image-Text Coding for Ultra Low-bitrate Learned Image Compression}},
  year = {2024},
  eprint = {2411.13033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13033},
}
Figure