Introduction
High-resolution images in real-world scenarios are frequently subjected to compression to optimize bandwidth and storage. This process introduces complex "hybrid distortions," such as blocky artifacts from JPEGs or texture blurring from neural compressors. Traditional Compressed Image Super-Resolution (CSR) models are typically specialized for a single codec. UCIP (Universal Compressed Image Prompt) addresses this limitation by providing a single, efficient framework capable of handling a wide variety of compression standards—including JPEG, HEVC, and AI-based HIFIC—simultaneously.
The UCIP Architecture
The UCIP framework moves away from computationally expensive Transformer architectures in favor of a highly efficient MLP-like structure. The core of the network is the Prompt-guided Token Mixer Block (PTMB), which utilizes dynamic prompts to adapt its restoration strategy based on the specific distortions present in the input image.
As shown in the architecture diagram, the model processes a low-resolution compressed image ($X_{LR}$) through a series of PTMBs. These blocks are guided by a prompt ($P$) generated by the Dynamic Prompt generation Module (DPM). The PTMB incorporates a Prompt-guided Token Mixer Module (PTMM) that models global information by predicting horizontal and vertical offsets, combined with a 3x3 depth-wise convolution for local detail preservation. The dynamic prompts are integrated into the feature maps using SPADE (Spatially-Adaptive Normalization), ensuring that the task-specific guidance effectively modulates the restoration process.
Dynamic Prompt Generation
A key innovation of UCIP is its memory-efficient approach to prompting. Instead of large static prompt matrices, the Dynamic Prompt generation Module (DPM) uses a small set of 1x1 "basis prompts."
The DPM analyzes the input features ($F_X$) to generate spatial-wise coefficients. These coefficients are used to linearly combine the basis prompts, resulting in a "content-aware" prompt ($P$). This decoupling allows the model to be resolution-independent and significantly more parameter-efficient than previous multi-task models. By generating these prompts dynamically, the network can reconfigure its filters at every pixel to address specific artifacts, whether they are JPEG blocks or GAN-generated textures.
Experimental Results and Datasets
To evaluate UCIP's "universal" capabilities, the authors introduced the UCSR (Universal Compressed Image SR) dataset, which includes 23 degradation settings across six diverse codecs (JPEG, HM/HEVC, VTM/VVC, ChengPSNR, ChengSSIM, and HIFIC).
UCIP demonstrates state-of-the-art performance:
- Accuracy: It consistently outperforms models like SwinIR and PromptIR across various quality levels.
- Efficiency: UCIP achieves a 0.45dB PSNR improvement over PromptIR while utilizing only one-third of the parameters (11.4M vs. 35.7M).
- Generalization: The framework adapts effectively to unseen codecs like WebP and ELIC through simple prompt tuning.
- Visual Quality: Qualitatively, UCIP excels at recovering sharp edges and fine textures that other models often blur.
Conclusion
UCIP represents a significant step toward universal image restoration. By combining an efficient MLP-like backbone with a novel dynamic prompting strategy, it provides a scalable and high-performance solution for the diverse compression artifacts encountered in modern digital imaging. Future work will explore extending this framework to video super-resolution and further refining perceptual performance on high-compression GAN artifacts.
Summary updated