Skip to main content
QUICK REVIEW

[Paper Review] MB-TaylorFormer: Multi-branch Efficient Transformer Expanded by Taylor Formula for Image Dehazing

Yuwei Qiu, Kaihao Zhang|arXiv (Cornell University)|Aug 27, 2023
Image Enhancement TechniquesComputer Science9 citations
TL;DR

MB-TaylorFormer introduces a Taylor-expanded, linear-complexity self-attention with a multi-branch, multi-scale patch embedding backbone for efficient image dehazing, achieving SOTA results with fewer parameters and FLOPs.

ABSTRACT

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.

Motivation & Objective

  • Motivate improving dehazing with Transformers while reducing computational cost for high-resolution images.
  • Propose a linear-complexity Taylor-expanded self-attention to model long-range pixel interactions without windowing.
  • Develop a multi-branch, multi-scale patch embedding backbone to generate tokens at diverse scales and shapes.
  • Introduce an MSAR module to correct Taylor expansion errors and enhance local detail restoration.
  • Demonstrate state-of-the-art performance on synthetic and real hazy datasets with reduced parameters/MACs.

Proposed method

  • Apply Taylor expansion to soften softmax-attention for linear time complexity, enabling global pixel interactions.
  • Introduce MSAR (multi-scale attention refinement) to mitigate Taylor approximation errors via local correlations.
  • Design a multi-branch encoder-decoder backbone with multi-scale patch embedding using deformable convolutions for flexible patch shapes and receptive fields.
  • Use depthwise separable convolutions to reduce parameters and computation.
  • Fuse multi-branch features with SKFF to produce final restored image via residual learning (I' = I + R).
  • Provide two model variants MB-TaylorFormer-B (base) and MB-TaylorFormer-L (large) and evaluate on standard dehazing benchmarks.
Figure 1 : Improvement of MB-TaylorFormer over the SOTA approaches. The circle size is proportional to the number of model parameters. All models are trained on SOTS-Indoor [ 32 ] .
Figure 1 : Improvement of MB-TaylorFormer over the SOTA approaches. The circle size is proportional to the number of model parameters. All models are trained on SOTS-Indoor [ 32 ] .

Experimental results

Research questions

  • RQ1Can Taylor-expanded self-attention provide a linear-complexity alternative to standard self-attention without sacrificing dehazing performance?
  • RQ2Does a multi-branch, multi-scale patch embedding improve token diversity and dehazing quality compared to single-scale approaches?
  • RQ3Does the MSAR module effectively compensate for Taylor expansion errors in practice?
  • RQ4What is the impact of the proposed architecture on parameters and MACs while achieving SOTA dehazing results?

Key findings

  • MB-TaylorFormer-B achieves 40.71 dB PSNR and 0.992 SSIM on SOTS-Indoor with 2.68M params and 38.5G MACs.
  • MB-TaylorFormer-L achieves 42.64 dB PSNR on SOTS-Indoor and 0.994 SSIM, with 7.43M params and 88.1G MACs, surpassing prior SOTA methods.
  • On SOTS-Outdoor, MB-TaylorFormer-L reaches 38.09 dB PSNR and 0.991 SSIM.
  • On real hazy datasets O-HAZE and Dense-Haze, MB-TaylorFormer achieves 25.31 dB PSNR (SSIM 0.782) and 16.44 dB PSNR (SSIM 0.566) respectively, outperforming several baselines.
  • Ablation studies show multi-scale patch embedding and multi-branch structure significantly improve PSNR/SSIM over single-scale baselines.
Figure 2 : Architecture of MB-TaylorFormer. (a) MB-TaylorFormer consists of a multi-branch hierarchical design based on multi-scale patch embedding. (b) Multi-scale patch embedding embeds coarse-to-fine patches. (c) TaylorFormer with linear computational complexity. (d) MSAR module compensates for e
Figure 2 : Architecture of MB-TaylorFormer. (a) MB-TaylorFormer consists of a multi-branch hierarchical design based on multi-scale patch embedding. (b) Multi-scale patch embedding embeds coarse-to-fine patches. (c) TaylorFormer with linear computational complexity. (d) MSAR module compensates for e

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.