探测大语言模型中的材料知识:从潜在嵌入到可靠预测
Probing Materials Knowledge in LLMs: From Latent Embeddings to Reliable Predictions
AI总结:
研究发现大语言模型在材料科学任务中表现依赖于输出模态,微调提升符号任务准确性但数值任务仍不一致,提取中间层嵌入可提高性能但存在瓶颈,长期跟踪显示模型性能波动大,影响科学应用的可重复性。
摘要:
大型语言模型正越来越多地应用于材料科学,但关于其可靠性和知识编码的根本问题仍然存在。在四个材料科学任务上评估了25个LLM,超过200种基础和微调配置。我们发现输出模态从根本上决定了模型行为。对于符号任务,微调收敛到一致、可验证的答案,响应熵减少;而对于数值任务,微调提高了预测准确性,但模型在重复推理运行中仍不一致,限制了其作为定量预测器的可靠性。对于数值回归,我们发现通过从中间Transformer层提取嵌入比从模型文本输出获得更好的性能,揭示了“LLM头部瓶颈”,但这种效应取决于属性和数据集。最后,我们展示了GPT模型在材料科学中的长期研究,追踪四个模型18个月,观察到性能变化率为9%-43%,这对科学应用的可重复性构成挑战。
英文摘要:
Large language models are increasingly applied to materials science, yet fundamental questions remain about their reliability and knowledge encoding. Evaluating 25 LLMs across four materials science tasks -- over 200 base and fine-tuned configurations -- we find that output modality fundamentally determines model behavior. For symbolic tasks, fine-tuning converges to consistent, verifiable answers with reduced response entropy, while for numerical tasks, fine-tuning improves prediction accuracy but models remain inconsistent across repeated inference runs, limiting their reliability as quantitative predictors. For numerical regression, we find that better performance can be obtained by extracting embeddings directly from intermediate transformer layers than from model text output, revealing an ``LLM head bottleneck,'' though this effect is property- and dataset-dependent. Finally, we present a longitudinal study of GPT model performance in materials science, tracking four models over 18 months and observing 9--43\% performance variation that poses reproducibility challenges for scientific applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。