TECHNOLOGY

OPTIMADE: species_at_sites contains species names, not guaranteed element symbols

In this article
THE QUICK TAKE

A site label must be resolved through its species definition; mixed occupancy and vacancies need an explicit supported representation.

Resolve the site label through the declared species

The OPTIMADE specification maps each site to a species name, while the species definition supplies chemical symbols and concentrations. A convenient name can resemble an element symbol without defining the site’s chemistry by itself. An importer that directly turns site-label strings into atomic numbers therefore bypasses an important lookup. Read the linked species record before selecting a chemical feature vector for an atomistic neural model.

Test the adapter with a misleading label

Imagine a provider assigning a familiar-looking short name to a species whose actual chemical-symbol field describes another element. An adapter that guesses from the name can generate a perfectly shaped but chemically incorrect input. Build a diagnostic example where labels cannot be interpreted as element abbreviations, and check the resolved representation. This tests the format contract more effectively than validating only common records where species names happen to match the expected element symbols.

Declare what happens to partial occupancy

The format can represent mixed species and vacancies. A model expecting a single fully occupied atomic identity at every coordinate does not automatically support that representation. Choose a documented transformation, a suitable occupancy-aware model or an explicit exclusion rule. Silently selecting the first listed chemical symbol turns a statistical description into a different structure. Likewise, treating a vacancy marker as an ordinary element invents a physical interpretation that the source record did not provide.

Validate linked structural fields together

The Python tools structure model checks relationships among species, site labels and coordinate counts. Preserve these linked fields through filtering and reordering. Sorting positions without the matching species-at-sites array can exchange chemical identities while leaving all lengths valid. Retain structural-feature indicators and inspect any additional representation information the selected record uses before deciding that the resulting graph is a faithful model input.

Keep interoperability distinct from model compatibility

The original OPTIMADE paper describes a common exchange API across materials databases. Shared access does not imply that every returned structure meets every model’s physical assumptions. Record provider, API version, resolved species and transformation policy with the training artifact. The existing entity-group guide and software reproducibility guide support related identity and experiment context. A reliable adapter explains how source site semantics become model features, including structures it cannot represent without changing their meaning.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles