Introduction
Large Language Models (LLMs) have demonstrated significant potential in chemical reasoning, yet they often face a "representation gap." Most existing models rely on either 1D strings (SMILES) or 2D graphs, which fail to capture the 3D spatial information critical for protein-ligand interactions. Conversely, models focused solely on 3D geometry may overlook the clear connectivity patterns inherent in 2D graphs.
To address this, researchers from Seoul National University and AIGENDRUG Co. developed MV-CLAM (Multi-View Molecular Interpretation with Cross-Modal Projection). This framework enables LLMs to interpret molecules from multiple perspectives simultaneously by aligning 2D and 3D structural data into a unified textual space.
The Representation Challenge
Molecular machine learning hinges on effective representation. A molecule is a dynamic 3D object where:
- 2D views (graphs) encode edge connectivity (atomic bonding), which strongly correlates with properties like solubility and logP.
- 3D views (conformers) capture spatial coordinates, essential for understanding quantum properties (e.g., HOMO/LUMO levels) and geometric fit.
Previous models often aligned these views into separate latent spaces, leading to fragmented understanding. MV-CLAM fuses these modalities into a single "language" for LLM reasoning.
Methods: The Multi-Query Transformer
The core of MV-CLAM is a sophisticated bridge between structural encoders and a frozen LLaMA2-7B model.
Dual Encoders and MQ-Former
The framework utilizes Uni-Mol for 3D spatial coordinates and the Molecule Attention Transformer (MAT) for 2D graph connectivity. These features are processed by the Multi-Query Transformer (MQ-Former). Unlike standard Q-Formers, the MQ-Former employs modality-specific query tokens for 2D and 3D views. These tokens interact via a shared self-attention layer, allowing the model to resolve inconsistencies between views before passing "universal query tokens" to the LLM.
Multi-Token Contrastive Loss ($\ell_{MTC}$)
To ensure fine-grained alignment, MV-CLAM introduces a token-level contrastive loss. While standard methods match a whole molecule to a whole sentence, $\ell_{MTC}$ matches specific molecular query tokens to specific words in a description. This ensures that a token representing a specific functional group, like a hydroxyl group, correctly aligns with the corresponding text.
Key Results
MV-CLAM achieves state-of-the-art (SOTA) performance across several benchmarks, demonstrating the synergy of multi-view alignment.
Molecular Retrieval and Captioning
In Molecule-to-Text (M2T) retrieval on the PubChem324K test set, MV-CLAM achieved 78.67% Accuracy, significantly outperforming baselines like 3D-MoLM (~69%) and MolCA (~68%). The model also produced more detailed and accurate molecular descriptions, leading across BLEU, ROUGE, and METEOR metrics.
Zero-Shot Property Editing
MV-CLAM demonstrates an emergent ability to "edit" molecules. When prompted with a SMILES string and a desired property change (e.g., "The molecule is soluble in water"), the model can generate a new, valid SMILES string reflecting that change, despite not being explicitly trained for de-novo generation.
Discussion and Limitations
The success of MV-CLAM highlights that 2D and 3D features are synergistic rather than redundant. 2D tokens tend to capture chemical/material properties, while 3D tokens focus on structural geometry. By forcing these into a unified embedding space, the model avoids redundant or disconnected representations.
However, limitations remain. The model can struggle to differentiate between highly similar molecules (e.g., varying only by carbon chain length). Future work may involve expanding the framework to include other biological "views," such as proteomics or multi-omics data, to provide a more holistic understanding of molecular systems.
Summary updated