Permutation-Symmetric Particle Layers
For an indistinguishable $M$-particle Hamiltonian system on $T^*(\mathbb{R}^d)^M \cong \mathbb{R}^{2Md}$, reordering particle indices via $\sigma \in S_M$ is a canonical symplectomorphism:
\[P_\sigma^T \mathbb{J}_{2Md} P_\sigma = \mathbb{J}_{2Md}, \qquad P_\sigma = \begin{bmatrix} \Pi_\sigma \otimes I_d & \mathbb{O} \\ \mathbb{O} & \Pi_\sigma \otimes I_d \end{bmatrix}.\]
A standard PSDLayer, GradientLayerQ, or GradientLayerP breaks $S_M$ symmetry unless the particle state is canonicalized or processed by $S_M$-equivariant symplectic layers. GeometricMachineLearning provides three particle frontends and the composite architecture SymmetricSymplecticAutoencoder. The sorting and slot frontends are invariant under a relabelling of particles with distinct coordinates along the sorting axis; the pairwise shears are $S_M$-equivariant. Sorting is discontinuous in $p$ where two particles cross along the sorting axis, so the Jacobian identity of a sorting frontend holds only away from those crossings. The sorting and slot frontends suit systems that keep their particle order, not a collisionless plasma, whose sorted snapshots are not low-rank.
Relabelling, Symmetric Encoders and Decoders
The permutation matrix of $\sigma \in S_M$ has the entries $(\Pi_\sigma)_{ij} = \delta_{i\,\sigma(j)}$. It moves the $j$-th entry of a vector to position $\sigma(j)$, $(\Pi_\sigma w)_{\sigma(j)} = w_j$, and $\Pi_\sigma^T = \Pi_\sigma^{-1} = \Pi_{\sigma^{-1}}$. $P_\sigma$ thus relabels the particles [42]: $P_\sigma(q, p)$ has $q_j$ and $p_j$ in place of $q_{\sigma(j)}$ and $p_{\sigma(j)}$. In this convention, the permutation perm = σ that CanonicalSortLayer returns, with q_sorted[:, i] = q[:, σ[i]], is the relabelling $P_{\sigma^{-1}}$.
A state $x$ and its relabelled copies $P_\sigma x$ describe the same physical state, so model reduction has to be viewed modulo relabelling: the physical states are the classes $[x] = \{P_\sigma x : \sigma \in S_M\}$, the points of $\mathbb{R}^{2Md}/S_M$.
On the latent space $\mathbb{R}^{2n}$, $\sigma$ acts by a map $R_\sigma$ that depends on the architecture. $R_\sigma = \mathrm{id}$ is the trivial action. If $n = M\tilde{d}$, the canonical coordinates of the latent space can be grouped into $M$ latent positions and momenta in $\mathbb{R}^{\tilde{d}}$ in the same way as $(q, p)$, and $R_\sigma$ can be $P_\sigma$ with $I_d$ replaced by $I_{\tilde{d}}$. Let $U \subseteq \mathbb{R}^{2Md}$ be $S_M$-invariant, i.e. $P_\sigma(U) = U$ for all $\sigma \in S_M$. Then:
- an encoder $\Psi^e$ is permutation-symmetric on $U$ if $\Psi^e(P_\sigma x) = R_\sigma(\Psi^e(x))$ for all $x \in U$ and $\sigma \in S_M$, and permutation-invariant if, in addition, $R_\sigma = \mathrm{id}$;
- a decoder $\Psi^d$ is permutation-symmetric if $\Psi^d(R_\sigma\xi) = P_\sigma\Psi^d(\xi)$ for all $\xi \in \mathbb{R}^{2n}$ and $\sigma \in S_M$.
For $R_\sigma = \mathrm{id}$ the decoder condition reads $P_\sigma \circ \Psi^d = \Psi^d$, so the decoder would map into the states in which all particles share position and momentum. With a permutation-invariant encoder, an autoencoder can therefore only reconstruct a state modulo relabelling, $\Psi^d(\Psi^e(x)) \in [x]$; since $\Psi^d \circ \Psi^e$ is constant on every class in $U$, it reproduces at most one representative of $[x]$ exactly.
The sorting and the slot frontends make the encoder permutation-invariant on the states with distinct coordinates along the sorting axis. The pairwise shears are permutation-symmetric maps of $\mathbb{R}^{2Md}$ with $R_\sigma = P_\sigma$, but the left-inverse core after them is not, so that encoder is in general not permutation-symmetric. This is why the architecture is called symmetric and not invariant: only two of its three frontends give an invariant encoder, and its decoder is not permutation-symmetric for the trivial action.
Canonical Weyl-Chamber Sorting
Sorting the particles into a canonical order makes any function of the sorted state invariant under relabelling [43, 44]. With the sort below, this holds for particles with distinct coordinates along the sorting axis: the stable sort keeps particles with equal coordinates in their input order, so relabelling them can change the sorted state. CanonicalSortLayer sorts the $M$ particles in ascending order of coordinate row Axis of $q$ using a stable merge sort (MergeSort) and applies the identical permutation $\sigma_b \in S_M$ to both $q$ and $p$ in each snapshot $b$. InvertCanonicalSortLayer applies the inverse permutation $\sigma_b^{-1}$.
GeometricMachineLearning.CanonicalSortLayer — Type
CanonicalSortLayer{N, M, Axis}()
CanonicalSortLayer(M::Integer, d::Integer, axis::Integer = 1)Make an instance of a cotangent-lifted canonical Weyl-chamber particle sorting layer for M particles in $d$ spatial dimensions, sorting along coordinate row Axis (1 <= Axis <= d, default 1).
The first type parameter is the phase-space dimension N = 2Md, which input_dimension and output_dimension return. Given a (q, p) NamedTuple with q, p of shape (d, M) (single snapshot) or (d, M, B) (batch of $B$ snapshots), CanonicalSortLayer{N, M, Axis}() sorts the M particles in ascending order of coordinate row Axis of q using a stable merge sort (MergeSort), applies the identical permutation $\sigma_b \in S_M$ to both q and p in each batch sample $b$, and returns (q = q_sorted, p = p_sorted, perm = σ). On a flattened phase-space vector of length $2Md$ or snapshot matrix of shape $(2Md, B)$, it reshapes each half to (d, M) or (d, M, B) and returns the sorted flattened state.
The sort is discontinuous in p where two particles cross along the sorting axis, because the permutation changes there, so the Jacobian identity $(\nabla\Psi)^T \mathbb{J}_{2Md} \nabla\Psi = \mathbb{J}_{2Md}$ holds only away from those crossings. Sorting suits systems that keep their particle order, not a collisionless plasma, whose sorted snapshots are not low-rank.
GeometricMachineLearning.InvertCanonicalSortLayer — Type
InvertCanonicalSortLayer{N, M}()
InvertCanonicalSortLayer(M::Integer, d::Integer)Make an instance of the analytic inverse of CanonicalSortLayer for M particles in $d$ spatial dimensions; the first type parameter is the phase-space dimension N = 2Md.
Given (q = q̂, p = p̂, perm = σ), InvertCanonicalSortLayer{N, M}() applies $\sigma_b^{-1}$ (invperm(σ_b)) to both q̂ and p̂ in each batch sample $b$ and returns (q = q_unsorted, p = p_unsorted). When called on (q, p) or a flattened array without a stored perm, it acts as the identity on the canonical Weyl chamber.
Pairwise Symplectic Shears
PairwiseSymplecticLayerQ and PairwiseSymplecticLayerP apply $S_M$-equivariant canonical gradient shears generated by a potential with a term for each particle and a term for each pair of particles [43], with exact analytic inverses InversePairwiseSymplecticLayerQ and InversePairwiseSymplecticLayerP.
GeometricMachineLearning.PairwiseSymplecticLayer — Type
PairwiseSymplecticLayer{M, U, TA, C, Sign} <: SympNetLayer{M, M}Permutation-equivariant pairwise symplectic shear layer on $T^*(\mathbb{R}^d)^{M_p} \cong \mathbb{R}^{M}$ with total phase-space dimension M = 2 * M_p * d and upscaled per-particle feature dimension U = upscale * d.
See PairwiseSymplecticLayerQ, PairwiseSymplecticLayerP, InversePairwiseSymplecticLayerQ, and InversePairwiseSymplecticLayerP.
GeometricMachineLearning.PairwiseSymplecticLayerQ — Type
PairwiseSymplecticLayerQ(M, d, upscale, activation = tanh)Make an instance of an $S_M$-equivariant pairwise symplectic layer that updates canonical momenta $p$ via self and pairwise relative potential forces:
\[p_i^{\mathrm{new}} = p_i - K_{\mathrm{self}}^T \sigma(K_{\mathrm{self}} q_i + b_{\mathrm{self}}) - \frac{1}{M}\sum_{j=1}^M K_{\mathrm{pair}}^T \tau\bigl(K_{\mathrm{pair}}(q_i - q_j)\bigr),\]
where $\tau(x) = \sigma(x) - \sigma(-x)$ is oddized so that the pairwise force $f_{ij} = -f_{ji}$ is skew-symmetric in $(i, j)$ and conserves total canonical momentum $\sum_{i=1}^M p_i$ when $K_{\mathrm{self}} = 0$.
GeometricMachineLearning.PairwiseSymplecticLayerP — Type
PairwiseSymplecticLayerP(M, d, upscale, activation = tanh)Make an instance of an $S_M$-equivariant pairwise symplectic layer that updates canonical positions $q$ via self and pairwise relative velocity differences $p_i - p_j$:
\[q_i^{\mathrm{new}} = q_i + K_{\mathrm{self}}^T \sigma(K_{\mathrm{self}} p_i + b_{\mathrm{self}}) + \frac{1}{M}\sum_{j=1}^M K_{\mathrm{pair}}^T \tau\bigl(K_{\mathrm{pair}}(p_i - p_j)\bigr),\]
where $\tau(x) = \sigma(x) - \sigma(-x)$.
GeometricMachineLearning.InversePairwiseSymplecticLayerQ — Type
InversePairwiseSymplecticLayerQ(M, d, upscale, activation = tanh)Analytic symplectic inverse of PairwiseSymplecticLayerQ, flipping the sign of the momentum force update while sharing the identical parameter NamedTuple ps.
GeometricMachineLearning.InversePairwiseSymplecticLayerP — Type
InversePairwiseSymplecticLayerP(M, d, upscale, activation = tanh)Analytic symplectic inverse of PairwiseSymplecticLayerP, flipping the sign of the position displacement update while sharing the identical parameter NamedTuple ps.
Canonical Slot Reduction
CanonicalSlotLayer sorts the particles along coordinate row 1 of $q$ with CanonicalSortLayer, separates the center-of-mass mode $(Q_{\mathrm{cm}}, P_{\mathrm{cm}})$ from the $M - 1$ zero-sum relative modes via the orthogonal Helmert / Jacobi transformation [45], sorts the $M - 1$ relative modes by descending squared phase-space norm $\|q_{\mathrm{rel}, k}\|_2^2 + \|p_{\mathrm{rel}, k}\|_2^2$, and projects onto $N_{\mathrm{slots}} - 1$ relative slots, a term taken from [46], via a learned Stiefel matrix $\Phi_{\mathrm{rel}} \in \mathrm{St}(N_{\mathrm{slots}} - 1, M - 1)$. Its analytic decoder lift is InverseCanonicalSlotLayer. The particles are already sorted, so the second sort removes no symmetry, and it makes the output discontinuous where two relative-mode norms cross. The layer is a linear projection of sorted states for a fixed particle count $M$; it takes no variable particle count and has no Löwdin-orthogonalised affinity slots.
GeometricMachineLearning.CanonicalSlotLayer — Type
CanonicalSlotLayer{N, NOut, M, NSlots}()
CanonicalSlotLayer(M::Integer, d::Integer, NSlots::Integer)Make an instance of a canonical slot reduction layer mapping M particles in $d$ spatial dimensions to NSlots canonical slots (M >= 2, 1 <= NSlots <= M).
The first two type parameters are the phase-space dimensions N = 2Md of the particles and NOut = 2 NSlots d of the slots, which input_dimension and output_dimension return. The layer first sorts the particles along coordinate row 1 of q with CanonicalSortLayer, so that its output is invariant under a relabelling of particles with distinct first coordinates. It then applies the orthogonal Helmert / Jacobi transformation separating the center-of-mass mode
\[(Q_{\mathrm{cm}}, P_{\mathrm{cm}}) = \frac{1}{\sqrt{M}}\sum_{i=1}^M (q_i, p_i)\]
from the $M - 1$ zero-sum relative modes $(q_{\mathrm{rel}}, p_{\mathrm{rel}}) \in \mathbb{R}^{d \times (M - 1)}$, sorts the $M - 1$ relative modes by descending squared phase-space norm $\|q_{\mathrm{rel}, k}\|_2^2 + \|p_{\mathrm{rel}, k}\|_2^2$ (sortperm with rev = true, alg = MergeSort, applying the identical permutation $\sigma_{\mathrm{rel}} \in S_{M - 1}$ to both $q_{\mathrm{rel}}$ and $p_{\mathrm{rel}}$), and projects the sorted relative modes onto $N_{\mathrm{slots}} - 1$ relative slots via a learned StiefelManifold parameter $\Phi_{\mathrm{rel}} \in \mathrm{St}(N_{\mathrm{slots}} - 1, M - 1)$ while keeping $(Q_{\mathrm{cm}}, P_{\mathrm{cm}})$ intact as slot 1. The particles are already sorted, so this second sort removes no symmetry, and it makes the output discontinuous where two relative-mode norms cross.
The layer is a linear projection of sorted states for a fixed particle count M; it takes no variable particle count and has no Löwdin-orthogonalised affinity slots. The sort of the particles is discontinuous in p where two particles cross along coordinate row 1, so the identities of the layer's Jacobian hold only away from those crossings. The layer suits systems that keep their particle order, not a collisionless plasma, whose sorted snapshots are not low-rank.
GeometricMachineLearning.InverseCanonicalSlotLayer — Type
InverseCanonicalSlotLayer{N, NOut, M, NSlots}()
InverseCanonicalSlotLayer(M::Integer, d::Integer, NSlots::Integer)Analytic symplectic decoder lift (inverse_layer(CanonicalSlotLayer(M, d, NSlots))) mapping NSlots canonical slots back to M particles via $\Phi_{\mathrm{rel}} \in \mathrm{St}(N_{\mathrm{slots}} - 1, M - 1)$ and the inverse Helmert matrix.
It takes the type parameters of CanonicalSlotLayer, so its input dimension is NOut = 2 NSlots d and its output dimension is N = 2Md. For any $\Phi_{\mathrm{rel}} \in \mathrm{St}(N_{\mathrm{slots}} - 1, M - 1)$, the decoder lift satisfies $(\nabla \Psi_{\mathrm{slot}}^{\mathrm{dec}})^T \mathbb{J}_{2Md} \nabla \Psi_{\mathrm{slot}}^{\mathrm{dec}} = \mathbb{J}_{2 N_{\mathrm{slots}} d}$ and preserves $(Q_{\mathrm{cm}}, P_{\mathrm{cm}})$.
Symmetric Symplectic Autoencoder
SymmetricSymplecticAutoencoder combines a chosen particle frontend (:sort, :pairwise, or :slot) with LeftInverseSymplecticAutoencoder. Only :sort and :slot give a latent state that is invariant under a relabelling of particles with distinct coordinates along the sorting axis; :pairwise is equivariant only in its frontend, because the core is not equivariant. EquivariantSymplecticAutoencoder below replaces the core by one that is.
GeometricMachineLearning.SymmetricSymplecticAutoencoder — Type
SymmetricSymplecticAutoencoder(M, d, reduced_dim; frontend = :pairwise, kwargs...)Make an instance of a symplectic autoencoder with a particle frontend for M particles in $d$ spatial dimensions (ambient dimension $2Md$) and latent dimension reduced_dim ($2n$).
SymmetricSymplecticAutoencoder combines a particle frontend (frontend = :sort, :pairwise, or :slot) with the left-inverse symplectic core LeftInverseSymplecticAutoencoder so that encoder(nn) and decoder(nn) share a single parameter tree.
With frontend = :sort or frontend = :slot, the latent state is invariant under a relabelling of particles with distinct coordinates along the sorting axis (sort_axis for :sort, coordinate 1 for :slot). With frontend = :pairwise, only the frontend is permutation-equivariant: the core is not, so the latent state is not invariant. EquivariantSymplecticAutoencoder is equivariant in every layer. The sort of :sort and :slot is discontinuous in p where two particles cross along the sorting axis, so the Jacobian identity of the frontend holds only away from those crossings. :sort and :slot suit systems that keep their particle order, not a collisionless plasma, whose sorted snapshots are not low-rank.
The latent right-inversion $\mathrm{encoder}(nn)(\mathrm{decoder}(nn)(\xi)) = \xi$ holds to machine precision for every $\xi \in \mathbb{R}^{2n}$ with frontend = :pairwise. With frontend = :sort and frontend = :slot, it holds for $\xi$ whose decoded state lies in the canonical chamber, where the sorting permutations on the decoded state are the identity; the decoder does not map into this chamber in general.
Arguments
Besides M::Integer, d::Integer, and even integer reduced_dim::Integer:
frontend::Symbol = :pairwise: Particle frontend (:sort,:pairwise, or:slot).sort_axis::Integer = 1: Coordinate axis (1 <= sort_axis <= d) used byCanonicalSortLayerwhenfrontend == :sort.n_pairwise_layers::Integer = 2: Number of alternatingPairwiseSymplecticLayerQ/PairwiseSymplecticLayerPshears whenfrontend == :pairwise.pairwise_upscale::Integer = 3: Per-particle upscaling factor in the pairwise symplectic layers.n_slots::Integer = max(1, M - 1): Number of canonical slots (1 <= n_slots <= M) inCanonicalSlotLayerwhenfrontend == :slot.n_blocks::Integer = 2,n_layers::Integer = 3,n_ambient_layers::Integer = 2,sympnet_upscale::Integer = 5,activation = tanh,init_q::Bool = true: Forwarded to theLeftInverseSymplecticAutoencodercore.
Equivariant Symplectic Autoencoder
EquivariantSymplecticAutoencoder is a left-inverse symplectic autoencoder in which every layer acts on the particles with shared weights, so that the encoder and the decoder are $S_M$-equivariant and not only the frontend. Its latent space consists of $M$ latent particles in $\mathbb{R}^{\tilde d}$, $2n = 2M\tilde d$, on which $\sigma \in S_M$ acts by the same relabelling $R_\sigma$ (with $I_d$ replaced by $I_{\tilde d}$). The dimension is raised by ParticlePSDLayer, the cotangent lift $(q_i, p_i) \mapsto (\Phi q_i, \Phi p_i)$ of $I_M \otimes \Phi$ with one $\Phi \in \mathrm{St}(d_k, d_{k+1})$ shared by all particles, and the nonlinear layers are the pairwise shears at every intermediate per-particle dimension. The encoder applies the exact inverses, TransposeParticlePSDLayer and the sign-flipped shears, in reverse order with the same parameters, so that
\[\Psi^e \circ P_\sigma = R_\sigma \circ \Psi^e, \qquad \Psi^d \circ R_\sigma = P_\sigma \circ \Psi^d, \qquad \Psi^e \circ \Psi^d = \mathrm{id}\]
for all $\sigma \in S_M$ and all parameters, and the decoder is a symplectic embedding.
GeometricMachineLearning.ParticlePSDLayer — Type
ParticlePSDLayer(M, d_in, d_out)Make an instance of ParticlePSDLayer, the cotangent lift of $I_M \otimes \Phi$ for M particles, which raises the per-particle dimension from d_in to d_out (1 <= d_in <= d_out).
The layer maps the state of M particles in $\mathbb{R}^{d_\mathrm{in}}$ (phase-space dimension $2Md_\mathrm{in}$) to M particles in $\mathbb{R}^{d_\mathrm{out}}$ by applying one $\Phi \in \mathrm{St}(d_\mathrm{in}, d_\mathrm{out})$, shared by all particles, to every position and every momentum:
\[(q_i, p_i) \mapsto (\Phi q_i, \Phi p_i), \qquad i = 1, \ldots, M,\]
i.e. it multiplies by
\[A = \begin{bmatrix} I_M \otimes \Phi & \mathbb{O} \\ \mathbb{O} & I_M \otimes \Phi \end{bmatrix}.\]
Because $\Phi^T\Phi = I$, $A$ satisfies $A^T\mathbb{J}_{2Md_\mathrm{out}}A = \mathbb{J}_{2Md_\mathrm{in}}$, and because every particle is lifted with the same $\Phi$, the layer commutes with every relabelling of the particles. It is the per-particle counterpart of PSDLayer; its left inverse is TransposeParticlePSDLayer, which shares the parameters (weight = Φ,).
The input is a vector or an array whose first axis has length $2Md_\mathrm{in}$, or a NamedTuple (q, p) whose halves have first axis $Md_\mathrm{in}$, in the flattened particle layout of PairwiseSymplecticLayer: particle $i$ occupies the indices $(i - 1)d_\mathrm{in} + 1, \ldots, id_\mathrm{in}$ of q and of p. A (q, p) pair of particle arrays of size (d_in, M) or (d_in, M, B) is also accepted and returns arrays of size (d_out, M) or (d_out, M, B).
GeometricMachineLearning.TransposeParticlePSDLayer — Type
TransposeParticlePSDLayer(M, d_in, d_out)Make an instance of TransposeParticlePSDLayer, which lowers the per-particle dimension of M particles from d_in to d_out (1 <= d_out <= d_in) by applying $\Phi^T$ to every position and every momentum:
\[(q_i, p_i) \mapsto (\Phi^T q_i, \Phi^T p_i), \qquad i = 1, \ldots, M,\]
with $\Phi \in \mathrm{St}(d_\mathrm{out}, d_\mathrm{in})$. It is the analytic transpose, and the left inverse on its image, of ParticlePSDLayer(M, d_out, d_in), with which it shares the parameters (weight = Φ,); inverse_layer maps one to the other. Inputs are as for ParticlePSDLayer.
GeometricMachineLearning.EquivariantSymplecticAutoencoder — Type
EquivariantSymplecticAutoencoder(M, d, d_latent; kwargs...)Make an instance of a left-inverse, permutation-equivariant symplectic autoencoder for M particles in $d$ spatial dimensions (ambient dimension $2N = 2Md$) with a latent space of M latent particles in $\mathbb{R}^{\tilde d}$, $\tilde d$ = d_latent (latent dimension $2n = 2M\tilde d$).
Every layer acts on the particles with weights shared by all of them. The decoder alternates blocks of pairwise shears (PairwiseSymplecticLayerQ/PairwiseSymplecticLayerP) at the current per-particle dimension with a per-particle cotangent lift ParticlePSDLayer, $(q_i, p_i) \mapsto (\Phi q_i, \Phi p_i)$ with one $\Phi$ shared by all particles, which raises the per-particle dimension from $\tilde d$ up to $d$; it ends with ambient pairwise shears at dimension $d$. As in LeftInverseSymplecticAutoencoder, one parameter tree ps is stored: decoder(nn) applies the layers in this order, and encoder(nn) applies their exact inverses (TransposeParticlePSDLayer, i.e. $\Phi^T$, and the sign-flipped shears) in reverse order with the same parameters.
A relabelling $\sigma \in S_M$ acts on the ambient space by $P_\sigma$ and on the latent space by the same relabelling $R_\sigma$ of the latent particles. Every layer commutes with relabelling, so for all parameters ps
\[\Psi^e \circ P_\sigma = R_\sigma \circ \Psi^e, \qquad \Psi^d \circ R_\sigma = P_\sigma \circ \Psi^d, \qquad \Psi^e \circ \Psi^d = \mathrm{id},\]
and the decoder is a symplectic embedding.
The states are a vector or a matrix whose first axis has length $2Md$ (encoder input) or $2M\tilde d$ (decoder input) in the flattened particle layout of SymmetricSymplecticAutoencoder, or a NamedTuple (q, p) of particle arrays of size (d, M) or (d, M, B) or of vectors of length $Md$ ($\tilde d$ in place of $d$ for the latent state). A (q, p) input gives a (q, p) output in the same layout.
Arguments
Besides the required integers M >= 1, d >= 1 and d_latent (1 <= d_latent <= d), the following keyword arguments are supported:
n_blocks::Integer = 2: Sets the spacing of the intermediate per-particle dimensions betweend_latentandd, asn_blocksdoes forLeftInverseSymplecticAutoencoder(n_blocks >= 1, andn_blocks <= d - d_latent + 1whend > d_latent).n_layers::Integer = 3: Number of pairwise shears preceding eachParticlePSDLayer.n_ambient_layers::Integer = 2: Number of pairwise shears at dimensiondfollowing the finalParticlePSDLayer.pairwise_upscale::Integer = 3: Per-particle upscaling factor of the pairwise shears.activation = tanh: Activation function of the pairwise shears.init_q::Bool = true: Whether the first pairwise shear in each block is aPairwiseSymplecticLayerQ.
References
- [42]
- M. Zaheer, S. Kottur, S. Ravanbakhsh, B. Póczos, R. R. Salakhutdinov and A. J. Smola. Deep Sets. In: Advances in Neural Information Processing Systems, Vol. 30 (2017).
- [43]
- R. L. Murphy, B. Srinivasan, V. Rao and B. Ribeiro. Janossy Pooling: Learning Deep Permutation-Invariant Functions for Variable-Size Inputs. In: 7th International Conference on Learning Representations (ICLR) (2019).
- [44]
- S.-O. Kaba, A. K. Mondal, Y. Zhang, Y. Bengio and S. Ravanbakhsh. Equivariance with Learned Canonicalization Functions. In: Proceedings of the 40th International Conference on Machine Learning, Vol. 202 of Proceedings of Machine Learning Research (2023); pp. 15546–15566.
- [45]
- H. O. Lancaster. The Helmert Matrices. The American Mathematical Monthly 72, 4–12 (1965).
- [46]
- F. Locatello, D. Weissenborn, T. Unterthiner, A. Mahendran, G. Heigold, J. Uszkoreit, A. Dosovitskiy and T. Kipf. Object-Centric Learning with Slot Attention. In: Advances in Neural Information Processing Systems, Vol. 33 (2020).