用退化类型分类预训练,让图像修复模型通用性更强
Universal Image Restoration Pre-training via Degradation Classification
- 通过分类输入图像的退化类型实现弱监督预训练
- 在10种退化混合任务中提升最高达2.55 dB,复杂场景提升6.53 dB
- 适合做通用图像修复的模型,尤其对小数据场景友好
本文提出退化类型分类预训练(DCPT),使模型学会识别输入图像的退化类型,用于通用图像修复的预训练。与现有自监督方法不同,DCPT利用图像退化类型作为极弱监督信号,该信号在几乎所有图像修复数据集中都天然存在。DCPT包含两个阶段:首先由编码器提取图像特征;随后使用轻量解码器(如ResNet18)仅基于第一阶段提取的特征,对退化类型进行分类,不依赖原始输入图像。该简单而有效的预训练策略显著提升了后续任务表现。在10D全功能修复任务中,性能提升最高达2.55 dB;在混合退化场景中,提升高达6.53 dB。此外,传统自监督方法(如掩码图像建模)在预训练后丢弃解码器,而本方法充分利用预训练参数,其获得的退化分类器可促进同架构模型在不同退化类型间的迁移学习。源代码与模型已公开于https://github.com/MILab-PKU/dcpt。
原文摘要 · Abstract (English)
This paper proposes the Degradation Classification Pre-Training (DCPT), which enables models to learn how to classify the degradation type of input images for universal image restoration pre-training. Unlike the existing self-supervised pre-training methods, DCPT utilizes the degradation type of the input image as an extremely weak supervision, which can be effortlessly obtained, even intrinsic in all image restoration datasets. DCPT comprises two primary stages. Initially, image features are extracted from the encoder. Subsequently, a lightweight decoder, such as ResNet18, is leveraged to classify the degradation type of the input image solely based on the features extracted in the first stage, without utilizing the input image. The encoder is pre-trained with a straightforward yet potent DCPT, which is used to address universal image restoration and achieve outstanding performance. Following DCPT, both convolutional neural networks (CNNs) and transformers demonstrate performance improvements, with gains of up to 2.55 dB in the 10D all-in-one restoration task and 6.53 dB in the mixed degradation scenarios. Moreover, previous self-supervised pretraining methods, such as masked image modeling, discard the decoder after pre-training, while our DCPT utilizes the pre-trained parameters more effectively. This superiority arises from the degradation classifier acquired during DCPT, which facilitates transfer learning between models of identical architecture trained on diverse degradation types. Source code and models are available at https://github.com/MILab-PKU/dcpt.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。