Search papers, labs, and topics across Lattice.
This paper introduces MolE-RAG, a retrieval-augmented generation framework designed to enhance large language models' (LLMs) performance in molecular property prediction by integrating diverse sources of contextual information. By augmenting predictions with retrieved chemistry literature, molecule-specific data, and structurally similar molecules, MolE-RAG significantly improves predictive accuracy across nine tasks, achieving up to a 28 percentage point increase in ROC-AUC for classification and a 67% reduction in regression RMSE compared to traditional SMILES-only approaches. The findings highlight the varying utility of context sources across different models and tasks, emphasizing the potential of molecule-centric retrieval to enhance LLM capabilities without requiring model fine-tuning.
Augmenting LLMs with targeted molecular context can boost prediction accuracy dramatically, achieving up to 28 percentage points improvement in classification tasks.
Large language models (LLMs) have shown promise for molecular property prediction, but their ability to reason over chemical structures remains limited, as molecular representations such as SMILES differ substantially from the natural language on which LLMs are primarily trained. To bridge this semantic and chemical knowledge gap, we propose MolE-RAG, a training-free, molecule-centric retrieval-augmented generation framework for LLM-based molecular property prediction. MolE-RAG augments each prediction with three complementary sources of inference-time context: retrieved chemistry literature, molecule-specific information including compound synonyms, identifiers, functional group annotations, and physicochemical descriptors, and structurally similar molecules retrieved from the training set. We evaluate MolE-RAG across nine molecular property prediction tasks using proprietary, chemistry-specialized, and open-source LLMs. Across general-purpose LLMs, MolE-RAG improves ROC-AUC by up to 28 percentage points on classification tasks and reduces regression RMSE by up to 67% relative to a SMILES-only baseline. We further find that the utility of each context source varies across models and tasks, with different models benefiting most from textual retrieval, molecular context, or structural retrieval. These results suggest that molecule-centric retrieval can improve LLM-based molecular property prediction without model fine-tuning while providing a flexible framework for integrating heterogeneous chemical knowledge at inference time.