Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning from History: Task-agnostic Model Contrastive Learning for Image Restoration

About

Contrastive learning has emerged as a prevailing paradigm for high-level vision tasks, which, by introducing properly negative samples, has also been exploited for low-level vision tasks to achieve a compact optimization space to account for their ill-posed nature. However, existing methods rely on manually predefined and task-oriented negatives, which often exhibit pronounced task-specific biases. To address this challenge, our paper introduces an innovative method termed 'learning from history', which dynamically generates negative samples from the target model itself. Our approach, named Model Contrastive Learning for Image Restoration (MCLIR), rejuvenates latency models as negative models, making it compatible with diverse image restoration tasks. We propose the Self-Prior guided Negative loss (SPN) to enable it. This approach significantly enhances existing models when retrained with the proposed model contrastive paradigm. The results show significant improvements in image restoration across various tasks and architectures. For example, models retrained with SPN outperform the original FFANet and DehazeFormer by 3.41 dB and 0.57 dB on the RESIDE indoor dataset for image dehazing. Similarly, they achieve notable improvements of 0.47 dB on SPA-Data over IDT for image deraining and 0.12 dB on Manga109 for a 4x scale super-resolution over lightweight SwinIR, respectively. Code and retrained models are available at https://github.com/Aitical/MCLIR.

Gang Wu, Junjun Jiang, Kui Jiang, Xianming Liu• 2023

Related benchmarks

TaskDatasetResultRank
Image DeblurringGoPro (test)
PSNR32.93
585
Image DehazingSOTS Indoor RESIDE
PSNR39.8
72
Image DehazingRESIDE SOTS 6K (mix)
PSNR31.57
23
Image DerainingSPA-Data
PSNR48.04
10
Image DerainingRain200L
PSNR41.12
8
Image DerainingRain200H
PSNR32.17
8
Image DerainingAverage (Rain200L, Rain200H, DID, DDN, SPA)
PSNR38.03
8
Image DerainingDID
PSNR34.94
8
Image DerainingDDN
PSNR33.9
8
Showing 9 of 9 rows

Other info

Code

Follow for update