HYPE: A Benchmark for Human eYe Perceptual Evaluation of Generative Models

Sharon Zhou, Mitchell L. Gordon, Ranjay Krishna, Austin Narcomey, Li Fei-Fei, Michael S. Bernstein

Introduction

Generating realistic images is regarded as a focal task for measuring the progress of generative models. Automated metrics are either heuristic approximations or intractable density estimations, examined to be inaccurate on high dimensional problems . Human evaluations, such as those given on Amazon Mechanical Turk , remain ad-hoc because “results change drastically” based on details of the task design . With both noisy automated and noisy human benchmarks, measuring progress over time has become akin to hill-climbing on noise. Even widely used metrics, such as Inception Score and Fréchet Inception Distance , have been discredited for their application to non-ImageNet datasets . Thus, to monitor progress, generative models need a systematic gold standard benchmark. In this paper, we introduce a gold standard benchmark for realistic generation, demonstrating its effectiveness across four datasets, six models, and two sampling techniques, and using it to assess the progress of generative models over time.

Realizing the constraints of available automated metrics, many generative modeling tasks resort to human evaluation and visual inspection . These human measures are (1) ad-hoc, each executed in idiosyncrasy without proof of reliability or grounding to theory, and (2) high variance in their estimates . These characteristics combine to a lack of reliability, and downstream, (3) a lack of clear separability between models. Theoretically, given sufficiently large sample sizes of human evaluators and model outputs, the law of large numbers would smooth out the variance and reach eventual convergence; but this would occur at (4) a high cost and a long delay.

We present HYPE (Human eYe Perceptual Evaluation) to address these criteria in turn. HYPE: (1) measures the perceptual realism of generative model outputs via a grounded method inspired by psychophysics methods in perceptual psychology, (2) is a reliable and consistent estimator, (3) is statistically separable to enable a comparative ranking, and (4) ensures a cost and time efficient method through modern crowdsourcing techniques such as training and aggregation. We present two methods of evaluation. The first, called \textscHYPEtime\textsc{HYPE}_{\text{time}}, is inspired directly by the psychophysics literature , and displays images using adaptive time constraints to determine the time-limited perceptual threshold a person needs to distinguish real from fake. The \textscHYPEtime\textsc{HYPE}_{\text{time}} score is understood as the minimum time, in milliseconds, that a person needs to see the model’s output before they can distinguish it as real or fake. For example, a score of 500500ms on \textscHYPEtime\textsc{HYPE}_{\text{time}} indicates that humans can distinguish model outputs from real images at 500500ms exposure times or longer, but not under 500500ms. The second method, called \textscHYPE\textsc{HYPE}_{\infty}, is derived from the first to make it simpler, faster, and cheaper while maintaining reliability. It is interpretable as the rate at which people mistake fake images and real images, given unlimited time to make their decisions. A score of 50%50\% on \textscHYPE\textsc{HYPE}_{\infty} means that people differentiate generated results from real data at chance rate, while a score above 50%50\% represents hyper-realism in which generated images appear more real than real images.

We run two large-scale experiments. First, we demonstrate HYPE’s performance on unconditional human face generation using four popular generative adversarial networks (GANs) across CelebA-64 . We also evaluate two newer GANs on FFHQ-1024 . HYPE indicates that GANs have clear, measurable perceptual differences between them; this ranking is identical in both \textscHYPEtime\textsc{HYPE}_{\text{time}} and \textscHYPE\textsc{HYPE}_{\infty}. The best performing model, StyleGAN trained on FFHQ and sampled with the truncation trick, only performs at 27.6%27.6\% \textscHYPE\textsc{HYPE}_{\infty}, suggesting substantial opportunity for improvement. We can reliably reproduce these results with 95%95\% confidence intervals using 3030 human evaluators at \60inataskthattakesin a task that takes10$ minutes.

Second, we demonstrate the performance of \textscHYPE\textsc{HYPE}_{\infty} beyond faces on conditional generation of five object classes in ImageNet and unconditional generation of CIFAR-10 . Early GANs such as BEGAN are not separable in \textscHYPE\textsc{HYPE}_{\infty} when generating CIFAR-10: none of them produce convincing results to humans, verifying that this is a harder task than face generation. The newer StyleGAN shows separable improvement, indicating progress over the previous models. With ImageNet-5, GANs have improved on classes considered “easier” to generate (e.g., lemons), but resulted in consistently low scores across all models for harder classes (e.g., French horns).

