Manuscript Offprint
arXiv:2610.34227Interpretable and Steerable Molecular Graph Generation using Concept Bottlenecks
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Deep graph generators (DGGs) largely lack interpretability, which is a significant limitation for one of their most crucial applications, drug discovery, where interpretable and transparent generation could provide greater control over the desirability of generated molecules, thereby reducing trial-and-error in candidate selection. Common approaches to interpretability, such as disentanglement, cannot guarantee that the learned representations are human-interpretable. To address this, we propose incorporating concept bottlenecks into DGGs, allowing users to interpret, debug, and steer the generation process. We show that this consistently improves distributional fidelity (lower FCD), with only modest, non-systematic effects on validity and uniqueness. We further explore Concept Controller, an optimization-based steering approach that has proven to be effective for steerable image generation. We evaluate our approach on a one-shot molecular graph generation framework, though the underlying ideas can be transferred to sequential graph generation as well.
1 Introduction
Graphs are used to represent relational and structural information across diverse application domains. Consequently, graph generation has attracted significant interest in several fields [6]. However, the generative process involved in these methods has low interpretability [23, 25]. Unlike deep generative models in the image and text domains, which have increasingly moved towards more human-interpretable paradigms, interpretability remains relatively underexplored in graph generation [25, 4, 6]. This gap is particularly consequential in drug discovery, where greater transparency in the generation process affords greater control over sample desirability, reducing costly trial-and-error in candidate selection [4].
A common approach to encourage interpretability in generative models is to learn representation that can be decomposed into independent factors (disentanglement) [24, 8]. But these representations may not be human-interpretable [16]. To address this challenge, we propose a new line of research in graph generation that uses concept bottlenecks to develop inherently interpretable generative models [9, 13, 17]. Such methods involve training a concept bottleneck layer which embeds the latent representation of the input as a set of human understandable concepts. These interpretable embeddings are then passed to the decoder. This allows users to interpret, debug and steer the output of the model. Ismail et al. [9] show that such frameworks outperform conditioning models for image generation, especially when the number of concepts is large. We also explore an alternative framework (Concept Controller [13]) that is trained post-hoc to predict concepts from the latent representation and uses an optimization-based intervention to steer the output.
The main idea of this work is to adapt concept bottleneck generative models and the Concept Controller to the domain of molecular graph generation. We show that this improves distributional
Indian Institute of Science Education and Research Bhopal, India; CSIR-Central Scientific Instruments Organisation, Chandigarh, India; Academy of Scientific and Innovative Research (AcSIR), Ghaziabad, India; Stony Brook University AI Innovation Institute, Stony Book, NY, USA. Correspondence to: Sarabeshwar Balaji sarabeshwar23@iiserb.ac.in
Preprint.
similarity to the reference set (lower FCD [19]), at low cost to validity and uniqueness. Refer to Figure 1.

