From Tokens to Materials: Leveraging Language Models for Scientific Discovery

Yuwei Wan, Tong Xie, Nan Wu, Wenjie Zhang, Chunyu Kit +1 more
10/21/2024
cs.CLcs.DB

No official code found. Best implementation: MasterAI-EAM/Matter2Vec (3 stars, last commit 2025-06-03).

Abstract

Exploring the predictive capabilities of language models in material science is an ongoing interest. This study investigates the application of language model embeddings to enhance material property prediction in materials science. By evaluating various contextual embedding methods and pre-trained models, including Bidirectional Encoder Representations from Transformers (BERT) and Generative Pre-trained Transformers (GPT), we demonstrate that domain-specific models, particularly MatBERT significantly outperform general-purpose models in extracting implicit knowledge from compound names and material properties. Our findings reveal that information-dense embeddings from the third layer of MatBERT, combined with a context-averaging approach, offer the most effective method for capturing material-property relationships from the scientific literature. We also identify a crucial "tokenizer effect," highlighting the importance of specialized text processing techniques that preserve complete compound names while maintaining consistent token counts. These insights underscore the value of domain-specific training and tokenization in materials science applications and offer a promising pathway for accelerating the discovery and development of new materials through AI-driven approaches.

View on arXivView PDF

Code Implementations(1)

30Python, Jupyter NotebookAug 21, 20231 years ago

Cite this paper

@article{wan2024from,
  title  = {From Tokens to Materials: Leveraging Language Models for Scientific Discovery},
  author = {Yuwei Wan and Tong Xie and Nan Wu and Wenjie Zhang and Chunyu Kit and Bram Hoex},
  year   = {2024},
  eprint = {2410.16165},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.16165v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.16165.svg)](https://codeofpaper.com/paper/2410.16165)

Discussion