HYPE is a rapid solution for researchers to measure their generative models, requiring just a single click to produce reliable scores and measure progress. We deploy HYPE at https://hype.stanford.edu, where researchers can upload a model and retrieve a HYPE score. Future work will extend HYPE to additional generative tasks such as text, music, and video generation.

HYPE: A benchmark for Human eYe Perceptual Evaluation

HYPE displays a series of images one by one to crowdsourced evaluators on Amazon Mechanical Turk and asks the evaluators to assess whether each image is real or fake. Half of the images are real images, drawn from the model’s training set (e.g., FFHQ, CelebA, ImageNet, or CIFAR-10). The other half are drawn from the model’s output. We use modern crowdsourcing training and quality control techniques to ensure high-quality labels. Model creators can choose to perform two different evaluations: \textscHYPEtime\textsc{HYPE}_{\text{time}}, which gathers time-limited perceptual thresholds to measure the psychometric function and report the minimum time people need to make accurate classifications, and \textscHYPE\textsc{HYPE}_{\infty}, a simplified approach which assesses people’s error rate under no time constraint.

Our first method, \textscHYPEtime\textsc{HYPE}_{\text{time}}, measures time-limited perceptual thresholds. It is rooted in psychophysics literature, a field devoted to the study of how humans perceive stimuli, to evaluate human time thresholds upon perceiving an image. Our evaluation protocol follows the procedure known as the adaptive staircase method (Figure 3) . An image is flashed for a limited length of time, after which the evaluator is asked to judge whether it is real or fake. If the evaluator consistently answers correctly, the staircase descends and flashes the next image with less time. If the evaluator is incorrect, the staircase ascends and provides more time.

This process requires sufficient iterations to converge to the evaluator’s perceptual threshold: the shortest exposure time at which they can maintain effective performance . The process produces what is known as the psychometric function , the relationship of timed stimulus exposure to accuracy. For example, for an easily distinguishable set of generated images, a human evaluator would immediately drop to the lowest millisecond exposure.

\textscHYPEtime\textsc{HYPE}_{\text{time}} displays three blocks of staircases for each evaluator. An image evaluation begins with a 3-2-1 countdown clock, each number displaying for 500500ms . The sampled image is then displayed for the current exposure time. Immediately after each image, four perceptual mask images are rapidly displayed for 3030ms each. These noise masks are distorted to prevent retinal afterimages and further sensory processing after the image disappears . We generate masks using an existing texture-synthesis algorithm . Upon each submission, \textscHYPEtime\textsc{HYPE}_{\text{time}} reveals to the evaluator whether they were correct.

Image exposures are in the range [100100ms, 10001000ms], derived from the perception literature . All blocks begin at 500500ms and last for 150150 images (5050% generated, 5050% real), values empirically tuned from prior work . Exposure times are raised at 1010ms increments and reduced at 3030ms decrements, following the 33-up/11-down adaptive staircase approach, which theoretically leads to a 75%75\% accuracy threshold that approximates the human perceptual threshold .

Every evaluator completes multiple staircases, called blocks, on different sets of images. As a result, we observe multiple measures for the model. We employ three blocks, to balance quality estimates against evaluators’ fatigue . We average the modal exposure times across blocks to calculate a final value for each evaluator. Higher scores indicate a better model, whose outputs take longer time exposures to discern from real.

Building on the previous method, we introduce \textscHYPE\textsc{HYPE}_{\infty}: a simpler, faster, and cheaper method after ablating \textscHYPEtime\textsc{HYPE}_{\text{time}} to optimize for speed, cost, and ease of interpretation. \textscHYPE\textsc{HYPE}_{\infty} shifts from a measure of perceptual time to a measure of human deception rate, given infinite evaluation time. The \textscHYPE\textsc{HYPE}_{\infty} score gauges total error on a task of 50 fake and 50 real images We explicitly reveal this ratio to evaluators. Amazon Mechanical Turk forums would enable evaluators to discuss and learn about this distribution over time, thus altering how different evaluators would approach the task. By making this ratio explicit, evaluators would have the same prior entering the task., enabling the measure to capture errors on both fake and real images, and effects of hyperrealistic generation when fake images look even more realistic than real images Hyper-realism is relative to the real dataset on which a model is trained. Some datasets already look less realistic because of lower resolution and/or lower diversity of images.. \textscHYPE\textsc{HYPE}_{\infty} requires fewer images than \textscHYPEtime\textsc{HYPE}_{\text{time}} to find a stable value, empirically producing a 66x reduction in time and cost (1010 minutes per evaluator instead of 6060 minutes, at the same rate of \12perhour).Higherscoresareagainbetter:per hour). Higher scores are again better:10\%\textsc{HYPE}_{\infty}indicatesthatonlyindicates that only10\%ofimagesdeceivepeople,whereasof images deceive people, whereas50\%indicatesthatpeoplearemistakingrealandfakeimagesatchance,renderingfakeimagesindistinguishablefromreal.Scoresaboveindicates that people are mistaking real and fake images at chance, rendering fake images indistinguishable from real. Scores above50\%$ suggest hyperrealistic images, as evaluators mistake images at a rate greater than chance.

\textscHYPE\textsc{HYPE}_{\infty} shows each evaluator a total of 100100 images: 5050 real and 5050 fake. We calculate the proportion of images that were judged incorrectly, and aggregate the judgments over the nn evaluators on kk images to produce the final score for a given model.

3 Consistent and reliable design

To ensure that our reported scores are consistent and reliable, we need to sample sufficiently from the model as well as hire, qualify, and appropriately pay enough evaluators.

Sampling sufficient model outputs. The selection of KK images to evaluate from a particular model is a critical component of a fair and useful evaluation. We must sample a large enough number of images that fully capture a model’s generative diversity, yet balance that against tractable costs in the evaluation. We follow existing work on evaluating generative output by sampling K=5000K=5000 generated images from each model and K=5000K=5000 real images from the training set. From these samples, we randomly select images to give to each evaluator.

Quality of evaluators. To obtain a high-quality pool of evaluators, each is required to pass a qualification task. Such a pre-task filtering approach, sometimes referred to as a person-oriented strategy, is known to outperform process-oriented strategies that perform post-task data filtering or processing . Our qualification task displays 100100 images (5050 real and 5050 fake) with no time limits. Evaluators must correctly classify 65%65\% of both real and fake images. This threshold should be treated as a hyperparameter and may change depending upon the GANs used in the tutorial and the desired discernment ability of the chosen evaluators. We choose 65%65\% based on the cumulative binomial probability of 65 binary choice answers out of 100 total answers: there is only a one in one-thousand chance that an evaluator will qualify by random guessing. Unlike in the task itself, fake qualification images are drawn equally from multiple different GANs to ensure an equitable qualification across all GANs. The qualification is designed to be taken occasionally, such that a pool of evaluators can assess new models on demand.

Payment. Evaluators are paid a base rate of \1forworkingonthequalificationtask.Toincentivizeevaluatorstoremainedengagedthroughoutthetask,allfurtherpayafterthequalificationcomesfromabonusoffor working on the qualification task. To incentivize evaluators to remained engaged throughout the task, all further pay after the qualification comes from a bonus of\0.020.02 per correctly labeled image, typically totaling a wage of \12$/hr.

Experimental setup

Datasets. We evaluate on four datasets. (1) CelebA-64 is popular dataset for unconditional image generation with 202202k images of human faces, which we align and crop to be 64×6464\times 64 px. (2) FFHQ-1024 is a newer face dataset with 7070k images of size 1024×10241024\times 1024 px. (3) CIFAR-10 consists of 6060k images, sized 32×3232\times 32 px, across 1010 classes. (4) ImageNet-5 is a subset of 55 classes with 6.56.5k images at 128×128128\times 128 px from the ImageNet dataset , which have been previously identified as easy (lemon, Samoyed, library) and hard (baseball player, French horn) .

Architectures. We evaluate on four state-of-the-art models trained on CelebA-64 and CIFAR-10: StyleGAN , ProGAN , BEGAN , and WGAN-GP . We also evaluate on two models, SN-GAN and BigGAN trained on ImageNet, sampling conditionally on each class in ImageNet-5. We sample BigGAN with (σ=0.5\sigma=0.5 ) and without the truncation trick.

We also evaluate on StyleGAN trained on FFHQ-1024 with (ψ=0.7\psi=0.7 ) and without truncation trick sampling. For parity on our best models across datasets, StyleGAN instances trained on CelebA-64 and CIFAR-10 are also sampled with the truncation trick.

Evaluator recruitment. We recruit 930930 evaluators from Amazon Mechanical Turk, or 30 for each run of HYPE. We explain our justification for this number in the Cost tradeoffs section. To maintain a between-subjects study in this evaluation, we recruit independent evaluators across tasks and methods.

