Skip to main content
QUICK REVIEW

[论文解读] DIAMOND: Directed Inference for Artifact Mitigation in Flow Matching Models

Alicja Polowczyk, Agnieszka Polowczyk|arXiv (Cornell University)|Jan 31, 2026
Generative Adversarial Networks and Image SynthesisComputer Science被引用 0
一句话总结

DIAMOND 是一种训练-free 推理时方法,在采样过程中通过估计干净潜变量并应用基于梯度的轨迹修正来纠正流场匹配与扩散模型中的伪影。

ABSTRACT

Despite impressive results from recent text-to-image models like FLUX, visual and anatomical artifacts remain a significant hurdle for practical and professional use. Existing methods for artifact reduction, typically work in a post-hoc manner, consequently failing to intervene effectively during the core image formation process. Notably, current techniques require problematic and invasive modifications to the model weights, or depend on a computationally expensive and time-consuming process of regional refinement. To address these limitations, we propose DIAMOND, a training-free method that applies trajectory correction to mitigate artifacts during inference. By reconstructing an estimate of the clean sample at every step of the generative trajectory, DIAMOND actively steers the generation process away from latent states that lead to artifacts. Furthermore, we extend the proposed method to standard Diffusion Models, demonstrating that DIAMOND provides a robust, zero-shot path to high-fidelity, artifact-free image synthesis without the need for additional training or weight modifications in modern generative architectures. Code is available at https://gmum.github.io/DIAMOND/

研究动机与目标

  • 在高成本微调下推动图像合成过程中的实用伪影降低。
  • 开发一个训练无关的流水线,在生成过程中随时检测并纠正伪影。
  • 实现精确的区域级引导,在降低伪影的同时保持提示保真度。

提出的方法

  • 从中间潜变量利用 Flow Matching 的预测速度 v_theta(或 Diffusion 的噪声预测)计算干净的潜在估计 hat{x}_{0,t}。
  • 将 hat{x}_{0,t} 解码为图像并应用可微分的伪影检测器以获得伪影掩码 M^t。
  • 将伪影损失 L_a 定义为像素上的伪影概率的均方,并对 x_t 计算梯度。
  • 对梯度归一化并将由时间相关的 lambda_t 缩放的 delta_t 应用于轨迹修正,以远离伪影。
  • 使用基于幂的时间表 lambda_t,在前期应用更强的修正,后续逐步衰减。
  • 通过在 t-1 的更新中引入 delta_t 来推广修正到扩散模型,类似于基于流的公式中的做法。
Figure 3 : Overview of DIAMOND . Our technique employs an inference-time pipeline specifically designed to mitigate artifacts without requiring additional training. Artifact suppression is achieved by correcting the trajectory using gradients derived from a pixel-wise segmentation loss. During infer
Figure 3 : Overview of DIAMOND . Our technique employs an inference-time pipeline specifically designed to mitigate artifacts without requiring additional training. Artifact suppression is achieved by correcting the trajectory using gradients derived from a pixel-wise segmentation loss. During infer

实验结果

研究问题

  • RQ1是否能够在不重新训练或微调模型的情况下实现伪影-free 的图像合成?
  • RQ2基于可微分伪影检测器的即时轨迹修正是否在降低伪影的同时保持提示保真度?
  • RQ3伪影引导采样在不同基础模型(Rectified Flow 与 Diffusion)及数据集上的表现如何?
  • RQ4梯度归一化与正则化项对伪影降低和身份保持的影响?
  • RQ5哪种伪影检测器在伪影降低与图像质量之间提供最佳权衡?

主要发现

  • DIAMOND 将伪影频率从基线水平显著降低(例如从 100.000% 降至大约 9–31%,取决于模型与数据集)。
  • DIAMOND 在各模型上实现了更低的伪影像素比,表明伪影抑制更具局部性。
  • DIAMOND 在降低伪影并在可选的 L_rec 正则化下,维持或略微提升感知质量指标(CLIP-T、ImageReward)并保持基础模型身份。
  • 梯度归一化稳定轨迹修正并增强伪影抑制效果。
  • DIAMOND 可泛化至 Flow Matching(如 FLUX)和 Diffusion 模型(如 SDXL),在伪影降低方面优于 DiffDoctor、HandsXL、HPSv2 等替代方法。
  • 伪影检测器的选择(DiffDoctor 与 RichHF*)对整体图像质量有实质影响,其中 DiffDoctor 在 CLIP-T 与 ImageReward 得分上表现更好。
Figure 13 : Images for the FLUX.1 [dev] on the people dataset using DIAMOND for 10 inference steps. In this type of flow matching model, we can direct the trajectory by correcting large artifacts, such as improving the body shape (see the image with the wizards), and smaller ones (correcting the han
Figure 13 : Images for the FLUX.1 [dev] on the people dataset using DIAMOND for 10 inference steps. In this type of flow matching model, we can direct the trajectory by correcting large artifacts, such as improving the body shape (see the image with the wizards), and smaller ones (correcting the han

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。