arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.03456cs.CLcond-mat.mtrl-sci
收藏

文本到带隙:预训练语言模型作为半导体带隙预测的编码器

Text to Band Gap: Pre-trained Language Models as Encoders for Semiconductor Band Gap Prediction

Department of Chemical Engineering, Carnegie Mellon University(化学工程系,卡内基梅隆大学);Department of Mechanical Engineering, Carnegie Mellon University(机械工程系,卡内基梅隆大学);Department of Material Science Engineering, Carnegie Mellon University(材料科学工程系,卡内基梅隆大学)

Ying-Ting Yeh, Janghoon Ock, Achuth Chandrasekhar, Shagun Maheshwari, Amir Barati Farimani

AI总结:

本研究探索预训练语言模型直接从文本描述预测半导体带隙,微调Llama-3取得最佳精度(MAE 0.248 eV),证明该方法可有效提取文本中的特征-性质关系。

摘要:

我们研究了基于Transformer的语言模型,包括RoBERTa、T5、Llama-3和MatSciBERT,用于直接从文本描述预测半导体材料的带隙。输入编码了关键的材料特征,如化学成分、晶体系统、空间群以及其他结构和电子性质。与需要大量特征工程的浅层机器学习模型或依赖从原子坐标导出的图表示的图神经网络不同,预训练语言模型可以直接处理文本输入,无需手动特征预处理或基于结构的编码。材料描述以两种格式构建:具有一致模板的结构化字符串和通过ChatGPT API生成的自然语言叙述。每个模型都附加了一个自定义回归头,并针对带隙预测任务进行了微调。不同架构和参数规模的语言模型都能够从人类可读文本中以较高的准确度预测带隙,平均绝对误差(MAE)在0.25-0.33 eV范围内,突显了该方法在科学回归任务中的成功。微调后的Llama-3具有12亿参数,达到了最高准确度(MAE 0.248 eV,R2 0.891)。在材料科学文献上预训练的MatSciBERT,以显著更少的参数(1.1亿)达到了可比的性能(MAE 0.288 eV,R2 0.871),强调了领域特定预训练的重要性。注意力分析表明,两个模型都选择性地关注成分和自旋相关特征,而弱化几何特征,反映了从文本中捕捉空间信息的困难。这些结果确立了预训练语言模型能够有效地从文本材料描述中提取复杂的特征-性质关系。

英文摘要:

We investigate transformer-based language models, including RoBERTa, T5, Llama-3, and MatSciBERT, for predicting the band gaps of semiconductor materials directly from textual descriptions. The inputs encode key material features, such as chemical composition, crystal system, space group, and other structural and electronic properties. Unlike shallow machine learning models, which require extensive feature engineering, or Graph Neural Networks, which rely on graph representations derived from atomic coordinates, pretrained language models can process textual inputs directly, eliminating the need for manual feature preprocessing or structure-based encoding. Material descriptions were constructed in two formats: structured strings with a consistent template and natural language narratives generated via the ChatGPT API. Each model was augmented with a custom regression head and finetuned for band gap prediction task. Language models of different architectures and parameter sizes were all able to predict band gaps from human-readable text with strong accuracy, achieving MAEs in the range of 0.25-0.33 eV, highlighting the success of this approach for scientific regression tasks. Finetuned Llama-3, with 1.2 billion parameters, achieved the highest accuracy (MAE 0.248 eV, R2 0.891). MatSciBERT, pretrained on materials science literature, reached comparable performance (MAE 0.288 eV, R2 0.871) with significantly fewer parameters (110 million), emphasizing the importance of domain-specific pretraining. Attention analysis shows that both models selectively focus on compositional and spin-related features while de-emphasizing geometric features, reflecting the difficulty of capturing spatial information from text. These results establish that pretrained language models can effectively extract complex feature-property relationships from textual material descriptions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