Metrics. For \textscHYPEtime\textsc{HYPE}_{\text{time}}, we report the modal perceptual threshold in milliseconds. For \textscHYPE\textsc{HYPE}_{\infty}, we report the error rate as a percentage of images, as well as the breakdown of this rate on real and fake images separately. To show that our results for each model are separable, we report a one-way ANOVA with Tukey pairwise post-hoc tests to compare all models.

Reliability is a critical component of HYPE, as a benchmark is not useful if a researcher receives a different score when rerunning it. We use bootstrapping , repeated resampling from the empirical label distribution, to measure variation in scores across multiple samples with replacement from a set of labels. We report 95%95\% bootstrapped confidence intervals (CIs), along with standard deviation of the bootstrap sample distribution, by randomly sampling 3030 evaluators with replacement from the original set of evaluators across 10,00010,000 iterations.

Experiment 1: We run two large-scale experiments to validate HYPE. The first one focuses on the controlled evaluation and comparison of \textscHYPEtime\textsc{HYPE}_{\text{time}} against \textscHYPE\textsc{HYPE}_{\infty} on established human face datasets. We recorded responses totaling (44 CelebA-64 ++ 22 FFHQ-1024) models ×\times 3030 evaluators ×\times 550550 responses = 9999k total responses for our \textscHYPEtime\textsc{HYPE}_{\text{time}} evaluation and (44 CelebA-64 ++ 22 FFHQ-1024) models ×\times 3030 evaluators ×\times 100100 responses = 1818k, for our \textscHYPE\textsc{HYPE}_{\infty} evaluation.

Experiment 2: The second experiment evaluates \textscHYPE\textsc{HYPE}_{\infty} on general image datasets. We recorded (44 CIFAR-10 ++ 33 ImageNet-5) models ×\times 3030 evaluators ×\times 100100 responses = 5757k total responses.

We report results on \textscHYPEtime\textsc{HYPE}_{\text{time}} and demonstrate that the results of \textscHYPE\textsc{HYPE}_{\infty} approximates those from \textscHYPEtime\textsc{HYPE}_{\text{time}} at a fraction of the cost and time.

CelebA-64. We find that StyleGANtrunc\text{StyleGAN}_{\text{trunc}} resulted in the highest \textscHYPEtime\textsc{HYPE}_{\text{time}} score (modal exposure time), at a mean of 439.3439.3ms, indicating that evaluators required nearly a half-second of exposure to accurately classify StyleGANtrunc\text{StyleGAN}_{\text{trunc}} images (Table 1). StyleGANtrunc\text{StyleGAN}_{\text{trunc}} is followed by ProGAN at 363.7363.7ms, a 17%17\% drop in time. BEGAN and WGAN-GP are both easily identifiable as fake, tied in last place around the minimum available exposure time of 100100ms. Both BEGAN and WGAN-GP exhibit a bottoming out effect — reaching the minimum time exposure of 100100ms quickly and consistently.We do not pursue time exposures under 100100ms due to constraints on JavaScript browser rendering times.

To demonstrate separability between models we report results from a one-way analysis of variance (ANOVA) test, where each model’s input is the list of modes from each model’s 3030 evaluators. The ANOVA results confirm that there is a statistically significant omnibus difference (F(3,29)=83.5,p<0.0001F(3,29)=83.5,p<0.0001). Pairwise post-hoc analysis using Tukey tests confirms that all pairs of models are separable (all p<0.05p<0.05) except BEGAN and WGAN-GP (n.s.n.s.).

FFHQ-1024. We find that StyleGANtrunc\text{StyleGAN}_{\text{trunc}} resulted in a higher exposure time than StyleGANno-trunc\text{StyleGAN}_{\text{no-trunc}}, at 363.2363.2ms and 240.7240.7ms, respectively (Table 1). While the 95%95\% confidence intervals that represent a very conservative overlap of 2.72.7ms, an unpaired t-test confirms that the difference between the two models is significant (t(58)=2.3,p=0.02t(58)=2.3,p=0.02).

