All models

PieAPP

Full-reference perceptual error metric: a weight-shared CNN compares distorted and reference image patches.

Image classification · 87 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (8 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
68.4M
Operations
87
Framework
PyTorch
Recurrent
No
Published
CVPR 2018
Cited by
339 (as of 30 October 2026)
Authors
Ekta Prashnani, Hong Cai, Yasamin Mostofi, Pradeep Sen
License
BSD-2-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19335
Graph hash
0167c495881e383e55b2d21c771f448c2700a6d9a04bd09b5b21fa6451760bf4
Skeleton hash
1524fb79b833f78fc6215b102eda34370c8f4c5056b2a93ac64272f5a3e2dbeb
Architecture hash
b570def03bdc9c91235c9973e5da6e37ba3671f2ab1b18728ee2ec7dc9d0e3d4
Diagram SHA-256
61e2bc4aa6cc08a8a30d35db4ab9c0d5d6772f454f46d13de2ea04d3bd1db179
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

PieAPP is a metric that measures the perceptual error of a distorted image with respect to a reference. It starts from an observation about people: it is much easier for them to compare two images and pick the one more similar to a reference than to assign each a quality score. The authors therefore train a deep-learning model, in a pairwise-learning framework, to predict the preference of one distorted image over the other. The trained network can then be used with only one distorted image and a reference to predict perceptual error, without ever being trained on explicit human perceptual-error labels.

The network works on patches. Its feature-extraction subnet has 11 convolutional layers with skip connections. The differences between the feature vectors of the distorted and reference patches are fed into a score-computation subnet. That subnet computes patch-wise weights and errors, and a weighted average over all patches gives the final image score.

The released code, PieAPP v0.1, selects 64x64 patches with a stride of 6 pixels in its default dense sampling mode. The paper reports outperforming existing algorithms by almost 3× on its own test set in terms of binary error rate. Of the 75 distortions in the dataset, 44 are in the training set and 31 are in the test set, distinct from the training ones.

Key idea. PieAPP trains an error-estimation network on pairwise human preference, then uses it alone on one distorted image and a reference to predict perceptual error.

  • PieAPP
  • Perceptual Image-Error Assessment through Pairwise Preference
  • perceptual image error
  • full-reference image quality assessment
  • FR-IQA
  • perceptual metric
  • pairwise preference
  • image error metric
  • PieAPP v0.1

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{prashnani2018pieappperceptualimageerrorassessment,
      title={PieAPP: Perceptual Image-Error Assessment through Pairwise Preference}, 
      author={Ekta Prashnani and Hong Cai and Yasamin Mostofi and Pradeep Sen},
      year={2018},
      eprint={1806.02067},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1806.02067}, 
}