Contrastive Feature Loss for Image Prediction
Not on the map. Why?
Abstract (arXiv)
Training supervised image synthesis models requires a critic to compare two images: the ground truth to the result. Yet, this basic functionality remains an open problem. A popular line of approaches uses the L1 (mean absolute error) loss, either in the pixel or the feature space of pretrained deep networks. However, we observe that these losses tend to produce overly blurry and grey images, and other techniques such as GANs need to be employed to fight these artifacts. In this work, we introduce an information theory based approach to measuring similarity between two images. We argue that a good reconstruction should have high mutual information with the ground truth. This view enables learning a lightweight critic to "calibrate" a feature space in a contrastive manner, such that reconstructions of corresponding spatial patches are brought together, while other patches are repulsed. We show that our formulation immediately boosts the perceptual realism of output images when used as a drop-in replacement for the L1 loss, with or without an additional GAN loss.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 38 of its 52 references that are in the map. First posted on arXiv 12 Nov 2021.
Builds on
38 of 52 references.
References · 38
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,527
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2019Contrastive Multiview Codingcited by 1,301
26 more
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,299
- 2014Depth Map Prediction from a Single Image using a Multi-Scale Deep Networkcited by 1,274
- 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,179
- 2016Playing for Data: Ground Truth from Computer Gamescited by 818
- 2020Image Quality Assessment: Unifying Structure and Texture Similaritycited by 811
- 2018Self-Attention Generative Adversarial Networkscited by 809
- 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 808
- 2017Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networkscited by 707
- 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
- 2017The Perception-Distortion Tradeoffcited by 587
- 2019End-to-End Learning of Visual Representations from Uncurated Instructional Videoscited by 507
- 2019Making Convolutional Networks Shift-Invariant Againcited by 391
- 2017Photographic Image Synthesis with Cascaded Refinement Networkscited by 223
- 2020Swapping Autoencoder for Deep Image Manipulationcited by 215
- 2020Audio-Visual Instance Discrimination with Cross-Modal Agreementcited by 195
- 2020PIPAL: a Large-Scale Image Quality Assessment Dataset for Perceptual Image Restorationcited by 178
- 2016Texture Networks: Feed-forward Synthesis of Textures and Stylized Imagescited by 174
- 2015Inverting Visual Representations with Convolutional Networkscited by 170
- 2017Playing for Benchmarkscited by 169
- 2018The Contextual Loss for Image Transformation with Non-Aligned Datacited by 135
- 2019DepthTransfer: Depth Extraction from Video Using Non-parametric Samplingcited by 60
- 2017Perceptual Adversarial Networks for Image-to-Image Transformationcited by 42
- 2020Semantic Pyramid for Image Generationcited by 34
- 2018Image Manipulation with Perceptual Discriminatorscited by 8
- 2018Deformation Aware Image Compressioncited by 4
- 2020Progressively Unfreezing Perceptual GANcited by 1
Built on by
Citing papers per year: 2021: 1; 2022: 6; 2023: 1; 2024: 1; 2025: 2; 2026: 1.
12 papers.
- 2021Multimodal Image Synthesis and Editing: The Generative AI Eracited by 52
- 2023Adaptive Supervised PatchNCE Loss for Learning H&E-to-IHC Stain Translation with Inconsistent Groundtruth Image Pairscited by 38
- 2022Modulated Contrast for Versatile Image Synthesiscited by 23
- 2022Towards Counterfactual Image Manipulation via CLIPcited by 19
- 2022VPTR: Efficient Transformers for Video Predictioncited by 17
- 2022Video Prediction by Efficient Transformerscited by 12
- 2022Criteria Comparative Learning for Real-scene Image Super-Resolutioncited by 8
- 2022Leveraging Local Patch Differences in Multi-Object Scenes for Generative Adversarial Attackscited by 5
- 2025Counterfactual Visual Explanation via Causally-Guided Adversarial Steeringcited by 1
- 2026CONSTANT: Towards High-Quality One-Shot Handwriting Generation with Patch Contrastive Enhancement and Style-Aware Quantizationcited by 1
- 2024Hallucination Detection in Virtually-Stained Histology: A Latent Space Baselinecited by 0
- 2025Progressive Translation of H&E to IHC with Enhanced Structural Fidelitycited by 0
- 2026CONSTANT: Towards High-Quality One-Shot Handwriting Generation with Patch Contrastive Enhancement and Style-Aware Quantization8 Mar 2026
- 2025Progressive Translation of H&E to IHC with Enhanced Structural Fidelity3 Nov 2025
- 2025Counterfactual Visual Explanation via Causally-Guided Adversarial Steering14 Jul 2025
- 2024Hallucination Detection in Virtually-Stained Histology: A Latent Space Baseline22 Nov 2024
- 2023Adaptive Supervised PatchNCE Loss for Learning H&E-to-IHC Stain Translation with Inconsistent Groundtruth Image Pairs10 Mar 2023
- 2022Video Prediction by Efficient Transformers12 Dec 2022
- 2022Leveraging Local Patch Differences in Multi-Object Scenes for Generative Adversarial Attacks20 Sep 2022
- 2022Criteria Comparative Learning for Real-scene Image Super-Resolution26 Jul 2022
- 2022Towards Counterfactual Image Manipulation via CLIP6 Jul 2022
- 2022VPTR: Efficient Transformers for Video Prediction29 Mar 2022
- 2022Modulated Contrast for Versatile Image Synthesis17 Mar 2022
- 2021Multimodal Image Synthesis and Editing: The Generative AI Era27 Dec 2021