atlas

Research map / Architectures and efficiency / Attention and transformers

HomoFormer: Homogenized Transformer for Image Shadow Removal

CVPR 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient image transformers · 39 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes HomoFormer, a local-window transformer that randomly shuffles pixels (with exact inverse) so shadow degradation becomes spatially homogeneous before local self-attention, plus a depth-wise-conv FFN (SMLP), for image shadow removal.

Problem

Shadow degradation is spatially non-uniform and diverse, which conflicts with the weight-sharing nature of CNNs and local window transformers, leading to compromised shadow removal; global attention is too costly at high resolution.

Approach

Randomly shuffle pixels across the whole image (and invert the shuffle afterwards) to homogenize the spatial distribution of shadow degradation so that weight-sharing local self-attention can handle it; structure is modeled in the FFN via depth-wise convolutions instead of positional encoding in attention.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add random shuffle and inverse shuffle to local self-attention (ablation)HomoFormer · ISTD+MAE: 6.4 -> 5.0 (shadow); 2.5 -> 2.3 (non-shadow); 3.0 -> 2.7 (all)Helped
Add depth-wise convolution for structure modeling in the FFN (ablation)HomoFormer · ISTD+MAE: 5.6 -> 5.0 (shadow); 2.5 -> 2.3 (non-shadow); 2.9 -> 2.7 (all)Helped
Use HomoFormer instead of ShadowFormerSRD · SRD, all regionPSNR: 32.90 dB -> 35.37 dBHelped
Use HomoFormer+ with Monte Carlo averaging instead of HomoFormerHomoFormer · ISTD+MAE: 5.0 -> 5.0 (shadow); 2.3 -> 2.2 (non-shadow); 2.7 -> 2.6 (all)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: ISTD+ (Adjusted ISTD) SRD

Benchmarks: ISTD+ SRD

Metrics: MAE (LAB) PSNR SSIM

Baselines: ShadowFormer ShadowDiffusion BMNet SG-ShadowNet Li et al. (ICCV'23) Fu et al. (CVPR'21) Jin et al. (ICCV'21) DHAN G2R DeshadowNet

Builds on: Swin Transformer Restormer-style UNet Charbonnier loss Kang et al. pixel shuffle regularization

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy