NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Modality Deep Network for JPEG Artifacts Reduction

Xuhao Jiang, Weimin Tan, Qing Lin, Chenxi Ma, Bo Yan, Liquan Shen

Abstract

JPEG compression often introduces significant artifacts at low bitrates, leading to a loss of fine details that are difficult to recover using traditional single-modality methods. This paper introduces TGJAR, a novel framework that leverages natural language descriptions as a high-level prior to guide image restoration. By fusing visual features with linguistic information through global and local fusion modules, TGJAR effectively "hallucinates" missing details in heavily compressed images. Experimental results on benchmark datasets demonstrate that TGJAR significantly outperforms state-of-the-art methods, particularly at extreme compression levels.

Introduction

JPEG compression is ubiquitous but suffers from "blocking artifacts" and detail loss at low bitrates. At extreme compression (e.g., Quality Factor 1), the original pixel information is largely unrecoverable through standard interpolation. Traditional deblocking methods often produce blurry results because they lack external knowledge of the scene.

To address this, the researchers propose Text-Guided JPEG Artifacts Reduction (TGJAR). The core idea is that while pixel-level data may be lost, semantic information—often available via text descriptions—can serve as a powerful prior. For instance, knowing a bird has a "red beak" allows the model to reconstruct that specific feature more accurately than a purely visual algorithm could.

Methods

The TGJAR framework is built as a Generative Adversarial Network (GAN) that integrates multi-modal data.

Overview of the TGJAR architecture, showing the dual-stream encoding and fusion modules.

The architecture consists of several key components:

  • Dual-Stream Encoding: A standard image encoder processes the compressed image, while a bi-directional LSTM text encoder extracts sentence-level (global) and word-level (local) features.
  • Multi-Scale Fusion:
  • Global Fusion Module (GFM): This module integrates sentence features to guide the overall structure and color scheme.
  • Local Fusion Module (LFM): An attention-based mechanism maps specific words (e.g., "yellow belly") to spatial regions, aiding the reconstruction of fine textures.
  • Loss Functions: The model is optimized using a combination of GAN loss, reconstruction loss, and a novel Perceptual Contrastive Loss in the LPIPS feature space. This contrastive loss pulls the restored image toward the ground truth while pushing it away from the compressed version. A semantic consistency loss further ensures the output aligns with the text description.

Results and Discussion

The model was evaluated on the CUB-200-2011 (birds) and Oxford-102 (flowers) datasets. At extreme compression (Quality Factor 1), TGJAR showed dramatic improvements.

Qualitative comparison of TGJAR against other methods (FBCNN) and the ground truth, including LPIPS and NIQE metrics.

Quantitatively, on the CUB dataset, TGJAR achieved a Fréchet Inception Distance (FID) of 17.9, a massive improvement over the 74.2 achieved by FBCNN. Qualitatively, as seen in the comparison above, TGJAR restores sharp edges and intricate textures (like eye highlights and feathers) that other methods leave muddy or blurry. A user study confirmed these findings, with participants preferring TGJAR's outputs over 90% of the time.

Conclusion

TGJAR demonstrates the power of multi-modal learning for image restoration. By using text as a high-level prior, it overcomes the fundamental limits of single-image deblocking. While challenges remain regarding computational complexity and potential "hallucination" of unnatural textures, this work opens new avenues for leveraging linguistic context in computer vision tasks.

Summary updated

BibTeX
@inproceedings{jiang2023multi,
  author = {Xuhao Jiang and Weimin Tan and Qing Lin and Chenxi Ma and Bo Yan and Liquan Shen},
  title = {{Multi-Modality Deep Network for JPEG Artifacts Reduction}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/429},
}
Figure