mlsanityData to 14 Oct 2026

Hierarchical Contrastive Learning for Pattern-Generalizable Image Corruption Detection

arXiv 2308.14061 ↗First posted 27 Aug 2023cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Effective image restoration with large-size corruptions, such as blind image inpainting, entails precise detection of corruption region masks which remains extremely challenging due to diverse shapes and patterns of corruptions. In this work, we present a novel method for automatic corruption detection, which allows for blind corruption restoration without known corruption masks. Specifically, we develop a hierarchical contrastive learning framework to detect corrupted regions by capturing the intrinsic semantic distinctions between corrupted and uncorrupted regions. In particular, our model detects the corrupted mask in a coarse-to-fine manner by first predicting a coarse mask by contrastive learning in low-resolution feature space and then refines the uncertain area of the mask by high-resolution contrastive learning. A specialized hierarchical interaction mechanism is designed to facilitate the knowledge propagation of contrastive learning in different scales, boosting the modeling performance substantially. The detected multi-scale corruption masks are then leveraged to guide the corruption restoration. Detecting corrupted regions by learning the contrastive distinctions rather than the semantic patterns of corruptions, our model has well generalization ability across different corruption patterns. Extensive experiments demonstrate following merits of our model: 1) the superior performance over other methods on both corruption detection and various image restoration tasks including blind inpainting and watermark removal, and 2) strong generalization across different corruption patterns such as graffiti, random noise or other image content. Codes and trained weights are available at https://github.com/xyfJASON/HCL .

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 39 of its 52 references that are in the map. First posted on arXiv 27 Aug 2023.

Builds on

39 of 52 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  6. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  7. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  8. 2016Layer Normalizationcited by 5,669
  9. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  10. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
  11. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
  12. 2017Improved Training of Wasserstein GANscited by 2,235
27 more
  1. 2015Unsupervised Visual Representation Learning by Context Predictioncited by 1,066
  2. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  3. 2021Multi-Stage Progressive Image Restorationcited by 816
  4. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  5. 2020Dense Contrastive Learning for Self-Supervised Visual Pre-Trainingcited by 512
  6. 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
  7. 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 403
  8. 2021Contrastive Learning for Compact Single Image Dehazingcited by 219
  9. 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 218
  10. 2021Unsupervised Degradation Representation Learning for Blind Super-Resolutioncited by 177
  11. 2019Pluralistic Image Completioncited by 162
  12. 2020Recurrent Feature Reasoning for Image Inpaintingcited by 107
  13. 2019Towards Ghost-free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GANcited by 103
  14. 2020Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizationscited by 102
  15. 2018Single Image Reflection Separation with Perceptual Lossescited by 98
  16. 2019Coherent Semantic Attention for Image Inpaintingcited by 97
  17. 2022Incremental Transformer Structure Enhanced Image Inpainting with Masking Positional Encodingcited by 83
  18. 2019Improving the Harmony of the Composite Image by Spatial-Separated Attention Modulecited by 73
  19. 2021Image Inpainting via Conditional Texture and Structure Dual Generationcited by 66
  20. 2020Learning to Incorporate Structure Knowledge for Image Inpaintingcited by 37
  21. 2022Reduce Information Loss in Transformers for Pluralistic Image Inpaintingcited by 36
  22. 2022MISF: Multi-level Interactive Siamese Filtering for High-Fidelity Image Inpaintingcited by 35
  23. 2020VCNet: A Robust Approach to Blind Image Inpaintingcited by 25
  24. 2020Split then Refine: Stacked Attention-guided ResUNets for Blind Single Image Visible Watermark Removalcited by 20
  25. 2019Blind Visual Motif Removal from a Single Imagecited by 18
  26. 2017Deep Blind Image Inpaintingcited by 8
  27. 2021Generative Memory-Guided Semantic Reasoning Model for Image Inpaintingcited by 7

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Dynamic Contrastive Knowledge Distillation for Efficient Image Restoration
  2. 2021Elucidating Robust Learning with Uncertainty-Aware Corruption Pattern Estimation
  3. 2025RestoRect: Degraded Image Restoration via Latent Rectified Flow & Feature Distillation
  4. 2022Image Restoration using Feature-guidance
  5. 2023Benchmarking Robustness to Text-Guided Corruptions
  6. 2021Inverse Problems Leveraging Pre-trained Contrastive Representations
  7. 2025Defense against Unauthorized Distillation in Image Restoration via Feature Space Perturbation
  8. 2026Contrastive Knowledge Distillation for Anomaly Detection in Multi-Illumination/Focus Display Images