Auxiliary outputs¶
These outputs, which are generally idenfified by the mtt::aux::
prefix,
represent additional information that the model may provide. They are not
conventional trainable outputs, in the sense that they do not correspond to
training targets. For example, such quantities might be the internal
representation of the model, uncertainty estimates, or non-trainable
quantities.
The following auxiliary outputs are currently supported by one or more architectures in the library:
mtt::aux::{target}_last_layer_features
: The representationof the model at the last layer, before the final linear transformation to produce target
target
. If the model produces multiple targets, the corresponding representations might be different. This output differs from thefeatures
output which is the same for all targets of a model.
features
: A common representation of the model for all targets. Generally, this will correspond to the last representation before the decoder(s), or heads, of the model.mtt::aux::{target}_uncertainty
andmtt::aux::{target}_ensemble
: Auxiliary outputs related to uncertainty estimation. For the energy output,mtt::aux::energy_ensemble
is instead namedenergy_uncertainty
. For the moment, these are only accessible through the LLPR module, which itself requires the use of themtt::aux::{target}_last_layer_features
output.
The following table shows the architectures that support each of the auxiliary outputs:
Auxiliary output |
SOAP-BPNN |
PET |
GAP |
NanoPET |
|
Yes |
Yes |
No |
Yes |
|
Yes |
Yes |
No |
Yes |
The following tables show the metadata that will be provided for each of the auxiliary outputs:
mtt::aux::{target}_last_layer_features¶
Metadata |
Names |
Description |
---|---|---|
keys |
|
if invariant or non-symmetrized, a single dimension named |
samples |
|
if a
|
components |
No components if invariant or non-symmetrized, |
Nothing if invariant or non-symmetrized, the O3 equivariant |
properties |
|
the last-layer features have a single property dimension named
|
features¶
See the
feature output
in metatensor.torch.atomistic
.