Papers › Efficient Image Deblurring Networks based on Diffusion Models

Efficient Image Deblurring Networks based on Diffusion Models

11 Jan 2024arXiv:2401.05907archive 2025-07-28

Kang Chen, Yuanjie Liu

This article presents a sliding window model for defocus deblurring, named Swintormer, which achieves the best performance to date with remarkably low memory usage. This method utilizes a diffusion model to generate latent prior features, aiding in the restoration of more detailed images. Additionally, by adapting the sliding window strategy, it incorporates specialized Transformer blocks to enhance inference efficiency. The adoption of this new approach has led to a substantial reduction in Multiply-Accumulate Operations (MACs) per iteration, drastically cutting down memory requirements. In comparison to the currently leading GRL method, our Swintormer model significantly reduces the computational load that must depend on memory capacity, from 140.35 GMACs to 8.02 GMACs, while improving the Peak Signal-to-Noise Ratio (PSNR) for defocus deblurring from 27.04 dB to 27.07 dB. This innovative technique enables the processing of higher resolution images on memory-limited devices, vastly broadening potential application scenarios. The article wraps up with an ablation study, offering a comprehensive examination of how each network module contributes to the final performance.The source code and model will be available at the following website: https://github.com/bnm6900030/swintormer.

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="2401.05907")

Code

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

By repository: official repository: 17 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bnm6900030/swintormer officialmentioned in paperpytorch 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

17 samples harvested; 11 ran; 0 honoured the contract we drafted; 6 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 · violated contract
1ran · our draft was wrong
2ran · fixture could not drive it
6ran
6unverified

Licence: 17 of the 17 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 bnm6900030/swintormer. “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.

default bnm6900030/swintormer/ldm/modules/attention.py official repository ran · violated contract no licence file found · pointer only · 424012cb37b31172 · report
exists bnm6900030/swintormer/ldm/modules/attention.py official repository ran · violated contract no licence file found · pointer only · aa5486a3650902d8 · report
get_position_from_periods bnm6900030/swintormer/basicsr/models/lr_scheduler.py official repository ran fingerprinted no licence file found · pointer only · cd569444547de84f · report
get_time bnm6900030/swintormer/print_loss.py official repository ran no licence file found · pointer only · dbdb5c1cd7f7e7b8 · report
grid bnm6900030/swintormer/ldm/models/autoencoder.py official repository ran no licence file found · pointer only · fb932e0777ff7f87 · report
grid_verse bnm6900030/swintormer/ldm/models/autoencoder.py official repository ran no licence file found · pointer only · 5341ef403ac564fe · report
softmax_one bnm6900030/swintormer/basicsr/archs/Swintormer_arch.py official repository ran no licence file found · pointer only · 3bd972f47b2e2617 · report
tensor2img bnm6900030/swintormer/print_loss.py official repository ran no licence file found · pointer only · 0dbb3b3557dc64a6 · report
to_3d bnm6900030/swintormer/basicsr/archs/Swintormer_arch.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 82a15cc1e46f7e4d · report
to_4d bnm6900030/swintormer/basicsr/archs/Swintormer_arch.py official repository ran · fixture could not drive it no licence file found · pointer only · b20f2a5df739a59e · report
uniq bnm6900030/swintormer/ldm/modules/attention.py official repository ran · our draft was wrong no licence file found · pointer only · 9a299fe5ae09e407 · report
g_path_regularize bnm6900030/swintormer/basicsr/losses/gan_loss.py official repository unverified no licence file found · pointer only · fe05416387de89c6 · report
gradient_penalty_loss bnm6900030/swintormer/basicsr/losses/gan_loss.py official repository unverified no licence file found · pointer only · 81eb425a41a7c2a1 · report
r1_penalty bnm6900030/swintormer/basicsr/losses/gan_loss.py official repository unverified no licence file found · pointer only · c7cba9053f3cadb5 · report
reduce_loss bnm6900030/swintormer/basicsr/losses/loss_util.py official repository unverified no licence file found · pointer only · a648a03a952822c0 · report
weight_reduce_loss bnm6900030/swintormer/basicsr/losses/loss_util.py official repository unverified no licence file found · pointer only · 1ba39317ea81871a · report
weighted_loss bnm6900030/swintormer/basicsr/losses/loss_util.py official repository unverified no licence file found · pointer only · cf63f8afc13f62a7 · report

Tasks

DeblurringImage Deblurring

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDiffusionDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-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