{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/molfm-a-multimodal-molecular-foundation-model","title":"MolFM: A Multimodal Molecular Foundation Model","arxiv_id":"2307.09484","date":"2023-06-06","proceeding":null,"authors":["Yizhen Luo","Kai Yang","Massimo Hong","Xing Yi Liu","Zaiqing Nie"],"abstract":"Molecular knowledge resides within three different modalities of information sources: molecular structures, biomedical documents, and knowledge bases. Effective incorporation of molecular knowledge from these modalities holds paramount significance in facilitating biomedical research. However, existing multimodal molecular foundation models exhibit limitations in capturing intricate connections between molecular structures and texts, and more importantly, none of them attempt to leverage a wealth of molecular expertise derived from knowledge graphs. In this study, we introduce MolFM, a multimodal molecular foundation model designed to facilitate joint representation learning from molecular structures, biomedical texts, and knowledge graphs. We propose cross-modal attention between atoms of molecular structures, neighbors of molecule entities and semantically related texts to facilitate cross-modal comprehension. We provide theoretical analysis that our cross-modal pre-training captures local and global molecular knowledge by minimizing the distance in the feature space between different modalities of the same molecule, as well as molecules sharing similar structures or functions. MolFM achieves state-of-the-art performance on various downstream tasks. On cross-modal retrieval, MolFM outperforms existing models with 12.13% and 5.04% absolute gains under the zero-shot and fine-tuning settings, respectively. Furthermore, qualitative analysis showcases MolFM's implicit ability to provide grounding from molecular substructures and knowledge graphs. Code and models are available on https://github.com/BioFM/OpenBioMed.","url_abs":"https://arxiv.org/abs/2307.09484v2","url_pdf":"https://arxiv.org/pdf/2307.09484v2.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":"molfm-a-multimodal-molecular-foundation-model","repo_url":"https://github.com/biofm/openbiomed","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"molfm-a-multimodal-molecular-foundation-model","repo_url":"https://github.com/pharmolix/openbiomed","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"cross-modal-retrieval","task_name":"Cross-Modal Retrieval"},{"task_slug":"knowledge-graphs","task_name":"Knowledge Graphs"},{"task_slug":"molecule-captioning","task_name":"Molecule Captioning"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"text-based-de-novo-molecule-generation","task_name":"Text-based de novo Molecule Generation"},{"task_slug":"model","task_name":"model"}],"methods":[{"method_slug":null,"method_name":"None"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/molecule-captioning-on-chebi-20","task":"Molecule Captioning","dataset":"ChEBI-20","model":"MolFM-Base","rank_in_archive_order":18,"of":33,"metrics":{"BLEU-2":"58.5","BLEU-4":"49.8","METEOR":"60.7","ROUGE-1":"65.3","ROUGE-2":"50.8","ROUGE-L":"59.4","Text2Mol":"57.6"},"uses_additional_data":false},{"leaderboard":"/sota/molecule-captioning-on-chebi-20","task":"Molecule Captioning","dataset":"ChEBI-20","model":"MolFM-Small","rank_in_archive_order":26,"of":33,"metrics":{"BLEU-2":"54.2","BLEU-4":"45.2","METEOR":"56.4","ROUGE-1":"62.3","ROUGE-2":"46.9","ROUGE-L":"56.2","Text2Mol":"55.7"},"uses_additional_data":false},{"leaderboard":"/sota/text-based-de-novo-molecule-generation-on","task":"Text-based de novo Molecule Generation","dataset":"ChEBI-20","model":"MolFM-Base","rank_in_archive_order":10,"of":20,"metrics":{"BLEU":"82.2","Exact Match":"21.0","Levenshtein":"19.445","MACCS FTS":"85.4","Morgan FTS":"75.8","Parameter Count":"296200000","RDK FTS":"69.7","Text2Mol":"58.3","Validity":"89.2"},"uses_additional_data":false},{"leaderboard":"/sota/text-based-de-novo-molecule-generation-on","task":"Text-based de novo Molecule Generation","dataset":"ChEBI-20","model":"MolFM-Small","rank_in_archive_order":13,"of":20,"metrics":{"BLEU":"80.3","Exact Match":"16.9","Levenshtein":"20.868","MACCS FTS":"83.4","Morgan FTS":"72.1","Parameter Count":"13620000","RDK FTS":"66.2","Text2Mol":"57.3","Validity":"85.9"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2307.09484","atlas_url":"https://app.syntology.ai/?focus=2307.09484","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2307.09484"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2307.09484\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2307.09484"},"call":"get_concepts_for_paper(arxiv_id=\"2307.09484\")"}],"by_repo":[{"repo":"biofm/openbiomed","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2410.22949"],"harvested_for_calls":[{"arxiv_id":"2410.22949","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2410.22949"},"call":"get_harvested_code_for_paper(arxiv_id=\"2410.22949\")"}]},{"repo":"pharmolix/openbiomed","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"5f54a188c5f3b26bd5930abad6f3255a74566b8a8ec3446c10f5c8709cbd46bf","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}