{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/conditional-constrained-graph-variational","title":"Conditional Constrained Graph Variational Autoencoders for Molecule Design","arxiv_id":"2009.00725","date":"2020-09-01","proceeding":null,"authors":["Davide Rigoni","Nicolò Navarin","Alessandro Sperduti"],"abstract":"In recent years, deep generative models for graphs have been used to generate new molecules. These models have produced good results, leading to several proposals in the literature. However, these models may have troubles learning some of the complex laws governing the chemical world. In this work, we explore the usage of the histogram of atom valences to drive the generation of molecules in such models. We present Conditional Constrained Graph Variational Autoencoder (CCGVAE), a model that implements this key-idea in a state-of-the-art model, and shows improved results on several evaluation metrics on two commonly adopted datasets for molecule generation.","url_abs":"https://arxiv.org/abs/2009.00725v1","url_pdf":"https://arxiv.org/pdf/2009.00725v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"conditional-constrained-graph-variational","repo_url":"https://github.com/drigoni/ConditionalCGVAE","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2009.00725","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2009.00725"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/drigoni/ConditionalCGVAE","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"87516391d70a9037","entry":"dataset_info","repo":"drigoni/ConditionalCGVAE","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/drigoni/ConditionalCGVAE/blob/HEAD/utils/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"87516391d70a9037"}},{"code_sha256_prefix":"6b3fed09d1b23615","entry":"generate_label","repo":"drigoni/ConditionalCGVAE","repo_kind":"official","path":"model/data_augmentation.py","file_url":"https://github.com/drigoni/ConditionalCGVAE/blob/HEAD/model/data_augmentation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6b3fed09d1b23615"}},{"code_sha256_prefix":"87fb0cab6105ca64","entry":"generate_mask","repo":"drigoni/ConditionalCGVAE","repo_kind":"official","path":"model/data_augmentation.py","file_url":"https://github.com/drigoni/ConditionalCGVAE/blob/HEAD/model/data_augmentation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"87fb0cab6105ca64"}},{"code_sha256_prefix":"ff2338305fea0d7d","entry":"genereate_incremental_adj","repo":"drigoni/ConditionalCGVAE","repo_kind":"official","path":"model/data_augmentation.py","file_url":"https://github.com/drigoni/ConditionalCGVAE/blob/HEAD/model/data_augmentation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ff2338305fea0d7d"}},{"code_sha256_prefix":"cc874954bff694a1","entry":"graph_to_adj_mat","repo":"drigoni/ConditionalCGVAE","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/drigoni/ConditionalCGVAE/blob/HEAD/utils/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cc874954bff694a1"}},{"code_sha256_prefix":"16ab39e407b99e8c","entry":"onehot","repo":"drigoni/ConditionalCGVAE","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/drigoni/ConditionalCGVAE/blob/HEAD/utils/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"16ab39e407b99e8c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}