Lune

ICLR2024Top-tier venue

Fine-Tuned Language Models Generate Stable Inorganic Materials as Text

Nate Gruver, Anuroop Sriram, Andrea Madotto, Andrew Gordon Wilson, C. Lawrence Zitnick, Zachary W. Ulissi

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 CD-VAE, 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

29 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
  • FlowLLM: Flow Matching for Material Generation with Large Language Models as Base Distributions cites LoRA: Low-Rank Adaptation of Large Language Models
  • FlowLLM: Flow Matching for Material Generation with Large Language Models as Base Distributions cites Large Language Models Are Zero-Shot Time Series Forecasters
  • FlowLLM: Flow Matching for Material Generation with Large Language Models as Base Distributions cites FlowMM: Generating Materials with Riemannian Flow Matching
  • Invariant Tokenization of Crystalline Materials for Language Model Enabled Generation cites FlowMM: Generating Materials with Riemannian Flow Matching
  • A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discovery cites Language Models are Few-Shot Learners
  • Large Language Models Are Zero-Shot Time Series Forecasters cites Language Models are Few-Shot Learners
  • FlowMM: Generating Materials with Riemannian Flow Matching cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers29

  1. FlowMM: Generating Materials with Riemannian Flow MatchingBenjamin Kurt Miller, Ricky T. Q. Chen, Anuroop Sriram, Brandon M. WoodICML 2024 · 101 citations
  2. FlowLLM: Flow Matching for Material Generation with Large Language Models as Base DistributionsAnuroop Sriram, Benjamin Kurt Miller, Ricky T. Q. Chen, Brandon M. WoodNeurIPS 2024 · 78 citations
  3. A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific DiscoveryYu Zhang, Xiusi Chen, Bowen Jin, Sheng Wang et al.EMNLP 2024 · 28 citations
  4. Generative Hierarchical Materials SearchSherry Yang, Simon L. Batzner, Ruiqi Gao, Muratahan Aykol et al.NeurIPS 2024 · 23 citations
  5. Invariant Tokenization of Crystalline Materials for Language Model Enabled GenerationKeqiang Yan, Xiner Li, Hongyi Ling, Kenna Ashen et al.NeurIPS 2024 · 23 citations

Builds on12

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  4. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
  5. Large Language Models Are Zero-Shot Time Series ForecastersNate Gruver, Marc Finzi, Shikai Qiu, Andrew Gordon WilsonNeurIPS 2023 · 898 citations

Related papers

  1. LLM Meets Diffusion: A Hybrid Framework for Crystal Material GenerationSubhojyoti Khastagir, Kishalay Das, Pawan Goyal, Seung-Cheol Lee et al.NeurIPS 2025 · 14 citations
  2. CrystalICL: Enabling In-Context Learning for Crystal GenerationRuobing Wang, Qiaoyu Tan, Yili Wang, Ying Wang et al.EMNLP 2025 · 3 citations
  3. PLaID++: A Preference Aligned Language Model for Targeted Inorganic Materials DesignAndy Xu, Rohan Desai, Larry Wang, Ethan Ritz et al.ICML 2026 · 11 citations
  4. Scalable Diffusion for Materials GenerationSherry Yang, KwangHwan Cho, Amil Merchant, Pieter Abbeel et al.ICLR 2024 · 77 citations
  5. Free and Fair Hardware: A Pathway to Copyright Infringement-Free Verilog Generation using LLMsSam Bush, Matthew DeLorenzo, Phat Tieu, Jeyavijayan RajendranDAC 2025 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines