In-Context Molecular Property Prediction with LLMs: A Blinding Study on Memorization and Knowledge Conflicts
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.
Authors
- Sviatlana V. Lamaka (ORCID: https://orcid.org/0000-0002-0349-0899)
- Roland C. Aydin (ORCID: https://orcid.org/0000-0002-9542-9146)
- M. Busch (ORCID: https://orcid.org/0000-0002-8456-3374)
- Christian J. Cyron (ORCID: https://orcid.org/0000-0001-8264-0885)
- M. Tacke (ORCID: https://orcid.org/0009-0009-5899-5550)
- Christian Feiler
- Mikhail L. Zheludkevich
Institutions
- Universität Hamburg (DE)
- German Research Centre for Artificial Intelligence (DE)
- Helmholtz-Zentrum Hereon (DE)
- Hamburg University of Technology (DE)
- Saarland University (DE)
Publication Details
- Journal
- Journal of Chemical Information and Modeling
- Published
- 2026-09-17
- DOI
- https://doi.org/10.1021/acs.jcim.6c00961
- Citations
- 1
- Primary Topic
- Machine Learning in Materials Science
- Type
- article
- Field-Weighted Citation Impact
- 1.76
Funders
- Helmholtz-Gemeinschaft