Skip to main content
QUICK REVIEW

[Paper Review] MolFM: A Multimodal Molecular Foundation Model

Yizhen Luo, Kai Yang|arXiv (Cornell University)|Jun 6, 2023
Computational Drug Discovery MethodsComputer Science8 citations
TL;DR

MolFM jointly learns representations from molecular structures, biomedical texts, and knowledge graphs using cross-modal attention, achieving state-of-the-art results in cross-modal retrieval, captioning, generation, and property prediction.

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.

Motivation & Objective

  • Motivate integrating structural, textual, and knowledge-base molecular information for holistic understanding.
  • Develop a multimodal pre-training framework that fuses 2D molecular graphs, biomedical texts, and knowledge graphs.
  • Introduce cross-modal attention mechanisms to connect atoms, graph neighbors, and text tokens.
  • Propose structure-text contrastive, cross-modal matching, masked language modeling, and knowledge graph embedding objectives.
  • Provide theoretical grounding showing implicit alignment across modalities and with graph-based global knowledge.

Proposed method

  • Encode 2D molecular graphs with a GIN-based encoder initialized from GraphMVP.
  • Encode biomedical texts with a Transformer encoder initialized from KV-PLM.
  • Encode knowledge graph entities with a TransE-based encoder.
  • Fuse modalities with a multimodal transformer that uses cross-attention between atoms/neighbors and text tokens.
  • Pre-train with four objectives: structure-text contrastive (STC), cross-modal matching (CMM), masked language modeling (MLM), and knowledge graph embedding (KGE).
  • Provide theoretical justification via deep metric learning showing alignment across modalities and with similar-structure/function molecules.

Experimental results

Research questions

  • RQ1Can joint learning from molecular structures, biomedical texts, and knowledge graphs improve molecular representations beyond structure-text methods?
  • RQ2Does cross-modal attention effectively model fine-grained connections across atoms, neighboring entities, and textual descriptions?
  • RQ3Can global knowledge from knowledge graphs be leveraged to improve downstream molecular tasks?
  • RQ4Do the proposed pre-training objectives yield robust alignment and grounding across modalities?

Key findings

  • MolFM achieves state-of-the-art performance on cross-modal retrieval, with absolute gains of 12.13% (zero-shot) and 5.04% (fine-tuning) over MoMu.
  • MolFM yields leading results in molecule captioning and text-based molecule generation compared to prior methods.
  • On MoleculeNet property prediction, MolFM shows an average absolute gain of 1.55% when using multimodal inputs.
  • Ablation studies show removing knowledge graphs, cross-modal matching, or atom/neighbor attention degrades performance, highlighting the value of each component.
  • Visualization of cross-modal attention demonstrates grounding capabilities in substructures and knowledge-graph contexts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.