SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing
Sixiang Chen, Tian Ye, Yun Liu, Erkang Chen
TL;DR
SnowFormer tackles single-image desnowing under diverse degradations by integrating scale-aware feature aggregation with a local-to-global context interaction framework. It introduces a Snow Query Generator to produce scale-aware, non-parametric queries that drive cross-attention between global snow cues and local patches, complemented by a Local Interaction module and a degradation-aware Attention Refinement Head. The approach achieves state-of-the-art performance across six synthetic and real-world snow datasets, with substantial PSNR/SSIM gains and competitive computational costs, validated by comprehensive ablations. The work advances task-specific transformer design for low-level vision, enabling robust desnowing in practical applications.
Abstract
Due to various and complicated snow degradations, single image desnowing is a challenging image restoration task. As prior arts can not handle it ideally, we propose a novel transformer, SnowFormer, which explores efficient cross-attentions to build local-global context interaction across patches and surpasses existing works that employ local operators or vanilla transformers. Compared to prior desnowing methods and universal image restoration methods, SnowFormer has several benefits. Firstly, unlike the multi-head self-attention in recent image restoration Vision Transformers, SnowFormer incorporates the multi-head cross-attention mechanism to perform local-global context interaction between scale-aware snow queries and local-patch embeddings. Second, the snow queries in SnowFormer are generated by the query generator from aggregated scale-aware features, which are rich in potential clean cues, leading to superior restoration results. Third, SnowFormer outshines advanced state-of-the-art desnowing networks and the prevalent universal image restoration transformers on six synthetic and real-world datasets. The code is released in \url{https://github.com/Ephemeral182/SnowFormer}.
