Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

The Unreasonable Effectiveness of Deep Features as a Perceptual Metric

Deep network features beat classic metrics at predicting human image similarity judgments

  • Problem Classic metrics like L2, SSIM and FSIM miss many human judgments of image similarity. They are simple functions that do not capture the context and structure people use.
  • Method LPIPS measures patch distance in pretrained network activations. It weights each channel, learned from human choices on the BAPPS dataset, instead of using plain cosine distance.
  • Results The best supervised network scored 68.9% agreement with humans, compared to 63.8% for FSIMc. The gain holds across architectures and levels of supervision.

Why pixel metrics fall short

Image similarity is hard to measure because people judge it through context and high-order structure, not pixel values alone. A per-pixel distance such as L2 can miss this, since a blur can look very different to a person while barely moving the L2 value. SSIM and FSIM capture more structure, but the authors note they were not designed for spatial ambiguity.

VGG features have been used as a perceptual loss for style transfer, superresolution and conditional image synthesis. Whether those losses actually match human judgments is the open question the paper takes up. Fitting a function directly to human judgments is also hard, because each judgment compares two images in context. The authors report a negative result in which direct fitting did not generalize, even on a large dataset with many distortion types.

Distance from network activations

The key idea is to treat the internal activations of a classification-trained network as a perceptual space, and to learn how much each channel counts. The authors expect this to work because representations tuned to predict important structure in the world may also keep distances people perceive. They treat this as a hypothesis the results are consistent with, not as something they prove.

The network runs on the reference patch and on the distorted patch, and the activations at each layer are normalized along the channel dimension. Each channel is then scaled by its weight \(w_l\), and the squared L2 difference is taken at every spatial position. The distance is averaged over spatial positions and summed over layers, as in \[ d(x,x_0)=\sum_l \frac{1}{H_lW_l}\sum_{h,w}\left\|w_l\odot(\hat y^l_{hw}-\hat y^l_{0hw})\right\|_2^2 \] Setting every \(w_l\) to 1 gives the cosine distance, so the learned weights are what moves the metric away from cosine distance.

The authors use five conv layers of VGG, the conv1 to conv5 layers of AlexNet, and the first conv layer plus some fire modules of SqueezeNet.

Three ways to train on the judgments

The lin variant freezes the pretrained network and learns only the channel weights, which is 1472 parameters for VGG. The tune variant starts from a pretrained classification model and fine-tunes all of its weights. The scratch variant starts from random Gaussian weights and is trained only on the judgments.

The authors call the family of these metrics LPIPS, Learned Perceptual Image Patch Similarity.

Building the BAPPS judgments

The dataset, BAPPS, is built from 64×64 patch triplets, each with a reference patch and two distorted versions. Patches keep the space manageable, since even a 64×64 color patch is a 12k-dimensional space. Human choices were collected on Amazon Mechanical Turk, with 2 judgments per example for training and 5 for validation.

Traditional distortions are 20 basic image edits, and composing them in sequence gives 308 combined distortions. CNN-based distortions come from 96 denoising autoencoders, each trained on ImageNet for one epoch to mimic deep-learning artifacts. Real algorithm outputs cover superresolution, frame interpolation, video deblurring and colorization.

Each trial asks which of two distorted patches is closer to the reference, and people averaged about 3 seconds per judgment. Sentinels with obvious distortions checked attention, and about 90% of workers passed at least 93% of them. The JND test shows a reference and a distorted patch for 1 second each, with a 250 ms gap, and asks whether they are the same.

The authors argue JND is less subjective because each judgment has one correct answer. The JND pairs were set up so that about 40% are identical, and 36.4% of them were marked same.

2AFC scores of deep and classic metrics

Human agreement is 73.9% averaged across all six test sets, which sets the ceiling for the metrics. The classic metrics scored 63.2% for L2, 63.1% for SSIM and 63.8% for FSIMc. The supervised networks landed between 67.0% and 68.9%, above all three classic metrics. The authors note this holds although the models differ widely in size, from SqueezeNet at 2.8 MB to VGG at 58.9 MB.

Self-supervised networks, including BiGAN, puzzle solving and cross-channel prediction, perform on par with the classification networks. A random network with Gaussian weights gains little, so the authors conclude some training signal appears necessary. The authors read the common pattern as an emergent property shared across networks.

Where BiGAN and SSIM disagree

Comparing BiGAN with SSIM on traditional distortions shows where the two metrics disagree. BiGAN judges pairs that contain blur as more distant than SSIM does, which suggests deep embeddings are more sensitive to blur. BiGAN treats correlated noise patterns as a smaller distortion than SSIM does.

Calibrating on real algorithm outputs

On the traditional and CNN-based validation sets, the tune variant scores higher than lin or scratch. For real algorithm outputs, the three networks start at 64.0% for SqueezeNet, 65.0% for AlexNet and 62.6% for VGG. Learning linear weights improves 11 of the 12 scores across three networks and four tasks, by 1.1%, 0.3% and 1.5% for the three networks.

Scratch training ends slightly below linear calibration for AlexNet and slightly above it for VGG, and both still beat the low-level metrics. Tuning all weights lowers transfer to real algorithms, which the authors call a negative result. They read this as evidence that training directly on a low-level perceptual task does not always transfer as well as a high-level representation does.

Agreement with JND and semantic tasks

The authors check whether 2AFC scores track a second perceptual test, scored by mAP over ordered pairs. Averaged over distortion types, the 2AFC score correlates with JND mAP at ρ = .928. The authors take this as a sign that the 2AFC signal reflects human judgments more broadly.

Across methods, the 2AFC score correlates with PASCAL classification at .640 and with PASCAL detection at .363, for AlexNet-like architectures. Classification and detection correlate at .429 across the same methods, a level similar to the perceptual-semantic pairs. These correlations use results summarized from prior work, not new runs.

Limitations

The 2AFC protocol is cognitively penetrable, so workers may pick which respect of similarity to focus on. The authors therefore also run a JND test, which they consider less subjective. SSIM was not designed for large geometric distortion, and the dataset includes geometric distortions.

The judgments use 64×64 patches from MIT-Adobe 5k for training and RAISE1k for validation, not full images. Real algorithm outputs cover four applications, and each application has its own properties. The claim that perceptual similarity is an emergent property rests on a hypothesis the results are consistent with, not one they prove.

Paper info

Authors
Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, Oliver Wang
Venue
arXiv · Preprint
First published
2018-1-11
Added
2026-11-11
Updated
2018-4-10
Version
v2
arXiv
1801.03924
Category
cs.CV · cs.GR
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, Oliver Wang (2018). The Unreasonable Effectiveness of Deep Features as a Perceptual Metric. arXiv:1801.03924v2. https://arxiv.org/abs/1801.03924v2

BibTeX
@misc{zhang2018unreasonable,
  title = {{The Unreasonable Effectiveness of Deep Features as a Perceptual Metric}},
  author = {Richard Zhang and Phillip Isola and Alexei A. Efros and Eli Shechtman and Oliver Wang},
  year = {2018},
  eprint = {1801.03924},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.03924v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up