LMQFormer: A Laplace-Prior-Guided Mask Query Transformer for Lightweight Snow Removal

Junhong Lin, Nanfeng Jiang, Zhentao Zhang, Weiling Chen, Tiesong Zhao
10/10/2022
cs.CV
transformer-attention

Official code: JHLin42in/LMQFormer (6 stars, Python, MIT, last commit 2023-11-28).

Abstract

Snow removal aims to locate snow areas and recover clean images without repairing traces. Unlike the regularity and semitransparency of rain, snow with various patterns and degradations seriously occludes the background.

Show full abstract

As a result, the state-of-the-art snow removal methods usually retains a large parameter size. In this paper, we propose a lightweight but high-efficient snow removal network called Laplace Mask Query Transformer (LMQFormer). Firstly, we present a Laplace-VQVAE to generate a coarse mask as prior knowledge of snow. Instead of using the mask in dataset, we aim at reducing both the information entropy of snow and the computational cost of recovery. Secondly, we design a Mask Query Transformer (MQFormer) to remove snow with the coarse mask, where we use two parallel encoders and a hybrid decoder to learn extensive snow features under lightweight requirements. Thirdly, we develop a Duplicated Mask Query Attention (DMQA) that converts the coarse mask into a specific number of queries, which constraint the attention areas of MQFormer with reduced parameters. Experimental results in popular datasets have demonstrated the efficiency of our proposed model, which achieves the state-of-the-art snow removal quality with significantly reduced parameters and the lowest running time.

View on arXivView PDF

Code Implementations(1)

MIT

This paper is accepted by IEEE TCSVT

63PythonApr 11, 20223 years agoMIT
desnowingieee-tcsvtlow-level-visionsnow-removal

Similar Papers

Cite this paper

@article{lin2022lmqformer,
  title  = {LMQFormer: A Laplace-Prior-Guided Mask Query Transformer for Lightweight Snow Removal},
  author = {Junhong Lin and Nanfeng Jiang and Zhentao Zhang and Weiling Chen and Tiesong Zhao},
  year   = {2022},
  eprint = {2210.04787},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04787}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.04787.svg)](https://codeofpaper.com/paper/2210.04787)

Discussion