FIANCEE: Faster Inference of Adversarial Networks via Conditional Early Exits
Preprint
Abstract
Generative DNNs are a powerful tool for image synthesis, but they are limited by their computational load. On the other hand, given a trained model and a task, e.g. faces generation within a range of characteristics, the output image quality will be unevenly distributed among images with different characteristics. It follows, that we might restrain the models complexity on some instances, maintaining a high quality. We propose a method for diminishing computations by adding so-called early exit branches to the original architecture, and dynamically switching the computational path depending on how difficult it will be to render the output. We apply our method on two different SOTA models performing generative tasks: generation from a semantic map, and cross-reenactment of face expressions; showing it is able to output images with custom lower-quality thresholds. For a threshold of LPIPS <=0.1, we diminish their computations by up to a half. This is especially relevant for real-time applications such as synthesis of faces, when quality loss needs to be contained, but most of the inputs need fewer computations than the complex instances.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Adversarial text-to-image synthesis: A reviewNeural Networks, 2021
- Image synthesis with adversarial networks: A comprehensive survey and case studiesInformation Fusion, 2021
- Knowledge Distillation: A SurveyInternational Journal of Computer Vision, 2021
- RetrieveGAN: Image Synthesis via Differentiable Patch Retrieval2020
- Early Exit or Not: Resource-Efficient Blind Quality Enhancement for Compressed Images2020
- Neural Predictor for Neural Architecture Search2020
- Fast Bi-Layer Neural Synthesis of One-Shot Realistic Head Avatars2020
- Why Should We Add Early Exits to Neural Networks?Cognitive Computation, 2020
- The cascading neural network: building the Internet of Smart ThingsKnowledge and Information Systems, 2017
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution2016