Fine-Tuned Language Models Generate Stable Inorganic Materials as Text

Nate Gruver, Anuroop Sriram, Andrea Madotto, Andrew Gordon Wilson, C. Lawrence Zitnick +1 more
2/6/2024
cs.LGcond-mat.mtrl-sci

No official code found. Best implementation: facebookresearch/crystal-text-llm (122 stars, last commit 2024-06-18).

Abstract

We propose fine-tuning large language models for generation of stable materials. While unorthodox, fine-tuning large language models on text-encoded atomistic data is simple to implement yet reliable, with around 90% of sampled structures obeying physical constraints on atom positions and charges. Using energy above hull calculations from both learned ML potentials and gold-standard DFT calculations, we show that our strongest model (fine-tuned LLaMA-2 70B) can generate materials predicted to be metastable at about twice the rate (49% vs 28%) of CDVAE, a competing diffusion model. Because of text prompting's inherent flexibility, our models can simultaneously be used for unconditional generation of stable material, infilling of partial structures and text-conditional generation. Finally, we show that language models' ability to capture key symmetries of crystal structures improves with model scale, suggesting that the biases of pretrained LLMs are surprisingly well-suited for atomistic data.

View on arXivView PDF

Code Implementations(1)

Large language models to generate stable crystals.

12227Shell, PythonFeb 5, 20242 years agoNOASSERTION

Similar Papers

Cite this paper

@article{gruver2024finetuned,
  title  = {Fine-Tuned Language Models Generate Stable Inorganic Materials as Text},
  author = {Nate Gruver and Anuroop Sriram and Andrea Madotto and Andrew Gordon Wilson and C. Lawrence Zitnick and Zachary Ulissi},
  year   = {2024},
  eprint = {2402.04379},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.04379v2},
  journal = {ICLR 2024 2024}
}

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/2402.04379.svg)](https://codeofpaper.com/paper/2402.04379)

Discussion