Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Feynman-Kac Correctors in Diffusion: Annealing, Guidance, and Product of Experts

About

While score-based generative models are the model of choice across diverse domains, there are limited tools available for controlling inference-time behavior in a principled manner, e.g. for composing multiple pretrained models. Existing classifier-free guidance methods use a simple heuristic to mix conditional and unconditional scores to approximately sample from conditional distributions. However, such methods do not approximate the intermediate distributions, necessitating additional `corrector' steps. In this work, we provide an efficient and principled method for sampling from a sequence of annealed, geometric-averaged, or product distributions derived from pretrained score-based models. We derive a weighted simulation scheme which we call Feynman-Kac Correctors (FKCs) based on the celebrated Feynman-Kac formula by carefully accounting for terms in the appropriate partial differential equations (PDEs). To simulate these PDEs, we propose Sequential Monte Carlo (SMC) resampling algorithms that leverage inference-time scaling to improve sampling quality. We empirically demonstrate the utility of our methods by proposing amortized sampling via inference-time temperature annealing, improving multi-objective molecule generation using pretrained models, and improving classifier-free guidance for text-to-image generation. Our code is available at https://github.com/martaskrt/fkc-diffusion.

Marta Skreta, Tara Akhound-Sadegh, Viktor Ohanesian, Roberto Bondesan, Al\'an Aspuru-Guzik, Arnaud Doucet, Rob Brekelmans, Alexander Tong, Kirill Neklyudov• 2025

Related benchmarks

TaskDatasetResultRank
Scaffold decorationCrossDock-SBDD
Validity100
20
Scaffold decorationCrossDock Weak
Validity (%)94.3
20
Compositional Image GenerationCOCO-MIG L2
Instance Attr Success Ratio39.69
14
Compositional Image GenerationCOCO-MIG L3
Instance Attribute Success Ratio34.93
14
Compositional Image GenerationCOCO-MIG L4
Instance Attribute Success Ratio31.98
14
Compositional Image GenerationCOCO-MIG L5
Instance Attribute Success Ratio28.42
14
Compositional Image GenerationCOCO-MIG Avg
Instance Attribute Success Ratio31.99
14
Compositional Image GenerationCOCO-MIG L6
Instance Attribute Success Ratio0.2493
14
Inference-time annealingALDP (alanine dipeptide)
Energy TV0.338
4
Multi-target Structure-Based Drug DesignMulti-target SBDD
Success Rate (Better than Known)60.8
4
Showing 10 of 15 rows

Other info

Follow for update