Distilling Semantic Priors from SAM to Efficient Image Restoration Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Quan, Liu, Xiaoyu, Li, Wei, Chen, Hanting, Liu, Junchao, Hu, Jie, Xiong, Zhiwei, Yuan, Chun, Wang, Yunhe
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910395014316032
author Zhang, Quan
Liu, Xiaoyu
Li, Wei
Chen, Hanting
Liu, Junchao
Hu, Jie
Xiong, Zhiwei
Yuan, Chun
Wang, Yunhe
author_facet Zhang, Quan
Liu, Xiaoyu
Li, Wei
Chen, Hanting
Liu, Junchao
Hu, Jie
Xiong, Zhiwei
Yuan, Chun
Wang, Yunhe
contents In image restoration (IR), leveraging semantic priors from segmentation models has been a common approach to improve performance. The recent segment anything model (SAM) has emerged as a powerful tool for extracting advanced semantic priors to enhance IR tasks. However, the computational cost of SAM is prohibitive for IR, compared to existing smaller IR models. The incorporation of SAM for extracting semantic priors considerably hampers the model inference efficiency. To address this issue, we propose a general framework to distill SAM's semantic knowledge to boost exiting IR models without interfering with their inference process. Specifically, our proposed framework consists of the semantic priors fusion (SPF) scheme and the semantic priors distillation (SPD) scheme. SPF fuses two kinds of information between the restored image predicted by the original IR model and the semantic mask predicted by SAM for the refined restored image. SPD leverages a self-distillation manner to distill the fused semantic priors to boost the performance of original IR models. Additionally, we design a semantic-guided relation (SGR) module for SPD, which ensures semantic feature representation space consistency to fully distill the priors. We demonstrate the effectiveness of our framework across multiple IR models and tasks, including deraining, deblurring, and denoising.
format Preprint
id arxiv_https___arxiv_org_abs_2403_16368
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Distilling Semantic Priors from SAM to Efficient Image Restoration Models
Zhang, Quan
Liu, Xiaoyu
Li, Wei
Chen, Hanting
Liu, Junchao
Hu, Jie
Xiong, Zhiwei
Yuan, Chun
Wang, Yunhe
Computer Vision and Pattern Recognition
In image restoration (IR), leveraging semantic priors from segmentation models has been a common approach to improve performance. The recent segment anything model (SAM) has emerged as a powerful tool for extracting advanced semantic priors to enhance IR tasks. However, the computational cost of SAM is prohibitive for IR, compared to existing smaller IR models. The incorporation of SAM for extracting semantic priors considerably hampers the model inference efficiency. To address this issue, we propose a general framework to distill SAM's semantic knowledge to boost exiting IR models without interfering with their inference process. Specifically, our proposed framework consists of the semantic priors fusion (SPF) scheme and the semantic priors distillation (SPD) scheme. SPF fuses two kinds of information between the restored image predicted by the original IR model and the semantic mask predicted by SAM for the refined restored image. SPD leverages a self-distillation manner to distill the fused semantic priors to boost the performance of original IR models. Additionally, we design a semantic-guided relation (SGR) module for SPD, which ensures semantic feature representation space consistency to fully distill the priors. We demonstrate the effectiveness of our framework across multiple IR models and tasks, including deraining, deblurring, and denoising.
title Distilling Semantic Priors from SAM to Efficient Image Restoration Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.16368