fhat. Workspace

Wyckoff Transformer (WyFormer)

Recent

Generate new symmetric crystal structures with pretrained models.

space group set explicitly · restrict to given elements · conditioned on energy above hull · relaxed 3D structures · pretrained models available · GPU optional

Kazeev et al. 2025

External · Indexv0.1.0

Use with your agent

Read the fhat index entry "wyckoff-transformer" (https://fhat.dev/methods/wyckoff-transformer/SKILL.md) to decide whether Wyckoff Transformer (WyFormer) fits this problem; if it does, follow the project's official guides linked there.

Index entry. An external project maintained by SymmetryAdvantage, indexed by fhat from public sources. Not affiliated with or reviewed by its authors, and not verified by fhat. Follow the official guides below. Indexed at release v2.4 (commit aa8cdd5). Authors can request corrections or removal at contact@fhat.dev.

What it does

  • Generates crystals as Wyckoff representations: a space group plus the occupied Wyckoff positions and their elements. PyXtal then places the atoms, and an ML potential relaxes the result into a 3D structure (README).
  • Models the distribution with a permutation-invariant autoregressive model based on a Transformer encoder, conditioned formally on space-group symmetry (paper).
  • Pretrained models are published on Hugging Face (README).

When to use

  • You want new candidate periodic crystals that are generated with explicit space-group symmetry (paper).
  • You want candidates built from a given chemical system: a dedicated model generates genes that contain only the requested elements (generation guide).
  • You want candidates biased toward stability: an e_hull-conditioned model asks for genes near the convex hull, for a higher yield of new metastable structures (README).

When not to use

Only what the reviewed sources document is listed here.

  • It generates crystals described by a space group with occupied Wyckoff positions and their elements; a target that cannot be described this way is outside what it generates (README).

Key cautions

  • About 61% of the e_hull-conditioned model's draws are formally valid at the documented guidance scale, so the README draws twice as many as it keeps (README).
  • --chemical-system asks for compounds that contain every listed element; run subsystems such as TiO2 separately (README).
  • The lowest predicted energies favour large cells, which are slow to relax; the README limits the cell size with --max-atoms (README).
  • Compare energies only on the same scale. Relaxations with orb_conserv_inf load the checkpoint LeMat-Bulk's hull was built with, so they compare with that hull (generation guide). A column named energy_above_hull is raw PBE on LeMat but MP2020-corrected on MP, so never compare two energies by column name (AGENTS.md).
  • The 3D relaxation step needs the optional relax extra, which brings MACE and ORB (generation guide).
  • With several relaxation workers on a GPU, start conservatively: each worker builds its own calculator (generation guide).

Official guides

Sources

More methods are coming.