EDDY: Diverse Sampling in Diffusion Models
with Divergence-Free Particle Guidance

Gal Vinograd1 Idan Achituve2 Ethan Fetaya1
1Bar-Ilan University 2Independent Researcher
EDDY (Ours)“a chef's display of ingredients and pastry creations”
EDDY sample 1 of 4 for the prompt "a chef's display of ingredients and pastry creations"
EDDY sample 2 of 4 for the prompt "a chef's display of ingredients and pastry creations"
EDDY sample 3 of 4 for the prompt "a chef's display of ingredients and pastry creations"
EDDY sample 4 of 4 for the prompt "a chef's display of ingredients and pastry creations"
I.I.D“a chef's display of ingredients and pastry creations”
I.I.D sample 1 of 4 for the prompt "a chef's display of ingredients and pastry creations"
I.I.D sample 2 of 4 for the prompt "a chef's display of ingredients and pastry creations"
I.I.D sample 3 of 4 for the prompt "a chef's display of ingredients and pastry creations"
I.I.D sample 4 of 4 for the prompt "a chef's display of ingredients and pastry creations"
PG“a chef's display of ingredients and pastry creations”
PG sample 1 of 4 for the prompt "a chef's display of ingredients and pastry creations"
PG sample 2 of 4 for the prompt "a chef's display of ingredients and pastry creations"
PG sample 3 of 4 for the prompt "a chef's display of ingredients and pastry creations"
PG sample 4 of 4 for the prompt "a chef's display of ingredients and pastry creations"
DF“a chef's display of ingredients and pastry creations”
DF sample 1 of 4 for the prompt "a chef's display of ingredients and pastry creations"
DF sample 2 of 4 for the prompt "a chef's display of ingredients and pastry creations"
DF sample 3 of 4 for the prompt "a chef's display of ingredients and pastry creations"
DF sample 4 of 4 for the prompt "a chef's display of ingredients and pastry creations"
CADS“a chef's display of ingredients and pastry creations”
CADS sample 1 of 4 for the prompt "a chef's display of ingredients and pastry creations"
CADS sample 2 of 4 for the prompt "a chef's display of ingredients and pastry creations"
CADS sample 3 of 4 for the prompt "a chef's display of ingredients and pastry creations"
CADS sample 4 of 4 for the prompt "a chef's display of ingredients and pastry creations"
PG and DF: Increase in variety with visible artifacts. CADS: High-quality samples but with low prompt adherence (no chef or ingredients in any image, burgers instead of pastries). I.I.D: Low diversity between samples. EDDY: Diverse output that preserves quality and prompt fidelity.

Abstract

Modern generative models can produce high-quality samples, but independent samples under the same condition often yields highly similar outputs. Particle-based methods increase diversity by letting the samples in a batch interact, typically through a repulsive force. These forces, however, also push each sample away from the data distribution and produce visible artifacts. We introduce EDDY, a training-free particle guidance method designed to avoid this failure mode. Instead of a repulsive gradient, EDDY couples particles through anti-symmetric matrix fields passed through a Stein operator, a family of drift perturbations that leaves the Fokker--Planck equation invariant. Unlike repulsive guidance, these interactions do not alter a particle's distribution while the batch is independent. For the same reason they cannot create diversity on their own, so EDDY pairs them with a negatively correlated initialization that keeps each particle's prior exact. To use EDDY with perceptual kernels such as DINOv2, we approximate its second-order terms with finite differences and Hutchinson estimates. Across FLUX.1-dev, FLUX.2-klein and SDXL, EDDY achieves higher image quality and prompt alignment than existing particle guidance methods at matched diversity.

EDDY's Building Block

Let \(k(x,y)\) be a similarity kernel (e.g. RBF). Naively, driving particles away from \(x_{\mathrm{star}}\) can be achieved using the negative kernel gradient:

Naive repulsion

Unfortunately, this distorts the marginal distribution. Instead, EDDY constructs an anti-symmetric matrix field using direction \( v_\textrm{star} \) and applies Stein's operator, producing a vortex-like (eddy-like) motion that preserves the marginal exactly:

EDDY (Ours)
Show the math

Naive repulsion uses the negative kernel gradient as a repulsive direction \(r := -\nabla_x k(x,\,x_{\mathrm{star}})\).

EDDY instead builds an anti-symmetric matrix from repulsive vector \(r\) and an arbitrary transport vector \(v_\textrm{star}\): \[ A \;:=\; r \otimes v_\textrm{star} \;-\; v_\textrm{star} \otimes r, \] and applies Stein's operator with respect to the underlying distribution \(p\): \[ \mathcal{A}_p(A) :\;=\; A\,\nabla\log p(x_{\mathrm{star}}) \;+\; \operatorname{div} A. \] Interestingly, \(\text{div}\,A\) is the divergence-free kernel \[ \bigl(\nabla^2_x k(x,x_\textrm{star}) \;-\; \Delta_x k(x,x_\textrm{star}) \bigr) \; v_\textrm{star}, \] which dominates \(\mathcal{A}_p(A)\) as the dimension grows.

EDDY Promotes Diversity

When the direction \(v_1,\ldots,v_n\) is chosen as the velocity each particle \(x_1,\ldots,x_n\) follows in a diffusion or flow matching process, EDDY's building block naturally promotes diversity — steering particles toward different modes without altering any particle's marginal distribution:

I.I.D
EDDY (Ours)

BibTeX

@article{vinograd2026eddy,
  title   = {Diverse Sampling in Diffusion Models with Divergence-Free Particle Guidance},
  author  = {Vinograd, Gal and Achituve, Idan and Fetaya, Ethan},
  journal = {arXiv preprint arXiv:2605.06553},
  year    = {2026}
}