atlas

Research map / Large language models / Language, safety and interpretability

Bridging Molecular Graphs and Large Language Models

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Graph2Token aligns a molecular graph encoder's output to LLM vocabulary embeddings via cross-attention retrieval, training only a graph tokenizer and task head on a frozen Llama3-8B for few-shot molecular classification and regression.

Problem

LLMs handle molecular graph data poorly; existing graph-language tuning methods fine-tune projectors and LLM backbones with scarce molecule-text data, which harms generalization and few-shot ability.

Approach

Represent a graph as a special token whose embedding is produced by cross multi-head attention between the graph feature (query) and a compressed set of pretrained LLM token embeddings (keys/values), so the graph token is expressed in the LLM's own vocabulary space while the LLM backbone stays frozen; IUPAC names are added to prompts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Graph2Token instead of MolCA-GSMolecular classification transfer from BACE, BBBP, HIV to TOX21 · 5% few-shotROC-AUC: 63.6 -> 68.7Helped
use Graph2Token instead of MolCA-GSMolecular classification transfer from TOX21 to BACE, BBBP, HIV · 5% few-shotROC-AUC: 65.5 -> 65.5No clear effect
use Graph2Token instead of MolCA-GSMolecular classification transfer from BACE, BBBP, HIV to TOX21 · 10% few-shotROC-AUC: 67.2 -> 72.1Helped
use Graph2Token instead of MolCA-GSMolecular classification transfer from TOX21 to BACE, BBBP, HIV · 10% few-shotROC-AUC: 68.5 -> 68.7Helped
use Graph2Token instead of MolCA-GSPubchemQC-IUPAC regression · 5% few-shotAvg MAE (eV): 0.426 -> 0.392Helped
use Graph2Token instead of MolCA-GSPubchemQC-IUPAC regression · 10% few-shotAvg MAE (eV): 0.346 -> 0.324Helped
add IUPAC name to the prompt (ablation)Graph2Token · BBBP and TOX21 classification, 5% few-shotAvg ROC-AUC: 63.5 -> 64.9Helped
add cross-association and retrieval alignment instead of linear mapping (ablation)Graph2Token · BBBP and TOX21 classification, 5% few-shotAvg ROC-AUC: 62.6 -> 64.9Helped
pretrain the graph encoder on molecular-text data instead of random initialization (ablation)Graph2Token · BBBP and TOX21 classification, 5% few-shotAvg ROC-AUC: 63.6 -> 64.9Helped
add the LLM to the pretrained GNN and linear task layer (ablation)Graph2Token · BBBP and TOX21 classification, 5% few-shotAvg ROC-AUC: 61.2 -> 64.9Helped
add IUPAC name to the prompt (ablation)Graph2Token · BBBP and TOX21 classification, 10% few-shotAvg ROC-AUC: 67.3 -> 68.7Helped
add cross-association and retrieval alignment instead of linear mapping (ablation)Graph2Token · BBBP and TOX21 classification, 10% few-shotAvg ROC-AUC: 65.8 -> 68.7Helped

Surprising findings

Limitations

Experimental setup

Datasets: CHEBI HMDB PubChem MoleculeNet BBBP MoleculeNet BACE MoleculeNet HIV MoleculeNet TOX21 QM9 PubchemQC GIMLET Mol-Instructions

Benchmarks: BBBP BACE HIV TOX21 QM9 PubchemQC-IUPAC

Metrics: ROC-AUC MAE

Baselines: Galactica-6.7B Galactica-120B Vicuna-v1.5-13B-16k Llama-2-7B-chat Vicuna-v1.3-7B Llama3-Chat-8B Vicuna-7B Mol-Instructions MolCA-S MolCA-GS GPF-AttrMasking GPF-GCL

Builds on: CLIP GIN MolCA GPF Mol-Instructions

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy