cs.LGOct 28, 2026

Logical Guidance of Stochastic Interpolants

Authors: Gerrit Gerhartz, Francesco Alesiani, Jonathan Warrell, Henrik Christiansen, Matheus Ferraz, Mathias Niepert

Organizations: NEC Laboratories Europe · ITP, Heidelberg University · NEC Laboratories America · NEC Bio B.V. · 

Abstract

Guidance and composition of generative models have applications in visual design, chemistry, and biology. Logical guidance composes conditional scores exactly for diffusion models. However, Flow Matching (FM) and Stochastic Interpolants (SI) learn velocity fields. We show that negation and exclusive disjunction admit exact conditional velocity composition on any interpolant, whereas conjunction, and therefore any formula containing one, is exact on Gaussian paths but in general incurs a drift-interaction error, so composed velocities need not sample the logical target. LOGSI solves this by using score-based re-equilibration as our principled mechanism and falling back to the Gaussian-path velocity rule as an approximate transport predictor. In non-Gaussian bridge problems, generation alternates transport steps with score re-equilibration steps. On image trans fer (EMNIST to CMNIST, CelebA) and QM9 source-to-target molecular editing with logical attribute constraints, LOGSI improves rule conformity at the same network-evaluation budget over composed-velocity baselines, while also improving fidelity on the image tasks. More broadly, LOGSI applies wherever stochastic interpolants need guidance and logical combinations of constraints are natural.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Difficulty-Calibrated Interpolation Paths for Conditional Flow Matching

    Aug 21, 2026Airin Akter Tania, Md Raihan KhanFlow MatchingConditional Flow Matching

  2. Unrolled Flow Models for Reasoning

    Oct 7, 2026Faissal Izermine, Hanru Bai, Oscar Davis +1Flow-Based Generative ModelingFlow Matching

  3. Plug-and-Play Guidance for Discrete Diffusion Models via Gradient-Informed Logit Correction

    Jun 4, 2026Hongkun Dou, Zike Chen, Fengji Li +2Diffusion Model GuidanceMolecular Generation