Generating Graphs for a Reason: Explanation-Conditioned Adapters for Discrete Flow Matching
Jonas TeufelClemens BinzPascal Friederich
Nov 2026
Artificial IntelligenceMachine Learning
Abstract
Generative models based on discrete flow matching can now efficiently produce molecular graphs for a specified target property. The properties of a graph often result from particular structural motifs within it. However, since different motifs can lead to the same property value, conditioning on the value alone offers no control over which of them a generated graph contains. For predictive models, such motifs can be identified using methods from explainable artificial intelligence (XAI), a field that aims to explain why a model makes a given prediction. In this work, we use the explanations of a self-explaining graph neural network to inform the generation, so that a graph can be requested not only for a target property value but also for the structural concept through which it reaches that value. For this purpose, we propose an adapter-based approach, in which a pretrained discrete flow matching model is kept frozen and receives the property and the concept through separate trainable adapters. New conditions can thereby be added to the same pretrained generator at the cost of training one adapter each. To satisfy both conditions at once, we additionally apply Feynman-Kac steering, which discards unpromising candidates during generation. On a synthetic dataset with known structure-property relationships, the adapters and steering together raise the share of generated graphs that satisfy both conditions from 4% for the unconditional base model to 54%. We believe that our approach extends the role of explanations from interpreting predictive models to controlling generative ones, making it possible to generate graphs that exhibit a target property for a known structural reason.
It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.
This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.
F. Xia, Amir Zamir, Zhi-Yang He et al.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.
Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al.· Information and Software Tec...· 394 citations· ⚡54
The possibility of inferring high-dimensional data inference in a model that consists of a prior and an auxiliary differentiable constraint given some additional information is considered, thereby allowing a range of potential applications in adapting models to new domains and tasks.
Alexandros Graikos, Esmeralda S. Whitammer, N. Jojic et al.· Neural Information Processin...· 316 citations· ⚡15
It is proved that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution, and empirically demonstrate the benefits of the trajectories balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequenc...
Esmeralda S. Whitammer, Moksh Jain, Emmanuel Bengio et al.· Neural Information Processin...· 302 citations· ⚡60
GAOKAO-Bench is introduced, an intuitive benchmark that employs questions from the Chinese GAOKAO examination as test samples, including both subjective and objective questions that contribute a robust evaluation benchmark for future large language models and offers valuable insights into the advantages and limitations...
Xiaotian Zhang, Chun-yan Li, Yi Zong et al.· arXiv.org· 216 citations· ⚡17
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduOct 13, 2026
Machine-learning networks can learn without detailed instructions from a designer. Those that do may offer insight into how the brain reorganizes itself during learning.
MIT News · Artificial Intelligence· news.mit.eduSep 29, 2026
Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.