{"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/retrieval-retro-retrieval-based-inorganic","title":"Retrieval-Retro: Retrieval-based Inorganic Retrosynthesis with Expert Knowledge","arxiv_id":"2410.21341","date":"2024-10-28","proceeding":null,"authors":["Heewoong Noh","Namkyeong Lee","Gyoung S. Na","Chanyoung Park"],"abstract":"While inorganic retrosynthesis planning is essential in the field of chemical science, the application of machine learning in this area has been notably less explored compared to organic retrosynthesis planning. In this paper, we propose Retrieval-Retro for inorganic retrosynthesis planning, which implicitly extracts the precursor information of reference materials that are retrieved from the knowledge base regarding domain expertise in the field. Specifically, instead of directly employing the precursor information of reference materials, we propose implicitly extracting it with various attention layers, which enables the model to learn novel synthesis recipes more effectively. Moreover, during retrieval, we consider the thermodynamic relationship between target material and precursors, which is essential domain expertise in identifying the most probable precursor set among various options. Extensive experiments demonstrate the superiority of Retrieval-Retro in retrosynthesis planning, especially in discovering novel synthesis recipes, which is crucial for materials discovery. The source code for Retrieval-Retro is available at https://github.com/HeewoongNoh/Retrieval-Retro.","url_abs":"https://arxiv.org/abs/2410.21341v1","url_pdf":"https://arxiv.org/pdf/2410.21341v1.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":"retrieval-retro-retrieval-based-inorganic","repo_url":"https://github.com/heewoongnoh/retrieval-retro","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"retrosynthesis","task_name":"Retrosynthesis"}],"methods":[{"method_slug":"attention","method_name":"Attention"},{"method_slug":"base","method_name":"BASE"},{"method_slug":"set","method_name":"SET"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2410.21341","atlas_url":"https://app.syntology.ai/?focus=2410.21341","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.21341"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":"deterministic:regex_extraction","url":"https://github.com/HeewoongNoh/Retrieval-Retro","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/heewoongnoh/retrieval-retro","reach":{"status":"ok"}}],"summary":{"unverified":9},"by_repo_kind":{"official":{"samples":9,"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":9,"samples":[{"code_sha256_prefix":"160dfa13778a17df","entry":"compute_rank_in_batches","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"retrieval_mpc.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/retrieval_mpc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"160dfa13778a17df"}},{"code_sha256_prefix":"92804f7f32100e13","entry":"custom_collate_fn","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"main_Retrieval_Retro.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/main_Retrieval_Retro.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"92804f7f32100e13"}},{"code_sha256_prefix":"6f949aa1b11999c5","entry":"find_top_k_product_sets","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"utils_main.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/utils_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6f949aa1b11999c5"}},{"code_sha256_prefix":"c34779f9f740c600","entry":"product","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"utils_main.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/utils_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c34779f9f740c600"}},{"code_sha256_prefix":"b24577868320a2fc","entry":"recall_multilabel_multiple","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"utils_main.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/utils_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b24577868320a2fc"}},{"code_sha256_prefix":"c6d4a35d088a4c56","entry":"remove_random_index_per_group","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"models/MPC.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/models/MPC.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6d4a35d088a4c56"}},{"code_sha256_prefix":"0b4687c1eed35f8a","entry":"test_var","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"pretrain_nre.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/pretrain_nre.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b4687c1eed35f8a"}},{"code_sha256_prefix":"4273234888b1799c","entry":"train_mpc","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"utils_mpc.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/utils_mpc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4273234888b1799c"}},{"code_sha256_prefix":"61f896eccc89d188","entry":"training_config","repo":"HeewoongNoh/Retrieval-Retro","repo_kind":"official","path":"utils_mpc.py","file_url":"https://github.com/HeewoongNoh/Retrieval-Retro/blob/HEAD/utils_mpc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"61f896eccc89d188"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}