Intra and Inter Parser-Prompted Transformers for Effective Image Restoration

Abstract

We propose Intra and Inter Parser-Prompted Transformers (PPTformer) that explore useful features from visual foundation models for image restoration. Specifically, PPTformer contains two parts: an Image Restoration Network (IRNet) for restoring images from degraded observations and a Parser-Prompted Feature Generation Network (PPFGNet) for providing IRNet with reliable parser information to boost restoration. To enhance the integration of the parser within IRNet, we propose Intra Parser-Prompted Attention (IntraPPA) and Inter Parser-Prompted Attention (InterPPA) to implicitly and explicitly learn useful parser features to facilitate restoration. The IntraPPA re-considers cross attention between parser and restoration features, enabling implicit perception of the parser from a long-range and intra-layer perspective. Conversely, the InterPPA initially fuses restoration features with those of the parser, followed by formulating these fused features within an attention mechanism to explicitly perceive parser information. Further, we propose a parser-prompted feed-forward network to guide restoration within pixel-wise gating modulation. Experimental results show that PPTformer achieves state-of-the-art performance on image deraining, defocus deblurring, desnowing, and low-light enhancement.

Cite

Text

Wang et al. "Intra and Inter Parser-Prompted Transformers for Effective Image Restoration." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I7.32819

Markdown

[Wang et al. "Intra and Inter Parser-Prompted Transformers for Effective Image Restoration." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/wang2025aaai-intra/) doi:10.1609/AAAI.V39I7.32819

BibTeX

@inproceedings{wang2025aaai-intra,
  title     = {{Intra and Inter Parser-Prompted Transformers for Effective Image Restoration}},
  author    = {Wang, Cong and Pan, Jinshan and Wang, Liyan and Wang, Wei},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {7609-7618},
  doi       = {10.1609/AAAI.V39I7.32819},
  url       = {https://mlanthology.org/aaai/2025/wang2025aaai-intra/}
}