[Paper Review] On the relation between statistical learning and perceptual distances
This paper investigates the link between statistical image properties, perceptual distances, and unsupervised representation learning in autoencoders. It shows that perceptual distances correlate with image likelihood under natural image statistics, and that using perceptual losses in autoencoders can improve gradient estimation—especially with small batch sizes—by reducing variance through implicit regularization, though gains over MSE are limited except in data-scarce settings due to double-counting of image statistics.
It has been demonstrated many times that the behavior of the human visual system is connected to the statistics of natural images. Since machine learning relies on the statistics of training data as well, the above connection has interesting implications when using perceptual distances (which mimic the behavior of the human visual system) as a loss function. In this paper, we aim to unravel the non-trivial relationships between the probability distribution of the data, perceptual distances, and unsupervised machine learning. To this end, we show that perceptual sensitivity is correlated with the probability of an image in its close neighborhood. We also explore the relation between distances induced by autoencoders and the probability distribution of the training data, as well as how these induced distances are correlated with human perception. Finally, we find perceptual distances do not always lead to noticeable gains in performance over Euclidean distance in common image processing tasks, except when data is scarce and the perceptual distance provides regularization. We propose this may be due to a \emph{double-counting} effect of the image statistics, once in the perceptual distance and once in the training procedure.
Motivation & Objective
- To understand the relationship between perceptual distances, image statistics, and unsupervised representation learning.
- To investigate why perceptual distances in autoencoder training do not always outperform Euclidean losses despite better human similarity prediction.
- To analyze the role of data distribution and loss variance in stochastic gradient descent, particularly under small batch sizes.
- To evaluate whether perceptual distances act as regularization by downweighting outliers through their correlation with image likelihood.
- To clarify the double-counting effect where image statistics are implicitly encoded both in training data and in the perceptual loss function.
Proposed method
- Uses a probabilistic image model (PixelCNN++) to estimate image likelihood and correlate it with perceptual distances.
- Trains autoencoders with both Euclidean (MSE) and perceptual (NLPD, PIM) loss functions to compare induced distances.
- Employs stochastic gradient descent with batch size 1 to evaluate gradient variance and generalization error estimation.
- Compares expected test set MSE between models trained with NLPD and MSE losses to assess generalization performance.
- Analyzes the standard error of the gradient estimator to quantify variance reduction under different loss functions.
- Uses fixed random seeds and multiple runs to ensure reproducibility and report mean and standard deviation of results.
Experimental results
Research questions
- RQ1How are perceptual distances related to the probability distribution of natural images?
- RQ2To what extent do autoencoder-induced distances correlate with human perceptual similarity?
- RQ3Why do perceptual distances not consistently improve performance over MSE in image reconstruction tasks?
- RQ4How does the use of perceptual loss affect gradient estimation variance in small-batch training?
- RQ5What role does the double-counting of image statistics play in the performance of perceptual losses?
Key findings
- Perceptual distances such as NLPD and PIM are strongly correlated with image likelihood estimated by PixelCNN++, indicating a deep link between perceptual similarity and natural image statistics.
- Autoencoder-induced distances trained with MSE loss are highly correlated with the probability of training images, suggesting that the model learns a representation aligned with data density.
- When data is scarce, perceptual distances like NLPD lead to better generalization than MSE, as they implicitly regularize by downweighting low-probability (outlier) samples.
- The improved performance of NLPD over MSE in small-batch training is due to reduced gradient variance, as perceptual distances correlate with image likelihood and thus stabilize the gradient estimator.
- Despite better human similarity prediction, perceptual distances do not consistently improve reconstruction performance because the image statistics are double-counted—once in the data and once in the loss function.
- The standard error of the gradient estimator is lower when using NLPD compared to MSE, especially with batch size 1, demonstrating better estimation of generalization error.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.