CelebA-64. Table 2 reports results for \textscHYPE\textsc{HYPE}_{\infty} on CelebA-64. We find that StyleGANtrunc\text{StyleGAN}_{\text{trunc}} resulted in the highest \textscHYPE\textsc{HYPE}_{\infty} score, fooling evaluators 50.7%50.7\% of the time. StyleGANtrunc\text{StyleGAN}_{\text{trunc}} is followed by ProGAN at 40.3%40.3\%, BEGAN at 10.0%10.0\%, and WGAN-GP at 3.8%3.8\%. No confidence intervals are overlapping and an ANOVA test is significant (F(3,29)=404.4,p<0.001F(3,29)=404.4,p<0.001). Pairwise post-hoc Tukey tests show that all pairs of models are separable (all p<0.05p<0.05). Notably, \textscHYPE\textsc{HYPE}_{\infty} results in separable results for BEGAN and WGAN-GP, unlike in \textscHYPEtime\textsc{HYPE}_{\text{time}} where they were not separable due to a bottoming-out effect.

FFHQ-1024. We observe a consistently separable difference between StyleGANtrunc\text{StyleGAN}_{\text{trunc}} and StyleGANno-trunc\text{StyleGAN}_{\text{no-trunc}} and clear delineations between models (Table 3). \textscHYPE\textsc{HYPE}_{\infty} ranks StyleGANtrunc\text{StyleGAN}_{\text{trunc}} (27.6%27.6\%) above StyleGANno-trunc\text{StyleGAN}_{\text{no-trunc}} (19.0%19.0\%) with no overlapping CIs. Separability is confirmed by an unpaired t-test (t(58)=8.3,p<0.001t(58)=8.3,p<0.001).

3 Cost tradeoffs with accuracy and time

One of HYPE’s goals is to be cost and time efficient. When running HYPE, there is an inherent tradeoff between accuracy and time, as well as between accuracy and cost. This is driven by the law of large numbers: recruiting additional evaluators in a crowdsourcing task often produces more consistent results, but at a higher cost (as each evaluator is paid for their work) and a longer amount of time until completion (as more evaluators must be recruited and they must complete their work).

To manage this tradeoff, we run an experiment with \textscHYPE\textsc{HYPE}_{\infty} on StyleGANtrunc\text{StyleGAN}_{\text{trunc}}. We completed an additional evaluation with 6060 evaluators, and compute 95%95\% bootstrapped confidence intervals, choosing from 1010 to 120120 evaluators (Figure 4). We see that the CI begins to converge around 3030 evaluators, our recommended number of evaluators to recruit.

Payment to evaluators was calculated as described in the Approach section. At 3030 evaluators, the cost of running \textscHYPEtime\textsc{HYPE}_{\text{time}} on one model was approximately \360,whilethecostofrunning, while the cost of running\textsc{HYPE}_{\infty}onthesamemodelwasapproximatelyon the same model was approximately\6060. Payment per evaluator for both tasks was approximately \12/hr.Evaluatorsspentanaverageofonehoureachona/hr. Evaluators spent an average of one hour each on a\textsc{HYPE}_{\text{time}}taskandtask and10minuteseachonaminutes each on a\textsc{HYPE}_{\infty}task.Thus,task. Thus,\textsc{HYPE}_{\infty}$ achieves its goals of being significantly cheaper to run, while maintaining consistency.

4 Comparison to automated metrics

As FID is one of the most frequently used evaluation methods for unconditional image generation, it is imperative to compare HYPE against FID on the same models. We also compare to two newer automated metrics: KID , an unbiased estimator independent of sample size, and F1/8F_{1/8} (precision) , which captures fidelity independently. We show through Spearman rank-order correlation coefficients that HYPE scores are not correlated with FID (ρ=0.029,p=0.96\rho=-0.029,p=0.96), where a Spearman correlation of 1.0-1.0 is ideal because lower FID and higher HYPE scores indicate stronger models. We therefore find that FID is not highly correlated with human judgment. Meanwhile, \textscHYPEtime\textsc{HYPE}_{\text{time}} and \textscHYPE\textsc{HYPE}_{\infty} exhibit strong correlation (ρ=1.0,p=0.0\rho=1.0,p=0.0), where 1.01.0 is ideal because they are directly related. We calculate FID across the standard protocol of 5050K generated and 5050K real images for both CelebA-64 and FFHQ-1024, reproducing scores for StyleGANno-trunc\text{StyleGAN}_{\text{no-trunc}}. KID (ρ=0.609,p=0.20\rho=-0.609,p=0.20) and precision (ρ=0.657,p=0.16\rho=0.657,p=0.16) both show a statistically insignificant but medium level of correlation with humans.

