PaQ-2-PiQ
Region-based CNN on a ResNet18 backbone that predicts a global picture quality score and local patch quality scores.
Image classification · 89 operations Checked
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
- Task
- Image classification
- Parameters
- 11.7M
- Operations
- 89
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2020
- Cited by
- 405 (as of 27 October 2026)
- Authors
- Zhenqiang Ying, Haoran Niu, Praful Gupta and others
- Source
- pyiqa 0.1.16
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19231
- Graph hash
- d7bea16152d766a41056fed096bc88a57c6d92cdb2d5fbb10532bfcd4206f183
- Skeleton hash
- 0bb93cebf2982470ede00f398cbc5532a09989442819f6c16e4108bbea1bb577
- Architecture hash
- 7d3dd0b9e254fe612247c020400b4ed4565aa503b73c59af09b5a08efd04ab81
- Diagram SHA-256
- 1ebe864bce7741a8b50db99bfed4c2331fbfa99cb540b1f6f3b02613f74592e0
- 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
PaQ-2-PiQ predicts how good a picture looks to people without access to an undistorted reference, the task known as blind or no-reference perceptual picture quality prediction. The name is short for Patch Quality 2 Picture Quality. Alongside the model, the paper introduces a subjective picture quality database containing about 40000 real-world distorted pictures and 120000 patches, with about 4M human judgments of picture quality.
Using both the picture and the patch quality labels, the authors built deep region-based architectures that produce a global picture quality prediction as well as a local picture quality map. The PyTorch implementation uses a ResNet18 pretrained on ImageNet as its backbone and was trained on FLIVE. For each training image, three different-sized patches were cropped, and the image data and patch locations are the input while their scores are the output. At inference the model returns a global quality score and a 20x20 array of local quality scores.
Key idea. The paper built deep region-based architectures, trained on picture and patch quality labels, that predict a global picture quality score as well as local picture quality maps.
- PaQ-2-PiQ
- PaQ2PiQ
- P2P
- Patch Quality 2 Picture Quality
- image quality assessment
- no-reference picture quality
- blind image quality
- perceptual quality
- local quality map
- FLIVE
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{ying2019patchespicturespaq2piqmapping,
title={From Patches to Pictures (PaQ-2-PiQ): Mapping the Perceptual Space of Picture Quality},
author={Zhenqiang Ying and Haoran Niu and Praful Gupta and Dhruv Mahajan and Deepti Ghadiyaram and Alan Bovik},
year={2019},
eprint={1912.10088},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1912.10088},
}