Papers › MB-TaylorFormer: Multi-branch Efficient Transformer Expanded by Taylor Formula for...

MB-TaylorFormer: Multi-branch Efficient Transformer Expanded by Taylor Formula for Image Dehazing

27 Aug 2023ICCV 2023 1arXiv:2308.14036archive 2025-07-28

Yuwei Qiu, Kaihao Zhang, Chenxi Wang, Wenhan Luo, Hongdong Li, Zhi Jin

In recent years, Transformer networks are beginning to replace pure convolutional neural networks (CNNs) in the field of computer vision due to their global receptive field and adaptability to input. However, the quadratic computational complexity of softmax-attention limits the wide application in image dehazing task, especially for high-resolution images. To address this issue, we propose a new Transformer variant, which applies the Taylor expansion to approximate the softmax-attention and achieves linear computational complexity. A multi-scale attention refinement module is proposed as a complement to correct the error of the Taylor expansion. Furthermore, we introduce a multi-branch architecture with multi-scale patch embedding to the proposed Transformer, which embeds features by overlapping deformable convolution of different scales. The design of multi-scale patch embedding is based on three key ideas: 1) various sizes of the receptive field; 2) multi-level semantic information; 3) flexible shapes of the receptive field. Our model, named Multi-branch Transformer expanded by Taylor formula (MB-TaylorFormer), can embed coarse to fine features more flexibly at the patch embedding stage and capture long-distance pixel interactions with limited computational cost. Experimental results on several dehazing benchmarks show that MB-TaylorFormer achieves state-of-the-art (SOTA) performance with a light computational burden. The source code and pre-trained models are available at https://github.com/FVL2020/ICCV-2023-MB-TaylorFormer.

PaperPDFConference PDFCodeCode 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="2308.14036")

Code

Syntology Ran 21 of 26 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · fixture could not drive it; 18 ran with no contract checked.

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

fvl2020/iccv-2023-mb-taylorformer 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

26 samples harvested; 21 ran; 1 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.

1ran · honoured contract
2ran · fixture could not drive it
18ran
5unverified

Licence: 26 of the 26 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 fvl2020/iccv-2023-mb-taylorformer. “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.

count_param fvl2020/iccv-2023-mb-taylorformer/basicsr/models/archs/MB_TaylorFormer.py official repository ran · honoured contract no licence file found · pointer only · afd3c5ab4cb8face · report
Attention FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran no licence file found · pointer only · 659261b010a72668 · report
DWCPatchEmbed FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran fingerprinted no licence file found · pointer only · 7e12b4a365754bb3 · report
DWConv2d_BN FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran fingerprinted no licence file found · pointer only · 64cd61fee6349de6 · report
Downsample FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran no licence file found · pointer only · 428e6e039f598efa · report
Patch_Embed_stage FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran fingerprinted no licence file found · pointer only · 2d32326ab1c1db16 · report
SKFF FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran no licence file found · pointer only · 03b6adc687eca587 · report
Upsample FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran fingerprinted no licence file found · pointer only · 5499b5a997e32c0e · report
calculate_fid fvl2020/iccv-2023-mb-taylorformer/basicsr/metrics/fid.py official repository ran no licence file found · pointer only · 1d7ce6d6dd7ff5c1 · report
calculate_psnr fvl2020/iccv-2023-mb-taylorformer/utils.py official repository ran no licence file found · pointer only · d292dd965ab59629 · report
calculate_ssim fvl2020/iccv-2023-mb-taylorformer/utils.py official repository ran no licence file found · pointer only · a05b184dc6c264a0 · report
compute_feature fvl2020/iccv-2023-mb-taylorformer/basicsr/metrics/niqe.py official repository ran no licence file found · pointer only · 5170ff1c4106b27a · report
estimate_aggd_param fvl2020/iccv-2023-mb-taylorformer/basicsr/metrics/niqe.py official repository ran no licence file found · pointer only · a1282a48b0941f5d · report
extract_inception_features fvl2020/iccv-2023-mb-taylorformer/basicsr/metrics/fid.py official repository ran no licence file found · pointer only · c9fb213c957dc82d · report
get_position_from_periods fvl2020/iccv-2023-mb-taylorformer/basicsr/models/lr_scheduler.py official repository ran fingerprinted no licence file found · pointer only · cd569444547de84f · report
refine_att FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository ran no licence file found · pointer only · 59ccf227e7c920d2 · report
reorder_image fvl2020/iccv-2023-mb-taylorformer/basicsr/metrics/metric_util.py official repository ran no licence file found · pointer only · 95067518dc16b3e5 · report
ssim fvl2020/iccv-2023-mb-taylorformer/utils.py official repository ran fingerprinted no licence file found · pointer only · ba721aeacc165234 · report
ssim_cv2 fvl2020/iccv-2023-mb-taylorformer/Dehazing/calculate_compare.py official repository ran fingerprinted no licence file found · pointer only · bbbdfc579e51326c · report
to_3d fvl2020/iccv-2023-mb-taylorformer/basicsr/models/archs/MB_TaylorFormer.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 82a15cc1e46f7e4d · report
to_4d fvl2020/iccv-2023-mb-taylorformer/basicsr/models/archs/MB_TaylorFormer.py official repository ran · fixture could not drive it no licence file found · pointer only · b20f2a5df739a59e · report
MB_TaylorFormer FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository unverified no licence file found · pointer only · 5b4b5591be8c70df · report
MHCAEncoder FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository unverified no licence file found · pointer only · 579b7505e2f45641 · report
MHCA_stage FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository unverified no licence file found · pointer only · ed01ae5f23d33199 · report
TransformerBlock FVL2020/ICCV-2023-MB-TaylorFormer/basicsr/models/archs/MB_TaylorFormer.py official repository unverified no licence file found · pointer only · 60ff91d683606241 · report
niqe fvl2020/iccv-2023-mb-taylorformer/basicsr/metrics/niqe.py official repository unverified no licence file found · pointer only · 0029cb1566e47350 · report

Tasks

Image Dehazing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEConvolutionDeformable ConvolutionDense ConnectionsDropoutLabel 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