Papers › SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing

SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing

20 Aug 2022arXiv:2208.09703archive 2025-07-28

Sixiang Chen, Tian Ye, Yun Liu, ErKang Chen

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}.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2208.09703")

Code

Syntology Ran 6 of 11 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 5 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ephemeral182/snowformer officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 6 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
3ran
5unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ephemeral182/snowformer. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

GlobalContext_Interaction ephemeral182/snowformer/SnowFormer.py official repository ran no licence file found · pointer only · c368690171e3f98c · report
LocalContext_Interaction ephemeral182/snowformer/SnowFormer.py official repository ran no licence file found · pointer only · 53c6bbfeaa881241 · report
Scale_aware_Query ephemeral182/snowformer/SnowFormer.py official repository ran fingerprinted no licence file found · pointer only · 2f4a90a7162065dc · report
window_partition ephemeral182/snowformer/SnowFormer.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · dd907925970ddfba · report
window_reverse ephemeral182/snowformer/SnowFormer.py official repository ran · our draft was wrong no licence file found · pointer only · f4c2cb74d3356bc2 · report
Context_Interaction_Block ephemeral182/snowformer/SnowFormer.py official repository unverified no licence file found · pointer only · 47127aa55a7c09f8 · report
Context_Interaction_layer ephemeral182/snowformer/SnowFormer.py official repository unverified no licence file found · pointer only · 871b33344852208e · report
HFPH ephemeral182/snowformer/SnowFormer.py official repository unverified no licence file found · pointer only · dbea7dedb5f66b70 · report
Transformer ephemeral182/snowformer/SnowFormer.py official repository unverified no licence file found · pointer only · 732381b514a79475 · report
Transformer_block ephemeral182/snowformer/SnowFormer.py official repository unverified no licence file found · pointer only · c0feb8a6ab92cded · report
conv identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · ad4c565716dab068 · report

Tasks

Image RestorationSingle Image DesnowingSnow Removal

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Single Image Desnowing CSD SnowFormer Average PSNR (dB) 39.45 #2 of 6 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionNAFNetPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections