Back to AI News
arxiv

Generating Graphs for a Reason: Explanation-Conditioned Adapters for Discrete Flow Matching

This paper introduces adapter-based conditioning for pretrained discrete flow matching models, enabling molecular graph generation based on both a target property and an XAI-derived structural concept. The base model stays frozen, and each new condition only requires training one adapter. Feynman-Kac steering filters unpromising candidates during generation. On a synthetic dataset with known structure-property relationships, the approach raises the share of graphs satisfying both conditions from 4% to 54%.

AI Brief

It demonstrates a concrete method for turning model explanations into controllable generative conditions, with measurable improvements in structure-property-controlled molecular graph generation.

arXiv:2611.37801v1 Announce Type: cross 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!