Evaluating In‐Context Learning in Large Language Models for Molecular Property Regression

Large language models (LLMs) demonstrate strong performance in natural language tasks, but their capacity for genuine in-context learning (ICL) in scientific regression remains unclear. We systematically assessed seven LLMs on molecular property prediction using a controlled framework of 56 transformed tasks that isolate shortcut learning and are designed to induce functional out-of-distribution (OOD) behavior. LLMs performed nearly perfectly on raw molecular weight prediction via shortcut cues but deteriorated under nonlinear transformations, whereas machine learning (ML) baselines showed greater robustness, yielding a performance crossover. Meta-analysis revealed that distributional descriptors and structure-activity landscape indices (SALI) predict task favorability, providing a framework for selecting between LLM- and ML-based approaches in chemistry.

Authors

Institutions

Publication Details

Journal
Journal of Computational Chemistry
Published
2026-01-15
DOI
https://doi.org/10.1002/jcc.70308
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating In‐Context Learning in Large Language Models for Molecular Property Regression

Rakwoo Chang, Chan Young Joe
Journal of Computational Chemistry
Machine Learning in Materials Science
article

Evaluating In‐Context Learning in Large Language Models for Molecular Property Regression

Rakwoo Chang, Chan Young Joe
article en

Abstract

Large language models (LLMs) demonstrate strong performance in natural language tasks, but their capacity for genuine in-context learning (ICL) in scientific regression remains unclear. We systematically assessed seven LLMs on molecular property prediction using a controlled framework of 56 transformed tasks that isolate shortcut learning and are designed to induce functional out-of-distribution (OOD) behavior. LLMs performed nearly perfectly on raw molecular weight prediction via shortcut cues but deteriorated under nonlinear transformations, whereas machine learning (ML) baselines showed greater robustness, yielding a performance crossover. Meta-analysis revealed that distributional descriptors and structure-activity landscape indices (SALI) predict task favorability, providing a framework for selecting between LLM- and ML-based approaches in chemistry.

Journal of Computational ChemistryVol. 47(2)
University of Seoul (KR), Yonsei University (KR)
University of Seoul
Quality Education
Openalex Percentile: Top 86%
Machine Learning in Materials Science
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Evaluating In‐Context Learning in Large Language Models for Molecular Property Regression — Rakwoo Chang, Chan Young Joe · Journal of Computational Chemistry (2026) | TGRS Research Map | TGRS