Figure 1: (A) Training. The concept bottleneck layer is inserted after the latent representation, and the entire generative model is trained end-to-end. Alternatively, Concept Controller (CC) can be trained post-hoc with the pretrained encoder and decoder kept frozen. (B) Concept Intervention. A concept of the generated molecule is intervened on to include a four-membered ring.
2.1 Steerable and Interpretable Generation
Concept Bottleneck Generative Model A concept bottleneck is an intermediate representation within a model that is constrained to align with a set of human-understandable concepts c. Concept bottleneck models [12] were originally proposed for classification tasks, so that the model prediction is mediated entirely through human-interpretable concepts. To the best of our knowledge, Ismail et al. [9] were the first to extend this idea to generation tasks, introducing concept bottleneck generative models (CBGM) to enable interpretability and steerability of generated outputs. Although their approach was demonstrated on image generation, the underlying formulation is agnostic to data modality, which motivates its use for molecular graph generation. A generative model can be viewed as an encoder-decoder pair, where an encoder maps an input x to a latent representation z, i.e., , and a decoder that maps the latent representation z back to the data space, i.e. . In a CBGM, a concept bottleneck layer is inserted at an intermediate point in the decoder, so that the latent vector z is first mapped onto a pre-defined set of concepts c, before being mapped to the output. This modifies the generative pathway to . Because the concept vector c is human-interpretable, CBGM supports test-time intervention: the value of a target concept within c can be manually replaced by a desired value , resulting in an intervened concept vector . Passing through the decoder ( ) produces a new modified output in which the desired concept has been modified. In CBGM, the concept-alignment loss is optimized jointly with the backbone generative model specific loss.
Concept Controller Kulkarni et al. [13] propose the Concept Controller (CC), a module that predicts concepts directly from the latent representation of a pre-trained generative model, i.e., . Unlike CBGM, CC is trained post-hoc. The generative backbone is pre-trained end-to-end ( ), after which its encoder and decoder weights are kept frozen, and only is trained to predict the concepts from the latent representation ( ). Steering is performed using a gradient-based intervention inspired by adversarial attacks. Given a latent with predicted concepts , a perturbation is found that steers the predicted concepts toward a target concept vector :
where is an -norm ball of radius , and is a concept alignment loss. The resulting output , obtained by passing through the decoder, closely resembles the original generation but reflects the desired target concepts .
2.2 Graph Variational Autoencoder
A molecule can be represented using a graph G, which is defined using its adjacency matrix A, node attribute matrix F and edge attribute tensor E. The edge attributes one-hot encode the bond types between atoms, while F one-hot encodes the atom types. We use the graph generative framework proposed by Simonovsky et al. [22] to learn a latent space from which graphs can be sampled.
We refer to this framework as GVAE. GVAE consists of an encoder , which outputs the parameters of the variational posterior distribution and a decoder , where and are learned parameters. Additionally, a Gaussian prior is imposed on the latent space as a regularization. This framework is trained by minimizing the upper bound on the negative log-likelihood [11]:
Encoder & Probabilistic Decoder The encoder is implemented using two-edge conditioned graph convolution layers [21] followed by graph level readout layer following the formulation in Equation 7 of Li et al. [15]. The decoder is implemented by a parallel triplet of fully connected layers to output fully connected probabilistic graph on nodes, where is the maximum number of nodes. At test time, a discrete graph estimate is obtained from the predicted adjacency matrix , the node feature matrix , and the edge feature tensor by applying an arg max operation over the respective feature dimensions, with the adjacency matrix being discretized using a threshold of 0.5. The prior assumption that molecular graphs are connected is furthermore incorporated at inference time. A maximum spanning tree is constructed over the set of probable nodes . Consequently, the edges of this tree are included in the discrete estimate even if their corresponding predicted probabilities fall below the threshold of 0.5. Hydrogen atoms are not explicitly generated and are instead added implicitly as padding during the chemical validity assessment.
Reconstruction Loss We adopt the factorized reconstruction loss of Simonovsky et al. [22], splitting it into adjacency, node-attribute, and edge-attribute terms, but replace their graph matching step with RDKit [14] canonical node ordering for efficiency. Full details are given in Appendix A.
3 Experiments
3.1 Experimental Setup
Dataset & Concept Set We use the QM9 dataset [20], which contains about 134K organic molecules of up to 9 heavy (non-hydrogen) atoms. We set accordingly , , and . We set aside 20K samples for validation and 13K samples for testing. We use structural concepts derived from the MACCS keys, as implemented in RDKit, as our vocabulary of concepts [2, 14]. Each MACCS key is a deterministic bit associated with the presence or absence of a specific substructure. From the full set of keys, we select subsets of bits to define our concept sets at two sizes: 10 bits for a small, and 35 bits for a larger concept set. For each size, we further consider two variants: (i) subset of balanced bits, and (ii) subset of balanced and non-correlated bits. This yields four concept set configurations: B-10, N-10, B-35, and N-35, where B and N denote balanced and non-correlated, respectively. The full list of bits used in each configuration is provided in Appendix B.
Concept Alignment Since all concepts are binary, we use a cross-entropy loss as the concept-alignment loss throughout. For CBGM, this loss is added directly to the generative model loss in Equation 2, following the joint end-to-end training scheme described in Section 2.1. For the CC the same loss function is used to train post-hoc.
3.2 Generation Quality & Interpretability
Generation Quality We evaluate the quality of generation for each paradigm by sampling latent vectors and generating the corresponding molecules. The metrics we use to evaluate the quality of molecule generation are validity (fraction of chemically valid molecules generated) and uniqueness (fraction of unique molecules present in valid molecules). Additionally, we utilized Fréchet ChemNet Distance (FCD) [19, 18] to evaluate the diversity of molecules generated. FCD is analogous to the Fréchet Inception Distance (FID) [7], which is commonly used to quantify the distributional similarity between generated and reference images. Results are shown in Table 1. See Appendix F for qualitative examples of generated molecules. All GVAE with concept bottleneck (CB-GVAE) variants reduce FCD relative to GVAE, with B-35 achieving the greatest improvement. Validity and uniqueness remain broadly comparable to baseline across variants, with only modest, configuration-dependent variation. This aligns with the observation of Kulkarni et al. [13] and Ismail et al. [9] for image generation.
Table 1: Molecular generation performance.
| Model | Val.(↑) | Uniq.(↑) | FCD(↓) |
|---|---|---|---|
| GVAE | 73.79 | 86.53 | 6.60 |
| CB-GVAE (B-10) | 69.90 | 82.96 | 5.28 |
| CB-GVAE (N-10) | 74.05 | 83.55 | 4.99 |
| CB-GVAE (B-35) | 70.32 | 91.61 | 4.49 |
| CB-GVAE (N-35) | 68.51 | 88.81 | 6.14 |
Table 2: Concept accuracy.
| Concept Set | Model | Accuracy(↑) |
|---|---|---|
| B-10 | CB-GVAE | 63.48 |
| CC-GVAE | 64.45 | |
| N-10 | CB-GVAE | 65.55 |
| CC-GVAE | 67.64 | |
| B-35 | CB-GVAE | 62.29 |
| CC-GVAE | 65.50 | |
| N-35 | CB-GVAE | 71.07 |
| CC-GVAE | 76.66 |
Concept Accuracy Concept accuracy measures the average agreement between predicted concepts of the model and the ground-truth concepts present in the generated output. In Table 2, we report the concept accuracies of CB-GVAE and GVAE with CC (CC-GVAE). We calculate the concept accuracy over the subset of valid molecules among the samples generated earlier to evaluate the quality of generation. CC-GVAE outperforms CB-GVAE across all the concepts sets. This aligns with the observation by Kulkarni et al. [13] for image generation. We note that using uncorrelated concepts instead of balanced concepts leads to significant increase in accuracy in large concept sets than in smaller ones.
3.3 Steerability
Single-concept intervention To evaluate the steerability for activation of concepts, we find latent vectors for each concept such that the molecules generated from these vectors have the concepts absent. Similarly, to evaluate the steerability for activation of concepts, we find latent vectors for each concept such that the generated molecules have the concepts present. For each steering paradigm, we intervene on the specific concept probability to 'turn-on' or 'turn-off' the concept accordingly and generate the new outputs. For each concept, we measure the fraction of inputs for which the interventions is accurately reflected in the newly generated molecule (target accuracy). We consider the intervention to be failed if the newly generated molecule is chemically invalid. Inspired by Martínez-García et al. [17], we also assess whether the non-target concepts remain unchanged (non-target accuracy).
Minimum Hamming distance intervention Intervening on a single concept can yield a concept configuration that is out-of-distribution. We therefore ground each intervention in the data, steering instead towards the nearest training-set configuration, in Hamming distance, that exhibits the target concept. This changes the fewest concepts needed to stay in distribution, separating failures of the concept bottleneck from failures caused by unrealizable concept configurations.
In Table 3, we report the average steerability for several concepts sets for different modules. For a baseline, we utilize conditional version of GVAE (C-GVAE) as proposed by Simonovsky et al. [22] (see Appendix C). We show some qualitative results in Figure 2.
For single-concept interventions, CB-GVAE outperforms CC-GVAE on small concept sets in target accuracies, while being mostly at par with C-GVAE in the large concept set regime. Unfortunately, CC-GVAE and CB-GVAE underperform across all accuracies in non-correlated large concept set. Non-target accuracies for CB-GVAE and CC-GVAE significantly improve when using non-correlated concepts instead of balanced concepts for a given concept set size. We note that choosing the value of for CC-GVAE has a tradeoff effect between the target and non-target accuracies (see Appendix D).
For minimum Hamming distance interventions, CB-GVAE outperforms C-GVAE across all concept sets in target accuracy for both activation and deactivation. Notably, for large concept sets, CB-GVAE achieves up to a twofold increase in target accuracy for both types of intervention. In contrast, CC-GVAE performs poorly in target accuracy for both activation and deactivation.
In essence, unlike the strong gains reported for steerable image generation, CB-GVAE and CC-GVAE do not consistently outperform C-GVAE on molecular graphs under single-concept interventions.
Table 3: Target and non-target accuracy under concept activation and deactivation.
| Concept Set | Model | Activation | Deactivation | Hamm. Activation | Hamm. Deactivation | ||||
|---|---|---|---|---|---|---|---|---|---|
| Target↑ | Non-Target↑ | Target↑ | Non-Target↑ | Target↑ | Non-Target↑ | Target↑ | Non-Target↑ | ||
| B-10 | C-GVAE | 16.12 | 78.24 | 30.29 | 75.63 | 18.45 | 74.49 | 30.29 | 74.54 |
| CB-GVAE | 31.98 | 54.77 | 47.47 | 51.68 | 35.85 | 55.60 | 51.77 | 52.64 | |
| CC-GVAE | 18.84 | 66.68 | 39.77 | 64.07 | 9.02 | 85.37 | 17.84 | 83.65 | |
| N-10 | C-GVAE | 25.12 | 75.30 | 43.78 | 71.45 | 24.34 | 74.91 | 43.33 | 72.17 |
| CB-GVAE | 32.49 | 62.88 | 56.74 | 57.49 | 33.82 | 61.50 | 57.11 | 57.08 | |
| CC-GVAE | 20.03 | 67.69 | 45.16 | 62.75 | 8.75 | 85.73 | 19.43 | 82.95 | |
| B-35 | C-GVAE | 15.40 | 79.20 | 27.43 | 78.00 | 24.68 | 66.36 | 39.14 | 66.92 |
| CB-GVAE | 17.83 | 71.36 | 27.26 | 71.18 | 31.51 | 49.34 | 49.23 | 46.25 | |
| CC-GVAE | 19.03 | 67.84 | 35.46 | 65.20 | 9.15 | 85.25 | 17.30 | 82.00 | |
| N-35 | C-GVAE | 15.06 | 78.99 | 44.63 | 78.33 | 18.85 | 73.58 | 48.66 | 75.36 |
| CB-GVAE | 13.52 | 72.73 | 31.98 | 78.17 | 25.11 | 56.25 | 55.70 | 57.71 | |
| CC-GVAE | 13.30 | 70.72 | 41.78 | 69.13 | 5.21 | 87.32 | 19.60 | 85.91 | |
Activation
Deactivation

Figure 2: Steering with CB-GVAE. The left and right panels show concept activation and deactivation, respectively. In each row: the left box shows the generated molecule, the middle box shows the targeted substructure, and the right box shows the molecule after intervention, with the substructure highlighted. Dotted lines denote bonds of unspecified type, where a vertex joined by two or three such bonds is a carbon with implicit hydrogens; asterisks (*) denote wildcard atoms. See Appendix E for more examples.
However, CB-GVAE achieves substantial gains under minimum Hamming distance interventions, particularly for large concept sets. We discuss plausible reasons for these findings, and directions for improvement, in the section below.
4 Conclusion
A plausible explanation for why CB-GVAE and CC-GVAE do not consistently outperform C-GVAE is concept leakage within the bottleneck layer, which may stem from our naive design choice of using a simple MLP as the concept encoder. In future work, we plan to replace this with Concept Embedding Models [3], which have been shown to offer more effective concept interventions than simple MLP-based bottlenecks. Additionally, the generative backbone used in this work does not employ graph matching and instead relies on a canonical node ordering over atoms. Incorporating graph matching would render the framework unscalable, since Simonovsky et al. [22] note that its matching complexity scales as . To address this, we intend to adopt JT-VAE [10], a scalable generative model, as the backbone in future work. This would allow us to evaluate the generation quality, interpretability, and steerability of concept bottlenecks on larger molecular datasets such as ZINC [5], MOSES [18], and GuacaMol [1].
We present ongoing work adapting Concept Bottleneck Generative Models [9, 17, 13] and Concept Controller [13] to molecular graph generation using structural concepts. Although preliminary results show that incorporating a concept bottleneck improves distributional similarity to the reference set (i.e., lower FCD [18]) with little to no consistent cost to validity or uniqueness, steerability gains over conditional baselines remain less consistent than reported for images, likely due to concept leakage. We view this work as a foundation for future concept-bottleneck-based one-shot molecular generators that enable interpretability and steerability of generated molecules.
5 Code Availability
The source code will be made publicly available upon publication. Researchers interested in accessing the code prior to publication can contact the authors.
References
[1] Nathan Brown, Marco Fiscato, Marwin HS Segler, and Alain C Vaucher. Guacamol: benchmarking models for de novo molecular design. Journal of chemical information and modeling, 59(3):1096–1108, 2019.
[2] Joseph L Durant, Burton A Leland, Douglas R Henry, and James G Nourse. Reoptimization of mdl keys for use in drug discovery. Journal of chemical information and computer sciences, 42(6):1273–1280, 2002.
[3] Mateo Espinosa Zarlenga, Pietro Barbiero, Gabriele Ciravegna, Giuseppe Marra, Francesco Giannini, Michelangelo Diligenti, Zohreh Shams, Frederic Precioso, Stefano Melacci, Adrian Weller, et al. Concept embedding models: Beyond the accuracy-explainability trade-off. Advances in neural information processing systems, 35:21400–21413, 2022.
[4] Faezeh Faez, Yassaman Ommi, Mahdieh Soleymani Baghshah, and Hamid R. Rabiee. Deep graph generators: A survey. CoRR, abs/2012.15544, 2020.
[5] Rafael Gómez-Bombarelli, Jennifer N Wei, David Duvenaud, José Miguel Hernández-Lobato, Benjamín Sánchez-Lengeling, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy D Hirzel, Ryan P Adams, and Alán Aspuru-Guzik. Automatic chemical design using a data-driven continuous representation of molecules. ACS central science, 4(2):268, 2018.
[6] Xiaojie Guo and Liang Zhao. A systematic survey on deep generative models for graph generation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(5):5370–5390, 2022.
[7] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Advances in neural information processing systems, 30, 2017.
[8] Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. In International conference on learning representations, 2017.
[9] Aya Abdelsalam Ismail, Julius Adebayo, Hector Corrada Bravo, Stephen Ra, and Kyunghyun Cho. Concept bottleneck generative models. In International Conference on Learning Representations, volume 2024, pages 34114–34132, 2024.
[10] Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. In International conference on machine learning, pages 2323–2332. PMLR, 2018.
[11] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
[12] Pang Wei Koh, Thao Nguyen, Yew Siang Tang, Stephen Mussmann, Emma Pierson, Been Kim, and Percy Liang. Concept bottleneck models. In International conference on machine learning, pages 5338–5348. Pmlr, 2020.
[13] Akshay Kulkarni, Ge Yan, Chung-En Sun, Tuomas Oikarinen, and Tsui-Wei Weng. Interpretable generative models through post-hoc concept bottlenecks. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8162–8171. IEEE, 2025.
[14] Greg Landrum et al. Rdkit: Open-source cheminformatics software. 2016. URL http://www.rdkit.org/, https://github.com/rdkit/rdkit, 149(150):650, 2016.
[15] Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. arXiv preprint arXiv:1511.05493, 2015.
[16] Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Schölkopf, and Olivier Bachem. Challenging common assumptions in the unsupervised learning of disentangled representations. In international conference on machine learning, pages 4114–4124. PMLR, 2019.
[17] María Martínez-García, Ricardo Vazquez Alvarez, Alejandro Lancho, Pablo Olmos, and Isabel Valera. A probabilistic hard concept bottleneck for steerable generative models. In International Conference on Learning Representations, volume 2026, pages 83758–83790, 2026.
[18] Daniil Polykovskiy, Alexander Zhebrak, Benjamin Sanchez-Lengeling, Sergey Golovanov, Oktai Tatanov, Stanislav Belyaev, Rauf Kurbanov, Aleksey Artamonov, Vladimir Aladinskiy, Mark Veselov, et al. Molecular sets (moses): a benchmarking platform for molecular generation models. Frontiers in pharmacology, 11:565644, 2020.
[19] Kristina Preuer, Philipp Renz, Thomas Unterthiner, Sepp Hochreiter, and Gunter Klambauer. Fréchet chemnet distance: a metric for generative models for molecules in drug discovery. Journal of chemical information and modeling, 58(9):1736–1741, 2018.
[20] Raghunathan Ramakrishnan, Pavlo O Dral, Matthias Rupp, and O Anatole Von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Scientific data, 1(1):140022, 2014.
[21] Martin Simonovsky and Nikos Komodakis. Dynamic edge-conditioned filters in convolutional neural networks on graphs. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 29–38. IEEE, 2017.
[22] Martin Simonovsky and Nikos Komodakis. Graphvae: Towards generation of small graphs using variational autoencoders. In International conference on artificial neural networks, pages 412–422. Springer, 2018.
[23] Wesley Joon-Wie Tann, Ee-Chien Chang, and Bryan Hooi. Shadowcast: Controllable graph generation. arXiv preprint arXiv:2006.03774, 2020.
[24] Luan Tran, Xi Yin, and Xiaoming Liu. Disentangled representation learning gan for pose-invariant face recognition. In 2017 IEEE conference on computer vision and pattern recognition (CVPR), pages 1283–1292. IEEE, 2017.
[25] Yanqiao Zhu, Yuanqi Du, Yinkai Wang, Yichen Xu, Jieyu Zhang, Qiang Liu, and Shu Wu. A survey on deep graph generation: Methods and applications. In Learning on graphs conference, pages 47–1. PMLR, 2022.
A Reconstruction Loss
Simonovsky et al. [22] factorize reconstruction loss into three separate terms: adjacency, node attributes, and edge attributes, so that
where are scalar hyperparameters. We fix a node ordering for the molecules using RDKit [14] canonical ordering rather than the expensive graph matching formulation proposed by the authors. The ground-truth graph is then simply zero-padded up to the fixed output size of decoder , giving a padded ground-truth adjacency matrix , a padded node attribute matrix , and a padded edge attribute tensor . The reconstruction terms are then given by
denotes the sum of all entries in the matrix . It is worth being explicit about the diagonal terms versus : is a fixed ground-truth label, equal to 1 if slot is a real atom in the molecule and 0 if it falls in the padded region. is the probability that node exists, and is implicitly predicted from the edges rather than output directly: , the maximum predicted probability over all edges incident to node .
B MACCS Concept Bits
Table 4: MACSS concepts bits used for each subset
| Subset | Concept Bits |
|---|---|
| B-10 | 96, 105, 121, 132, 151, 152, 153, 156, 158, 159 |
| N-10 | 11, 22, 96, 104, 109, 127, 150, 158, 160, 163 |
| B-35 | 11, 22, 57, 66, 83, 90, 91, 95, 96, 97, 104, 105, 109, 112, 116, 121, 127, 128, 129, 132, 139, 143, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 163 |
| N-35 | 11, 17, 19, 22, 38, 41, 43, 53, 69, 71, 74, 75, 76, 86, 89, 92, 93, 94, 96, 99, 101, 102, 104, 106, 109, 114, 123, 127, 136, 138, 141, 147, 158, 160, 163 |
C Conditional Graph Variational Autoencoder (C-GVAE)
Following the conditioning strategy introduced by Simonovsky et al. [22], we condition both the encoder and the decoder on the label vector associated with each input graph . Specifically, the decoder receives the concatenation of and , while in the encoder , is concatenated with the features of every node before the graph pooling layer.
D Effect of Epsilon for CC-GVAE
Table 5: Steerability results for CC-GVAE. Values are reported as mean ± standard deviation over 4 runs.
| Concept Set | Epsilon | Activation | Deactivation | ||
|---|---|---|---|---|---|
| Target Acc.↑ | Non Target Acc.↑ | Target Acc.↑ | Non Target Acc.↑ | ||
| B-10 | 0.2 | 13.26 ± 2.80 | 77.73 ± 4.01 | 27.27 ± 1.43 | 74.69 ± 4.66 |
| 0.5 | 18.84 ± 3.18 | 66.68 ± 5.02 | 39.77 ± 0.87 | 64.07 ± 4.69 | |
| N-10 | 0.2 | 13.84 ± 2.83 | 77.89 ± 4.49 | 30.92 ± 0.66 | 74.31 ± 4.39 |
| 0.5 | 20.03 ± 3.85 | 67.69 ± 5.61 | 45.16 ± 1.69 | 62.75 ± 4.66 | |
| B-35 | 0.2 | 13.35 ± 2.06 | 78.10 ± 3.56 | 24.78 ± 0.89 | 75.86 ± 3.84 |
| 0.5 | 19.03 ± 1.90 | 67.84 ± 4.08 | 35.46 ± 0.78 | 65.20 ± 4.78 | |
| N-35 | 0.2 | 8.46 ± 1.48 | 80.27 ± 3.40 | 29.49 ± 3.35 | 78.38 ± 3.67 |
| 0.5 | 13.30 ± 1.58 | 70.72 ± 4.26 | 41.78 ± 1.71 | 69.13 ± 4.17 | |
E Additional Examples
| Activation | Deactivation | ||||
|---|---|---|---|---|---|
|  |  | ||||
| N in ring | |||||
| O with H(s) | |||||
| N in ring | O with H(s) | ||||
| H-bearing N | ____ | ||||
| ____ | ____ | ||||
|  | O > 1 |  | |||
Figure 3: Additional qualitative results using CB-GVAE (B-35)
F Sample Generations

Figure 4: Samples from CB-GVAE (B-35)




























Figure 5: Samples from GVAE