Learning Multi-view Molecular Representations with Structured and Unstructured Knowledge

Yizhen Luo, Kai Yang, Massimo Hong, Xing Yi Liu, Zikun Nie, Hao Zhou, Zaiqing Nie · DOI

Introduction: The Multi-view Nature of Molecules

In drug discovery and materials science, a molecule is not a static entity but a multifaceted object of study. Depending on the scientific context, a single molecule like Aspirin can be interpreted through various "lenses": a microscopic view focusing on functional groups (carboxyl and benzene rings), a macroscopic view detailing physical properties (melting point, crystal structure), or a biological view describing its interaction with enzymes (inhibiting cyclooxygenase).

Multi-view representation of Aspirin across different scientific lenses.

Existing Molecular Representation Learning (MRL) models often attempt to compress these diverse perspectives into a single, universal vector. This "one-size-fits-all" approach frequently fails to capture context-specific nuances and struggles to integrate data from disparate sources, ranging from noisy scientific literature to highly curated databases. MV-Mol addresses this by explicitly modeling these distinct scientific views using natural language prompts, allowing the model to dynamically shift its perspective based on the task at hand.

Methodology: The MV-Mol Framework

MV-Mol utilizes a multi-modal architecture designed to bridge the gap between 3D molecular structures and textual knowledge.

Architecture

  1. View-based Molecule Encoder: This component integrates a 3D structure encoder (Uni-Mol) with a Q-Former (Querying Transformer). The Q-Former employs trainable queries that interact with both the molecular structure and a specific text prompt (e.g., "biological view"). This mechanism ensures that the extracted features are relevant to the requested scientific perspective.
  2. Multi-modal Decoder: Built upon BioT5, this decoder enables the model to perform cross-modal tasks, such as generating human-readable molecular descriptions or predicting SMILES/SELFIES strings.

Two-Stage Pre-training

To manage the heterogeneity of molecular data, the authors employ a two-stage training strategy:

  • Stage 1 (Modality Alignment): The model aligns 3D structures with 12 million noisy molecule-text pairs from scientific literature using contrastive learning, establishing a broad "consensus" understanding.
  • Stage 2 (Knowledge Incorporation): The model is refined using high-quality structured data from Knowledge Graphs (KGs). By treating KG relations as specific "views," the model learns fine-grained, expert-level knowledge that complements the broad patterns found in literature.

Data Heterogeneity and Benchmarks

The effectiveness of MV-Mol stems from its exposure to diverse data modalities.

Characteristics of the multi-modal datasets used for pre-training.

The pre-training corpus includes 12 million molecule-text pairs derived from 3.5 million publications and a massive Knowledge Graph containing over 643K relations from sources like PubChem and DrugBank. Additionally, the authors introduced the MVST (Multi-View Structure-Text) benchmark, which contains 7.1K molecules paired with multiple descriptions across chemical, physical, and pharmacokinetic views. Evaluation was conducted on standard benchmarks including MoleculeNet, PCDes, and ChEBI-20.

Key Insights: Prompts as Scientific Lenses

The core innovation of MV-Mol is the use of text prompts to "steer" molecular representations. Rather than a fixed vector, the model generates a representation tailored to specific queries like "toxicity" or "solubility." This approach ensures that structure and view-prompts are deeply integrated via the Q-Former architecture.

Furthermore, the two-stage training process reveals a powerful synergy: noisy, large-scale text provides a foundational consensus, while structured KGs provide the necessary expert detail. Ablation studies confirmed that removing either stage significantly degrades performance.

Results and Performance

MV-Mol demonstrates state-of-the-art performance across several domains:

  • Property Prediction: The model achieved an average absolute gain of 1.24% over Uni-Mol on MoleculeNet, with a notable 3.7% boost in low-data scenarios like ClinTox.
  • Cross-Modal Retrieval: On the MVST dataset, MV-Mol improved top-1 retrieval accuracy by 12.9% over baselines, proving its ability to match complex text to chemical structures.
  • Representation Analysis: UMAP visualizations confirmed that representations of the same molecule cluster into distinct regions based on the prompt (e.g., "chemical" vs. "pharmacokinetic"), validating the model's view-specific learning.

Limitations and Future Directions

While MV-Mol represents a significant step forward, several avenues for future work remain. Scaling the dataset and the language model backbone (e.g., to Llama-scale) could further enhance performance. Additionally, extending the framework to larger biological entities like proteins or DNA is a natural next step. Finally, the authors emphasize the need for robust safety guardrails to prevent the potential misuse of such models in designing toxic compounds.

Summary updated

BibTeX
@inproceedings{luo2024learning,
  author = {Yizhen Luo and Kai Yang and Massimo Hong and Xing Yi Liu and Zikun Nie and Hao Zhou and Zaiqing Nie},
  title = {{Learning Multi-view Molecular Representations with Structured and Unstructured Knowledge}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3672043},
}
Figure