Papers › KBNet: Kernel Basis Network for Image Restoration

KBNet: Kernel Basis Network for Image Restoration

6 Mar 2023arXiv:2303.02881archive 2025-07-28

Yi Zhang, Dasong Li, Xiaoyu Shi, Dailan He, Kangning Song, Xiaogang Wang, Hongwei Qin, Hongsheng Li

How to aggregate spatial information plays an essential role in learning-based image restoration. Most existing CNN-based networks adopt static convolutional kernels to encode spatial information, which cannot aggregate spatial information adaptively. Recent transformer-based architectures achieve adaptive spatial aggregation. But they lack desirable inductive biases of convolutions and require heavy computational costs. In this paper, we propose a kernel basis attention (KBA) module, which introduces learnable kernel bases to model representative image patterns for spatial information aggregation. Different kernel bases are trained to model different local structures. At each spatial location, they are linearly and adaptively fused by predicted pixel-wise coefficients to obtain aggregation weights. Based on the KBA module, we further design a multi-axis feature fusion (MFF) block to encode and fuse channel-wise, spatial-invariant, and pixel-adaptive features for image restoration. Our model, named kernel basis network (KBNet), achieves state-of-the-art performances on more than ten benchmarks over image denoising, deraining, and deblurring tasks while requiring less computational cost than previous SOTA methods.

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

Code

Syntology Ran 6 of 9 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 6 ran with no contract checked.

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

zhangyi-3/kbnet officialmentioned in papermentioned on GitHubpytorchMIT 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

9 samples harvested; 6 ran; 0 honoured the contract we drafted; 3 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.

6ran
3unverified

Licence: 0 of the 9 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 zhangyi-3/kbnet. “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.

calculate_fid zhangyi-3/kbnet/basicsr/metrics/fid.py official repository ran MIT (permissive) · 1d7ce6d6dd7ff5c1 · report
calculate_psnr zhangyi-3/kbnet/Denoising/utils_tool.py official repository ran MIT (permissive) · d292dd965ab59629 · report
calculate_ssim zhangyi-3/kbnet/Denoising/utils_tool.py official repository ran MIT (permissive) · a05b184dc6c264a0 · report
extract_inception_features zhangyi-3/kbnet/basicsr/metrics/fid.py official repository ran MIT (permissive) · c9fb213c957dc82d · report
get_position_from_periods zhangyi-3/kbnet/basicsr/models/lr_scheduler.py official repository ran fingerprinted MIT (permissive) · cd569444547de84f · report
ssim zhangyi-3/kbnet/Denoising/utils_tool.py official repository ran fingerprinted MIT (permissive) · ba721aeacc165234 · report
MAE zhangyi-3/kbnet/Defocus_Deblurring/utils.py official repository unverified MIT (permissive) · 5590b75db4c828a0 · report
PSNR zhangyi-3/kbnet/Defocus_Deblurring/utils.py official repository unverified MIT (permissive) · 8eccacd101833667 · report
SSIM zhangyi-3/kbnet/Defocus_Deblurring/utils.py official repository unverified MIT (permissive) · 80d62faa4ff31b49 · report

Tasks

Color Image DenoisingDeblurringDenoisingGrayscale Image DenoisingImage DenoisingImage RestorationRain RemovalSingle Image Deraining

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Color Image Denoising CBSD68 sigma15 KBNet PSNR 34.41 #4 of 10 Archive leaderboard report
Color Image Denoising CBSD68 sigma25 KBNet PSNR 31.80 #3 of 9 Archive leaderboard report
Color Image Denoising Kodak24 sigma50 KBNet PSNR 30.04 #3 of 9 Archive leaderboard report
Color Image Denoising McMaster sigma50 KBNet PSNR 30.27 #4 of 7 Archive leaderboard report
Color Image Denoising Urban100 sigma25 KBNet PSNR 32.96 #4 of 6 Archive leaderboard report
Color Image Denoising Urban100 sigma50 KBNet PSNR 30.04 #4 of 9 Archive leaderboard report
Color Image Denoising urban100 sigma15 KBNet Average PSNR 35.15 #3 of 8 Archive leaderboard report
Grayscale Image Denoising BSD68 sigma15 KBNet PSNR 31.98 #2 of 16 Archive leaderboard report
Grayscale Image Denoising BSD68 sigma25 KBNet PSNR 29.54 #1 of 16 Archive leaderboard report
Grayscale Image Denoising BSD68 sigma50 KBNet PSNR 26.65 #2 of 15 Archive leaderboard report
Grayscale Image Denoising Set12 sigma15 KBNet PSNR 33.40 #2 of 8 Archive leaderboard report
Grayscale Image Denoising Set12 sigma25 KBNet PSNR 31.08 #2 of 6 Archive leaderboard report
Grayscale Image Denoising Set12 sigma50 KBNet PSNR 28.04 #2 of 8 Archive leaderboard report
Grayscale Image Denoising Urban100 sigma25 KBNet PSNR 31.45 #4 of 10 Archive leaderboard report
Grayscale Image Denoising Urban100 sigma50 KBNet PSNR 28.33 #3 of 10 Archive leaderboard report
Grayscale Image Denoising urban100 sigma15 KBNet PSNR 33.77 #3 of 3 Archive leaderboard report
Image Denoising SIDD KBNet PSNR (sRGB) 40.35 #2 of 22 Archive leaderboard report
Image Denoising SIDD KBNet SSIM (sRGB) 0.972 #2 of 22 Archive leaderboard report
Single Image Deraining Test1200 KBNet PSNR 33.82 #2 of 14 Archive leaderboard report
Single Image Deraining Test1200 KBNet SSIM 0.931 #2 of 14 Archive leaderboard report
Single Image Deraining Test2800 KBNet PSNR 34.19 #1 of 12 Archive leaderboard report
Single Image Deraining Test2800 KBNet SSIM 0.944 #1 of 12 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.

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