HYPE can also be used to evaluate progress during model training. We find that \textscHYPE\textsc{HYPE}_{\infty} scores increased as StyleGAN training progressed from 29.5%29.5\% at 44k epochs, to 45.9%45.9\% at 99k epochs, to 50.3%50.3\% at 2525k epochs (F(2,29)=63.3,p<0.001F(2,29)=63.3,p<0.001).

We now turn to another popular image generation task: objects. As Experiment 1 showed \textscHYPE\textsc{HYPE}_{\infty} to be an efficient and cost effective variant of \textscHYPEtime\textsc{HYPE}_{\text{time}}, here we focus exclusively on \textscHYPE\textsc{HYPE}_{\infty}.

We evaluate conditional image generation on five ImageNet classes (Table 4). We also report FID , KID , and F1/8F_{1/8} (precision) scores. To evaluate the relative effectiveness of the three GANs within each object class, we compute five one-way ANOVAs, one for each of the object classes. We find that the \textscHYPE\textsc{HYPE}_{\infty} scores are separable for images from three easy classes: samoyeds (dogs) (F(2,29)=15.0,p<0.001F(2,29)=15.0,p<0.001), lemons (F(2,29)=4.2,p=0.017F(2,29)=4.2,p=0.017), and libraries (F(2,29)=4.9,p=0.009F(2,29)=4.9,p=0.009). Pairwise Posthoc tests reveal that this difference is only significant between SN-GAN and the two BigGAN variants. We also observe that models have unequal strengths, e.g. SN-GAN is better suited to generating libraries than samoyeds.

Comparison to automated metrics. Spearman rank-order correlation coefficients on all three GANs across all five classes show that there is a low to moderate correlation between the \textscHYPE\textsc{HYPE}_{\infty} scores and KID (ρ=0.377,p=0.02\rho=-0.377,p=0.02), FID (ρ=0.282,p=0.01\rho=-0.282,p=0.01), and negligible correlation with precision (ρ=0.067,p=0.81\rho=-0.067,p=0.81). Some correlation for our ImageNet-5 task is expected, as these metrics use pretrained ImageNet embeddings to measure differences between generated and real data.

Interestingly, we find that this correlation depends upon the GAN: considering only SN-GAN, we find stronger coefficients for KID (ρ=0.500,p=0.39\rho=-0.500,p=0.39), FID (ρ=0.300,p=0.62\rho=-0.300,p=0.62), and precision (ρ=0.205,p=0.74\rho=-0.205,p=0.74). When considering only BigGAN, we find far weaker coefficients for KID (ρ=0.151,p=0.68\rho=-0.151,p=0.68), FID (ρ=0.067,p=.85\rho=-0.067,p=.85), and precision (ρ=0.164,p=0.65\rho=-0.164,p=0.65). This illustrates an important flaw with these automatic metrics: their ability to correlate with humans depends upon the generative model that the metrics are evaluating on, varying by model and by task.

2 CIFAR-10

For the difficult task of unconditional generation on CIFAR-10, we use the same four model architectures in Experiment 1: CelebA-64. Table 5 shows that \textscHYPE\textsc{HYPE}_{\infty} was able to separate StyleGANtrunc\text{StyleGAN}_{\text{trunc}} from the earlier BEGAN, WGAN-GP, and ProGAN, indicating that StyleGAN is the first among them to make human-perceptible progress on unconditional object generation with CIFAR-10.

Comparison to automated metrics. Spearman rank-order correlation coefficients on all four GANs show medium, yet statistically insignificant, correlations with KID (ρ=0.600,p=0.40\rho=-0.600,p=0.40) and FID (ρ=0.600,p=0.40\rho=0.600,p=0.40) and precision (ρ=.800,p=0.20\rho=-.800,p=0.20).

Related work

Cognitive psychology. We leverage decades of cognitive psychology to motivate how we use stimulus timing to gauge the perceptual realism of generated images. It takes an average of 150150ms of focused visual attention for people to process and interpret an image, but only 120120ms to respond to faces because our inferotemporal cortex has dedicated neural resources for face detection . Perceptual masks are placed between a person’s response to a stimulus and their perception of it to eliminate post-processing of the stimuli after the desired time exposure . Prior work in determining human perceptual thresholds generates masks from their test images using the texture-synthesis algorithm . We leverage this literature to establish feasible lower bounds on the exposure time of images, the time between images, and the use of noise masks.

