Discriminator Guidance for Autoregressive Diffusion Models
Filip Ekström Kelvinius, Fredrik Lindsten
TL;DR
The paper addresses generating discrete data with autoregressive diffusion by introducing discriminator guidance to ARDMs. It develops ARDG to directly correct intermediate conditionals using a discriminator, and introduces two Sequential Monte Carlo variants (BSDG and FADG) to mitigate errors from imperfect discriminators and enable parallel sampling. With perfect discriminators, ARDG yields exact sampling from the data distribution; with sub-optimal discriminators, BSDG and FADG provide robust, higher-quality samples, demonstrated on molecular graph generation tasks. The approach improves key generation metrics on QM9 and MOSES while offering a controllable compute-quality trade-off via the number of SMC particles and the generation order strategy, enhancing practical applicability for graph-based generative modeling.
Abstract
We introduce discriminator guidance in the setting of Autoregressive Diffusion Models. The use of a discriminator to guide a diffusion process has previously been used for continuous diffusion models, and in this work we derive ways of using a discriminator together with a pretrained generative model in the discrete case. First, we show that using an optimal discriminator will correct the pretrained model and enable exact sampling from the underlying data distribution. Second, to account for the realistic scenario of using a sub-optimal discriminator, we derive a sequential Monte Carlo algorithm which iteratively takes the predictions from the discriminator into account during the generation process. We test these approaches on the task of generating molecular graphs and show how the discriminator improves the generative performance over using only the pretrained model.
