TECHNOLOGY

Uni-Mol conformers: atom order and coordinate order must change together

In this article
THE QUICK TAKE

A molecule identifier alone does not specify the atom-indexed geometry consumed by a conformer-based model.

The same molecule can supply different geometries

A representation job may identify a molecule by its SMILES string while selecting a particular conformer for Uni-Mol. The identifier describes chemical connectivity, but the model input also includes geometry. A cache that ignores the selected coordinates can therefore merge different computational inputs.

The current unimol-tools workflow supports explicit atom and coordinate inputs. Record that geometry with the chosen model variant rather than treating it as temporary preparation data.

Atom and coordinate arrays share an index contract

The conformer implementation processes atom symbols and coordinates together. Sorting symbols independently from coordinate rows creates a different molecule representation while preserving array lengths and numeric validity.

Keep an atom identity map through parsing, filtering, and export. An independently generated conformer must be matched through atom identity, not attached to another atom array merely because both contain the same number of entries.

Hydrogen policy must match the model variant

The official pretrained model collection distinguishes variants with different hydrogen treatment. Removing hydrogens changes the represented atom set and requires the corresponding coordinate selection.

Store that policy with the checkpoint and preprocessing configuration. A representation produced with explicit hydrogens should not be labeled as equivalent to a no-hydrogen input simply because both originate from the same chemical identifier.

Cropping changes the represented structure

The current conformer path can limit atom count and applies the selected indices jointly to atoms and coordinates. Such cropping is part of the effective model input. A large molecule reduced to a selected atom subset should retain that selection in its provenance.

The tensor-axis guide helps distinguish a full molecular atom domain from a padded or cropped working axis. Special model positions introduced during preparation are also different from real atoms.

Validate geometry before downstream interpretation

Inspect atom symbols, coordinate correspondence, hydrogen handling, and any crop on a small molecule before processing a collection. Record conformer-generation settings and failures separately from successful representations.

The artifact validation guide motivates keeping these resources together. A stable molecular embedding is a computational feature, not an experimentally verified conformer or a direct guarantee of a molecule property. Evaluate the intended downstream task with the actual geometry and model preparation held fixed.

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