Journal of chemical information and modeling

In-Context Molecular Property Prediction with LLMs: A Blinding Study on Memorization and Knowledge Conflicts.

Matthias Busch, Marius Tacke, Sviatlana V Lamaka, Mikhail L Zheludkevich, Christian J Cyron, Christian Feiler, Roland C Aydin

Institute for Continuum and Material Mechanics, Technical University of Hamburg, Eißendorfer Straße, Hamburg21073, Germany. · Institute of Material Systems Modeling, Helmholtz-Zentrum Hereon, Max-Planck-Straße, Geesthacht21502, Germany.

Computational

Key points

From the paper's conclusion
  • We find no evidence of verbatim retrieval on the legacy benchmarks and show that blinding exposes conflicts between pretrained knowledge and in-context information.

Abstract

The capabilities of large language models (LLMs) have expanded beyond natural language processing to scientific prediction tasks, including molecular property prediction. However, their effectiveness in in-context learning remains ambiguous, particularly given the potential for training data contamination in widely used benchmarks. This paper investigates whether LLMs perform genuine in-context regression on molecular properties or instead rely on verbatim retrieval of memorized target values. Furthermore, we analyze the interplay between pretrained knowledge and in-context information through a series of progressively blinded experiments. We evaluate nine LLM variants across three families (GPT-4.1, GPT-5, Gemini 2.5) on three MoleculeNet data sets (Delaney solubility, Lipophilicity, QM7 atomization energy) using a systematic blinding approach that iteratively reduces available information, complemented by 0-, 60-, and 1000-shot in-context sample sizes as an additional control for information access. To validate the memorization analysis and the blinding experiments, we add a positive and a negative control for the memorization experiments and structural reference baselines for the multishot experiments, as well as bootstrap confidence intervals for all results. We find no evidence of verbatim retrieval on the legacy benchmarks and show that blinding exposes conflicts between pretrained knowledge and in-context information. This work provides a principled framework for evaluating molecular property prediction under controlled information access.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

In-Context Molecular Property Prediction with LLMs: A Blinding Study on Memorization and Knowledge Conflicts — Science Skim