[Paper Review] Autoregressive Models: What Are They Good For?
This paper investigates the utility of autoregressive (AR) models as density estimators for downstream tasks, finding that their log-likelihood scores—while state-of-the-art for compression—do not correlate with perceptual quality or task performance. Despite achieving low negative log-likelihood (e.g., 2.85 bits/dim on CIFAR-10), AR models fail as learning signals in image translation (ARCycle) and as outlier detectors, producing degenerate outputs and misclassifying non-CIFAR images as real.
Autoregressive (AR) models have become a popular tool for unsupervised learning, achieving state-of-the-art log likelihood estimates. We investigate the use of AR models as density estimators in two settings -- as a learning signal for image translation, and as an outlier detector -- and find that these density estimates are much less reliable than previously thought. We examine the underlying optimization issues from both an empirical and theoretical perspective, and provide a toy example that illustrates the problem. Overwhelmingly, we find that density estimates do not correlate with perceptual quality and are unhelpful for downstream tasks.
Motivation & Objective
- To evaluate whether autoregressive models' high log-likelihood estimates are useful for downstream tasks beyond compression.
- To investigate the reliability of AR density estimates as a learning signal in image-to-image translation.
- To assess the performance of AR models as outlier detectors for high-dimensional data like images.
- To diagnose optimization failures in AR models that lead to degenerate solutions despite good NLL scores.
- To challenge the assumption that low negative log-likelihood implies perceptual quality or generalization in generative modeling.
Proposed method
- Proposed ARCycle, a training objective combining cycle consistency loss and negative log-likelihood (NLL) from a pre-trained AR model (PixelCNN++) to guide image translation.
- Trained ARCycle on colored-MNIST and CIFAR-10, using NLL as a supervisory signal for generator networks.
- Evaluated outlier detection using three AR-based thresholds: 1SD, 2SD, and one-sided intervals around mean NLL on CIFAR-10 training data.
- Compared AR-based outlier detection to Class-Conditional Gaussians (CCG), a baseline method using deep features and Gaussian modeling.
- Trained a classifier (Inception-v1) on CIFAR-10, extracted feature representations, and fit class-conditional Gaussians for outlier detection.
- Used bits/dim as the NLL metric to evaluate AR model scores across diverse test sets including SVHN, noise, and all-black/white images.
Experimental results
Research questions
- RQ1Can autoregressive models' log-likelihood scores serve as a reliable learning signal for unsupervised image translation?
- RQ2Do high log-likelihood estimates from AR models correlate with perceptual quality or realism of generated images?
- RQ3Can AR models effectively detect outliers in high-dimensional image data, such as SVHN or random noise?
- RQ4Why do AR models converge to degenerate solutions despite achieving low NLL scores during training?
- RQ5How do AR model density estimates compare to alternative outlier detection methods like CCG in real-world image distribution shifts?
Key findings
- ARCycle, which combines NLL and cycle consistency, collapses to generating line-like patterns in the MNIST space despite achieving low NLL (down to 3 bits/dim), indicating failure to learn realistic digit generation.
- The NLL of real CIFAR-10 test images was 2.92 bits/dim, but WGAN-GP generated images had a lower NLL of 6.52 bits/dim, showing no correlation between low NLL and perceptual quality.
- AR models assigned higher log-likelihood (lower NLL) to SVHN images (2.1 bits/dim) than to real CIFAR-10 images (2.92 bits/dim), classifying them as in-distribution 90.9% of the time.
- All-black and all-white images received NLL scores of 0.008 and 0.16 bits/dim respectively—among the lowest, indicating AR models fail to detect such obvious outliers.
- The CCG method correctly classified 92.3% of CIFAR-10 test images as in-distribution, while AR-2SD and AR-One-sided intervals misclassified 92.5% and 94.7% of SVHN images as CIFAR-10, respectively.
- Even with Gaussian blur applied to generator outputs or pre-trained generators, ARCycle still failed to produce realistic images, suggesting optimization issues are fundamental to the NLL objective.
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.