Skip to main content
QUICK REVIEW

[论文解读] Learning A Sparse Transformer Network for Effective Image Deraining

Xiang Chen, Hao Li|arXiv (Cornell University)|Mar 21, 2023
Image Enhancement TechniquesComputer Science被引用 11
一句话总结

DRSformer 引入了基于 top-k 稀疏注意力的 Transformer 块,配合混尺度前馈网络和专家混合特征补偿器,能够高效去雨并在多个基准数据集上达到最新的最优结果。

ABSTRACT

Transformers-based methods have achieved significant performance in image deraining as they can model the non-local information which is vital for high-quality image reconstruction. In this paper, we find that most existing Transformers usually use all similarities of the tokens from the query-key pairs for the feature aggregation. However, if the tokens from the query are different from those of the key, the self-attention values estimated from these tokens also involve in feature aggregation, which accordingly interferes with the clear image restoration. To overcome this problem, we propose an effective DeRaining network, Sparse Transformer (DRSformer) that can adaptively keep the most useful self-attention values for feature aggregation so that the aggregated features better facilitate high-quality image reconstruction. Specifically, we develop a learnable top-k selection operator to adaptively retain the most crucial attention scores from the keys for each query for better feature aggregation. Simultaneously, as the naive feed-forward network in Transformers does not model the multi-scale information that is important for latent clear image restoration, we develop an effective mixed-scale feed-forward network to generate better features for image deraining. To learn an enriched set of hybrid features, which combines local context from CNN operators, we equip our model with mixture of experts feature compensator to present a cooperation refinement deraining scheme. Extensive experimental results on the commonly used benchmarks demonstrate that the proposed method achieves favorable performance against state-of-the-art approaches. The source code and trained models are available at https://github.com/cschenxiang/DRSformer.

研究动机与目标

  • 通过减少 Transformers 中无关自注意力的干扰来推动鲁棒的图像去雨。
  • 开发一个稀疏 Transformer 块,仅保留最有用的注意力分数(top-k)用于特征聚合。
  • 通过混尺度前馈网络引入多尺度特征学习,以在多尺度上捕捉雨滴模式。
  • 使用专家混合特征补偿器增强特征细化,以整合局部和全局线索。

提出的方法

  • 提出一个基于稀疏 Transformer 块(STB)、具备 top-k 稀疏注意力(TKSA)和混尺度前馈网络(MSFN)的稀疏 Transformer 网络(DRSformer)。
  • TKSA 选择每个查询的最大 K 个注意力分数以形成 SparseAtt(Q,K,V),减少来自无关令牌的干扰。
  • MSFN 通过并行的多尺度深度卷积(3x3 和 5x5)来捕捉多尺度的局部信息并融合特征。
  • MEFC(mixture of experts feature compensator)将多个基于 CNN 的专家进行结合以细化特征,并由输入相关的通道描述符引导。
  • 总体架构遵循带跳跃连接的层次化编码-解码器,处理 Rain200L/H、DID-Data、DDN-Data 和 SPA-Data;训练使用去雨输出与真值之间的 L1 损失。

实验结果

研究问题

  • RQ1基于 top-k 的稀疏注意力机制是否通过抑制无关 token 交互的干扰来提升去雨图像的质量?
  • RQ2整合多尺度前馈网络是否能提升去雨图像中细节和纹理的还原?
  • RQ3专家混合特征补偿器是否能进一步细化稀疏 Transformer 特征、保留高频细节?
  • RQ4在合成和真实雨的数据集上,所提出的稀疏性和多尺度组件的经验增益是多少?

主要发现

  • DRSformer 在 Rain200L、Rain200H、DID-Data、DDN-Data、SPA-Data 等数据集上获得比近来最先进方法更高的 PSNR/SSIM(例如 Rain200L 为 41.23/0.9894;Rain200H 为 32.18/0.9330;DID-Data 为 35.38/0.9647;DDN-Data 为 34.36/0.9590;SPA-Data 为 48.53/0.9924)。
  • The top-k sparse attention (TKSA) reduces interference from irrelevant long-range interactions and improves detail preservation versus dense self-attention.
  • The mixed-scale feed-forward network (MSFN) substantially boosts multi-scale feature representation, outperforming conventional FN, DFN, and GDFN baselines.
  • MEFC further enhances deraining by enabling adaptive collaboration among multiple sparse CNN experts, yielding additional gains over single-expert configurations.
  • Real-world results (SPA-Data) show strong generalization, with high non-reference quality metrics (NIQE/BRISQUE) competitive with or better than baselines.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。