All models

Chemeleon

A diffusion model that generates crystal structures and compositions guided by a text description.

Molecules, proteins and genomics · 1,080 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (37 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
137.1M
Operations
1,080
Framework
PyTorch
Recurrent
No
Published
2024, Nature Communications
Cited by
35 (as of 28 October 2026)
Authors
Hyunsoo Park, Anthony Onwuli, Aron Walsh
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15285
Graph hash
d7a00b4bdc66ca0da2218807535e07e6ee0cad861ba30caba043e4e6eff28a9a
Skeleton hash
0076bcdd68726934c88494f81b649bf9bddc7354d7d3d842999331a2144e8de5
Architecture hash
fc80e4cf9f994ccfc54f15527de599b4e9e6c8b9e084849b7cf783e48d3e6194
Diagram SHA-256
3974479ff326da163e076bc1d18f884f6d356c8541adccfb7471297203c63b8d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Chemeleon generates crystals from text. It is a denoising diffusion model that learns from textual descriptions alongside three-dimensional structural data and samples chemical compositions and crystal structures.

The model has two components. The first, Crystal CLIP, is a text encoder pre-trained through contrastive learning so that its text embeddings align with graph neural network embeddings derived from crystal structures. The second is a classifier-free guidance diffusion model that predicts noise at each time step while taking in the text embeddings from Crystal CLIP. A crystal is a unit cell made of lattice vectors, atom types and atom coordinates, and each of the three has its own diffusion process. Atom types are discrete and follow the D3PM approach, the lattice matrix receives Gaussian noise, and the fractional coordinates use a wrapped normal distribution that preserves periodicity.

The denoising network is the E(3)-equivariant GNN developed by DiffCSP, and the text embeddings enter it through Feature-wise Linear Modulation (FiLM) layers. Training used inorganic crystal structures from the Materials Project with 40 or fewer atoms in the primitive unit cell. This model was trained with general text inputs created by LLMs, a form that the paper says allows a more diverse range of textual descriptions.

Key idea. Chemeleon guides a crystal diffusion model with text by first aligning a text encoder with crystal graph embeddings through contrastive learning.

  • chemeleon
  • crystal clip
  • text-guided crystal generation
  • crystal structure generation
  • crystal diffusion model
  • materials generation
  • text to crystal
  • inorganic crystals
  • materials project

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Park_2025, title={Exploration of crystal chemical space using text-guided generative artificial intelligence}, volume={16}, ISSN={2041-1723}, url={http://dx.doi.org/10.1038/s41467-025-59636-y}, DOI={10.1038/s41467-025-59636-y}, number={1}, journal={Nature Communications}, publisher={Springer Science and Business Media LLC}, author={Park, Hyunsoo and Onwuli, Anthony and Walsh, Aron}, year={2025}, month=May }