Quantifying out-of-distribution data severity with Wasserstein distances: benchmarking large language models for alloy property prediction
Liu, YuJie, Xue, Dezhen, Sun, Jun, Ding, Xiangdong, Gao, Zhibin, Lookman, Turab
–arXiv.org Artificial Intelligence
General-purpose Large Language Models (LLMs) increasingly rival domain-specific pipelines on scientific prediction, but their performance under distribution shift is untested. Across six alloy and crystal-structure datasets, we benchmark LLMs against traditional, BERT-based, TabPFN, and text-regression baselines under random crossvalidation and six out-of-distribution (OOD) protocols shifting input and target distributions, with severity quantified via a standardized Wasserstein distance. We isolate the LLM's advantage over k-nearest-neighbor (k-NN) retrieval: it beats k-NN on all eight tasks at a fixed 5% reference budget, on seven of eight when independently optimized, and in 72.5% of 120 OOD task-protocol configurations against an optimized baseline. No model family is uniformly best; the LLM is often strongest under severe shift, and error increases with target-space but not representation-space severity. Self-reported LLM confidence tracks both shift and error, more consistently than a density-only control from the same retrieved samples, and a matched-cohort check finds no substantial evidence of memorization. Introduction The rapid advance of machine learning in materials science has traditionally emphasized domain-specific models pretrained on vast corpora of specialized literature, such as journal articles, reports, and databases1-7.
arXiv.org Artificial Intelligence
Nov-13-2026
- Country:
- North America > United States (0.67)
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Materials (0.68)
- Technology: