ChemVLM: Exploring the Power of Multimodal Large Language Models in Chemistry Area

Junxian Li, Di Zhang, Xunzhi Wang, Zeying Hao, Jingdi Lei, Qian Tan, Cai Zhou, Wei Liu, Yaotian Yang, Xinrui Xiong, Weiyun Wang, Zhe Chen, Wenhai Wang, Wei Li, Mao Su, Shufei Zhang, Wanli Ouyang, Yuqiang Li, Dongzhan Zhou

Abstract

The integration of visual information into large language models (LLMs) is crucial for domains like chemistry, where data is frequently represented through molecular structures and reaction schemes. We present ChemVLM, an open-source multimodal large language model (MLLM) specifically tailored for chemical tasks. By combining a high-resolution vision transformer with a domain-specialized language backbone, ChemVLM achieves superior performance in chemical optical character recognition (OCR) and complex reasoning compared to general-purpose models like GPT-4V. Our results demonstrate that domain-specific multimodal training significantly enhances a model's ability to interpret and reason about chemical visuals.

Introduction

Chemical knowledge is inherently multimodal, often conveyed through complex diagrams, molecular graphs, and reaction pathways. While generalist MLLMs have shown impressive capabilities, they frequently struggle with the precision required for chemical structures or the specialized logic needed for organic synthesis. Conversely, specialized OCR tools can digitize structures but lack the reasoning capacity to answer questions about them. ChemVLM addresses this "vision-reasoning gap" by providing a unified architecture capable of both perceiving and thinking about chemical information.

Methods

ChemVLM utilizes a ViT-MLP-LLM architecture, following the design philosophy of models like LLaVA and InternVL. The vision component is powered by InternViT-6B, capable of processing high-resolution 448x448 images. This is connected via a Multi-Layer Perceptron (MLP) projector to ChemLLM-20B, a language model pre-trained on extensive chemical corpora.

The ChemVLM architecture integrates a Vision Transformer and a Projector with a specialized Chemical Large Language Model to process multimodal queries.

The training process involved two stages:

  1. Alignment: Mapping visual features to the chemical embedding space while keeping the core LLM and Vision Encoder frozen.
  2. Supervised Fine-Tuning (SFT): Unfreezing all parameters to train on a curated dataset of 200,000 multimodal chemistry questions, including diverse image styles such as hand-drawn sketches and scanned literature.

Evaluation was conducted using a new suite of benchmarks: ChemOCR for structure-to-SMILES conversion, MMCR-Bench for complex reasoning, and MMChemBench for property prediction and captioning.

Key Results

ChemVLM demonstrates significant improvements over existing models. In chemical OCR, it achieved a 71.0% average Tanimoto similarity, far exceeding GPT-4V's 15.0%. On the MMCR-Bench, which features challenging questions from Chinese college entrance exams, ChemVLM scored 41.7%, outperforming both GPT-4V (40.1%) and InternVL-1.5 (36.5%).

A comparative analysis of ChemVLM and GPT-4V on a complex chemical experiment reasoning task, highlighting ChemVLM's superior domain-specific logic.

Qualitative analysis shows that ChemVLM can correctly identify precipitates and reaction sequences where general models fail. Furthermore, the model showed strong performance in property prediction (80.9% accuracy), suggesting that visual structural information provides a vital "shortcut" for the model to understand molecular behavior. Interestingly, the model also performed well in other scientific disciplines like Biology and Physics, suggesting that high-quality chemical reasoning data enhances general scientific logic.

Conclusion and Future Work

ChemVLM represents a significant step forward for open-source multimodal models in science. By specializing both the vision and language components for chemistry, it achieves state-of-the-art performance on domain-specific benchmarks. However, the authors acknowledge that the current 26B parameter size is computationally intensive. Future work will focus on exploring more efficient training methods, releasing models in varying parameter sizes, and integrating additional modalities, such as native molecular graphs, to capture even more complex chemical phenomena.

Summary updated

BibTeX
@inproceedings{li2025chemvlm,
  author = {Junxian Li and Di Zhang and Xunzhi Wang and Zeying Hao and Jingdi Lei and Qian Tan and Cai Zhou and Wei Liu and Yaotian Yang and Xinrui Xiong and Weiyun Wang and Zhe Chen and Wenhai Wang and Wei Li and Mao Su and Shufei Zhang and Wanli Ouyang and Yuqiang Li and Dongzhan Zhou},
  title = {{ChemVLM: Exploring the Power of Multimodal Large Language Models in Chemistry Area}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i1.32020},
}
Figure