[论文解读] Benchmarking Counterfactual Image Generation
本文提出一个基于 SCM 的综合基准框架,用于评估反事实图像生成方法,在 MorphoMNIST 和 CelebA 上比较 VAE、HVAE 和 GAN 家族,使用真实感、最小化、组合性和有效性等指标。结果表明基于 Deep-SCM 的层级变分方法(HVAE)在大多数指标上通常优于其他模型。
Generative AI has revolutionised visual content editing, empowering users to effortlessly modify images and videos. However, not all edits are equal. To perform realistic edits in domains such as natural image or medical imaging, modifications must respect causal relationships inherent to the data generation process. Such image editing falls into the counterfactual image generation regime. Evaluating counterfactual image generation is substantially complex: not only it lacks observable ground truths, but also requires adherence to causal constraints. Although several counterfactual image generation methods and evaluation metrics exist, a comprehensive comparison within a unified setting is lacking. We present a comparison framework to thoroughly benchmark counterfactual image generation methods. We integrate all models that have been used for the task at hand and expand them to novel datasets and causal graphs, demonstrating the superiority of Hierarchical VAEs across most datasets and metrics. Our framework is implemented in a user-friendly Python package that can be extended to incorporate additional SCMs, causal methods, generative models, and datasets for the community to build on. Code: https://github.com/gulnazaki/counterfactual-benchmark.
研究动机与目标
- 动机:在结构因果模型(SCMs)下,对反事实图像生成进行标准化评估的必要性。
- 提出一个全面、可扩展的基准框架和用于 SCM 基于反事实的 Python 包。
- 在 Abduction-Action-Prediction 模型范式下,系统性比较三大模型族(正则化流 Normalising Flows,VAEs/HVAE,GANs)。
- 主张真实感和最小性作为除了公理化的组合性、有效性和可逆性之外的基本评估标准。
提出的方法
- 采用 Pearlian SCMs 与 Abduction-Action-Prediction 进行图像生成中的反事实推断。
- 在 Deep-SCM 框架内比较三大可逆机制族:条件 normalising flows、条件 VAEs/HVAEs、以及条件 GANs。
- 使用端到端可逆或摊销机制来建模高维图像变量及其低维属性。
- 利用受公理启发的评估指标(组合性、有效性、可逆性)以及真实感(FID)和最小性(基于 CLD 的)来评估反事实。
- 在 MorphoMNIST (32x32) 和 CelebA (64x64) 上应用带有预定义因果图的标准化评估协议。
- 提供一个 Python 包以便扩展到其他 SCM、模型和数据集。
实验结果
研究问题
- RQ1在 SCM 下如何在无真实地面真相的情形中评估反事实图像生成?
- RQ2哪一类模型家族(基于 NF、VAE/HVAE、GAN)在不同数据集上最能支持准确、真实且具最小性的反事实?
- RQ3在评估图像编辑时,真实感和最小性指标是否与传统的反事实公理相一致?
- RQ4基于 Deep-SCM 的 HVAE 在组合性、有效性和真实感方面与其他方法在 MorphoMNIST 和 CelebA 上的比较如何?
主要发现
- HVAE(高度分层的 VAE)在各项指标和数据集上始终实现最佳的组合性和最小失真。
- 在 MorphoMNIST 和 CelebA 上,HVAE 在组合性(l1 图像、l1 嵌入、LPIPS)和真实感(FID)方面超越 VAE 和 GAN 家族。
- 条件化和循环训练提升反事实保真度,HVAE 和微调后的 HVAE 在预测干预属性方面显示出最强的有效性。
- 相较于 HVAE,GANs 在多轮次组合和真实感方面存在困难,特别是在 CelebA 上,其最小性和 FID 落后于 HVAE。
- 真实感和最小性指标与基于 HVAE 的反事实在保留原始细节方面的定性保持相关,而 VAEs 往往在重复编辑中使内容模糊,GANs 会扭曲内容。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。