Focal Frequency Loss for Generative Models
focal-frequency-loss
This repository will provide the official code for the following paper:
Focal Frequency Loss for Generative Models
Liming Jiang, Bo Dai, Wayne Wu and Chen Change Loy
arXiv preprint, 2020.
Abstract: Despite the remarkable success of generative models in creating photorealistic images using deep neural networks, gaps could still exist between the real and generated images, especially in the frequency domain. In this study, we find that narrowing the frequency domain gap can ameliorate the image synthesis quality further. To this end, we propose the focal frequency loss, a novel objective function that brings optimization of generative models into the frequency domain. The proposed loss allows the model to dynamically focus on the frequency components that are hard to synthesize by down-weighting the easy frequencies.