On Aliased Resizing and Surprising Subtleties in GAN Evaluation

被引:110
作者
Parmar, Gaurav [1 ]
Zhang, Richard [2 ]
Zhu, Jun-Yan [1 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[2] Adobe Res, San Francisco, CA USA
来源
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2022年
关键词
D O I
10.1109/CVPR52688.2022.01112
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Metrics for evaluating generative models aim to measure the discrepancy between real and generated images. The often-used Frechet Inception Distance (FID) metric, for example, extracts "high-level" features using a deep network from the two sets. However, we find that the differences in "low-level" preprocessing, specifically image resizing and compression, can induce large variations and have unforeseen consequences. For instance, when resizing an image, e.g., with a bilinear or bicubic kernel, signal processing principles mandate adjusting prefilter width depending on the downsampling factor, to antialias to the appropriate bandwidth. However, commonly-used implementations use a fixed-width prefilter, resulting in aliasing artifacts. Such aliasing leads to corruptions in the feature extraction downstream. Next, lossy compression, such as JPEG, is commonly used to reduce the file size of an image. Although designed to minimally degrade the perceptual quality of an image, the operation also produces variations downstream. Furthermore, we show that if compression is used on real training images, FID can actually improve if the generated images are also subsequently compressed. This paper shows that choices in low-level image processing have been an under-appreciated aspect of generative modeling. We identify and characterize variations in generative modeling development pipelines, provide recommendations based on signal processing principles, and release a reference implementation to facilitate future comparisons.
引用
收藏
页码:11400 / 11410
页数:11
相关论文
共 77 条
[1]  
[Anonymous], 2018, Advances in Neural Information Processing Systems (NeurIPS)
[2]  
[Anonymous], 2014, Advances in Neural Information Processing Systems
[3]  
Arora S., 2018, P 6 INT C LEARN REPR
[4]  
Azulay A, 2019, J MACH LEARN RES, V20
[5]  
Barron Jonathan T., 2021, ArXiv, V1, P2
[6]  
Binkowski M., 2018, INT C LEARNING REPRE
[7]   Pros and cons of GAN evaluation measures [J].
Borji, Ali .
COMPUTER VISION AND IMAGE UNDERSTANDING, 2019, 179 :41-65
[8]  
Brock A., 2019, ICLR
[9]   What Makes Fake Images Detectable? Understanding Properties that Generalize [J].
Chai, Lucy ;
Bau, David ;
Lim, Ser-Nam ;
Isola, Phillip .
COMPUTER VISION - ECCV 2020, PT XXVI, 2020, 12371 :103-120
[10]   StarGAN v2: Diverse Image Synthesis for Multiple Domains [J].
Choi, Yunjey ;
Uh, Youngjung ;
Yoo, Jaejun ;
Ha, Jung-Woo .
2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2020), 2020, :8185-8194