Artifact Detector Activation Across Trajectory Steps
Detection is performed only on the estimated x̂0,t; it is not applied to xt.
Qualitative Results
Additional Results Across Three Datasets
Each example smoothly transitions between Baseline and DIAMOND.
Baseline
DIAMOND
Baseline
DIAMOND
Baseline
DIAMOND
Baseline
DIAMOND
Overview of DIAMOND
Our technique employs an inference-time pipeline designed to mitigate artifacts without additional training.
Artifact suppression is achieved by correcting the trajectory using gradients derived from a pixel-wise segmentation loss. During inference, the latent representation is iteratively updated using controlled shifts along the trajectory, enabling progressive correction of artifact-prone regions.
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.
BibTeX
@misc{polowczyk2026diamonddirectedinferenceartifact,
title={DIAMOND: Directed Inference for Artifact Mitigation in Flow Matching Models},
author={Alicja Polowczyk and Agnieszka Polowczyk and Piotr Borycki and Joanna Waczyńska and Jacek Tabor and Przemysław Spurek},
year={2026},
eprint={2602.00883},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2602.00883}
}