arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.10306cs.CVcs.AI
收藏

FIANCEE:通过条件早退实现对抗网络的更快推理

FIANCEE: Faster Inference of Adversarial Networks via Conditional Early Exits

Samsung Research(三星研究院);Higher School of Economics(高等经济学院);Lomonosov Moscow State University(罗蒙诺索夫莫斯科国立大学)

Polina Karpikova, Radionova Ekaterina, Anastasia Yaschenko, Andrei Spiridonov, Leonid Kostyushko, Riccardo Fabbricatore, Aleksei Ivakhnenko

AI总结:

本文提出 FIANCEE,通过在生成对抗网络中加入条件早退分支,按样本难度动态选择计算路径,在 LPIPS≤0.1 时最多减少一半计算量。

摘要:

生成式深度神经网络(DNN)是图像合成的强大工具,但其计算负载限制了应用。另一方面,给定一个训练好的模型和任务,例如在一定特征范围内生成人脸,输出图像质量会在具有不同特征的图像之间呈不均匀分布。因此,我们可以在某些样本上限制模型复杂度,同时保持较高质量。我们提出一种减少计算量的方法:在原始架构中添加所谓的早退分支,并根据渲染输出的难度动态切换计算路径。我们将该方法应用于两个执行生成任务的不同 SOTA 模型:从语义图生成图像,以及面部表情的跨身份重演;结果表明,它能够以自定义的较低质量阈值输出图像。在 LPIPS ≤0.1 的阈值下,我们将其计算量最多减少一半。这对于人脸合成等实时应用尤其重要,因为这类应用需要控制质量损失,同时大多数输入所需的计算又少于复杂样本。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