Fine-Tuned Language Models Generate Stable Inorganic Materials as Text

N. Gruver, Anuroop Sriram, Andrea Madotto, A. Wilson, C. L. Zitnick, Zachary W. Ulissi, Meta Fair

arXiv:2402.04379 · 2026-07-27 공개 · arXiv · PDF

diffusion-models fine-tuning llama-2 text-prompting material-generation atomistic-data crystal-structures ml-potentials

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.

한국어 요약

한 줄 요약

LLaMA-2 70B를 미세조정한 언어 모델이 49%의 메타안정 구조를 생성하며, CDVAE 대비 2배 높은 성능을 보인다.

핵심 기여도

핵심 아이디어

본 연구는 대규모 언어 모델을 미세조정하여 무기 물질의 안정 구조를 텍스트로 생성하는 새로운 접근법을 제시한다. 기존의 확률 확장 모델이나 디퓨전 모델과 달리, 텍스트 인코딩된 원자 구조 데이터에 기반한 언어 모델은 구현이 간단하면서도 신뢰도가 높다. 특히, LLaMA-2 70B를 사용한 실험에서 90% 이상의 샘플이 물리적 제약을 준수했으며, 메타안정 구조 생성률이 CDVAE 대비 2배 높았다. 이는 텍스트 프롬프트의 유연성 덕분에 무조건 생성, 부분 구조 보완, 텍스트 조건 생성을 동시에 수행할 수 있음을 의미한다. 또한, 모델 규모가 커질수록 결정 구조의 대칭성을 더 잘 포착한다는 점에서, 사전 학습된 언어 모델의 편향이 원자 구조 데이터에 잘 맞는다는 통찰을 제시한다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 대규모 언어 모델이 과학적 데이터 생성에 직접적으로 활용될 수 있음을 보여준다. 특히, 텍스트 인터페이스를 통해 사용자가 조건을 명시적으로 제시할 수 있어, 물질 설계 및 발견 과정을 편리하게 만든다. 또한, 모델 규모가 증가할수록 결정 구조의 대칭성을 더 잘 포착한다는 점에서, 언어 모델의 사전 편향이 원자 구조 데이터에 잘 맞는다는 새로운 통찰을 제시한다. 그러나 한계점도 존재한다. 예를 들어, 프롬프트와 토크나이징 전략에 민감하며, 홀리스틱한 화학 원소나 구조를 창조하는 경우가 발생할 수 있다. 또한, 가장 큰 모델의 학습 비용이 높아 일부 계산 예산에서는 제한적일 수 있다.

실용적 활용

본 연구는 **물질 설계**, **신약 개발**, **로봇 경로 생성** 등 다양한 과학 분야에서 활용 가능하다. 특히, **텍스트 조건 생성** 기능을 통해 연구자들이 특정 성능을 갖는 물질을 직접 지정해 생성할 수 있어, **일상적인 물질 발견 작업**에 유용하게 사용될 수 있다.