arXiv(opens in a new tab)cs.AIAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.23646

MolEmb: Multimodal Large Language Models Can Be Strong Molecular Embedding Models

Xinjian Zhao, Xiangru Jian, Yaoyao Xu, Xiaozhuang Song, Wei Pang, Lei Bai, Tianshu Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Molecular embedding models can serve as foundational infrastructure for computational chemistry and drug discovery, where reusable vector representations support property prediction, virtual screening, and retrieval. Most molecular encoders are specialist models built around a single molecular view, producing unconditional vectors with no language interface for varying the representation. We ask whether multimodal large language models (MLLMs), which natively process images, text, and symbolic inputs, can instead serve as general molecular embedding models that produce embeddings conditioned on both a molecular profile and a natural-language semantic context. We introduce MolEmb, a lightweight framework that adapts MLLMs by aligning molecular profiles with textual descriptions in a shared embedding space using a bidirectional contrastive objective. The resulting embedding model is competitive on molecular property prediction and supports cross-modal molecule–text retrieval in the same space. We further introduce MolCAR, a diagnostic benchmark for context-aware retrieval, and find that context-aware molecular embedding is primarily a data property of the supervision. These results suggest that MLLMs are not merely chemistry assistants or generators, but a viable and extensible route to general molecular embedding models.

1 Introduction

Molecular structure shapes physicochemical properties and interactions, from solubility and reactivity to binding affinity and toxicity [39, 40, 31, 8, 13]. As deep learning becomes increasingly central to molecular modeling, learned molecular representations have become a common interface for property prediction, virtual screening, similarity search, and retrieval-augmented scientific reasoning [15, 9, 44, 50]. Molecular embedding models can serve as foundational infrastructure for these workflows. We use this term for models that provide stable, reusable embeddings, in the spirit of embedding models in natural language processing and information retrieval, rather than only an intermediate state of a task-specific prediction pipeline.

The field has produced such embeddings primarily through specialist encoders over molecular graphs, SMILES strings, or molecular geometry [14, 51, 7]. These encoders are highly effective, especially for molecular prediction, but their representation interfaces are typically fixed in advance: one molecular view is encoded into a single unconditional vector. This raises a different embedding-model question: can molecular representations be exposed through a reusable interface whose input can vary by molecular view and semantic context?

Preprint.

To make this question precise, we study what we call a general molecular embedding model. Here, general emphasizes two properties beyond the usual reusable-vector view of embedding models. First, multi-view input: molecules can be described through complementary forms, such as 2D depictions, SMILES strings, conformers, and textual annotations, and a flexible model should accept the views available in a given workflow. Second, semantic conditioning: scientific workflows often impose different task lenses and domain expectations on the same molecule; a toxicity-focused query should emphasize different molecular evidence than a solubility-focused one. We formalize this object in Section 3.

MLLMs [1, 4, 12] are natural candidates for such models. They process heterogeneous inputs such as images, text, and symbolic inputs; they can receive semantic context through natural language; and their hidden states can be pooled into fixed-length embeddings. This structural fit is timely because the broader foundation-model community has begun to treat generative backbones as embedding models. LLM2Vec [5] and VLM2Vec [20] show that generative backbones can be adapted for retrieval and representation learning. This shift is also visible in industry-scale foundation-model systems: model families such as Qwen3-VL-Embedding [24] and Gemini Embedding [21] expose embedding-oriented variants, and DeepSeek-OCR 2 explores LM-style modules as visual encoders [38]. Together, these developments suggest that foundation models are increasingly being used not only as generators, but also as reusable representation backbones.

In chemistry and broader scientific applications of MLLMs, however, the dominant framing remains generative: explanation, captioning, multimodal reasoning, or direct prediction [23, 35, 29, 22, 52]. These capabilities are valuable, but they leave underexplored the stable vector interface that many molecular workflows require. We therefore ask whether MLLMs can serve not only as chemistry assistants or generators, but as the basis of general molecular embedding models.

We study this question through MolEmb, a lightweight framework for adapting MLLMs into molecular embedding models. Each molecule is represented by a multi-view profile consisting of a 2D depiction and a canonical SMILES string, while semantic context is supplied through a text instruction when needed. We extract a fixed-length representation from the MLLM and align molecular profiles with textual descriptions in a shared embedding space. For molecular learning, this route is attractive because it allows molecular embedding models to share the backbone and interface of modern foundation models, and thus to benefit in principle from progress in multimodal pretraining, scientific-domain data, inference infrastructure, and embedding-oriented training. Figure 1 summarizes this route and the embedding-centered workflows evaluated below.

We evaluate this route along three axes. First, directly adapted MLLMs provide competitive representations for molecular prediction across regression and classification benchmarks. Second, molecule–text contrastive alignment turns the same backbone into a reusable embedding model for cross-modal retrieval, showing that the representation can support embedding-based matching rather than only prediction. Third, we introduce MolCAR for diagnosing context-aware retrieval, and use MolCAR-Train to show that task-structured supervision can induce context-aware structure in the embedding space. Together, these results suggest that MLLMs are not merely chemistry assistants or generators, but a viable and extensible route to general molecular embedding models.

Our contributions are:

• We frame molecular representation learning through the lens of molecular embedding models, emphasizing embeddings as reusable deliverables rather than only intermediate states of prediction pipelines, and formalize the target object as a general molecular embedding model.

• We instantiate this perspective with MolEmb, a lightweight MLLM-based framework that aligns multi-view molecular profiles with textual descriptions in a shared embedding space to produce reusable molecular embeddings.

• We evaluate the MLLM-to-embedding route across molecular prediction, cross-modal retrieval, and context-aware retrieval, showing both its practical viability and that context-aware molecular embedding is primarily a data property of the supervision.

References (52)