Success of automatic metrics. Common generative modeling tasks include realistic image generation , machine translation , image captioning , and abstract summarization , among others. These tasks often resort to automatic metrics like the Inception Score (IS) and Fréchet Inception Distance (FID) to evaluate images and BLEU , CIDEr and METEOR scores to evaluate text. While we focus on how realistic generated content appears, other automatic metrics also measure diversity of output, overfitting, entanglement, training stability, and computational and sample efficiency of the model . Our metric may also capture one aspect of output diversity, insofar as human evaluators can detect similarities or patterns across images. Our evaluation is not meant to replace existing methods but to complement them.

Limitations of automatic metrics. Prior work has asserted that there exists coarse correlation of human judgment to FID and IS , leading to their widespread adoption. Both metrics depend on the Inception-v3 Network , a pretrained ImageNet model, to calculate statistics on the generated output (for IS) and on the real and generated distributions (for FID). The validity of these metrics when applied to other datasets has been repeatedly called into question . Perturbations imperceptible to humans alter their values, similar to the behavior of adversarial examples . Finally, similar to our metric, FID depends on a set of real examples and a set of generated examples to compute high-level differences between the distributions, and there is inherent variance to the metric depending on the number of images and which images were chosen—in fact, there exists a correlation between accuracy and budget (cost of computation) in improving FID scores, because spending a longer time and thus higher cost on compute will yield better FID scores . Nevertheless, this cost is still lower than paid human annotators per image.

Human evaluations. Many human-based evaluations have been attempted to varying degrees of success in prior work, either to evaluate models directly or to motivate using automated metrics . Prior work also used people to evaluate GAN outputs on CIFAR-10 and MNIST and even provided immediate feedback after every judgment . They found that generated MNIST samples have saturated human performance — i.e. people cannot distinguish generated numbers from real MNIST numbers, while still finding 21.3%21.3\% error rate on CIFAR-10 with the same model . This suggests that different datasets will have different levels of complexity for crossing realistic or hyper-realistic thresholds. The closest recent work to ours compares models using a tournament of discriminators . Nevertheless, this comparison was not yet rigorously evaluated on humans nor were human discriminators presented experimentally. The framework we present would enable such a tournament evaluation to be performed reliably and easily.

Discussion and conclusion

Envisioned Use. We created HYPE as a turnkey solution for human evaluation of generative models. Researchers can upload their model, receive a score, and compare progress via our online deployment. During periods of high usage, such as competitions, a retainer model enables evaluation using \textscHYPE\textsc{HYPE}_{\infty} in 1010 minutes, instead of the default 3030 minutes.

Limitations. Extensions of HYPE may require different task designs. In the case of text generation (translation, caption generation), \textscHYPEtime\textsc{HYPE}_{\text{time}} will require much longer and much higher range adjustments to the perceptual time thresholds . In addition to measuring realism, other metrics like diversity, overfitting, entanglement, training stability, and computational and sample efficiency are additional benchmarks that can be incorporated but are outside the scope of this paper. Some may be better suited to a fully automated evaluation . Similar to related work in evaluating text generation , we suggest that diversity can be incorporated using the automated recall score measures diversity independently from precision F1/8F_{1/8} .

Conclusion. HYPE provides two human evaluation benchmarks for generative models that (1) are grounded in psychophysics, (2) provide task designs that produce reliable results, (3) separate model performance, (4) are cost and time efficient. We introduce two benchmarks: \textscHYPEtime\textsc{HYPE}_{\text{time}}, which uses time perceptual thresholds, and \textscHYPE\textsc{HYPE}_{\infty}, which reports the error rate sans time constraints. We demonstrate the efficacy of our approach on image generation across six models {StyleGAN, SN-GAN, BigGAN, ProGAN, BEGAN, WGAN-GP}, four image datasets {CelebA-64, FFHQ-1024, CIFAR-10, ImageNet-5 }, and two types of sampling methods {with, without the truncation trick}.

Acknowledgements

We thank Kamyar Azizzadenesheli, Tatsu Hashimoto, and Maneesh Agrawala for insightful conversations and support. We also thank Durim Morina and Gabby Wright for their contributions to the HYPE system and website. M.L.G. was supported by a Junglee Corporation Stanford Graduate Fellowship. This work was supported in part by an Alfred P. Sloan fellowship. Toyota Research Institute (“TRI”) provided funds to assist the authors with their research but this article solely reflects the opinions and conclusions of its authors and not TRI or any other Toyota entity.

References