TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/HAIR: Hypernetworks-based All-in-One Image Restoration

HAIR: Hypernetworks-based All-in-One Image Restoration

Jin Cao, Yi Cao, Li Pang, Deyu Meng, Xiangyong Cao

2024-08-15Image ClassificationImage RestorationAll
PaperPDFCode(official)

Abstract

Image restoration aims to recover a high-quality clean image from its degraded version. Recent progress in image restoration has demonstrated the effectiveness of All-in-One image restoration models in addressing various unknown degradations simultaneously. However, these existing methods typically utilize the same parameters to tackle images with different types of degradation, forcing the model to balance the performance between different tasks and limiting its performance on each task. To alleviate this issue, we propose HAIR, a Hypernetworks-based All-in-One Image Restoration plug-and-play method that generates parameters based on the input image and thus makes the model to adapt to specific degradation dynamically. Specifically, HAIR consists of two main components, i.e., Classifier and Hyper Selecting Net (HSN). The Classifier is a simple image classification network used to generate a Global Information Vector (GIV) that contains the degradation information of the input image, and the HSN is a simple fully-connected neural network that receives the GIV and outputs parameters for the corresponding modules. Extensive experiments demonstrate that HAIR can significantly improve the performance of existing image restoration models in a plug-and-play manner, both in single-task and All-in-One settings. Notably, our proposed model Res-HAIR, which integrates HAIR into the well-known Restormer, can obtain superior or comparable performance compared with current state-of-the-art methods. Moreover, we theoretically demonstrate that to achieve a given small enough error, our proposed HAIR requires fewer parameters in contrast to mainstream embedding-based All-in-One methods. The code is available at https://github.com/toummHus/HAIR.

Results

TaskDatasetMetricValueModel
Image Restoration5-DegradationsAverage PSNR30.37HAIR
Image Restoration5-DegradationsSSIM0.914HAIR
Image Restoration3-DegradationsAverage PSNR32.7HAIR
Image Restoration3-DegradationsSSIM0.919HAIR
Image Restoration5-Degradation Blind All-in-One Image RestorationAverage PSNR30.37HAIR
10-shot image generation5-DegradationsAverage PSNR30.37HAIR
10-shot image generation5-DegradationsSSIM0.914HAIR
10-shot image generation3-DegradationsAverage PSNR32.7HAIR
10-shot image generation3-DegradationsSSIM0.919HAIR
10-shot image generation5-Degradation Blind All-in-One Image RestorationAverage PSNR30.37HAIR
Unified Image Restoration5-DegradationsAverage PSNR30.37HAIR
Unified Image Restoration5-DegradationsSSIM0.914HAIR
Unified Image Restoration3-DegradationsAverage PSNR32.7HAIR
Unified Image Restoration3-DegradationsSSIM0.919HAIR

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Unsupervised Part Discovery via Descriptor-Based Masked Image Restoration with Optimized Constraints2025-07-16Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Modeling Code: Is Text All You Need?2025-07-15