[논문 리뷰] Learning A Sparse Transformer Network for Effective Image Deraining
DRSformer는 상위-k 희소 주의 기반 Transformer 블록과 혼합 스케일 피드포워드 네트워크 및 전문가 혼합 기능 보상기(mixture of experts feature compensator)를 도입하여 이미지 디레이닝을 효율적으로 수행하고, 여러 벤치마크에서 최첨단 성능을 달성합니다.
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.
연구 동기 및 목표
- 트랜스포머에서의 불필요한 자기-주의(attention) 간섭을 줄여 강력한 이미지 디레이닝을 촉진한다.
- 특징 집합화를 위해 가장 유용한 주의 점수만 보존하는 희소 Transformer 블록(top-k)을 개발한다.
- 다중 스케일 패턴을 포착하기 위해 혼합 스케일 피드포워드 네트워크를 통한 다중 스케일 특징 학습을 포함한다.
- 로컬 및 글로벌 신호를 통합하기 위해 전문가 혼합 피처 보상기(MEFC)로 특징 정제를 향상시킨다.
제안 방법
- 상위-k 희소 주의(attention)와 혼합 스케일 피드포워드 네트워크(MSFN)를 갖춘 희소 Transformer 블록(STB) 위에 구축된 희소 Transformer 네트워크(DRSformer)를 제안한다.
- TKSA는 쿼리당 가장 큰 K개의 주의 점수를 선택해 SparseAtt(Q,K,V)을 형성하며, 관련 없는 토큰으로 인한 간섭을 줄인다.
- MSFN은 다중 스케일 로컬 정보를 포착하고 특징을 융합하기 위해 병렬 다중 스케일 깊이별 컨볼루션(3x3 및 5x5)을 사용한다.
- MEFC (mixture of experts feature compensator)는 입력 의존 채널 디스크립터에 의해 안내되어 다수의 CNN 기반 전문가를 결합해 특징을 정제한다.
- 전반적인 아키텍처는 건너뛰기 연결(skip connections)이 있는 계층적 인코더-디코더를 따르며 Rain200L/H, DID-Data, DDN-Data, SPA-Data를 처리한다; 학습은 디레이드 출력과Ground Truth 간의 L1 손실을 사용한다.
실험 결과
연구 질문
- RQ1상위-k 기반 희소 주의 메커니즘이 불필요한 토큰 상호작용으로 인한 간섭을 억제하여 디레이된 이미지의 품질을 향상시킬 수 있는가?
- 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).
- 상위-k 희소 주의(TKSA)는 불필요한 장거리 상호작용으로 인한 간섭을 줄이고 밀집 자체 주의와 비교하여 디테일 보존을 향상시킨다.
- 혼합 스케일 피드포워드 네트워크(MSFN)는 다중 스케일 특징 표현을 크게 향상시켜 기존의 FN, DFN, GDFN 베이스라인을 능가한다.
- MEFC는 여러 희소 CNN 전문가들 간의 적응적 협업을 가능하게 하여 단일 전문가 구성보다 추가 이득을 제공하며 디레이닝을 더욱 향상시킨다.
- 실세계 결과(SPA-Data)는 일반화가 강하함을 보여주며, 비참조 품질 지표(NIQE/BRISQUE)가 기준과 경쟁하거나 더 우수하다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.