Skip to main content
QUICK REVIEW

[Paper Review] Stripformer: Strip Transformer for Fast Image Deblurring

Fu-Jen Tsai, Yan‐Tsung Peng|arXiv (Cornell University)|Apr 10, 2022
Advanced Image Processing TechniquesComputer Science10 citations
TL;DR

Stripformer proposes a token- and parameter-efficient Transformer architecture for fast image deblurring in dynamic scenes, using interlaced intra-strip and inter-strip self-attention mechanisms to capture region-specific blur patterns with varying orientations and magnitudes. It achieves state-of-the-art performance on GoPro, HIDE, and RealBlur datasets with significantly reduced FLOPs and inference time compared to vanilla Transformers.

ABSTRACT

Images taken in dynamic scenes may contain unwanted motion blur, which significantly degrades visual quality. Such blur causes short- and long-range region-specific smoothing artifacts that are often directional and non-uniform, which is difficult to be removed. Inspired by the current success of transformers on computer vision and image processing tasks, we develop, Stripformer, a transformer-based architecture that constructs intra- and inter-strip tokens to reweight image features in the horizontal and vertical directions to catch blurred patterns with different orientations. It stacks interlaced intra-strip and inter-strip attention layers to reveal blur magnitudes. In addition to detecting region-specific blurred patterns of various orientations and magnitudes, Stripformer is also a token-efficient and parameter-efficient transformer model, demanding much less memory usage and computation cost than the vanilla transformer but works better without relying on tremendous training data. Experimental results show that Stripformer performs favorably against state-of-the-art models in dynamic scene deblurring.

Motivation & Objective

  • Address the challenge of non-uniform, region-specific motion blur in dynamic scene images, which is difficult to model with conventional priors or standard CNNs.
  • Overcome the high memory and computation cost of vanilla Transformers in image deblurring while preserving global and local feature modeling capability.
  • Design a hybrid Transformer architecture that efficiently captures blur orientation and magnitude through structured tokenization and attention mechanisms.
  • Achieve state-of-the-art deblurring performance without relying on large-scale pre-training datasets like ImageNet.
  • Ensure model efficiency in inference time, parameter count, and FLOPs while maintaining high PSNR on benchmark datasets.

Proposed method

  • Introduce intra-strip attention (Intra-SA) that models pixel-wise dependencies within horizontal and vertical strips of the image, capturing local blur features.
  • Implement inter-strip attention (Inter-SA) that models correlations between strips, encoding global region-wise blur patterns in both horizontal and vertical directions.
  • Stack interlaced blocks of intra-strip and inter-strip attention to progressively reveal blur magnitudes and orientations across scales.
  • Use conditional positional encoding (CPE) to support arbitrary input sizes and improve performance over fixed positional encodings.
  • Integrate a contrastive loss during training to enhance feature discrimination and improve deblurring quality.
  • Design the architecture to be parameter- and memory-efficient by avoiding full feature map self-attention, reducing FLOPs to ~6.9G for 1280×720 images.

Experimental results

Research questions

  • RQ1Can a hybrid Transformer architecture with structured strip-based tokens outperform standard Transformers in image deblurring while reducing computational cost?
  • RQ2How effectively can intra-strip and inter-strip attention mechanisms capture directional and magnitude variations in non-uniform motion blur?
  • RQ3To what extent does the proposed attention design improve deblurring performance without large-scale pre-training data?
  • RQ4How does the combination of intra- and inter-strip attention compare to other efficient attention mechanisms like Swin or CCNet in deblurring tasks?
  • RQ5Does the use of conditional positional encoding and contrastive loss further enhance deblurring performance on real-world blur datasets?

Key findings

  • Stripformer achieves a PSNR of 33.08 on the GoPro dataset, surpassing previous state-of-the-art methods including DeblurGAN-v2, SRN, MPRNet, and MIMO.
  • On the HIDE dataset, Stripformer achieves a PSNR of 31.03, outperforming all compared methods, including Swin and Twins, despite using only 20M parameters.
  • The model reduces FLOPs to 6.9G and inference time to 48ms on 1280×720 images, significantly lower than IPT (32G FLOPs) while maintaining superior performance.
  • Ablation studies confirm that combining intra-strip and inter-strip attention yields the best performance, with CPE and contrastive loss further boosting results.
  • The proposed attention mechanism outperforms Swin, CCNet, and Twins in PSNR on GoPro and HIDE, demonstrating its effectiveness in modeling blur orientation and magnitude.
  • Stripformer achieves SOTA results without ImageNet pre-training, proving its data efficiency and strong inductive bias for deblurring tasks.

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.