Component catalogue
Built-in transformations grouped by the role they play in an E3GNN. Inputs
are listed in positional order. All transformations are ordinary
torch.nn.Module instances and can be used outside a pipeline.
Geometry and embeddings
Transformation |
Inputs |
Output and key options |
|---|---|---|
|
positions, box, edge index, shifts, node batch |
Differentiable \(\bm r_{ij}^{\bm L}\) on a fixed support. |
|
vectors |
\(\|\bm r\|\). |
|
edge lengths |
|
|
edge lengths |
\(\sqrt{2/r_c}\,\sin(n\pi r/r_c)/r\) times a polynomial envelope
( |
|
edge vectors |
\(Y^\ell(\hat{\bm r})\) for |
|
edge index, vectors (+ frames, neighbourhood) |
Local orthonormal bond frames and harmonics of neighbours expressed in them. |
|
species index |
Learned embedding ( |
|
node species index |
MANDALA node encoder, \(h^0=\mathrm{Emb}(z)\). |
|
pair index, radial, angular |
MANDALA rich edge encoder, \(\mathrm{TP}(\mathrm{Emb}(t),\varphi\oplus\mathrm{TS}(Y))\). |
Message passing
Transformation |
Inputs |
Output and key options |
|---|---|---|
|
node, edge, edge index, harmonics, radial, one-hot, pair index |
MANDALA node/edge update blocks (The MANDALA E3GNN). |
|
node, species, angular, edge, radial, edge index, node batch |
DeepH-E3 style updates: gated tensor-product convolution, species self-connection, graph normalization. |
|
node, edge, edge index |
\(\bm h_i\oplus\bm h_j\oplus\bm e_{ij}\). |
|
features, angular, radial, edge batch |
Factorized tensor product, gate, radial channel scaling
( |
|
messages, edge index, node reference |
|
|
messages, nodes, radial, edge index |
MANDALA invariant multi-head attention reducer ( |
|
as the node update |
MANDALA attention node update as one stage. |
|
node attributes and features, edge attributes, radial, edge index |
MACE-style atomic basis \(A_i=\sum_j R(r_{ij})Y(\hat{\bm r}_{ij})\otimes h_j\)
and its learned symmetric powers up to |
|
hidden stream, angular stream, species |
Couples a node stream with a separately carried angular stream. |
|
invariant node/edge features, bond neighbourhood relations |
DeepH-style invariant and local-coordinate messages. |
|
invariant features |
Gated MLP on scalars ( |
Feature operations
Transformation |
Inputs |
Output and key options |
|---|---|---|
|
irreps |
Equivariant linear map to |
|
invariant / channel / bond-frame features |
Dense maps where no rotation acts. |
|
irreps |
|
|
irreps, entity batch |
Per-graph equivariant normalization. |
|
irreps, species attributes |
Species-conditioned self-connection. |
|
two or more feature slots |
Residual (with projection when layouts differ), sum, direct sum. |
|
lengths / values and invariant weights |
Invariant edge weights and their application. |
Frames and adapters
Transformation |
Inputs |
Output and key options |
|---|---|---|
|
irreps |
Re-express non-scalar irreps between Cartesian axis orders ( |
|
irreps, edge index, bond frames |
Rotate global irreps into the local bond frame ( |
Readout and operator decoding
Transformation |
Inputs |
Output and key options |
|---|---|---|
|
node, edge, pair edges, edge partitions |
MANDALA |
|
per-pair vectors |
Repacks per-pair vectors into the shell codec layout. |
|
coupled irreps, pair index |
Train-split fitted per-pair, per-irrep affine statistics. |
|
coupled irreps |
Clebsch–Gordan decoding of |
|
bond-frame components |
Bond-frame orbital entries, including spin–orbit components. |
Reference presets
configs/reference composes these stages into published architectures and
configs/hybrids mixes them:
File |
Composition |
|---|---|
|
Flat MANDALA configuration of the SiO2 paper model. |
|
Invariant DeepH messages in local bond coordinates. |
|
DeepH-E3 endpoint tensor-product updates and linear readout. |
|
MACE-H neighbour densities, symmetric products and angular expansion. |
|
Factorized radial tensor-product messages with MANDALA attention. |
|
MACE-style symmetric products with attention and a pair readout. |
|
Tensor products, angular degree expansion and a shell readout. |
|
Equivariant node features read out in local bond frames. |