Features¶
Features are numerical vectors representing a given structure or atom/atom-centered environment in an abstract n-dimensional space. They are also sometimes called descriptors, representations, embedding, etc.
Features can be computed with some analytical expression (for example SOAP power spectrum, atom-centered symmetry functions, …), or learned internally by a neural-network or a similar architecture.
In metatensor atomistic models, they are associated with the "features"
key
in the model outputs, and must adhere to the following metadata:
Metadata |
Names |
Description |
---|---|---|
keys |
|
the features keys must have a single dimension named |
samples |
|
the samples should be named The |
components |
the features must not have any components. |
|
properties |
the features can have arbitrary properties. |
Note
Features are typically handled without a unit, so the "unit"
field of
metatensor.torch.atomistic.ModelOutput()
is mainly left empty.
The following simulation engines can use the "features"
output:
(using run_model()
)
Features gradients¶
As for the energy, features are typically used with automatic gradient differentiation. Explicit gradients could be allowed if you have a use case for them, but are currently not until they are fully specified.