[Paper Review] Xformer: Hybrid X-Shaped Transformer for Image Denoising
Xformer proposes a hybrid X-shaped Transformer for image denoising that concurrently models global dependencies in both spatial and channel dimensions using separate spatial-wise and channel-wise Transformer blocks. With a Bidirectional Connection Unit (BCU) for interactive feature fusion, it achieves state-of-the-art performance on synthetic and real-world denoising benchmarks with comparable FLOPs and model size.
In this paper, we present a hybrid X-shaped vision Transformer, named Xformer, which performs notably on image denoising tasks. We explore strengthening the global representation of tokens from different scopes. In detail, we adopt two types of Transformer blocks. The spatial-wise Transformer block performs fine-grained local patches interactions across tokens defined by spatial dimension. The channel-wise Transformer block performs direct global context interactions across tokens defined by channel dimension. Based on the concurrent network structure, we design two branches to conduct these two interaction fashions. Within each branch, we employ an encoder-decoder architecture to capture multi-scale features. Besides, we propose the Bidirectional Connection Unit (BCU) to couple the learned representations from these two branches while providing enhanced information fusion. The joint designs make our Xformer powerful to conduct global information modeling in both spatial and channel dimensions. Extensive experiments show that Xformer, under the comparable model complexity, achieves state-of-the-art performance on the synthetic and real-world image denoising tasks. We also provide code and models at https://github.com/gladzhang/Xformer.
Motivation & Objective
- To address the limitations of CNNs and standard Transformers in modeling long-range dependencies and dynamic content in image denoising.
- To improve global representation learning by jointly modeling spatial and channel-wise token interactions.
- To design an efficient, concurrent network architecture that fuses multi-dimensional global features without increasing computational cost.
- To develop a bidirectional fusion mechanism that enhances feature representation beyond simple concatenation.
- To achieve state-of-the-art performance on both synthetic and real-world image denoising tasks with minimal computational overhead.
Proposed method
- Xformer employs a concurrent dual-branch architecture: one branch uses spatial-wise self-attention to model local patch interactions across spatial dimensions.
- The other branch applies channel-wise self-attention to capture global context across channel dimensions, enabling long-range dependency modeling.
- Each branch uses an encoder-decoder structure to extract multi-scale features from both spatial and channel representations.
- The Bidirectional Connection Unit (BCU) is introduced to fuse features from both branches via 3×3 convolutions, followed by residual connections to enhance representation learning.
- The BCU enables interactive information flow between branches, allowing each to refine its features using complementary information from the other.
- The network is trained end-to-end on synthetic and real-world denoising datasets using standard L1 and perceptual loss objectives.
Experimental results
Research questions
- RQ1Can concurrent modeling of spatial and channel-wise self-attention improve global representation in image denoising?
- RQ2How does bidirectional feature fusion between spatial and channel branches enhance denoising performance compared to unidirectional or concatenative fusion?
- RQ3Can a hybrid X-shaped Transformer achieve state-of-the-art results with comparable FLOPs and model size to existing SOTA methods?
- RQ4How does the proposed method perform on real-world noisy images where noise is non-i.i.d. and complex?
- RQ5Does the integration of both local patch-level and global channel-level attention lead to better preservation of fine textures and high-frequency details?
Key findings
- Xformer achieves a PSNR of 32.18 dB on Urban100 with σ=50, outperforming Restormer by 0.34 dB under comparable model complexity.
- On the SIDD real-world benchmark, Xformer achieves the highest PSNR and SSIM scores among all compared methods, including Uformer and Restormer.
- Xformer reduces FLOPs by 2.01× compared to Uformer while achieving higher performance, demonstrating superior efficiency.
- Visual results show that Xformer preserves fine textures and high-frequency components better than SwinIR, Restormer, and other leading methods.
- The Bidirectional Connection Unit (BCU) significantly improves feature fusion, as ablation studies confirm its effectiveness in enhancing representation learning.
- Xformer generalizes well to real-world noise, as demonstrated by superior results on the DND benchmark and visually pleasing outputs on challenging SIDD examples.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.