MePAT: Meta-Prior Aided Transformer for Adverse Weather Condition Restoration

Jianqiao Sun, Ziheng Cheng, Bo Chen, Xin Yuan, Chunhui Qu, Hongwei Liu

Abstract

Image restoration under adverse weather conditions is critical for real-world applications. However, existing approaches mainly suffer from two fundamental limitations, <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">i</i>) the impractical requirement of prior degradation knowledge for task-specific model selection and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ii</i>) performance degradation when handling with in-the-wild corruptions. To address the above issues, in this paper, we propose a novel <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Meta-prior Aided Transformer</i> restoration framework, MePAT, to synergize dynamic feature modulation with optimal transport (OT) theory. Specifically, we first architect an efficient attention mechanism, <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">rectified self-channel attention</i> (RSCA) to capture long-range associations along the channel dimension. Then, to adaptively tackle different conditions, we design a <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">task-shared prior learning network</i> (TPLN) to generate content-adaptive weather embeddings and serve as feature modulators to direct a more flexible and robust restoration process. In addition to learn discriminative task features, we propose an weakly-supervised OT-driven contrastive loss to measure the discrepancy between different weather corruptions. During the inference process, through the shared TPLN, we derive image-oriented vectors for unseen corruptions and then perform image restoration. The superior experimental results on three synthetic benchmarks demonstrate the effectiveness of MePAT. We also conduct experiments on real-world applications to verify the generalization ability and robustness. The code and pre-trained models will be made available.
BibTeX
@article{sun2026mepat,
  author = {Jianqiao Sun and Ziheng Cheng and Bo Chen and Xin Yuan and Chunhui Qu and Hongwei Liu},
  title = {{MePAT: Meta-Prior Aided Transformer for Adverse Weather Condition Restoration}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2026},
  doi = {10.1109/tcsvt.2025.3587041},
}

Loading related content...

Figure