{"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/navigating-chemical-linguistic-sharing-space","title":"Navigating Chemical-Linguistic Sharing Space with Heterogeneous Molecular Encoding","arxiv_id":"2412.20888","date":"2024-12-30","proceeding":null,"authors":["Liuzhenghao Lv","Hao Li","Yu Wang","Zhiyuan Yan","Zijun Chen","Zongying Lin","Li Yuan","Yonghong Tian"],"abstract":"Chemical language models (CLMs) are prominent for their effectiveness in exploring chemical space and enabling molecular engineering. However, while exploring chemical-linguistic space, CLMs suffer from the gap between natural language and molecular representations. This challenge is primarily due to the inherent modeling differences between molecules and texts: molecules operate unified modeling to learn chemical space, while natural language sequentially models the semantic space. Additionally, the limited availability of high-quality text-to-molecule datasets further exacerbates this challenge. To address the problem, we first verified the information bias in molecular representations from different perspectives. We then developed the Heterogeneous Molecular Encoding (HME) framework, a unified molecular encoder compressing the molecular features from fragment sequence, topology, and conformation with Q-learning. To better model chemical-linguistic space, we further constructed the MCMoD dataset, which contains over one million molecules with various conditions, including properties, fragments, and descriptions. Experimentally, HME promotes CLMs to achieve chemical-linguistic sharing space exploration: (1) chemical space exploration with linguistic guidance, where HME achieves significant improvements (+8.9\\% FCD) for molecular design in multiple constraints, even in zero-shot scenarios; (2) linguistic space exploration with molecular guidance, where HME generates textual descriptions with high qualities (+11.6\\% BLEU) for molecules. These results highlight the precision of HME in handling multi-objective and cross-domain tasks, as well as its remarkable generalization capability on unseen task combinations. HME offers a new perspective on navigating chemical-linguistic sharing space, advancing the potential of CLMs in both fundamental research and practical applications in chemistry.","url_abs":"https://arxiv.org/abs/2412.20888v2","url_pdf":"https://arxiv.org/pdf/2412.20888v2.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"navigating-chemical-linguistic-sharing-space","repo_url":"https://github.com/Lyu6PosHao/HME","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"navigating-chemical-linguistic-sharing-space","repo_url":"https://github.com/howardli1984/ecdformer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"navigating-chemical-linguistic-sharing-space","repo_url":"https://github.com/lyu6poshao/prollama","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"navigating-chemical-linguistic-sharing-space","repo_url":"https://github.com/pku-yuangroup/prollama","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.20888","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.20888"}},"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/pku-yuangroup/prollama","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/howardli1984/ecdformer","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Lyu6PosHao/HME","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lyu6poshao/prollama","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":1,"unverified":6},"by_repo_kind":{"official":{"samples":7,"ran":1,"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":"cc287b7f78ecb5e5","entry":"parse_fasta","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/preprocess_prot.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/preprocess_prot.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cc287b7f78ecb5e5"}},{"code_sha256_prefix":"c9f03d843e6f832a","entry":"build_molecule_qa_input","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/data.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/data.py","link_basis":"harvester_set","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":"c9f03d843e6f832a"}},{"code_sha256_prefix":"b04bf311f5568191","entry":"compute_metrics","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/run_classification.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/run_classification.py","link_basis":"harvester_set","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":"b04bf311f5568191"}},{"code_sha256_prefix":"fa02fb45ee1f29e4","entry":"get_fragments","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/frg.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/frg.py","link_basis":"harvester_set","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":"fa02fb45ee1f29e4"}},{"code_sha256_prefix":"271e7e74e265eaf2","entry":"get_json_list","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/preprocess_mol.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/preprocess_mol.py","link_basis":"harvester_set","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":"271e7e74e265eaf2"}},{"code_sha256_prefix":"c27059fb5e0b78aa","entry":"parse_PDB","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/preprocess_prot.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/preprocess_prot.py","link_basis":"harvester_set","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":"c27059fb5e0b78aa"}},{"code_sha256_prefix":"1f8f228b8a06d784","entry":"parse_PDB_biounits","repo":"Lyu6PosHao/HME","repo_kind":"official","path":"src/hme/preprocess_prot.py","file_url":"https://github.com/Lyu6PosHao/HME/blob/HEAD/src/hme/preprocess_prot.py","link_basis":"harvester_set","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":"1f8f228b8a06d784"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}