Introduction
In computer vision, measuring the perceptual difference between images is a fundamental task. While traditional metrics like SSIM have been widely used, modern deep-learning-based metrics such as LPIPS (Learned Perceptual Image Patch Similarity) have become the industry standard. Evaluating these metrics requires psychophysical experiments, typically employing the Two-Alternative Forced Choice (2AFC) paradigm. In a 2AFC test, a human observer is presented with a reference image and two distorted versions, then asked to identify which distortion appears "closer" to the original.
This paper introduces a robust, probabilistic framework for evaluating these perceptual distance models. By replacing complex "black-box" neural networks with a simple binomial distribution model and kernel density estimation, the authors achieve comparable performance with a 10x reduction in training time and significantly enhanced interpretability.
The Challenge of Large-Scale 2AFC Evaluation
Evaluating metrics on large-scale datasets like BAPPS (Berkeley Adobe Perceptual Patch Similarity) presents unique challenges. Unlike older datasets that allowed for a global ranking of images (Mean Opinion Score), BAPPS consists of randomly composed triplets that do not share images, making global ranking impossible.
To bridge the gap between a model's calculated distance and a human's probabilistic choice, researchers previously relied on training ad-hoc neural networks. However, these networks are computationally expensive, lack transparency, and often fail to account for the inherent uncertainty in human judgments—such as cases where observers are split on which image is closer.
Proposed Probabilistic Framework
The authors propose a "pure" statistical approach to model human perception:
- Binomial Modeling: Human choice counts are modeled as binomial random variables. This naturally accommodates the stochastic nature of human perception, acknowledging that observers do not always agree.
- Marginal Uniformization: Since different distance models (e.g., Euclidean vs. SSIM) operate on different scales, the authors use histogram equalization to map all distances into a uniform $[0, 1]$ range. This ensures a fair evaluation across diverse metrics.
- Density Estimation: The framework employs Gaussian kernel smoothing to estimate the probability density of human choices across the 2D plane of distance pairs $(d_0, d_1)$.
- Maximum Likelihood Estimation (MLE): Rather than using backpropagation, the optimal probability parameter $\hat{P}$ is derived analytically. This makes the method deterministic and extremely efficient.
Empirical Evaluation and Datasets
The study utilizes two primary 2AFC datasets:
- BAPPS: A massive collection of 187,700 image patches featuring 425 types of distortions, providing a fixed number of judgments per triplet.
- CLIC 2021: A dataset from the Challenge on Learned Image Compression, which contains a variable number of judgments per triplet, testing the model's flexibility in handling inconsistent sample sizes.
Key Insights and Visualizing Uncertainty
A major advantage of this approach is the ability to visualize the $(d_0, d_1)$ plane. Deep-learning-based models like LPIPS and DISTS exhibit "sharper" decision boundaries as image distortions increase, which aligns with human perceptual patterns. In contrast, traditional metrics like Euclidean distance become more "confused" as distances grow.
By using a binomial model, the authors can distinguish between a "unanimous" human decision and a "near-tie." This nuance is often lost in standard binary classification models but is critical for understanding the limits of perceptual metrics.
Results
The proposed density estimation method demonstrates significant practical advantages:
- Efficiency: Training takes just 4.5 seconds, compared to 43.3 seconds for the neural network approach—a nearly 10x speedup.
- Simplicity: The method uses only 400 parameters (grid points), whereas the comparison neural network requires 1,281 parameters.
- Performance: Despite its simplicity, the method matches or slightly exceeds the accuracy (Agreement of Judgments) and Negative Log-Likelihood (NLL) of neural network approaches across all tested metrics, including SSIM, LPIPS, and DISTS.
- Flexibility: It seamlessly handles the variable number of judgments in the CLIC dataset, where traditional fixed-output models often struggle.
Conclusion and Future Work
This research proves that complex neural networks are not always necessary to evaluate deep perceptual models. A well-constructed statistical model can be more robust, faster, and easier to debug. While the method relies on sufficient data density in the $(d_0, d_1)$ plane, it avoids the "overconfidence" often seen in neural networks.
Future work may involve using this probabilistic framework not just for evaluation, but for training new perceptual metrics by optimizing the log-likelihood directly. Additionally, refining how the model handles "perfect match" edges (where one distortion is the original image) could further improve its performance on specialized datasets like CLIC.
Summary updated