atlas

Research map / Large language models / Language, safety and interpretability

Invariant Tokenization of Crystalline Materials for Language Model Enabled Generation

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Mat2Seq, a tokenization that maps 3D crystals to unique, SE(3)- and periodic-invariant, complete 1D sequences (Niggli-reduced cell, space-group irreducible atoms) so a GPT-style LM can generate crystals without CIF augmentation.

Problem

Converting 3D crystal structures into 1D sequences for language models is not unique or invariant under SE(3) and periodic transformations when CIF files are used, so the same crystal can yield many different sequences.

Approach

Build a canonical unit cell (Niggli reduction, origin selected by atomic number and local densities) and encode it as lattice parameters, space group symbol, and fractional coordinates of irreducible atoms, yielding a unique and complete sequence per crystal that needs no data augmentation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Mat2Seq’s invariant crystal sequence representation instead of CIF sequencesCrystal language models · MP20 uniqueness verificationsuccess rate: 0% -> 100%Helped
Use Mat2Seq instead of CrystaLLM’s CIF representationCrystal structure generation · Perov-5, Carbon-24, MP20, and MPTS-52; one shot and 20 shotsmatch rateHelped
Use Mat2Seq instead of DiffCSPCrystal structure generation · MPTS-52 one shotmatch rate: +89% improvementHelped
Use Mat2Seq instead of DiffCSPCrystal structure generation · MPTS-52 20 shotsRMSE: 50% decreaseHelped
Reduce model size from 200 M to 25 M parameters (ablation)Mat2Seq · MP20 test setRMSE: 0.037 -> 0.039No clear effect
Reduce model size from 200 M to 25 M parameters (ablation)Mat2Seq · MP20 test setgeneration speed: 5.7 s -> 2.1 sHelped
Increase sampling temperature from 1.35 to 1.65 (ablation)Mat2Seq · MP20 random generationstructural validity: 94.2 % -> 88.6 %Hurt
Increase sampling temperature from 1.35 to 1.65 (ablation)Mat2Seq · MP20 random generationS.U.N. rate: 2.0% -> 3.2%Helped
Increase sampling temperature from 1.35 to 1.65 (ablation)Mat2Seq · MP20 random generationstability rate, E_hull < 0.0: 4.10% -> 4.50%Helped
Condition generation toward band gap 0 to 0.5 eVMat2Seq · Generated crystalssuccess rate for band gap < 0.5 eV: 83.6%Helped
Condition generation toward band gap 3.5 to 4.0 eVMat2Seq · Generated crystalssuccess rate for band gap > 3.0 eV: 90.7%Helped
Use Mat2Seq instead of CrystaLLMCrystal generation for recently discovered literature compositions · Recent literature challenge setvalidity: 23.7% ± 2.5% -> 27.3% ± 1.4%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Perov-5 Carbon-24 MP-20 MPTS-52 Materials Project OQMD NOMAD JARVIS-DFT

Benchmarks: Perov-5 Carbon-24 MP-20 MPTS-52 MP-20 random generation (FlowMM protocol) 10 recently discovered literature crystals JARVIS-DFT band gap conditioning

Metrics: match rate RMSE validity stability (E_hull via DFT) S.U.N. rate hit rate success rate for band gap uniqueness novelty

Baselines: CrystaLLM CDVAE DiffCSP FlowMM MatterGen

Builds on: CrystaLLM ComFormer GPT-2 Niggli cell reduction

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy