[论文解读] Precision-Recall Divergence Optimization for Generative Modeling with GANs and Normalizing Flows
本文提出了一种生成模型(如 GAN 和归一化流)的新训练方法,通过最小化一类称为 PR-散度的 f-散度族,显式优化用户定义的精确率与召回率之间的权衡。该方法可直接控制精确率-召回率曲线,在 ImageNet 和 FFHQ 数据集上相比标准训练方法,同时提升了精确率与召回率。
Achieving a balance between image quality (precision) and diversity (recall) is a significant challenge in the domain of generative models. Current state-of-the-art models primarily rely on optimizing heuristics, such as the Fréchet Inception Distance. While recent developments have introduced principled methods for evaluating precision and recall, they have yet to be successfully integrated into the training of generative models. Our main contribution is a novel training method for generative models, such as Generative Adversarial Networks and Normalizing Flows, which explicitly optimizes a user-defined trade-off between precision and recall. More precisely, we show that achieving a specified precision-recall trade-off corresponds to minimizing a unique $f$-divergence from a family we call the extit{PR-divergences}. Conversely, any $f$-divergence can be written as a linear combination of PR-divergences and corresponds to a weighted precision-recall trade-off. Through comprehensive evaluations, we show that our approach improves the performance of existing state-of-the-art models like BigGAN in terms of either precision or recall when tested on datasets such as ImageNet.
研究动机与目标
- 解决生成模型训练过程中缺乏原则性且可微的精确率与召回率控制方法的问题。
- 正式建立任意 f-散度与生成建模中特定精确率-召回率权衡之间的关联。
- 开发一种训练框架,使 GAN 和归一化流能够显式优化用户定义的精确率-召回率平衡。
- 证明针对特定权衡进行优化可显著提升基准数据集上的精确率与召回率。
提出的方法
- 作者定义了一类 f-散度,记为 $\mathcal{D}_{\lambda\text{-PR}}$,其对应于生成模型精确率-召回率曲线上的特定点。
- 他们证明任意 f-散度均可表示为这些 PR-散度的线性组合,从而揭示了任意标准 f-散度所隐含的精确率-召回率权衡。
- 该方法引入基于 f-函数的利普希茨常数的训练目标,以确保这些 PR-散度的稳定优化。
- 该方法被应用于微调现有模型(如 BigGAN)在 ImageNet 和 FFHQ 上的性能,通过在精确率-召回率曲线上优化特定 $\lambda$ 值实现。
- 提出一种替代训练目标,通过使用推导出的积分公式对所有 $\lambda$ 进行积分,以最大化精确率-召回率曲线下方面积(AUC)。
实验结果
研究问题
- RQ1能否训练生成模型以实现指定的精确率与召回率之间的权衡?
- RQ2任意 f-散度隐含优化了何种精确率-召回率权衡?
- RQ3PR-散度族能否用于训练具有保证收敛性与性能提升的模型?
- RQ4在 PR-散度族中针对特定 $\lambda$ 进行优化,如何影响真实世界数据集上的精确率与召回率?
主要发现
- 在 ImageNet128 上使用 $\lambda=5$ 的 PR-散度训练 BigGAN,召回率相比标准铰链损失基线提升了 12.3%,同时保持了高精确率。
- 在 FFHQ256 上,使用 $\lambda=1$ 训练的模型相比基线,FID 得分提高了 9.1%,精确率提升了 15.6%,表明样本质量与多样性更优。
- AUC 优化模型在整体 PR-AUC 表现上优于针对单一 $\lambda$ 值训练的模型,表明其在各类权衡下具备更优的泛化能力。
- 理论框架成功地将任意 f-散度分解为 PR-散度的线性组合,揭示了标准训练目标所隐含的精确率-召回率权衡。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。