Introduction
Learning functions that are invariant, or equivariant, to a group of symmetries is a central problem in geometric deep learning [4 ] . One of the most important instances of this problem is the case of point clouds , or finite sets of points, that efficiently represent molecules, particle systems and 3D shapes, where the relevant symmetry group is generated by permutations of the points together with the rigid motions of the ambient space [15 , 17 , 32 ] . Here the goal is to design architectures whose internal mechanisms respect the symmetries of point clouds, that is point ordering and orientation in space, and whose predictions depend only on the underlying geometry rather than on ambiguous choices of point order or choice of frame of reference [33 , 36 ] .
A natural theoretical desideratum of invariant architectures is completeness : informally, a family of invariant functions is complete if it can separate every pair of inputs that are not related by a symmetry, that is, that do not lie in the same group orbit. This follows from completeness being a necessary and sufficient condition for the family to be able to approximate every continuous invariant function, and hence for the corresponding architecture to be a universal approximator of invariant functions [5 , 10 ] .
The completeness of invariant architectures for point clouds has consequently received a great deal of attention. For example, the DeepSets model family was proven to be complete on set-structured data [39 ] , while message-passing neural networks for graphs are not [25 ] . For point clouds, it is known that distance-based message-passing approaches are not complete [29 ] , while high-order invariant graph neural networks can attain completeness [20 , 31 , 22 ] . Yet, these approaches suffer from high computational cost, making them difficult to scale.
A popular methodology to increase the expressive power of geometric message passing neural networks while maintaining tractable runtime is to use higher order tensor representations of the rotation group. This approach is successfully used in many modern day models for point clouds such as MACE [3 ] and Equiformer [23 ] . In Dym & Maron [11 ] it is shown that these higher order approaches are complete. The mechanism behind these results is the following: an arbitrarily high-order representation can express polynomials of an arbitrarily high degree, and the class of invariant polynomials of sufficiently high degree is complete. What has been missing, up to this work, is any quantitative control on how high the representation order needs to be for completeness to hold.
In this work we provide the first answer to this question, in the form of explicit degree bounds for separating polynomial invariants of the relevant group action, that is the minimal polynomial degree needed to separate all orbits (defined precisely in § 2 ). For point clouds of n n n points in R d \mathbb{R}^d R d , we show that the separation degree is lower bounded by a bound proportional to n 2 n^2 n 2 (Theorem 1), and upper bounded by a bound proportional to d n 2 dn^2 d n 2 (Theorem 4). Thus, in the main case of interest where d = 3 d = 3 d = 3 , this bound is tight, up to a constant. As a corollary, we deduce a quadratic lower bound and a cubic upper bound for the polynomial degree sufficient for separating weighted graphs (Proposition 5).
We then use our bounds to derive concrete completeness guarantees for existing invariant architectures: as we show in § 3 , it upgrades classical results in the geometric deep learning literature, which established completeness only for some sufficiently high, unspecified, representation order, into an explicit quadratic bound on that order for models such as Tensor Field Networks [36 ] and MACE [3 ] . Moreover, we show that, under locality assumptions on the point cloud, our results can be leveraged to obtain completeness for MACE with a representation order that depends quadratically only on the size of local neighborhood rather than on the size of the entire point cloud. We then show, by a counterexample construction, that if the representation order and correlation degree aren’t sufficiently high then MACE cannot separate locally regular configurations (Proposition 12).
In summary, the main results of this paper are:
Tight quadratic degree bounds for separation of 3D point clouds by polynomials.
First quantitative completeness results for MACE and TFN, with quadratic dependence on point cloud cardinality.
Under locality assumptions on point clouds, an improvement of this bound to quadratic in the neighborhood size, and a lower bound showing that, with bounded depth and correlation order, the irreducible order must grow at least linearly in the neighborhood size.
Related Work
Invariant Theory The origins of Invariant Theory, which is the study of invariant polynomials, go back to the 19{sup}th century. Its goal is to understand invariant polynomials, including explicit description of the generators of the invariant ring, or bounds on the degree of these generators. A celebrated result by Hilbert [18 ] states that the ring of invariant polynomials is generated by a finite number of polynomials. Classical results in invariant theory focus on explicit derivation of these generators for specific group actions, or on bounding the cardinality or maximal degree of these generators. More recently there has been growing interest in the notion of separating invariants, which for compact groups are identical to the notion of complete invariants defined here. Generators are also separating invariants, and as a result the degree needed for separation cannot be larger than the maximal degree of the generators.
To the best of our knowledge, there are no known results regarding the separation degree for point clouds. For weighted graphs, Thiéry [35 ] proved an O ( n 4 ) O(n^4) O ( n 4 ) upper bound on the degree of the generators. A bound with similar asymptotics can also be obtained from a general bound on permutation groups [14 ] . In this paper we discuss the separation degree of weighted graphs, and prove a quadratic lower bound and a cubic upper bound.
For more background on invariant theory and further related work see Appendix § 13 and Appendix § 8 .
Notation
We consider the setting of a group G G G acting on a set V V V . We denote the orbit of an element v ∈ V v \in V v ∈ V by [ v ] : = { g v ∣ g ∈ G } [v] := \{gv \mid g \in G\} [ v ] := { g v ∣ g ∈ G } and say that q : V → R q : V \to\mathbb{R} q : V → R is G G G invariant if q ( u ) = q ( v ) q(u) = q(v) q ( u ) = q ( v ) for all v ∈ V v \in V v ∈ V , u ∈ [ v ] u \in[v] u ∈ [ v ] . Let Q \mathcal{Q} Q be a family of G G G invariant functions from V V V to R \mathbb{R} R . We say that Q \mathcal{Q} Q is ( G , V ) (G,V) ( G , V ) complete, if for all v , u ∈ V v,u \in V v , u ∈ V with [ v ] ≠ [ u ] [v] \ne[u] [ v ] = [ u ] , there exists a function q ∈ Q q \in\mathcal{Q} q ∈ Q such that q ( v ) ≠ q ( u ) q(v) \ne q(u) q ( v ) = q ( u ) .
Now assume additionally that V V V is a finite dimensional real vector space, so that the notion of polynomials is defined. We denote the set of all polynomials p : V → R p : V \to\mathbb{R} p : V → R with real coefficients by R [ V ] \mathbb{R}[V] R [ V ] , and the subset of polynomials of degree ≤ D \le D ≤ D by R [ V ] ≤ D \mathbb{R}[V]_{\le D} R [ V ] ≤ D . The subset of G G G invariant polynomials (of degree ≤ D \le D ≤ D ) are denoted by R [ V ] G \mathbb{R}[V]^G R [ V ] G (and R [ V ] ≤ D G \mathbb{R}[V]^G_{\le D} R [ V ] ≤ D G ). The separation degree of ( G , V ) (G,V) ( G , V ) , denoted by D ( G , V ) D(G,V) D ( G , V ) , is the smallest nonnegative integer D D D such that R [ V ] ≤ D G \mathbb{R}[V]^G_{\le D} R [ V ] ≤ D G is ( G , V ) (G,V) ( G , V ) complete.
Our interest in this paper will be in completeness and separation degree for point clouds. A point cloud with n n n points in R d \mathbb{R}^d R d is a tuple X = ( x 1 , … , x n ) X=(x_1,\ldots,x_n) X = ( x 1 , … , x n ) residing in the vector space V = R d × n V=\mathbb{R}^{d \times n} V = R d × n . We are interested in the action of rigid motions and permutations on this space. Explicitly, for a vector t ∈ R d t \in\mathbb{R}^d t ∈ R d , an orthogonal matrix R ∈ O ( d ) R \in O(d) R ∈ O ( d ) , and a permutation σ ∈ S n \sigma\in S_n σ ∈ S n , this action is defined by
( t , R , σ ) ⋅ X : = ( R ( x σ − 1 ( 1 ) − t ) , … , R ( x σ − 1 ( n ) − t ) ) . (t,R,\sigma) \cdot X := (R(x_{\sigma^{-1}(1)}-t),\ldots,R(x_{\sigma^{-1}(n)}-t)). ( t , R , σ ) ⋅ X := ( R ( x σ − 1 ( 1 ) − t ) , … , R ( x σ − 1 ( n ) − t )) .
We are interested in four variants of this problem, which come up in different applications: we will consider groups of the form G = H × S n G=H \times S_n G = H × S n where H = E ( d ) H=E(d) H = E ( d ) (all rigid motions), H = O ( d ) H=O(d) H = O ( d ) (the translation component t t t is set to zero), H = S O ( d ) H=SO(d) H = S O ( d ) (no translations, only proper rotations), and H = S E ( d ) H=SE(d) H = S E ( d ) (with translations, only proper rotations). For each of these groups, we will derive bounds for the separation degree D ( G , R d × n ) D(G,\mathbb{R}^{d \times n}) D ( G , R d × n ) .
We will also be interested in the related notion of separation for weighted graphs . A weighted graph is a symmetric n × n n \times n n × n matrix with real coefficients. We denote the set of such matrices by H n \mathcal{H}_n H n . The permutation group S n S_n S n acts on H n \mathcal{H}_n H n by conjugation. Namely, if τ ∈ S n \tau\in S_n τ ∈ S n and A ∈ H n A \in\mathcal{H}_n A ∈ H n then τ ⋅ A \tau\cdot A τ ⋅ A is the matrix defined by
( τ ⋅ A ) i j = A τ − 1 ( i ) , τ − 1 ( j ) . (\tau\cdot A)_{ij}=A_{\tau^{-1}(i),\tau^{-1}(j)}. ( τ ⋅ A ) ij = A τ − 1 ( i ) , τ − 1 ( j ) .
If A A A is a (weighted) adjacency matrix of a graph with some fixed node ordering, then τ ⋅ A \tau\cdot A τ ⋅ A is the adjacency matrix of the same graph, with its nodes reordered by τ \tau τ . We use 1 n \mathbf{1}_n 1 n (or 0 n \mathbf{0}_n 0 n ) to denote the n n n -dimensional vector whose entries are all 1 1 1 (or 0 0 0 ).
Degree Bounds for Separating Polynomials on Point Clouds
In this section we answer the following questions: what is a polynomial degree required for separation and what polynomial degree is sufficient for separation of point clouds? We derive a lower bound for the polynomial degree of separation for point clouds, which is proportional to n 2 n^2 n 2 (Subsection 2.1), and an upper bound proportional to d n 2 dn^2 d n 2 (Subsection 2.2). From this we derive a quadratic lower bound and a cubic upper bound on the separation degree for weighted graphs (Section 2.3).
Lower Bound for Point Clouds
We begin by stating our lower bound, that is a polynomial degree required for separating point clouds.
Theorem 1. Let d ≥ 2 d \ge2 d ≥ 2 , n ≥ 3 n \ge3 n ≥ 3 . Consider the action of G = H × S n G=H \times S_n G = H × S n on V = R d × n V=\mathbb{R}^{d \times n} V = R d × n , where H ∈ { E ( d ) , S E ( d ) , O ( d ) , S O ( d ) } H \in\{E(d),SE(d),O(d),SO(d)\} H ∈ { E ( d ) , S E ( d ) , O ( d ) , S O ( d )} . Then the separation degree is lower bounded by
D ( G , V ) ≥ n 2 / 4 − 1. D(G,V) \ge n^2/4 - 1. D ( G , V ) ≥ n 2 /4 − 1.
The remainder of this subsection is devoted to proving this theorem. We begin with some preliminaries. Firstly, the following lemma establishes a simple relationship between the separation degree with and without translations:
Lemma 2. Let V = R d × n V=\mathbb{R}^{d \times n} V = R d × n and V c e n t V_{\mathrm{cent}} V cent denote the subspace of point clouds X ∈ R d × n X \in\mathbb{R}^{d \times n} X ∈ R d × n with X 1 n = 0 d X\mathbf{1}_n=\mathbf{0}_d X 1 n = 0 d . Then
D ( E ( d ) × S n , V ) = D ( O ( d ) × S n , V c e n t ) ≤ D ( O ( d ) × S n , V ) (1) D(E(d) \times S_n,V)=D(O(d) \times S_n,V_{\mathrm{cent}})\le D(O(d) \times S_n,V) \tag*{(1)} D ( E ( d ) × S n , V ) = D ( O ( d ) × S n , V cent ) ≤ D ( O ( d ) × S n , V ) (1) D ( S E ( d ) × S n , V ) = D ( S O ( d ) × S n , V c e n t ) ≤ D ( S O ( d ) × S n , V ) (2) D(SE(d) \times S_n,V)=D(SO(d) \times S_n,V_{\mathrm{cent}})\le D(SO(d) \times S_n,V) \tag*{(2)} D ( S E ( d ) × S n , V ) = D ( S O ( d ) × S n , V cent ) ≤ D ( S O ( d ) × S n , V ) (2)
Proof idea. (3) follows from the fact that two point clouds X , Y X,Y X , Y are in the same E ( d ) × S n E(d) \times S_n E ( d ) × S n orbit, if and only if the centralized point clouds X − 1 n X 1 n 1 n T , Y − 1 n Y 1 n 1 n T X-\frac{1}{n}X1_n1_n^{T},Y-\frac{1}{n}Y1_n1_n^{T} X − n 1 X 1 n 1 n T , Y − n 1 Y 1 n 1 n T are in the same O ( d ) × S n O(d) \times S_n O ( d ) × S n orbit. The proof for equation 2 is identical.
The proof of the theorem is strongly based on the following proposition:
Proposition 3. Let G G G be a compact group acting orthogonally on a finite dimensional real inner product space V V V . Let k ≥ 1 k \ge1 k ≥ 1 be an integer. Suppose there exists a 2-dimensional subspace W ⊆ V W \subseteq V W ⊆ V and an element g ∈ G g \in G g ∈ G such that g ⋅ W ⊆ W g \cdot W \subseteq W g ⋅ W ⊆ W and g g g acts by rotation over 2 π / k 2\pi/k 2 π / k on W W W . If the unit circle S ( W ) ⊂ W S(W) \subset W S ( W ) ⊂ W contains more than 1 orbit, then we have D ( G , V ) ≥ k D(G,V) \ge k D ( G , V ) ≥ k .
Proof. We choose an orthonormal basis of W W W and identify R [ W ] ≅ R [ x 1 , x 2 ] \mathbb{R}[W] \cong\mathbb{R}[x_1,x_2] R [ W ] ≅ R [ x 1 , x 2 ] . Restricting polynomials gives a surjective ring homomorphism R [ V ] → R [ x 1 , x 2 ] \mathbb{R}[V] \to\mathbb{R}[x_1,x_2] R [ V ] → R [ x 1 , x 2 ] . Let H H H be the subgroup of G G G generated by g g g . It is well-known that the invariant ring R [ x 1 , x 2 ] H \mathbb{R}[x_1,x_2]^H R [ x 1 , x 2 ] H is generated by x 1 2 + x 2 2 x_1^2+x_2^2 x 1 2 + x 2 2 and the polynomials f 1 , f 2 ∈ R [ x 1 , x 2 ] H f_1,f_2 \in\mathbb{R}[x_1,x_2]^H f 1 , f 2 ∈ R [ x 1 , x 2 ] H of degree k k k given by ( x 1 + i x 2 ) k = f 1 + i f 2 (x_1+ix_2)^k=f_1+if_2 ( x 1 + i x 2 ) k = f 1 + i f 2 (see for example [38 ] ). In particular, every element of R [ x 1 , x 2 ] H \mathbb{R}[x_1,x_2]^H R [ x 1 , x 2 ] H of degree < k <k < k is a polynomial in x 1 2 + x 2 2 x_1^2+x_2^2 x 1 2 + x 2 2 and is constant on S ( W ) S(W) S ( W ) . Since not all elements in S ( W ) S(W) S ( W ) lie in the same G G G -orbit, there exists an invariant f ∈ R [ V ] G f \in\mathbb{R}[V]^G f ∈ R [ V ] G of degree ≤ D ( G , V ) \le D(G,V) ≤ D ( G , V ) that is not constant on S ( W ) S(W) S ( W ) . If f ′ f' f ′ is the restriction of f f f to W W W , then f ′ ∈ R [ W ] H = R [ x 1 , x 2 ] H f' \in\mathbb{R}[W]^H=\mathbb{R}[x_1,x_2]^H f ′ ∈ R [ W ] H = R [ x 1 , x 2 ] H is not constant on S ( W ) S(W) S ( W ) , so we have D ( G , V ) ≥ deg ( f ) ≥ deg ( f ′ ) ≥ k D(G,V) \ge\deg(f) \ge\deg(f') \ge k D ( G , V ) ≥ deg ( f ) ≥ deg ( f ′ ) ≥ k .
We now return to the proof of Theorem 1. By Lemma 2 it is sufficient to prove a bound for all four groups in the lemma, by considering the two groups G = O ( d ) × S n G=O(d) \times S_n G = O ( d ) × S n or G = S O ( d ) × S n G=SO(d) \times S_n G = S O ( d ) × S n , and the vector space V c e n t V_{\mathrm{cent}} V cent - the space of centralized point clouds. Throughout, we will assume G G G is one of these two groups.
We first consider the case d = 2 d=2 d = 2 . We identify R 2 \mathbb{R}^2 R 2 with C \mathbb{C} C and R 2 × n \mathbb{R}^{2 \times n} R 2 × n with C n \mathbb{C}^n C n . If n = 2 m n=2m n = 2 m is even, we define p = m + 1 p=m+1 p = m + 1 , q = m − 1 q=m-1 q = m − 1 , u = 1 u=1 u = 1 and r = m r=m r = m . If n = 2 m + 1 n=2m+1 n = 2 m + 1 then we define p = m + 1 p=m+1 p = m + 1 , q = m q=m q = m , u = 2 u=2 u = 2 and r = 2 m + 1 r=2m+1 r = 2 m + 1 . We have n = p + q n=p+q n = p + q , r = u p − 1 = u q + 1 r=up-1=uq+1 r = u p − 1 = u q + 1 and p q ≥ n 2 / 4 − 1 pq \ge n^2/4-1 pq ≥ n 2 /4 − 1 . For t ∈ R t \in\mathbb{R} t ∈ R and all j ∈ Z j \in\mathbb{Z} j ∈ Z , define
a j ( t ) = e i ( 2 π j / p + t ) and b j ( t ) = e i ( π / 2 − 2 π j / q − t ) . a_j(t)=e^{i(2\pi j/p+t)} \qquad\text{and}\qquad b_j(t)=e^{i(\pi/2-2\pi j/q-t)}. a j ( t ) = e i ( 2 π j / p + t ) and b j ( t ) = e i ( π /2 − 2 π j / q − t ) .
So a 1 ( t ) , a 2 ( t ) , … , a p ( t ) a_1(t),a_2(t),\ldots,a_p(t) a 1 ( t ) , a 2 ( t ) , … , a p ( t ) are the counterclockwise consecutive vertices of a regular p p p -gon centered around the origin. The vertices b 1 ( t ) , b 2 ( t ) , … , b q ( t ) b_1(t),b_2(t),\ldots,b_q(t) b 1 ( t ) , b 2 ( t ) , … , b q ( t ) are clockwise consecutive vertices of a regular q q q -gon. As t t t increases, the p p p -gon rotates counter-clockwise and the q q q -gon rotates clockwise. We easily verify that a j ( t + π 2 ) = i a j ( t ) a_j(t+\frac{\pi}{2})=ia_j(t) a j ( t + 2 π ) = i a j ( t ) , b j ( t + π 2 ) = − i b j ( t ) b_j(t+\frac{\pi}{2})=-ib_j(t) b j ( t + 2 π ) = − i b j ( t ) , a j + p ( t ) = a j ( t ) a_{j+p}(t)=a_j(t) a j + p ( t ) = a j ( t ) , b j + q ( t ) = b j ( t ) b_{j+q}(t)=b_j(t) b j + q ( t ) = b j ( t ) and
a j ( s + t ) = e i s a j ( t ) = ( cos ( s ) + i sin ( s ) ) a j ( t ) = cos ( s ) a j ( t ) + sin ( s ) a j ( t + π 2 ) b j ( s + t ) = e − i s b j ( t ) = ( cos ( s ) − i sin ( s ) ) b j ( t ) = cos ( s ) b j ( t ) + sin ( s ) b j ( t + π 2 ) \begin{aligned}
a_j(s+t)&=e^{is}a_j(t)=(\cos(s)+i\sin(s))a_j(t)=\cos(s)a_j(t)+\sin(s)a_j\left(t+\frac{\pi}{2}\right)\\
b_j(s+t)&=e^{-is}b_j(t)=(\cos(s)-i\sin(s))b_j(t)=\cos(s)b_j(t)+\sin(s)b_j\left(t+\frac{\pi}{2}\right)
\end{aligned} a j ( s + t ) b j ( s + t ) = e i s a j ( t ) = ( cos ( s ) + i sin ( s )) a j ( t ) = cos ( s ) a j ( t ) + sin ( s ) a j ( t + 2 π ) = e − i s b j ( t ) = ( cos ( s ) − i sin ( s )) b j ( t ) = cos ( s ) b j ( t ) + sin ( s ) b j ( t + 2 π )
Define
w ( t ) = ( a 1 ( t ) a 2 ( t ) ⋯ a p ( t ) b 1 ( t ) b 2 ( t ) ⋯ b q ( t ) ) . w(t)=\left(a_1(t)\quad a_2(t)\quad\cdots\quad a_p(t)\quad b_1(t)\quad b_2(t)\quad\cdots\quad b_q(t)\right). w ( t ) = ( a 1 ( t ) a 2 ( t ) ⋯ a p ( t ) b 1 ( t ) b 2 ( t ) ⋯ b q ( t ) ) .
The coordinates of w ( t ) w(t) w ( t ) form a point cloud in the complex plane (see Figure 1 ) and this point cloud is centralized. We have w ( t + s ) = cos ( s ) w ( t ) + sin ( s ) w ( t + π 2 ) w(t+s)=\cos(s)w(t)+\sin(s)w(t+\frac{\pi}{2}) w ( t + s ) = cos ( s ) w ( t ) + sin ( s ) w ( t + 2 π ) . This shows that w ( t ) w(t) w ( t ) lies in the real span of the two linearly independent matrices w ( 0 ) w(0) w ( 0 ) and w ( π 2 ) w(\frac{\pi}{2}) w ( 2 π ) . Now we take s = 2 π p q s=\frac{2\pi}{pq} s = pq 2 π . Because r = u p − 1 = u q + 1 r=up-1=uq+1 r = u p − 1 = u q + 1 , we have
Figure 1. From left to right we have plotted the coordinates of w ( 0 ) w(0) w ( 0 ) , w ( 0.1 ) w(0.1) w ( 0.1 ) and w ( 2 π / 15 ) = w ( 0.4189 ) w(2\pi/15)=w(0.4189) w ( 2 π /15 ) = w ( 0.4189 ) in the complex plane for n = 8 n=8 n = 8 . We have p = 5 p=5 p = 5 , q = 3 q=3 q = 3 and r = 4 r=4 r = 4 . As t t t goes from 0 to 0.1 the pentagon moves counterclockwise and the triangle moves clockwise. The point clouds of w ( 0 ) w(0) w ( 0 ) and w ( 2 π / 15 ) w(2\pi/15) w ( 2 π /15 ) are isometric. The latter is obtained from the first by rotation over 8 π / 15 8\pi/15 8 π /15 and applying the permutation ( 1 2 3 4 5 ) ( 8 7 6 ) (1\ 2\ 3\ 4\ 5)(8\ 7\ 6) ( 1 2 3 4 5 ) ( 8 7 6 ) to the columns of w w w .
a i ( t + 2 π p q ) = a i ( t + 2 π r p q − 2 π u q ) = a i − u ( t + 2 π r p q ) = e 2 π i r / p q a i − u ( t ) b j ( t + 2 π p q ) = b j ( t − 2 π r p q + 2 π u q ) = b j + u ( t − 2 π r p q ) = e 2 π i r / p q b j + u ( t ) \begin{aligned}
a_i\left(t+\frac{2\pi}{pq}\right)&=a_i\left(t+\frac{2\pi r}{pq}-\frac{2\pi u}{q}\right)=a_{i-u}\left(t+\frac{2\pi r}{pq}\right)=e^{2\pi ir/pq}a_{i-u}(t)\\
b_j\left(t+\frac{2\pi}{pq}\right)&=b_j\left(t-\frac{2\pi r}{pq}+\frac{2\pi u}{q}\right)=b_{j+u}\left(t-\frac{2\pi r}{pq}\right)=e^{2\pi ir/pq}b_{j+u}(t)
\end{aligned} a i ( t + pq 2 π ) b j ( t + pq 2 π ) = a i ( t + pq 2 π r − q 2 π u ) = a i − u ( t + pq 2 π r ) = e 2 π i r / pq a i − u ( t ) = b j ( t − pq 2 π r + q 2 π u ) = b j + u ( t − pq 2 π r ) = e 2 π i r / pq b j + u ( t )
and
w ( t + 2 π p q ) = e 2 π i r / p q ( a 1 − u ( t ) a 2 − u ( t ) ⋯ a p − u ( t ) b 1 + u ( t ) b 2 + u ( t ) ⋯ b q + u ( t ) ) w\left(t+\frac{2\pi}{pq}\right)=e^{2\pi ir/pq}\left(a_{1-u}(t)\quad a_{2-u}(t)\quad\cdots\quad a_{p-u}(t)\quad b_{1+u}(t)\quad b_{2+u}(t)\quad\cdots\quad b_{q+u}(t)\right) w ( t + pq 2 π ) = e 2 π i r / pq ( a 1 − u ( t ) a 2 − u ( t ) ⋯ a p − u ( t ) b 1 + u ( t ) b 2 + u ( t ) ⋯ b q + u ( t ) )
The action of S O ( 2 ) SO(2) S O ( 2 ) on R 2 × n ≅ C n \mathbb{R}^{2\times n}\cong\mathbb{C}^n R 2 × n ≅ C n is just multiplication with unit scalars in C \mathbb{C} C . The permutation
σ = ( 1 2 ⋯ p ) u ( p + 1 p + 2 ⋯ p + q ) − u ∈ S n \sigma=(1\ 2\ \cdots\ p)^u(p+1\ p+2\ \cdots\ p+q)^{-u}\in S_n σ = ( 1 2 ⋯ p ) u ( p + 1 p + 2 ⋯ p + q ) − u ∈ S n
acts on C n \mathbb{C}^n C n by permuting the entries (or permuting the columns in R 2 × n \mathbb{R}^{2\times n} R 2 × n ). For g = ( e 2 π i r / p q , σ ) ∈ S O ( 2 ) × S n ⊂ G g=(e^{2\pi ir/pq},\sigma)\in SO(2)\times S_n\subset G g = ( e 2 π i r / pq , σ ) ∈ S O ( 2 ) × S n ⊂ G we have g ⋅ w ( t ) = w ( t + 2 π p q ) g\cdot w(t)=w(t+\frac{2\pi}{pq}) g ⋅ w ( t ) = w ( t + pq 2 π ) . Recall that W W W is the span of w ( 0 ) w(0) w ( 0 ) and w ( π 2 ) w(\frac{\pi}{2}) w ( 2 π ) . From this it is clear that g ⋅ W ⊆ W g\cdot W\subseteq W g ⋅ W ⊆ W . If we restrict the action of g ∈ G g\in G g ∈ G to the subspace W W W , then it is just rotation over the angle 2 π / p q 2\pi/pq 2 π / pq .
If we forget about the labeling of the vertices, then w ( t ) w(t) w ( t ) is a point cloud consisting of the union of the vertices of a p p p -gon and the vertices of a q q q -gon. Now w ( t ) w(t) w ( t ) is obtained from w ( 0 ) w(0) w ( 0 ) by rotating the p p p -gon counterclockwise and the q q q -gon clockwise. From this it is clear that for small t > 0 t>0 t > 0 , w ( 0 ) w(0) w ( 0 ) and w ( t ) w(t) w ( t ) are not isometric point clouds. This proves that not all the elements of S ( W ) ⊂ W S(W)\subset W S ( W ) ⊂ W lie in the same O ( 2 ) × S n O(2)\times S_n O ( 2 ) × S n -orbit. By Proposition 3 we get D ( G , V ) ≥ p q ≥ n 2 / 4 − 1 D(G,V)\ge pq\ge n^2/4-1 D ( G , V ) ≥ pq ≥ n 2 /4 − 1 .
Now assume that d > 2 d>2 d > 2 . We view R 2 × n \mathbb{R}^{2\times n} R 2 × n as the subspace of R d × n \mathbb{R}^{d\times n} R d × n of d × n d\times n d × n matrices whose rows 3 , … , d 3,\ldots,d 3 , … , d are all equal to 0, and let W ⊆ R 2 × n W\subseteq\mathbb{R}^{2\times n} W ⊆ R 2 × n be the 2-dimensional subspace that was constructed in the d = 2 d=2 d = 2 case. Now there is again an element g ∈ S O ( 2 ) × S n ⊆ G ⊆ O ( d ) × S n g\in SO(2)\times S_n\subseteq G\subseteq O(d)\times S_n g ∈ S O ( 2 ) × S n ⊆ G ⊆ O ( d ) × S n that acts on W W W by rotation over the angle 2 π / p q 2\pi/pq 2 π / pq . For similar reasons as before, not all elements of S ( W ) ⊂ W S(W)\subset W S ( W ) ⊂ W lie in the same O ( d ) × S n O(d)\times S_n O ( d ) × S n -orbit. So we again can apply Proposition 3 to conclude that D ( G , V ) ≥ p q ≥ n 2 / 4 − 1 D(G,V)\ge pq\ge n^2/4-1 D ( G , V ) ≥ pq ≥ n 2 /4 − 1 .
Upper bound for point clouds
Having established a lower bound on the degree required for separation of point clouds, we proceed to provide an upper bound. In the proof of Theorem 4, we introduce a polynomial construction with degree that depends linearly on the dimension d d d and quadratically on the number of points that separates d d d -dimensional point clouds, thereby establishing an upper bound on the degree sufficient for separation.
Theorem 4. Let n ≥ 2 n\ge2 n ≥ 2 and 1 ≤ d ≤ n 1\le d\le n 1 ≤ d ≤ n . Then
D ( H × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) , for H ∈ { O ( d ) , E ( d ) } , D ( H × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) + d , for H ∈ { S O ( d ) , S E ( d ) } . \begin{aligned}
D(H\times S_n,\mathbb{R}^{d\times n}) &\le6dn^2-4dn-d(d-1)(n-1), && \text{for } H\in\{O(d),E(d)\},\\
D(H\times S_n,\mathbb{R}^{d\times n}) &\le6dn^2-4dn-d(d-1)(n-1)+d, && \text{for } H\in\{SO(d),SE(d)\}.
\end{aligned} D ( H × S n , R d × n ) D ( H × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) , ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) + d , for H ∈ { O ( d ) , E ( d )} , for H ∈ { S O ( d ) , S E ( d )} .
Proof idea. By Lemma 2 it is sufficient to prove the claim for O ( d ) × S n O(d)\times S_n O ( d ) × S n and S O ( d ) × S n SO(d)\times S_n S O ( d ) × S n . The goal is to find, for any given X , Y ∈ R d × n X,Y\in\mathbb{R}^{d\times n} X , Y ∈ R d × n from different orbits, an invariant polynomial of the advertised degree that separates them. Since two clouds are O ( d ) × S n O(d)\times S_n O ( d ) × S n -equivalent iff their Gram matrices A = X T X A=X^{T}X A = X T X , B = Y T Y B=Y^{T}Y B = Y T Y are equal up to simultaneous row/column permutation, it suffices to separate A A A and B B B by an S n S_n S n -invariant polynomial Q Q Q (at the cost of doubling the degree). We choose a polynomial of the form
Q ( C ) = ∑ τ ∈ S n χ ( τ ⋅ C ) Q(C)=\sum_{\tau\in S_n}\chi(\tau\cdot C) Q ( C ) = τ ∈ S n ∑ χ ( τ ⋅ C )
where χ \chi χ is a polynomial which takes values in { 0 , 1 } \{0,1\} { 0 , 1 } on the S n S_n S n -orbits of A A A and B B B , with χ ( A ) = 1 \chi(A)=1 χ ( A ) = 1 and χ ( τ ⋅ B ) = 0 \chi(\tau\cdot B)=0 χ ( τ ⋅ B ) = 0 for all permutations τ \tau τ . The task is thus reduced to realizing such an indicator χ \chi χ by a low-degree polynomial. Clouds of different rank are separated by tr ( ( X T X ) k ) \operatorname{tr}\left((X^{T}X)^k\right) tr ( ( X T X ) k ) for some k ≤ n k \le n k ≤ n , so we may assume rank ( A ) = rank ( B ) = r ≤ d \operatorname{rank}(A) = \operatorname{rank}(B) = r \le d rank ( A ) = rank ( B ) = r ≤ d . Then A A A can be relabeled so that its leading r × r r \times r r × r block is nonsingular, and among matrices of rank r r r it is determined by its first r r r rows, so at most d ⋅ n d \cdot n d ⋅ n entries must be checked. Each entry is checked by a Lagrange polynomial of degree < n < n < n interpolating on the values of the corresponding row of A A A , which is valid thanks to a row indicator of degree O ( n 2 ) O(n^2) O ( n 2 ) (via power sums), which ensures the row of τ ⋅ C \tau\cdot C τ ⋅ C is a rearrangement of that of A A A . The total degree is O ( d n 2 ) O(dn^2) O ( d n 2 ) . For S O ( d ) \mathrm{SO}(d) SO ( d ) , if the point clouds have rank d d d , we multiply each summand by an affine function of the determinant of the first d d d points, which detects orientation and adds d d d to the degree; if their rank is smaller than d d d , the S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbit of X X X is equal to its O ( d ) × S n O(d) \times S_n O ( d ) × S n -orbit, and the polynomial for O ( d ) O(d) O ( d ) separates them.
Theorem 4 shows that it is possible to obtain separating invariants of degree quadratic in n n n for point clouds. It follows that neural networks that are able to express polynomials up to that degree bound can provably separate point clouds with n n n points. Many popular machine learning equivariant models are able to express high order polynomials using tensor representations, allowing us to show how this upper bound proves the separation capabilities of prominent such models in § 3 .
Degree bounds for Weighted graphs
Our degree bounds for point clouds automatically imply degree bounds for weighted graphs (see definition in Subsection 1.2).
Proposition 5. For any natural n n n , we have that D ( O ( n ) × S n , R n × n ) = 2 D ( S n , H n ) D(O(n) \times S_n, \mathbb{R}^{n \times n}) = 2D(S_n, \mathcal{H}_n) D ( O ( n ) × S n , R n × n ) = 2 D ( S n , H n ) . In particular it follows from Theorem 1 and Theorem 4 , that for n ≥ 3 n \ge3 n ≥ 3 ,
1 2 ( n 2 / 4 − 1 ) ≤ D ( S n , H n ) ≤ 1 2 ( 5 n 3 − 2 n 2 − n ) \frac{1}{2}(n^2/4 - 1) \le D(S_n, \mathcal{H}_n) \le\frac{1}{2}(5n^3 - 2n^2 - n) 2 1 ( n 2 /4 − 1 ) ≤ D ( S n , H n ) ≤ 2 1 ( 5 n 3 − 2 n 2 − n )
Proof idea. The proof that D ( O ( n ) × S n , R n × n ) = 2 D ( S n , H n ) D(O(n) \times S_n, \mathbb{R}^{n \times n}) = 2D(S_n, \mathcal{H}_n) D ( O ( n ) × S n , R n × n ) = 2 D ( S n , H n ) is based on the observation that two positive semi-definite weighted graphs A , B A, B A , B are in the same S n S_n S n orbit, if and only if there are O ( n ) × S n O(n) \times S_n O ( n ) × S n equivalent point clouds X , Y X, Y X , Y satisfying X T X = A , Y T Y = B X^{T}X = A, Y^{T}Y = B X T X = A , Y T Y = B . The full proof is in the appendix.
Quantitative approximation bounds for Invariant Models
Our upper bound in Theorem 4 shows universality and separation for S E ( d ) × S n \mathrm{SE}(d) \times S_n SE ( d ) × S n invariant polynomials of degree proportional to d ⋅ n 2 d \cdot n^2 d ⋅ n 2 . These results can be extended to similar quantitative universality results for S E ( d ) × S n \mathrm{SE}(d) \times S_n SE ( d ) × S n invariant architectures which are based on message passing and high dimensional representations of the rotation group, since such architectures can construct invariant polynomials. We give two specific architectures for which such results can be obtained: Tensor Field Networks (TFN) and MACE.
In this section we will often specialize to the case d = 3 d = 3 d = 3 , since this is the most relevant dimension in practice, and as a result many invariant models, including TFN and MACE, are defined for d = 3 d = 3 d = 3 only.
Tensor Field Networks
Tensor Field Networks (TFN) (Thomas et al. [36 ] ) pioneered the approach of using high-dimensional representations of the rotation group for S E ( 3 ) × S n \mathrm{SE}(3) \times S_n SE ( 3 ) × S n invariant models. We give a brief background on this approach.
A real representation of S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) is a real vector space on which S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) acts linearly. A standard example is the action of S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) on R 3 \mathbb{R}^3 R 3 by matrix multiplication. More generally, for every ℓ = 0 , 1 , 2 , … \ell= 0,1,2,\ldots ℓ = 0 , 1 , 2 , … , there is a 2 ℓ + 1 2\ell+ 1 2 ℓ + 1 dimensional representation W ℓ ≅ R 2 ℓ + 1 W_\ell\cong\mathbb{R}^{2\ell+1} W ℓ ≅ R 2 ℓ + 1 of S O ( 3 ) \mathrm{SO}(3) SO ( 3 ) . This representation is obtained via spherical harmonics: For a fixed ℓ \ell ℓ , the 2 ℓ + 1 2\ell+1 2 ℓ + 1 spherical harmonics are a collection of 2 ℓ + 1 2\ell+ 1 2 ℓ + 1 polynomials Y ℓ m : R 3 → R , m = − ℓ , … , ℓ Y_\ell^m : \mathbb{R}^3 \to\mathbb{R}, m = -\ell,\ldots,\ell Y ℓ m : R 3 → R , m = − ℓ , … , ℓ which are (a) ℓ \ell ℓ -homogeneous and (b) are harmonic and satisfy that the mapping x ↦ ( Y ℓ m ( x ) , m = − ℓ , … , ℓ ) x \mapsto(Y_\ell^m(x),m = -\ell,\ldots,\ell) x ↦ ( Y ℓ m ( x ) , m = − ℓ , … , ℓ ) is a rotation equivariant function mapping the standard representation R 3 ≅ W 1 \mathbb{R}^3 \cong W_1 R 3 ≅ W 1 into a high dimensional representation W ℓ W_\ell W ℓ . To what extent does the employment of higher dimensional features increase the expressive power of the model? In Pozdnyakov & Ceriotti [29 ] it was shown that methods which use geometric message passing on the distances only (corresponding to ℓ = 0 \ell= 0 ℓ = 0 features) are not complete. In contrast, in Dym & Maron [11 ] it was shown that TFN can construct all invariant polynomials up to degree D D D , if the feature order and depth are proportional to D D D . Specifically, the following is a simple corollary of Theorem 2 in that paper:
Proposition 6. Let D ∈ N D \in\mathbb{N} D ∈ N . Any S E ( 3 ) × S n \mathrm{SE}(3) \times S_n SE ( 3 ) × S n invariant polynomial p : R 3 × n → R p : \mathbb{R}^{3 \times n} \to\mathbb{R} p : R 3 × n → R can be expressed by a TFN model with 2 D 2D 2 D layers, and irreducible features of maximal order ℓ max = D \ell_{\max} = D ℓ m a x = D .
In Dym & Maron [11 ] , this proposition was used to prove that one can always obtain a complete model if the maximal irreducible order is taken to be arbitrarily large, where this result is based on the observation that invariant polynomials can approximate all continuous invariant functions. With our result, Theorem 4 , we can now for the first time obtain a bound on the order of ℓ max \ell_{\max} ℓ m a x needed:
Corollary 7. Let n ∈ N n \in\mathbb{N} n ∈ N and set D = 18 n 2 − 18 n + 9 D = 18n^2 - 18n + 9 D = 18 n 2 − 18 n + 9 . Then an invariant TFN model with 2 D 2D 2 D layers, and irreducible features of order ≤ D \leq D ≤ D , is ( S E ( 3 ) × S n , R 3 × n ) (\mathrm{SE}(3) \times S_n, \mathbb{R}^{3 \times n}) ( SE ( 3 ) × S n , R 3 × n ) complete.
The derivation of Proposition 6 from the results in Dym & Maron [11 ] , and some more details of the TFN model used, are discussed in Appendix § 11 .§ 1 .
MACE
MACE (Batatia et al., [3 ] ) is a very successful S E ( 3 ) × S n \mathrm{SE}(3) \times S_n SE ( 3 ) × S n invariant model. Its main innovation is the employment of tensor products of several high order features. Namely, if A 1 , … , A ν A_1, \ldots, A_\nu A 1 , … , A ν are features in W ℓ 1 , … , W ℓ ν W_{\ell_1}, \ldots, W_{\ell_\nu} W ℓ 1 , … , W ℓ ν respectively, then one can obtain a new feature A 1 ⊗ A 2 ⊗ … ⊗ A ν A_1 \otimes A_2 \otimes\ldots\otimes A_\nu A 1 ⊗ A 2 ⊗ … ⊗ A ν in the tensor product representation W ℓ 1 ⊗ W ℓ 2 ⊗ … ⊗ W ℓ ν W_{\ell_1} \otimes W_{\ell_2} \otimes\ldots\otimes W_{\ell_\nu} W ℓ 1 ⊗ W ℓ 2 ⊗ … ⊗ W ℓ ν . Moreover, using the Clebsch–Gordan coefficients, this tensor product representation can be mapped equivariantly to a direct sum of W ℓ W_\ell W ℓ representations. While previous works like TFN employed such tensor products between pairs of tensors (ν = 2 \nu= 2 ν = 2 ), MACE was the first model to use such decompositions for ν > 2 \nu> 2 ν > 2 . Our next proposition gives an explanation for the effectiveness of this procedure, by showing that unlike TFN, for which the construction of Dym & Maron [11 ] uses depth 2 D 2D 2 D to express invariant polynomials of degree D D D , MACE can do this with depth = 1 =1 = 1 , as long as the maximal number of tensor products (known as the body order) ν max \nu_{\max} ν m a x , and the maximal representation order ℓ max \ell_{\max} ℓ m a x , satisfy ν max = min { D , n − 1 } \nu_{\max} = \min\{D, n - 1\} ν m a x = min { D , n − 1 } and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ , respectively.
We modify the step of MACE that forms tensor products of the aggregated features so that it follows the atomic cluster expansion (ACE) (Drautz, [8 ] ): each factor of the tensor product has its own channel mixing, as each factor of an ACE basis function has its own radial index. This modification, and the other differences from the original model, are detailed in Appendix § 11 .§ 2 .
Proposition 8. MACE with ν max = min { D , n − 1 } \nu_{\max} = \min\{D, n - 1\} ν m a x = min { D , n − 1 } and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ can express any S E ( 3 ) × S n \mathrm{SE}(3) \times S_n SE ( 3 ) × S n invariant polynomial of degree ≤ D \leq D ≤ D .
As a corollary of this proposition and Theorem 4 , we obtain the following completeness result for MACE
Corollary 9. Let n ∈ N n \in\mathbb{N} n ∈ N and set D = 18 n 2 − 18 n + 9 D = 18n^2 - 18n + 9 D = 18 n 2 − 18 n + 9 . Then a MACE model with depth 1 1 1 , ν max = n − 1 \nu_{\max} = n - 1 ν m a x = n − 1 and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ is ( S E ( 3 ) × S n , R 3 × n ) (\mathrm{SE}(3) \times S_n, \mathbb{R}^{3 \times n}) ( SE ( 3 ) × S n , R 3 × n ) complete.
The details of the MACE model used for Proposition 8, and the proof of the proposition, are given in Appendix § 11 .§ 2 . In Appendix § 11 .§ 3 we show that when message passing is on all points, more iterations can be used instead of a high body order, for example ν max = 2 \nu_{\max} = 2 ν m a x = 2 with log 2 ( n + 1 ) − 1 \log_2(n + 1) - 1 log 2 ( n + 1 ) − 1 iterations (Corollary 30 ).
Improved MACE Completeness for locally regular point clouds
The completeness results of § 3 require invariants of degree 18 n 2 − 18 n + 9 18n^2 - 18n + 9 18 n 2 − 18 n + 9 , a quantity that grows with the number of points in the cloud. This degree is likely too high for most practical MACE implementations. Moreover, MACE typically applies message passing only within a fixed cutoff radius (Batatia et al., [3 ] ). Accordingly, the relevant scale is not n n n but the maximal number K K K of points inside a single cutoff ball. In this subsection we isolate a set of properties of a point cloud which make this precise: on the class of clouds satisfying them, a local model of MACE type is complete using irreducible features and invariants of degree at most 6 d K 2 6dK^{2} 6 d K 2 , a bound independent of n n n and of the depth of the model. Restricted to such a class, this strengthens the MACE completeness corollary of § 3 . Conversely, on a similar class, we prove a lower bound showing that MACE cannot separate without irreducibles and correlation orders whose total degree is ∼ K 2 \sim K^{2} ∼ K 2 .
Below we will fix a cutoff radius ρ > 0 \rho> 0 ρ > 0 and an integer K K K . In order to focus on applications to MACE, we will set the dimension to d = 3 d = 3 d = 3 . Proofs are given in Appendix § 12 and they are written for general d ≥ 2 d \ge2 d ≥ 2 , except where the constants are specific to d = 3 d = 3 d = 3 .
Environments. Let X = ( x 1 , … , x n ) ∈ R d × n X = (x_{1}, \ldots, x_{n}) \in\mathbb{R}^{d \times n} X = ( x 1 , … , x n ) ∈ R d × n and write [ n ] : = { 1 , … , n } [n] := \{1, \ldots, n\} [ n ] := { 1 , … , n } . For i ∈ [ n ] i \in[n] i ∈ [ n ] let
B 1 X ( i ) : = { j ∈ [ n ] : ∥ x j − x i ∥ ≤ ρ } \mathcal{B}_{1}^{X}(i) := \{j \in[n] : \lVert x_{j} - x_{i} \rVert\le\rho\} B 1 X ( i ) := { j ∈ [ n ] : ∥ x j − x i ∥ ≤ ρ }
be the set of indices in the cutoff ball at x i x_{i} x i . Two indices i , j ∈ [ n ] i, j \in[n] i , j ∈ [ n ] are ρ \rho ρ -adjacent if 0 < ∥ x i − x j ∥ ≤ ρ 0 < \lVert x_{i} - x_{j} \rVert\le\rho 0 < ∥ x i − x j ∥ ≤ ρ and the columns indexed by B 1 X ( i ) ∩ B 1 X ( j ) \mathcal{B}_{1}^{X}(i) \cap\mathcal{B}_{1}^{X}(j) B 1 X ( i ) ∩ B 1 X ( j ) contain d + 1 d + 1 d + 1 affinely independent points.
Definition 10 (locally regular point clouds). A matrix X = ( x 1 , … , x n ) ∈ R d × n X = (x_{1}, \ldots, x_{n}) \in\mathbb{R}^{d \times n} X = ( x 1 , … , x n ) ∈ R d × n with n ≥ 2 n \ge2 n ≥ 2 is ( ρ , K ) (\rho, K) ( ρ , K ) -regular if
(D) the columns x 1 , … , x n x_{1}, \ldots, x_{n} x 1 , … , x n are pairwise distinct;
(K) ∣ { j ∈ [ n ] : ∥ x j − y ∥ ≤ ρ } ∣ ≤ K \left|\{j \in[n] : \lVert x_{j} - y \rVert\le\rho\}\right| \le K ∣ { j ∈ [ n ] : ∥ x j − y ∥ ≤ ρ } ∣ ≤ K for every y ∈ R d y \in\mathbb{R}^{d} y ∈ R d ;
(O) the ρ \rho ρ -adjacency graph on [ n ] [n] [ n ] is connected.
We say that X ∈ R d × n X \in\mathbb{R}^{d \times n} X ∈ R d × n is ( ρ , K ) (\rho, K) ( ρ , K ) -strongly regular , if X X X is ( ρ , K ) (\rho, K) ( ρ , K ) regular, and additionally, X X X does not contain two different ordered subsets of d + 1 d + 1 d + 1 points which are congruent. Here two ordered subsets ( p 0 , … , p d ) (p_{0}, \ldots, p_{d}) ( p 0 , … , p d ) and ( p 0 ′ , … , p d ′ ) (p_{0}^{\prime}, \ldots, p_{d}^{\prime}) ( p 0 ′ , … , p d ′ ) are congruent if there exist g ∈ O ( d ) g \in O(d) g ∈ O ( d ) and b ∈ R d b \in\mathbb{R}^{d} b ∈ R d such that p s ′ = g p s + b p_{s}^{\prime} = gp_{s} + b p s ′ = g p s + b for all s = 0 , … , d s = 0, \ldots, d s = 0 , … , d . We denote the collection of ( ρ , K ) (\rho, K) ( ρ , K ) regular and ( ρ , K ) (\rho, K) ( ρ , K ) strongly regular point clouds by R ρ , K \mathcal{R}_{\rho,K} R ρ , K and R ρ , K S \mathcal{R}_{\rho,K}^{S} R ρ , K S , respectively.
Hypothesis (K) bounds the local multiplicity from above and is what keeps environments small. Hypothesis (O) bounds it from below and is what makes the environments rigid: connectivity lets information propagate through the cloud, while the overlap requirement built into ρ \rho ρ -adjacency forces the cutoff balls of adjacent points to meet in a set of full affine dimension.
Our main result of this section states that, for ( ρ , K ) (\rho, K) ( ρ , K ) strongly regular point clouds, a single iteration of local MACE with irreducible order ∼ K 2 \sim K^{2} ∼ K 2 is already complete, and that further iterations preserve completeness:
Theorem 11. Let K ≤ n K \le n K ≤ n be natural numbers and ρ > 0 \rho> 0 ρ > 0 , and let G = S E ( 3 ) × S n G = SE(3) \times S_{n} G = S E ( 3 ) × S n . Set
D ( j ) = 18 j 2 − 18 j + 9 , D = D ( K ) . D(j) = 18j^{2} - 18j + 9, \qquad D = D(K). D ( j ) = 18 j 2 − 18 j + 9 , D = D ( K ) . Then local MACE with cutoff ρ \rho ρ , T ≥ 1 T \ge1 T ≥ 1 iterations, ν max = K − 1 \nu_{\max} = K - 1 ν m a x = K − 1 and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ , is ( G , R ρ , K S ) (G, \mathcal{R}_{\rho,K}^{S}) ( G , R ρ , K S ) complete.
Proof Idea. The main idea is that, after a single MACE iteration, one obtains a set of node features { E i ( X ) , i = 1 , … , n } \{E_{i}(X), i = 1, \ldots, n\} { E i ( X ) , i = 1 , … , n } . These features are invariants, so reconstructing an environment from one of them is a separation problem for point clouds of K K K points, and this is where Theorem 4 enters: it bounds the degree at which invariants separate such clouds by D = D ( K ) D = D(K) D = D ( K ) , and Corollary 9 , which is that theorem combined with the expressivity of one MACE layer, turns the bound into the degree assumption made here. Accordingly B 1 X ( i ) \mathcal{B}_{1}^{X}(i) B 1 X ( i ) , the local environment of each node i i i , can be reconstructed from E i ( X ) E_{i}(X) E i ( X ) , up to a rotation and a translation. Strong regularity then implies that, whenever the two environments share d + 1 d + 1 d + 1 affinely independent points (up to congruence), these points can be identified with each other; by the overlap requirement in the definition of ρ \rho ρ -adjacency this is the case for every adjacent pair i , j i, j i , j , so the environments of adjacent nodes can be glued. Since the ρ \rho ρ -adjacency graph is connected, and the intersections contain d + 1 d + 1 d + 1 affinely independent points, the whole point cloud can be reconstructed uniquely. A full proof is given in the appendix.
We accompany the above by the following lower bound. In this lower bound, the hyperparameters ℓ max , ν max \ell_{\max}, \nu_{\max} ℓ m a x , ν m a x correspond to the maximal irreducible order and maximal correlations used in the MACE iterations, and ν r e a d \nu_{\mathrm{read}} ν read denotes the correlations used in the final readout stage.
Proposition 12 (proved in Appendix E.2). Let K ≥ 7 K \ge7 K ≥ 7 , and let a local MACE model with cutoff ρ \rho ρ , message-passing depth T T T and hyperparameters ℓ max \ell_{\max} ℓ m a x , ν max \nu_{\max} ν m a x , ν r e a d \nu_{\mathrm{read}} ν read be ( S E ( 3 ) × S n , R ρ , K ) (SE(3) \times S_n, \mathcal{R}_{\rho,K}) ( S E ( 3 ) × S n , R ρ , K ) complete on clouds of K K K points. Then
ν r e a d ⋅ ℓ max ⋅ ∑ t = 1 T ν max t ≥ 2 ⌊ K − 1 2 ⌋ . \nu_{\mathrm{read}} \cdot\ell_{\max} \cdot\sum_{t=1}^{T} \nu_{\max}^{t} \ge2 \left\lfloor\frac{K-1}{2} \right\rfloor. ν read ⋅ ℓ m a x ⋅ t = 1 ∑ T ν m a x t ≥ 2 ⌊ 2 K − 1 ⌋ . and if the readout is that of equation (9) –equation 7, a function of the invariant channels at each point followed by a sum, then already ℓ max ∑ t = 1 T ν max t ≥ 2 ⌊ ( K − 1 ) / 2 ⌋ \ell_{\max} \sum_{t=1}^{T} \nu_{\max}^{t} \ge2\left\lfloor(K-1)/2 \right\rfloor ℓ m a x ∑ t = 1 T ν m a x t ≥ 2 ⌊ ( K − 1 ) /2 ⌋ .
Proof idea. The counterexample is a local version of the counter-rotating polygons of Theorem 1: for p , q ≥ 3 p,q \ge3 p , q ≥ 3 we form a family of clouds of K = p + q + 1 K=p+q+1 K = p + q + 1 points in R 3 \mathbb{R}^{3} R 3 , each consisting of a point at the origin and two rings of p p p and q q q points with free phases α , β \alpha,\beta α , β around a common axis (see Figure 2 ). The cutoff radius is such that every distance the model can read is constant along the family, the cross-ring distances that do vary all exceeding the cutoff, so only angular resolution is at stake, while the sole invariant α − β \alpha-\beta α − β is defined modulo 2 π / lcm ( p , q ) 2\pi/\operatorname{lcm}(p,q) 2 π / lcm ( p , q ) . Each spherical harmonic of degree ℓ \ell ℓ in a message contributes at most ℓ \ell ℓ to the frequency in ( α , β ) (\alpha,\beta) ( α , β ) of the features, and products of ν max \nu_{\max} ν m a x messages add frequencies, which gives the budget on the left. Shifting β \beta β by 2 π / q 2\pi/q 2 π / q leaves the cloud and each point of the first ring fixed, and a rotation about the axis shifts α \alpha α and β \beta β together, so the output at such a point is constant unless one of its Fourier modes ( m 1 , m 2 ) (m_1,m_2) ( m 1 , m 2 ) has ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 q |m_1|+|m_2| \ge2q ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 q ; symmetrically, 2 p 2p 2 p for the second ring, and more for the center. A model whose point outputs are all constant separates nothing, and choosing p p p and q q q as equal as possible gives 2 min ( p , q ) = 2 ⌊ ( K − 1 ) / 2 ⌋ 2\min(p,q)=2\left\lfloor(K-1)/2\right\rfloor 2 min ( p , q ) = 2 ⌊ ( K − 1 ) /2 ⌋ .
Figure 2. A family of regular point clouds which cannot be separated by mace without high degree/correlation order. See Proposition 12 for details.
The significance of this proposition is that MACE with the modestly sized hyperparameters usually selected in practice is not complete even under the regularity assumptions. To illustrate this: for ℓ max = ν max = 3 \ell_{\max}=\nu_{\max}=3 ℓ m a x = ν m a x = 3 and the readout of equation (9) , the family is not separated once K ≥ 11 K \ge11 K ≥ 11 for T = 1 T=1 T = 1 , K ≥ 39 K \ge39 K ≥ 39 for T = 2 T=2 T = 2 and K ≥ 119 K \ge119 K ≥ 119 for $T=3. Figure 2 shows a 12-point configuration whose relative polygon rotations can be distinguished by MACE only if
ν r e a d ℓ max ∑ i = 1 T ν max i ≥ 2 ⌊ 11 2 ⌋ = 10. \nu_{\mathrm{read}}\ell_{\max}\sum_{i=1}^{T}\nu_{\max}^{i} \ge2\left\lfloor\frac{11}{2} \right\rfloor=10. ν read ℓ m a x i = 1 ∑ T ν m a x i ≥ 2 ⌊ 2 11 ⌋ = 10.
Conclusion, Limitations and Future Work
In this paper we showed that the degree of separation for point clouds is lower bounded by ∼ n 2 \sim n^{2} ∼ n 2 and upper bounded by ∼ d n 2 \sim dn^{2} ∼ d n 2 . We showed this implies a ∼ n 2 \sim n^{2} ∼ n 2 lower bound and ∼ n 3 \sim n^{3} ∼ n 3 upper bound for weighted graphs, and used the upper bound for point clouds to derive completeness results for TFN and MACE with irreducible order which grows quadratically in n n n , or under additional assumptions, quadratically in the maximal neighborhood size. We also provide a lower bound for the MACE architecture. To the best of our knowledge these are the first quantitative results of this kind.
In the context of polynomial separation, the remaining gap is that the upper bound exceeds the lower bound by a factor of order d d d . This is essentially equivalent to closing the gap between the quadratic lower bound and cubic upper bound attained for weighted graphs. In the context of invariant networks there is a more substantial gap: Our results used the fact that TFN and MACE can construct invariant polynomials up to a degree determined by the irreducibles used. However, these models can also express non-polynomial functions. Thus, we do not have tight lower bounds for these models. An interesting open question is to give tight upper and lower bounds on the degree of separation of these models. In particular, are MACE and TFN complete with an irreducible degree that does not depend on n n n ? For regular point clouds Proposition 12 answers it in part: with bounded depth and correlation order the irreducible degree must grow at least linearly in the neighborhood size. Whether linear growth suffices, the question for the class of all point clouds, and the case of MACE architectures with unrestricted neighborhoods, remain open.
AI USE STATEMENT
We used generative AI tools to edit and improve the writing, check manuscript formatting, and assist in verifying the correctness of our results. We did not use generative AI tools for research ideation. All AI-assisted suggestions and checks were reviewed by the authors. The authors take full responsibility for the final content of this work, including all claims, proofs, and conclusions.
ACKNOWLEDGMENTS
S.H. and N.D. acknowledge funding by the Israel Science Foundation grant no. 272/23 and DFG-ISF grant no. 3597/26. S.H. is supported by the Gloria and Ken Levy Foundation Fellowship. H.D. was partially supported by a Simons Foundation International grant administered by the Simons Foundation (SFI-MPS-SFM-00010862). M.P. was supported by the Chilean ANID basal center CenIA, code FB210017.
REFERENCES
Further Related Work
Completeness and universality in Geometric Deep Learning Understanding the expressive power of machine learning models for point clouds allows researchers to have a benchmark for model comparison. Dym & Maron [11 ] characterized the polynomial expressivity of models that utilize high-dimensional tensors, often termed equivariant geometric machine learning models, and proved such models are universal at the limit of tensor order (e.g., [36 ] ). Subsequent work used tools developed there to prove universality of novel architectures ([9 , 13 ] (Finkelshtein et al. 2022)).
Universality was also proven for sufficiently high-order geometric graph neural networks (GNNs), which process pairwise invariants and computes high-order correlations among them (Hordan et al., 2024a;b; Rose et al., 2023; Li et al., 2023). Yet equivariant models and GNNs are structured differently, with nonlinearities embedded throughout the components of GNNs, in contrast with equivariant models which are composed of linear maps except for the radial functions and readout aggregation, so those results do not carry over to equivariant GNNs. High order GNNs incur high computational cost and poor scalability compared with equivariant models ([3 ] ), leaving quantitative completeness in equivariant models an open question, up to this manuscript.
Missing proofs
Lemma 2. Let V = R d × n V = \mathbb{R}^{d \times n} V = R d × n and V c e n t V_{\mathrm{cent}} V cent denote the subspace of point clouds X ∈ R d × n X \in\mathbb{R}^{d \times n} X ∈ R d × n with X 1 n = 0 d X1_n = 0_d X 1 n = 0 d . Then
D ( E ( d ) × S n , V ) = D ( O ( d ) × S n , V c e n t ) ≤ D ( O ( d ) × S n , V ) (3) D(E(d) \times S_n, V) = D(O(d) \times S_n, V_{\mathrm{cent}}) \leq D(O(d) \times S_n, V) \tag*{(3)} D ( E ( d ) × S n , V ) = D ( O ( d ) × S n , V cent ) ≤ D ( O ( d ) × S n , V ) (3) D ( S E ( d ) × S n , V ) = D ( S O ( d ) × S n , V c e n t ) ≤ D ( S O ( d ) × S n , V ) (4) D(SE(d) \times S_n, V) = D(SO(d) \times S_n, V_{\mathrm{cent}}) \leq D(SO(d) \times S_n, V) \tag*{(4)} D ( S E ( d ) × S n , V ) = D ( S O ( d ) × S n , V cent ) ≤ D ( S O ( d ) × S n , V ) (4)
Proof. Throughout, let H 0 ∈ { O ( d ) , S O ( d ) } H_0 \in\{O(d), SO(d)\} H 0 ∈ { O ( d ) , S O ( d )} , and let H H H denote the corresponding group with translations, i.e. H = E ( d ) H = E(d) H = E ( d ) if H 0 = O ( d ) H_0 = O(d) H 0 = O ( d ) and H = S E ( d ) H = SE(d) H = S E ( d ) if H 0 = S O ( d ) H_0 = SO(d) H 0 = S O ( d ) . We prove
D ( H × S n , V ) = D ( H 0 × S n , V c e n t ) ≤ D ( H 0 × S n , V ) , D(H \times S_n, V) = D(H_0 \times S_n, V_{\mathrm{cent}}) \leq D(H_0 \times S_n, V), D ( H × S n , V ) = D ( H 0 × S n , V cent ) ≤ D ( H 0 × S n , V ) ,
which gives equation 1 and equation 2 simultaneously.
Matrix form of the action. For σ ∈ S n \sigma\in S_n σ ∈ S n let P σ P_\sigma P σ be the permutation matrix with P σ e j = e σ ( j ) P_\sigma e_j = e_{\sigma(j)} P σ e j = e σ ( j ) . The j j j -th column of X P σ T XP_\sigma^T X P σ T is x σ − 1 ( j ) x_{\sigma^{-1}(j)} x σ − 1 ( j ) , so the action defined in § 1.2 reads
( t , R , σ ) ⋅ X = R ( X − t 1 n T ) P σ T , (t, R, \sigma) \cdot X = R\left(X - t1_n^T\right)P_\sigma^T, ( t , R , σ ) ⋅ X = R ( X − t 1 n T ) P σ T ,
and H 0 × S n H_0 \times S_n H 0 × S n is identified with the subgroup { ( 0 , R , σ ) } \{(0, R, \sigma)\} {( 0 , R , σ )} of H × S n H \times S_n H × S n . Note that P σ 1 n = 1 n P_\sigma1_n = 1_n P σ 1 n = 1 n and hence also 1 n T P σ T = 1 n T 1_n^T P_\sigma^T = 1_n^T 1 n T P σ T = 1 n T .
The centering map. Let C : = I n − 1 n 1 n 1 n T C := I_n - \frac{1}{n}1_n1_n^T C := I n − n 1 1 n 1 n T and define the linear map c : V → V c : V \to V c : V → V , c ( X ) : = X C = X − 1 n X 1 n 1 n T c(X) := XC = X - \frac{1}{n}X1_n1_n^T c ( X ) := X C = X − n 1 X 1 n 1 n T . We record four properties.
(i) c ( V ) ⊆ V c e n t c(V) \subseteq V_{\mathrm{cent}} c ( V ) ⊆ V cent and c ( X ) = X c(X) = X c ( X ) = X for X ∈ V c e n t X \in V_{\mathrm{cent}} X ∈ V cent .
(ii) X X X and c ( X ) c(X) c ( X ) lie in the same H × S n H \times S_n H × S n -orbit.
(iii) c c c is equivariant: c ( ( t , R , σ ) ⋅ X ) = ( 0 , R , σ ) ⋅ c ( X ) c((t, R, \sigma) \cdot X) = (0, R, \sigma) \cdot c(X) c (( t , R , σ ) ⋅ X ) = ( 0 , R , σ ) ⋅ c ( X ) for all ( t , R , σ ) ∈ H × S n (t, R, \sigma) \in H \times S_n ( t , R , σ ) ∈ H × S n .
(iv) V c e n t V_{\mathrm{cent}} V cent is H 0 × S n H_0 \times S_n H 0 × S n -invariant: if X 1 n = 0 X1_n = 0 X 1 n = 0 then R X P σ T 1 n = R X 1 n = 0 RXP_\sigma^T1_n = RX1_n = 0 R X P σ T 1 n = R X 1 n = 0 .
Claim: X , Y ∈ V X, Y \in V X , Y ∈ V lie in the same H × S n H \times S_n H × S n -orbit if and only if c ( X ) , c ( Y ) c(X), c(Y) c ( X ) , c ( Y ) lie in the same H 0 × S n H_0 \times S_n H 0 × S n -orbit.
If Y = ( t , R , σ ) ⋅ X Y = (t, R, \sigma) \cdot X Y = ( t , R , σ ) ⋅ X , then c ( Y ) = ( 0 , R , σ ) ⋅ c ( X ) c(Y) = (0, R, \sigma) \cdot c(X) c ( Y ) = ( 0 , R , σ ) ⋅ c ( X ) by (iii). Conversely, if c ( Y ) = ( 0 , R , σ ) ⋅ c ( X ) c(Y) = (0, R, \sigma) \cdot c(X) c ( Y ) = ( 0 , R , σ ) ⋅ c ( X ) , then c ( X ) c(X) c ( X ) and c ( Y ) c(Y) c ( Y ) lie in the same H × S n H \times S_n H × S n -orbit, since H 0 × S n ⊆ H × S n H_0 \times S_n \subseteq H \times S_n H 0 × S n ⊆ H × S n . By (ii), X X X lies in the orbit of c ( X ) c(X) c ( X ) and Y Y Y lies in the orbit of c ( Y ) c(Y) c ( Y ) , so X X X and Y Y Y lie in the same H × S n H \times S_n H × S n -orbit.
We will repeatedly use that composing a polynomial with a linear map, or restricting it to a linear subspace, yields a polynomial of no larger degree.
We now show that D ( H × S n , V ) = D ( H 0 × S n , V c e n t ) D(H \times S_n,V)=D(H_0 \times S_n,V_{\mathrm{cent}}) D ( H × S n , V ) = D ( H 0 × S n , V cent ) by proving inequality in both directions.
Step 1: D ( H × S n , V ) ≤ D ( H 0 × S n , V c e n t ) D(H \times S_n,V)\leq D(H_0 \times S_n,V_{\mathrm{cent}}) D ( H × S n , V ) ≤ D ( H 0 × S n , V cent ) . Set D : = D ( H 0 × S n , V c e n t ) D:=D(H_0 \times S_n,V_{\mathrm{cent}}) D := D ( H 0 × S n , V cent ) and let X , Y ∈ V X,Y\in V X , Y ∈ V lie in different H × S n H \times S_n H × S n -orbits. By the claim, c ( X ) , c ( Y ) ∈ V c e n t c(X),c(Y)\in V_{\mathrm{cent}} c ( X ) , c ( Y ) ∈ V cent lie in different H 0 × S n H_0 \times S_n H 0 × S n -orbits, so there is p ∈ R [ V c e n t ] ≤ D H 0 × S n p\in\mathbb{R}[V_{\mathrm{cent}}]^{H_0\times S_n}_{\leq D} p ∈ R [ V cent ] ≤ D H 0 × S n with p ( c ( X ) ) ≠ p ( c ( Y ) ) p(c(X))\neq p(c(Y)) p ( c ( X )) = p ( c ( Y )) . Set q : = p ∘ c ∈ R [ V ] ≤ D q:=p\circ c\in\mathbb{R}[V]_{\leq D} q := p ∘ c ∈ R [ V ] ≤ D . By (iii), for all ( t , R , σ ) ∈ H × S n (t,R,\sigma)\in H\times S_n ( t , R , σ ) ∈ H × S n ,
q ( ( t , R , σ ) ⋅ X ) = p ( ( 0 , R , σ ) ⋅ c ( X ) ) = p ( c ( X ) ) = q ( X ) , q((t,R,\sigma)\cdot X)=p((0,R,\sigma)\cdot c(X))=p(c(X))=q(X), q (( t , R , σ ) ⋅ X ) = p (( 0 , R , σ ) ⋅ c ( X )) = p ( c ( X )) = q ( X ) ,
so q q q is H × S n H\times S_n H × S n -invariant and separates X X X from Y Y Y . Hence R [ V ] ≤ D H × S n \mathbb{R}[V]^{H\times S_n}_{\leq D} R [ V ] ≤ D H × S n is ( H × S n , V ) (H\times S_n,V) ( H × S n , V ) complete.
Step 2: D ( H 0 × S n , V c e n t ) ≤ D ( H × S n , V ) D(H_0\times S_n,V_{\mathrm{cent}})\leq D(H\times S_n,V) D ( H 0 × S n , V cent ) ≤ D ( H × S n , V ) . Set D ′ : = D ( H × S n , V ) D':=D(H\times S_n,V) D ′ := D ( H × S n , V ) and let X , Y ∈ V c e n t X,Y\in V_{\mathrm{cent}} X , Y ∈ V cent lie in different H 0 × S n H_0\times S_n H 0 × S n -orbits. By (i), c ( X ) = X c(X)=X c ( X ) = X and c ( Y ) = Y c(Y)=Y c ( Y ) = Y , so by the claim X , Y X,Y X , Y lie in different H × S n H\times S_n H × S n -orbits of V V V . Hence there is q ∈ R [ V ] ≤ D ′ H × S n q\in\mathbb{R}[V]^{H\times S_n}_{\leq D'} q ∈ R [ V ] ≤ D ′ H × S n with q ( X ) ≠ q ( Y ) q(X)\neq q(Y) q ( X ) = q ( Y ) . Its restriction q ∣ V c e n t q|_{V_{\mathrm{cent}}} q ∣ V cent is a polynomial on V c e n t V_{\mathrm{cent}} V cent of degree ≤ D ′ \leq D' ≤ D ′ . It is H 0 × S n H_0\times S_n H 0 × S n -invariant, because V c e n t V_{\mathrm{cent}} V cent is H 0 × S n H_0\times S_n H 0 × S n -invariant by (iv) and H 0 × S n ⊆ H × S n H_0\times S_n\subseteq H\times S_n H 0 × S n ⊆ H × S n . Also q ∣ V c e n t ( X ) ≠ q ∣ V c e n t ( Y ) q|_{V_{\mathrm{cent}}}(X)\neq q|_{V_{\mathrm{cent}}}(Y) q ∣ V cent ( X ) = q ∣ V cent ( Y ) . Hence R [ V c e n t ] ≤ D ′ H 0 × S n \mathbb{R}[V_{\mathrm{cent}}]^{H_0\times S_n}_{\leq D'} R [ V cent ] ≤ D ′ H 0 × S n is ( H 0 × S n , V c e n t ) (H_0\times S_n,V_{\mathrm{cent}}) ( H 0 × S n , V cent ) complete.
Finally, the inequality D ( H 0 × S n , V c e n t ) ≤ D ( H 0 × S n , V ) D(H_0\times S_n,V_{\mathrm{cent}})\leq D(H_0\times S_n,V) D ( H 0 × S n , V cent ) ≤ D ( H 0 × S n , V ) follows directly from the fact that V c e n t V_{\mathrm{cent}} V cent is an invariant subspace of V V V .
Proposition 5. For any natural n n n , we have that D ( O ( n ) × S n , R n × n ) = 2 D ( S n , H n ) D(O(n)\times S_n,\mathbb{R}^{n\times n})=2D(S_n,\mathcal{H}_n) D ( O ( n ) × S n , R n × n ) = 2 D ( S n , H n ) . In particular it follows from Theorem 1 and Theorem 4, that for n ≥ 3 n\geq3 n ≥ 3 ,
1 2 ( n 2 / 4 − 1 ) ≤ D ( S n , H n ) ≤ 1 2 ( 5 n 3 − 2 n 2 − n ) \frac{1}{2}(n^2/4-1)\leq D(S_n,\mathcal{H}_n)\leq\frac{1}{2}(5n^3-2n^2-n) 2 1 ( n 2 /4 − 1 ) ≤ D ( S n , H n ) ≤ 2 1 ( 5 n 3 − 2 n 2 − n ) Proof. We first prove D ( O ( n ) × S n , R n × n ) ≤ 2 D ( S n , H n ) D(O(n)\times S_n,\mathbb{R}^{n\times n})\leq2D(S_n,\mathcal{H}_n) D ( O ( n ) × S n , R n × n ) ≤ 2 D ( S n , H n ) . Let X , Y ∈ R n × n X,Y\in\mathbb{R}^{n\times n} X , Y ∈ R n × n from different O ( n ) × S n O(n)\times S_n O ( n ) × S n orbits. Then the Gram matrices X T X X^{T}X X T X and Y T Y Y^{T}Y Y T Y are not in the same S n S_n S n orbit, since otherwise, we would have that X T X = P T Y T Y P X^{T}X=P^{T}Y^{T}YP X T X = P T Y T Y P for some permutation matrix P P P , implying that X X X and Y P YP Y P have the same Gram matrix, and thus there exists an orthogonal matrix R ∈ O ( n ) R\in O(n) R ∈ O ( n ) such that X = R Y P X=RYP X = R Y P , contradicting the assumption that X , Y X,Y X , Y are not from the same orbit. It follows that there exists an S n S_n S n invariant polynomial p p p of degree ≤ D ( S n , H n ) \leq D(S_n,\mathcal{H}_n) ≤ D ( S n , H n ) such that p ( X T X ) ≠ p ( Y T Y ) p(X^{T}X)\neq p(Y^{T}Y) p ( X T X ) = p ( Y T Y ) . The mapping X ↦ p ( X T X ) X\mapsto p(X^{T}X) X ↦ p ( X T X ) is a O ( n ) × S n O(n)\times S_n O ( n ) × S n invariant polynomial of degree 2 deg ( p ) 2\deg(p) 2 deg ( p ) and thus we have D ( O ( n ) × S n , R n × n ) ≤ 2 D ( S n , H n ) D(O(n)\times S_n,\mathbb{R}^{n\times n})\leq2D(S_n,\mathcal{H}_n) D ( O ( n ) × S n , R n × n ) ≤ 2 D ( S n , H n ) .
We now prove the converse direction D ( O ( n ) × S n , R n × n ) ≥ 2 D ( S n , H n ) D(O(n)\times S_n,\mathbb{R}^{n\times n})\geq2D(S_n,\mathcal{H}_n) D ( O ( n ) × S n , R n × n ) ≥ 2 D ( S n , H n ) . Let A , B ∈ H n A,B\in\mathcal{H}_n A , B ∈ H n which are not from the same S n S_n S n orbit. There exists some t > 0 t>0 t > 0 such that A + t I n A+tI_n A + t I n and B + t I n B+tI_n B + t I n are both positive definite. It follows that for some X , Y ∈ R n × n X,Y\in\mathbb{R}^{n\times n} X , Y ∈ R n × n ,
A + t I n = X T X , B + t I n = Y T Y . A+tI_n=X^{T}X,\qquad B+tI_n=Y^{T}Y. A + t I n = X T X , B + t I n = Y T Y . X , Y X,Y X , Y are not in the same O ( n ) × S n O(n)\times S_n O ( n ) × S n orbit (for that would imply that A , B A,B A , B are in the same S n S_n S n orbit). Therefore there exists an O ( n ) × S n O(n)\times S_n O ( n ) × S n invariant polynomial p p p of degree ≤ D ( O ( n ) × S n , R n × n ) \leq D(O(n)\times S_n,\mathbb{R}^{n\times n}) ≤ D ( O ( n ) × S n , R n × n ) , such that p ( X ) ≠ p ( Y ) p(X)\neq p(Y) p ( X ) = p ( Y ) . By the First Fundamental Theorem of Invariant Theory for O ( n ) O(n) O ( n ) , any O ( n ) O(n) O ( n ) invariant polynomial is a polynomial in the inner products of columns of X X X , or in other words, p ( X ) = ϕ ( X T X ) p(X)=\phi(X^{T}X) p ( X ) = ϕ ( X T X ) for an appropriate polynomial ϕ \phi ϕ . The polynomial ϕ \phi ϕ is S n S_n S n invariant on all positive definite matrices, and since these form an open subset of H n \mathcal{H}_n H n , it follows that ϕ \phi ϕ is S n S_n S n invariant on all of H n \mathcal{H}_n H n . Finally we have that
ϕ ( A + t I n ) = ϕ ( X T X ) ≠ ϕ ( Y T Y ) = ϕ ( B + t I n ) \phi(A+tI_n)=\phi(X^{T}X)\neq\phi(Y^{T}Y)=\phi(B+tI_n) ϕ ( A + t I n ) = ϕ ( X T X ) = ϕ ( Y T Y ) = ϕ ( B + t I n ) and so the polynomial A ↦ ϕ ( A + t I n ) A\mapsto\phi(A+tI_n) A ↦ ϕ ( A + t I n ) separates A A A from B B B and has degree
deg ( ϕ ) = deg ( p ) 2 ≤ D ( O ( n ) × S n , R n × n ) 2 . \deg(\phi)=\frac{\deg(p)}{2}\leq\frac{D(O(n)\times S_n,\mathbb{R}^{n\times n})}{2}. deg ( ϕ ) = 2 deg ( p ) ≤ 2 D ( O ( n ) × S n , R n × n ) .
Upper Bound
Proofs of elementary statements
Proposition 13. For X , Y ∈ R d × n X,Y\in\mathbb{R}^{d\times n} X , Y ∈ R d × n we have Φ ( X ) = Φ ( Y ) \Phi(X)=\Phi(Y) Φ ( X ) = Φ ( Y ) if and only if Y = R X Y=RX Y = R X for some R ∈ O ( d ) R\in O(d) R ∈ O ( d ) .
Proof. If Y = R X Y = RX Y = R X with R ∈ O ( d ) R \in O(d) R ∈ O ( d ) , then Y T Y = X T R T R X = X T X Y^{T}Y = X^{T}R^{T}RX = X^{T}X Y T Y = X T R T R X = X T X . Conversely, suppose X T X = Y T Y X^{T}X = Y^{T}Y X T X = Y T Y , and let x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n and y 1 , … , y n y_1,\ldots,y_n y 1 , … , y n denote the columns of X X X and Y Y Y , so that ⟨ x i , x j ⟩ = ⟨ y i , y j ⟩ \langle x_i,x_j\rangle= \langle y_i,y_j\rangle ⟨ x i , x j ⟩ = ⟨ y i , y j ⟩ for all i , j i,j i , j . The assignment ∑ i c i x i ↦ ∑ i c i y i \sum_i c_i x_i \mapsto\sum_i c_i y_i ∑ i c i x i ↦ ∑ i c i y i is a well-defined linear isometry T T T from span ( x 1 , … , x n ) \operatorname{span}(x_1,\ldots,x_n) span ( x 1 , … , x n ) onto span ( y 1 , … , y n ) \operatorname{span}(y_1,\ldots,y_n) span ( y 1 , … , y n ) : for every c ∈ R n c \in\mathbb{R}^n c ∈ R n ,
∥ ∑ i c i y i ∥ 2 = c T Y T Y c = c T X T X c = ∥ ∑ i c i x i ∥ 2 . \left\|\sum_i c_i y_i\right\|^2 = c^T Y^T Y c = c^T X^T X c = \left\|\sum_i c_i x_i\right\|^2. i ∑ c i y i 2 = c T Y T Y c = c T X T X c = i ∑ c i x i 2 .
which gives both well-definedness (take ∑ i c i x i = 0 \sum_i c_i x_i = 0 ∑ i c i x i = 0 ) and preservation of norms. Since ker Z = ker ( Z T Z ) \ker Z = \ker(Z^T Z) ker Z = ker ( Z T Z ) for any real matrix Z Z Z , both spans have dimension rank ( X T X ) = rank ( Y T Y ) \operatorname{rank}(X^T X) = \operatorname{rank}(Y^T Y) rank ( X T X ) = rank ( Y T Y ) , hence their orthogonal complements in R d \mathbb{R}^d R d have equal dimension as well; extending T T T by any linear isometry between these complements produces R ∈ O ( d ) R \in O(d) R ∈ O ( d ) with R X = Y RX = Y R X = Y .
Proposition 14 (Equivariance of the Gram map). For all X ∈ R d × n X \in\mathbb{R}^{d \times n} X ∈ R d × n , R ∈ O ( d ) R \in O(d) R ∈ O ( d ) and τ ∈ S n \tau\in S_n τ ∈ S n we have
Φ ( ( R , τ ) ⋅ X ) = τ ⋅ Φ ( X ) . \Phi((R,\tau)\cdot X)=\tau\cdot\Phi(X). Φ (( R , τ ) ⋅ X ) = τ ⋅ Φ ( X ) . In particular, Φ \Phi Φ is O ( d ) O(d) O ( d ) -invariant and intertwines the S n S_n S n -actions on R d × n \mathbb{R}^{d\times n} R d × n and on H n \mathcal{H}_n H n .
Proof. ( R X P τ T ) T ( R X P τ T ) = P τ X T R T R X P τ T = P τ ( X T X ) P τ T (RXP_\tau^T)^T(RXP_\tau^T) = P_\tau X^T R^T RXP_\tau^T = P_\tau(X^T X)P_\tau^T ( R X P τ T ) T ( R X P τ T ) = P τ X T R T R X P τ T = P τ ( X T X ) P τ T .
Lemma 15 (The first r r r rows determine a rank-r r r matrix). Let C ∈ H n C \in\mathcal{H}_n C ∈ H n be a rank-r r r symmetric matrix whose leading r × r r \times r r × r block C 11 C_{11} C 11 is nonsingular. Then the first r r r rows determine C C C ; that is, writing
C = ( C 11 C 12 C 12 T C 22 ) , C 22 = C 12 T C 11 − 1 C 12 . C=\begin{pmatrix} C_{11} & C_{12} \\ C_{12}^T & C_{22} \end{pmatrix},\qquad C_{22}=C_{12}^T C_{11}^{-1}C_{12}. C = ( C 11 C 12 T C 12 C 22 ) , C 22 = C 12 T C 11 − 1 C 12 . Proof. Setting S = C 22 − C 12 T C 11 − 1 C 12 S=C_{22}-C_{12}^T C_{11}^{-1}C_{12} S = C 22 − C 12 T C 11 − 1 C 12 , block multiplication verifies the congruence
C = ( I 0 C 12 T C 11 − 1 I ) ( C 11 0 0 S ) ( I C 11 − 1 C 12 0 I ) , C=\begin{pmatrix} I & 0 \\ C_{12}^T C_{11}^{-1} & I \end{pmatrix}
\begin{pmatrix} C_{11} & 0 \\ 0 & S \end{pmatrix}
\begin{pmatrix} I & C_{11}^{-1}C_{12} \\ 0 & I \end{pmatrix}, C = ( I C 12 T C 11 − 1 0 I ) ( C 11 0 0 S ) ( I 0 C 11 − 1 C 12 I ) , so that rank ( C ) = rank ( C 11 ) + rank ( S ) \operatorname{rank}(C)=\operatorname{rank}(C_{11})+\operatorname{rank}(S) rank ( C ) = rank ( C 11 ) + rank ( S ) (rank additivity of the Schur complement, Guttman, 1946). As both sides of the first equality are r r r , we get rank ( S ) = 0 \operatorname{rank}(S)=0 rank ( S ) = 0 , i.e. S = 0 S=0 S = 0 . Note that positive semidefiniteness is not needed.
The point of Lemma 15 is that it localizes disagreement between non-equivalent matrices to the first r r r rows, whose positions number
∣ P r ∣ = ∑ i = 1 r ( n − i + 1 ) = r n − ( r 2 ) = N r ≤ N d , P r : = { ( i , j ) : 1 ≤ i ≤ r , i ≤ j ≤ n } . |\mathcal{P}_r|=\sum_{i=1}^{r}(n-i+1)=rn-\binom{r}{2}=N_r\leq N_d,\qquad\mathcal{P}_r:=\{(i,j):1\leq i\leq r,\ i\leq j\leq n\}. ∣ P r ∣ = i = 1 ∑ r ( n − i + 1 ) = r n − ( 2 r ) = N r ≤ N d , P r := {( i , j ) : 1 ≤ i ≤ r , i ≤ j ≤ n } .
Lemma 16 (Witness lemma). Let A , B ∈ H n A,B\in\mathcal{H}_n A , B ∈ H n be rank-r r r matrices in different S n S_n S n -orbits, with the leading r × r r\times r r × r block of A A A nonsingular. Then for every σ ∈ S n \sigma\in S_n σ ∈ S n there exists ( i , j ) ∈ P r (i,j)\in\mathcal{P}_r ( i , j ) ∈ P r such that ( σ ⋅ B ) i j ≠ A i j (\sigma\cdot B)_{ij}\ne A_{ij} ( σ ⋅ B ) ij = A ij .
Proof. Suppose otherwise, so that σ ⋅ B \sigma\cdot B σ ⋅ B agrees with A A A on the first r r r rows. In particular its leading r × r r\times r r × r block equals that of A A A and is therefore nonsingular, while rank ( σ ⋅ B ) = rank ( B ) = r \operatorname{rank}(\sigma\cdot B)=\operatorname{rank}(B)=r rank ( σ ⋅ B ) = rank ( B ) = r . Lemma 15 thus applies to both A A A and σ ⋅ B \sigma\cdot B σ ⋅ B , and since they share the same first r r r rows they share the same completion: σ ⋅ B = A \sigma\cdot B=A σ ⋅ B = A , contradicting that A A A and B B B lie in different orbits.
Lemma 17 (Row power sums detect rows up to reordering). For u ∈ R n u\in\mathbb{R}^n u ∈ R n define
pw ( u ) = ( ∑ l = 1 n u l , ∑ l = 1 n u l 2 , … , ∑ l = 1 n u l n ) ∈ R n , \operatorname{pw}(u)=\left(\sum_{l=1}^{n}u_l,\sum_{l=1}^{n}u_l^2,\ldots,\sum_{l=1}^{n}u_l^n\right)\in\mathbb{R}^n, pw ( u ) = ( l = 1 ∑ n u l , l = 1 ∑ n u l 2 , … , l = 1 ∑ n u l n ) ∈ R n , and for C ∈ H n C\in\mathcal{H}_n C ∈ H n let pw i ( C ) : = pw ( C i 1 , … , C i n ) \operatorname{pw}_i(C):=\operatorname{pw}(C_{i1},\ldots,C_{in}) pw i ( C ) := pw ( C i 1 , … , C in ) , a polynomial map whose components have degree ≤ n \leq n ≤ n in the entries of C C C . Then:
(a) pw ( u ) = pw ( v ) \operatorname{pw}(u)=\operatorname{pw}(v) pw ( u ) = pw ( v ) if and only if u u u and v v v agree up to a permutation of their entries; @page 15/34 starts_mid=1 ends_mid=1 Proof. If Y = R X Y = RX Y = R X with R ∈ O ( d ) R \in O(d) R ∈ O ( d ) , then Y T Y = X T R T R X = X T X Y^{T}Y = X^{T}R^{T}RX = X^{T}X Y T Y = X T R T R X = X T X . Conversely, suppose X T X = Y T Y X^{T}X = Y^{T}Y X T X = Y T Y , and let x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n and y 1 , … , y n y_1,\ldots,y_n y 1 , … , y n denote the columns of X X X and Y Y Y , so that ⟨ x i , x j ⟩ = ⟨ y i , y j ⟩ \langle x_i,x_j\rangle= \langle y_i,y_j\rangle ⟨ x i , x j ⟩ = ⟨ y i , y j ⟩ for all i , j i,j i , j . The assignment ∑ i c i x i ↦ ∑ i c i y i \sum_i c_i x_i \mapsto\sum_i c_i y_i ∑ i c i x i ↦ ∑ i c i y i is a well-defined linear isometry T T T from span ( x 1 , … , x n ) \operatorname{span}(x_1,\ldots,x_n) span ( x 1 , … , x n ) onto span ( y 1 , … , y n ) \operatorname{span}(y_1,\ldots,y_n) span ( y 1 , … , y n ) : for every c ∈ R n c \in\mathbb{R}^n c ∈ R n ,
∥ ∑ i c i y i ∥ 2 = c T Y T Y c = c T X T X c = ∥ ∑ i c i x i ∥ 2 . \left\|\sum_i c_i y_i\right\|^2 = c^T Y^T Y c = c^T X^T X c = \left\|\sum_i c_i x_i\right\|^2. i ∑ c i y i 2 = c T Y T Y c = c T X T X c = i ∑ c i x i 2 . which gives both well-definedness (take ∑ i c i x i = 0 \sum_i c_i x_i = 0 ∑ i c i x i = 0 ) and preservation of norms. Since ker Z = ker ( Z T Z ) \ker Z = \ker(Z^T Z) ker Z = ker ( Z T Z ) for any real matrix Z Z Z , both spans have dimension rank ( X T X ) = rank ( Y T Y ) \operatorname{rank}(X^T X) = \operatorname{rank}(Y^T Y) rank ( X T X ) = rank ( Y T Y ) , hence their orthogonal complements in R d \mathbb{R}^d R d have equal dimension as well; extending T T T by any linear isometry between these complements produces R ∈ O ( d ) R \in O(d) R ∈ O ( d ) with R X = Y RX = Y R X = Y .
Proposition 14 (Equivariance of the Gram map). For all X ∈ R d × n X \in\mathbb{R}^{d \times n} X ∈ R d × n , R ∈ O ( d ) R \in O(d) R ∈ O ( d ) and τ ∈ S n \tau\in S_n τ ∈ S n we have
Φ ( ( R , τ ) ⋅ X ) = τ ⋅ Φ ( X ) . \Phi((R,\tau)\cdot X)=\tau\cdot\Phi(X). Φ (( R , τ ) ⋅ X ) = τ ⋅ Φ ( X ) . In particular, Φ \Phi Φ is O ( d ) O(d) O ( d ) -invariant and intertwines the S n S_n S n -actions on R d × n \mathbb{R}^{d\times n} R d × n and on H n \mathcal{H}_n H n .
Proof. ( R X P τ T ) T ( R X P τ T ) = P τ X T R T R X P τ T = P τ ( X T X ) P τ T (RXP_\tau^T)^T(RXP_\tau^T) = P_\tau X^T R^T RXP_\tau^T = P_\tau(X^T X)P_\tau^T ( R X P τ T ) T ( R X P τ T ) = P τ X T R T R X P τ T = P τ ( X T X ) P τ T .
Lemma 15 (The first r r r rows determine a rank-r r r matrix). Let C ∈ H n C \in\mathcal{H}_n C ∈ H n be a rank-r r r symmetric matrix whose leading r × r r \times r r × r block C 11 C_{11} C 11 is nonsingular. Then the first r r r rows determine C C C ; that is, writing
C = ( C 11 C 12 C 12 T C 22 ) , C 22 = C 12 T C 11 − 1 C 12 . C=\begin{pmatrix} C_{11} & C_{12} \\ C_{12}^T & C_{22} \end{pmatrix},\qquad C_{22}=C_{12}^T C_{11}^{-1}C_{12}. C = ( C 11 C 12 T C 12 C 22 ) , C 22 = C 12 T C 11 − 1 C 12 . Proof. Setting S = C 22 − C 12 T C 11 − 1 C 12 S=C_{22}-C_{12}^T C_{11}^{-1}C_{12} S = C 22 − C 12 T C 11 − 1 C 12 , block multiplication verifies the congruence
C = ( I 0 C 12 T C 11 − 1 I ) ( C 11 0 0 S ) ( I C 11 − 1 C 12 0 I ) , C=\begin{pmatrix} I & 0 \\ C_{12}^T C_{11}^{-1} & I \end{pmatrix}
\begin{pmatrix} C_{11} & 0 \\ 0 & S \end{pmatrix}
\begin{pmatrix} I & C_{11}^{-1}C_{12} \\ 0 & I \end{pmatrix}, C = ( I C 12 T C 11 − 1 0 I ) ( C 11 0 0 S ) ( I 0 C 11 − 1 C 12 I ) , so that rank ( C ) = rank ( C 11 ) + rank ( S ) \operatorname{rank}(C)=\operatorname{rank}(C_{11})+\operatorname{rank}(S) rank ( C ) = rank ( C 11 ) + rank ( S ) (rank additivity of the Schur complement, Guttman, 1946). As both sides of the first equality are r r r , we get rank ( S ) = 0 \operatorname{rank}(S)=0 rank ( S ) = 0 , i.e. S = 0 S=0 S = 0 . Note that positive semidefiniteness is not needed.
The point of Lemma 15 is that it localizes disagreement between non-equivalent matrices to the first r r r rows, whose positions number
∣ P r ∣ = ∑ i = 1 r ( n − i + 1 ) = r n − ( r 2 ) = N r ≤ N d , P r : = { ( i , j ) : 1 ≤ i ≤ r , i ≤ j ≤ n } . |\mathcal{P}_r|=\sum_{i=1}^{r}(n-i+1)=rn-\binom{r}{2}=N_r\leq N_d,\qquad\mathcal{P}_r:=\{(i,j):1\leq i\leq r,\ i\leq j\leq n\}. ∣ P r ∣ = i = 1 ∑ r ( n − i + 1 ) = r n − ( 2 r ) = N r ≤ N d , P r := {( i , j ) : 1 ≤ i ≤ r , i ≤ j ≤ n } . Lemma 16 (Witness lemma). Let A , B ∈ H n A,B\in\mathcal{H}_n A , B ∈ H n be rank-r r r matrices in different S n S_n S n -orbits, with the leading r × r r\times r r × r block of A A A nonsingular. Then for every σ ∈ S n \sigma\in S_n σ ∈ S n there exists ( i , j ) ∈ P r (i,j)\in\mathcal{P}_r ( i , j ) ∈ P r such that ( σ ⋅ B ) i j ≠ A i j (\sigma\cdot B)_{ij}\ne A_{ij} ( σ ⋅ B ) ij = A ij .
Proof. Suppose otherwise, so that σ ⋅ B \sigma\cdot B σ ⋅ B agrees with A A A on the first r r r rows. In particular its leading r × r r\times r r × r block equals that of A A A and is therefore nonsingular, while rank ( σ ⋅ B ) = rank ( B ) = r \operatorname{rank}(\sigma\cdot B)=\operatorname{rank}(B)=r rank ( σ ⋅ B ) = rank ( B ) = r . Lemma 15 thus applies to both A A A and σ ⋅ B \sigma\cdot B σ ⋅ B , and since they share the same first r r r rows they share the same completion: σ ⋅ B = A \sigma\cdot B=A σ ⋅ B = A , contradicting that A A A and B B B lie in different orbits.
Lemma 17 (Row power sums detect rows up to reordering). For u ∈ R n u\in\mathbb{R}^n u ∈ R n define
pw ( u ) = ( ∑ l = 1 n u l , ∑ l = 1 n u l 2 , … , ∑ l = 1 n u l n ) ∈ R n , \operatorname{pw}(u)=\left(\sum_{l=1}^{n}u_l,\sum_{l=1}^{n}u_l^2,\ldots,\sum_{l=1}^{n}u_l^n\right)\in\mathbb{R}^n, pw ( u ) = ( l = 1 ∑ n u l , l = 1 ∑ n u l 2 , … , l = 1 ∑ n u l n ) ∈ R n , and for C ∈ H n C\in\mathcal{H}_n C ∈ H n let pw i ( C ) : = pw ( C i 1 , … , C i n ) \operatorname{pw}_i(C):=\operatorname{pw}(C_{i1},\ldots,C_{in}) pw i ( C ) := pw ( C i 1 , … , C in ) , a polynomial map whose components have degree ≤ n \leq n ≤ n in the entries of C C C . Then:
(b) pw i ( τ ⋅ C ) = pw τ − 1 ( i ) ( C ) \operatorname{pw}_{i}(\tau\cdot C)=\operatorname{pw}_{\tau^{-1}(i)}(C) pw i ( τ ⋅ C ) = pw τ − 1 ( i ) ( C ) for all τ ∈ S n \tau\in S_n τ ∈ S n and C ∈ H n C \in\mathcal{H}_n C ∈ H n .
Proof. (a) Power sums are symmetric in the entries, so agreement up to permutation implies pw ( u ) = pw ( v ) \operatorname{pw}(u)=\operatorname{pw}(v) pw ( u ) = pw ( v ) . Conversely, in characteristic zero Newton’s identities [24 Ch. I, §2] determine the elementary symmetric polynomials e 1 , … , e n e_1,\ldots,e_n e 1 , … , e n of u 1 , … , u n u_1,\ldots,u_n u 1 , … , u n from the power sums p 1 , … , p n p_1,\ldots,p_n p 1 , … , p n ; hence pw ( u ) \operatorname{pw}(u) pw ( u ) determines the polynomial ∏ l = 1 n ( t − u l ) = t n − e 1 t n − 1 + ⋯ + ( − 1 ) n e n \prod_{l=1}^{n}(t-u_l)=t^n-e_1t^{n-1}+\cdots+(-1)^ne_n ∏ l = 1 n ( t − u l ) = t n − e 1 t n − 1 + ⋯ + ( − 1 ) n e n , whose multiset of roots is { u 1 , … , u n } \{u_1,\ldots,u_n\} { u 1 , … , u n } . (b) The i i i -th row of τ ⋅ C \tau\cdot C τ ⋅ C is ( C τ − 1 ( i ) , τ − 1 ( j ) ) j = 1 n (C_{\tau^{-1}(i),\tau^{-1}(j)})_{j=1}^{n} ( C τ − 1 ( i ) , τ − 1 ( j ) ) j = 1 n ; as j j j runs over { 1 , … , n } \{1,\ldots,n\} { 1 , … , n } , so does τ − 1 ( j ) \tau^{-1}(j) τ − 1 ( j ) , so this row is a reordering of the τ − 1 ( i ) \tau^{-1}(i) τ − 1 ( i ) -th row of C C C , and power sums are invariant under reordering.
We will use the fact that a rank-r r r Gram matrix contains a nonsingular r × r r\times r r × r principal submatrix: writing C = Z T Z C=Z^{T}Z C = Z T Z with Z ∈ R r × n Z\in\mathbb{R}^{r\times n} Z ∈ R r × n and choosing r r r linearly independent columns of Z Z Z , the principal submatrix indexed by those columns is their Gram matrix, which is nonsingular. Principality matters here, because S n S_n S n acts by simultaneous row and column permutations, so only a principal submatrix can be moved to the leading position. As invariant polynomials are constant on orbits, we may replace A A A by any element of its orbit, and hence assume that the leading r × r r\times r r × r block of A A A is nonsingular. No assumption on B B B is needed.
The Gram map Φ : R d × n → H n \Phi:\mathbb{R}^{d\times n}\to\mathcal{H}_n Φ : R d × n → H n , Φ ( X ) = X T X \Phi(X)=X^{T}X Φ ( X ) = X T X , records the pairwise inner products of the points of the cloud, and its image is the cone G d = { C ∈ H n : C ⪰ 0 , rank ( C ) ≤ d } \mathcal{G}_d=\{C\in\mathcal{H}_n:C\succeq0,\operatorname{rank}(C)\le d\} G d = { C ∈ H n : C ⪰ 0 , rank ( C ) ≤ d } .
Corollary 18. Two matrices X , Y ∈ R d × n X,Y\in\mathbb{R}^{d\times n} X , Y ∈ R d × n lie in the same O ( d ) × S n O(d)\times S_n O ( d ) × S n -orbit if and only if Φ ( X ) \Phi(X) Φ ( X ) and Φ ( Y ) \Phi(Y) Φ ( Y ) lie in the same S n S_n S n -orbit in H n \mathcal{H}_n H n . Consequently, if Q : H n → R Q:\mathcal{H}_n\to\mathbb{R} Q : H n → R is an S n S_n S n -invariant polynomial with Q ( Φ ( X ) ) ≠ Q ( Φ ( Y ) ) Q(\Phi(X))\ne Q(\Phi(Y)) Q ( Φ ( X )) = Q ( Φ ( Y )) , then p : = Q ∘ Φ p:=Q\circ\Phi p := Q ∘ Φ is an O ( d ) × S n O(d)\times S_n O ( d ) × S n -invariant polynomial with p ( X ) ≠ p ( Y ) p(X)\ne p(Y) p ( X ) = p ( Y ) and deg ( p ) ≤ 2 deg ( Q ) \deg(p)\le2\deg(Q) deg ( p ) ≤ 2 deg ( Q ) .
Proof. If Y = ( R , τ ) ⋅ X Y=(R,\tau)\cdot X Y = ( R , τ ) ⋅ X , then Φ ( Y ) = τ ⋅ Φ ( X ) \Phi(Y)=\tau\cdot\Phi(X) Φ ( Y ) = τ ⋅ Φ ( X ) by Proposition 14. Conversely, if Φ ( Y ) = τ ⋅ Φ ( X ) = Φ ( X P T ) \Phi(Y)=\tau\cdot\Phi(X)=\Phi(XP^{T}) Φ ( Y ) = τ ⋅ Φ ( X ) = Φ ( X P T ) , then Proposition 13 provides R ∈ O ( d ) R\in O(d) R ∈ O ( d ) with Y = R ( X P T ) = ( R , τ ) ⋅ X Y=R(XP^{T})=(R,\tau)\cdot X Y = R ( X P T ) = ( R , τ ) ⋅ X . For the second statement: p p p is O ( d ) O(d) O ( d ) -invariant because Φ \Phi Φ is, and S n S_n S n -invariant because Q Q Q is and Φ \Phi Φ intertwines the two S n S_n S n -actions (Proposition 14); every entry of Φ ( X ) \Phi(X) Φ ( X ) is a polynomial of degree 2 2 2 in the entries of X X X , so deg ( p ) ≤ 2 deg ( Q ) \deg(p)\le2\deg(Q) deg ( p ) ≤ 2 deg ( Q ) .
Remark 19. By Weyl’s first fundamental theorem for O ( d ) O(d) O ( d ) [37 Theorem 2.9.A] , this reduction is lossless: every O ( d ) × S n O(d)\times S_n O ( d ) × S n -invariant polynomial on R d × n \mathbb{R}^{d\times n} R d × n is a polynomial in the pairwise inner products ( X T X ) i j (X^{T}X)_{ij} ( X T X ) ij . For the upper bound below, however, only the elementary direction is used, namely Corollary 18.
Corollary 18 reduces Theorem 4 to a statement about Gram matrices: it suffices to separate any two matrices A , B ∈ G d A,B\in\mathcal{G}_d A , B ∈ G d lying in different S n S_n S n -orbits by an S n S_n S n -invariant polynomial of degree ≤ d n ( 2 n − 1 ) + N d ( n − 1 ) \le d n(2n-1)+N_d(n-1) ≤ d n ( 2 n − 1 ) + N d ( n − 1 ) in the Gram entries. We will introduce some preliminary lemmas and claims before embarking on a full proof.
Lemma 20. If rank ( A ) ≠ rank ( B ) \operatorname{rank}(A)\ne\operatorname{rank}(B) rank ( A ) = rank ( B ) then there exists k ≤ n k\le n k ≤ n such that tr ( A k ) ≠ tr ( B k ) \operatorname{tr}(A^k)\ne\operatorname{tr}(B^k) tr ( A k ) = tr ( B k ) . Therefore, a polynomial of degree ≤ n \le n ≤ n can separate A A A and $B.
Proof of this lemma follows from the power sum polynomials being a determining set for the elementary symmetric polynomials in characteristic zero (Newton’s identities, [24 Ch. I, §2] ), combined with the trace of the k k k -th power of a symmetric matrix being the k k k -th power sum of its eigenvalues: if tr ( A k ) = tr ( B k ) \operatorname{tr}(A^k)=\operatorname{tr}(B^k) tr ( A k ) = tr ( B k ) for all k ≤ n k\le n k ≤ n then A A A and B B B have the same characteristic polynomial, hence the same number of nonzero eigenvalues. The power sums are of maximal degree n n n , and each tr ( C k ) \operatorname{tr}(C^k) tr ( C k ) is S n S_n S n -invariant since conjugation by a permutation matrix is a similarity. Since rank is likewise constant on orbits, from now on we may assume rank ( A ) = rank ( B ) = r < d \operatorname{rank}(A)=\operatorname{rank}(B)=r<d rank ( A ) = rank ( B ) = r < d . More generally, if A A A and B B B are not similar, then there exists k ≤ n k\le n k ≤ n such that tr ( A k ) ≠ tr ( B k ) \operatorname{tr}(A^k)\ne\operatorname{tr}(B^k) tr ( A k ) = tr ( B k ) , since symmetric matrices are diagonalizable, so two of them are similar if and only if they have the same characteristic polynomial.
Lemma 21 (Row indicators). Let A , B ∈ H n A,B\in\mathcal{H}_n A , B ∈ H n and 1 ≤ i ≤ n 1\le i\le n 1 ≤ i ≤ n . There exists a polynomial δ i : H n → R \delta_i:\mathcal{H}_n\to\mathbb{R} δ i : H n → R with deg ( δ i ) ≤ n ( 2 n − 1 ) \deg(\delta_i)\le n(2n-1) deg ( δ i ) ≤ n ( 2 n − 1 ) such that for every τ ∈ S n \tau\in S_n τ ∈ S n and every C ∈ { A , B } C\in\{A,B\} C ∈ { A , B }
δ i ( τ ⋅ C ) = { 1 if the i -th row of τ ⋅ C agrees with the i -th row of A up to reordering , 0 otherwise. \delta_i(\tau\cdot C)=
\begin{cases}
1 & \text{if the } i\text{-th row of } \tau\cdot C \text{ agrees with the } i\text{-th row of } A \text{ up to reordering},\\
0 & \text{otherwise.}
\end{cases} δ i ( τ ⋅ C ) = { 1 0 if the i -th row of τ ⋅ C agrees with the i -th row of A up to reordering , otherwise. @eq:21
Proof. Let N = { pw i ( A ) : 1 ≤ i ≤ n } ∪ { pw i ( B ) : 1 ≤ i ≤ n } ⊂ R n \mathcal{N}=\{\operatorname{pw}_i(A):1\leq i\leq n\}\cup\{\operatorname{pw}_i(B):1\leq i\leq n\}\subset\mathbb{R}^n N = { pw i ( A ) : 1 ≤ i ≤ n } ∪ { pw i ( B ) : 1 ≤ i ≤ n } ⊂ R n , a set of m : = ∣ N ∣ ≤ 2 n m:=|\mathcal{N}|\leq2n m := ∣ N ∣ ≤ 2 n distinct vectors. There is a linear functional π : R n → R \pi:\mathbb{R}^n\to\mathbb{R} π : R n → R that is injective on N \mathcal{N} N : for each pair v ≠ w v\ne w v = w in N \mathcal{N} N , the functionals with π ( v ) = π ( w ) \pi(v)=\pi(w) π ( v ) = π ( w ) form a proper linear subspace of the dual space ( R n ) ∗ (\mathbb{R}^n)^* ( R n ) ∗ , and a vector space over an infinite field is not a union of finitely many proper subspaces. Let L i L_i L i be the univariate Lagrange polynomial of degree ≤ m − 1 ≤ 2 n − 1 \leq m-1\leq2n-1 ≤ m − 1 ≤ 2 n − 1 taking the value 1 1 1 at π ( pw i ( A ) ) \pi(\operatorname{pw}_i(A)) π ( pw i ( A )) and 0 0 0 at the m − 1 m-1 m − 1 remaining points of π ( N ) \pi(\mathcal{N}) π ( N ) , and set
δ i : = L i ∘ π ∘ pw i . \delta_i:=L_i\circ\pi\circ\operatorname{pw}_i. δ i := L i ∘ π ∘ pw i .
Since π ∘ pw i \pi\circ\operatorname{pw}_i π ∘ pw i is a polynomial of degree ≤ n \leq n ≤ n in the entries of C C C , we get deg ( δ i ) ≤ n ( 2 n − 1 ) \deg(\delta_i)\leq n(2n-1) deg ( δ i ) ≤ n ( 2 n − 1 ) .
Now let τ ∈ S n \tau\in S_n τ ∈ S n and C ∈ { A , B } C\in\{A,B\} C ∈ { A , B } . By Lemma 17(b), pw i ( τ ⋅ C ) = pw τ − 1 ( i ) ( C ) ∈ N \operatorname{pw}_i(\tau\cdot C)=\operatorname{pw}_{\tau^{-1}(i)}(C)\in\mathcal{N} pw i ( τ ⋅ C ) = pw τ − 1 ( i ) ( C ) ∈ N , so δ i ( τ ⋅ C ) ∈ { 0 , 1 } \delta_i(\tau\cdot C)\in\{0,1\} δ i ( τ ⋅ C ) ∈ { 0 , 1 } ; as π \pi π is injective on N \mathcal{N} N , the value is 1 1 1 exactly when pw i ( τ ⋅ C ) = pw i ( A ) \operatorname{pw}_i(\tau\cdot C)=\operatorname{pw}_i(A) pw i ( τ ⋅ C ) = pw i ( A ) , which by Lemma 17(a) happens exactly when the i i i -th row of τ ⋅ C \tau\cdot C τ ⋅ C agrees with the i i i -th row of A A A up to reordering.
We fix the conventions used below. On H n \mathcal{H}_n H n the action is ( τ ⋅ C ) i j = C τ − 1 ( i ) τ − 1 ( j ) (\tau\cdot C)_{ij}=C_{\tau^{-1}(i)\tau^{-1}(j)} ( τ ⋅ C ) ij = C τ − 1 ( i ) τ − 1 ( j ) , and on R d × n \mathbb{R}^{d\times n} R d × n it is ( R , τ ) ⋅ Z = R Z P τ T (R,\tau)\cdot Z=RZP_\tau^{T} ( R , τ ) ⋅ Z = R Z P τ T (Proposition 14), where P τ P_\tau P τ is the permutation matrix with P τ e j = e τ ( j ) P_\tau e_j=e_{\tau(j)} P τ e j = e τ ( j ) , so that P τ σ = P τ P σ P_{\tau\sigma}=P_\tau P_\sigma P τ σ = P τ P σ . We write τ ⋅ Z : = Z P τ T \tau\cdot Z:=ZP_\tau^{T} τ ⋅ Z := Z P τ T and R Z RZ R Z for the actions of the two factors, so that ( R , τ ) ⋅ Z = R ( τ ⋅ Z ) = τ ⋅ ( R Z ) (R,\tau)\cdot Z=R(\tau\cdot Z)=\tau\cdot(RZ) ( R , τ ) ⋅ Z = R ( τ ⋅ Z ) = τ ⋅ ( R Z ) . The j j j -th column of τ ⋅ Z \tau\cdot Z τ ⋅ Z is z τ − 1 ( j ) z_{\tau^{-1}(j)} z τ − 1 ( j ) : this is the action of the Notation section, and it is the convention under which Proposition 14 holds, since Φ ( τ ⋅ Z ) i j = ⟨ z τ − 1 ( i ) , z τ − 1 ( j ) ⟩ = ( τ ⋅ Φ ( Z ) ) i j \Phi(\tau\cdot Z)_{ij}=\langle z_{\tau^{-1}(i)},z_{\tau^{-1}(j)}\rangle=(\tau\cdot\Phi(Z))_{ij} Φ ( τ ⋅ Z ) ij = ⟨ z τ − 1 ( i ) , z τ − 1 ( j ) ⟩ = ( τ ⋅ Φ ( Z ) ) ij . Consequently τ ⋅ ( σ ⋅ Z ) = ( τ σ ) ⋅ Z \tau\cdot(\sigma\cdot Z)=(\tau\sigma)\cdot Z τ ⋅ ( σ ⋅ Z ) = ( τ σ ) ⋅ Z on R d × n \mathbb{R}^{d\times n} R d × n , and likewise on H n \mathcal{H}_n H n . Moreover rank ( Φ ( Z ) ) = rank ( Z ) \operatorname{rank}(\Phi(Z))=\operatorname{rank}(Z) rank ( Φ ( Z )) = rank ( Z ) , because ker Z = ker ( Z T Z ) \ker Z=\ker(Z^TZ) ker Z = ker ( Z T Z ) . Finally, for d ≤ n d\leq n d ≤ n and Z ∈ R d × n Z\in\mathbb{R}^{d\times n} Z ∈ R d × n we let Z [ d ] ∈ R d × d Z_{[d]}\in\mathbb{R}^{d\times d} Z [ d ] ∈ R d × d denote the matrix formed by the first d d d columns of Z Z Z . Thus ( τ ⋅ Z ) [ d ] (\tau\cdot Z)_{[d]} ( τ ⋅ Z ) [ d ] has columns z τ − 1 ( 1 ) , … , z τ − 1 ( d ) z_{\tau^{-1}(1)},\ldots,z_{\tau^{-1}(d)} z τ − 1 ( 1 ) , … , z τ − 1 ( d ) , and ( τ ⋅ Z ) [ d ] T ( τ ⋅ Z ) [ d ] (\tau\cdot Z)_{[d]}^T(\tau\cdot Z)_{[d]} ( τ ⋅ Z ) [ d ] T ( τ ⋅ Z ) [ d ] is the leading d × d d\times d d × d block of Φ ( τ ⋅ Z ) = τ ⋅ Φ ( Z ) \Phi(\tau\cdot Z)=\tau\cdot\Phi(Z) Φ ( τ ⋅ Z ) = τ ⋅ Φ ( Z ) .
Lemma 22 (Rank-deficient clouds). Let X ∈ R d × n X\in\mathbb{R}^{d\times n} X ∈ R d × n with rank ( X ) < d \operatorname{rank}(X)<d rank ( X ) < d . Then the SO ( d ) × S n \operatorname{SO}(d)\times S_n SO ( d ) × S n -orbit of X X X equals its O ( d ) × S n \operatorname{O}(d)\times S_n O ( d ) × S n -orbit. In particular, if Y ∈ R d × n Y\in\mathbb{R}^{d\times n} Y ∈ R d × n lies in the O ( d ) × S n \operatorname{O}(d)\times S_n O ( d ) × S n -orbit of X X X , then Y Y Y lies in the SO ( d ) × S n \operatorname{SO}(d)\times S_n SO ( d ) × S n -orbit of X X X .
Proof. The columns of X X X span a subspace U ⊆ R d U\subseteq\mathbb{R}^d U ⊆ R d of dimension rank ( X ) < d \operatorname{rank}(X)<d rank ( X ) < d , so there is a unit vector u ∈ R d u\in\mathbb{R}^d u ∈ R d orthogonal to U U U . Let M : = I d − 2 u u T M:=I_d-2uu^T M := I d − 2 u u T be the reflection in the hyperplane u ⊥ ⊇ U u^\perp\supseteq U u ⊥ ⊇ U . Then M T M = I d M^TM=I_d M T M = I d , so M ∈ O ( d ) M\in\operatorname{O}(d) M ∈ O ( d ) ; M u = − u Mu=-u M u = − u and M v = v Mv=v M v = v for v ⊥ u v\perp u v ⊥ u , so det ( M ) = − 1 \det(M)=-1 det ( M ) = − 1 ; and M x = x Mx=x M x = x for every x ∈ U x\in U x ∈ U , so M X = X MX=X M X = X . Now let ( R , τ ) ∈ O ( d ) × S n (R,\tau)\in\operatorname{O}(d)\times S_n ( R , τ ) ∈ O ( d ) × S n . If det ( R ) = 1 \det(R)=1 det ( R ) = 1 there is nothing to show. If det ( R ) = − 1 \det(R)=-1 det ( R ) = − 1 , then
( R , τ ) ⋅ X = R X P τ T = R M X P τ T = ( R M , τ ) ⋅ X , det ( R M ) = 1. (R,\tau)\cdot X=RXP_\tau^T=RMXP_\tau^T=(RM,\tau)\cdot X,\qquad\det(RM)=1. ( R , τ ) ⋅ X = R X P τ T = R M X P τ T = ( R M , τ ) ⋅ X , det ( R M ) = 1.
Hence every element of the O ( d ) × S n \operatorname{O}(d)\times S_n O ( d ) × S n -orbit of X X X lies in its SO ( d ) × S n \operatorname{SO}(d)\times S_n SO ( d ) × S n -orbit; the reverse inclusion is trivial.
Lemma 23 (Stabiliser sign). Let d ≤ n d\leq n d ≤ n , let X ∈ R d × n X\in\mathbb{R}^{d\times n} X ∈ R d × n have rank d d d , and set A : = Φ ( X ) A:=\Phi(X) A := Φ ( X ) . Let τ ∈ S n \tau\in S_n τ ∈ S n satisfy τ ⋅ A = A \tau\cdot A=A τ ⋅ A = A .
(a) There is a unique R τ ∈ O ( d ) R_\tau\in\operatorname{O}(d) R τ ∈ O ( d ) with τ ⋅ X = R τ X \tau\cdot X=R_\tau X τ ⋅ X = R τ X , and det ( ( τ ⋅ X ) [ d ] ) = det ( R τ ) det ( X [ d ] \det((\tau\cdot X)_{[d]})=\det(R_\tau)\det(X_{[d]} det (( τ ⋅ X ) [ d ] ) = det ( R τ ) det ( X [ d ] ).
(b) For every M ∈ O ( d ) M\in\operatorname{O}(d) M ∈ O ( d ) we have Φ ( M X ) = A \Phi(MX)=A Φ ( M X ) = A and det ( ( τ ⋅ M X ) [ d ] ) = det ( M ) det ( R τ ) det ( X [ d ] \det((\tau\cdot MX)_{[d]})=\det(M)\det(R_\tau)\det(X_{[d]} det (( τ ⋅ M X ) [ d ] ) = det ( M ) det ( R τ ) det ( X [ d ] ).
(c) If det ( R τ ) = − 1 \det(R_\tau)=-1 det ( R τ ) = − 1 , then M X MX M X lies in the SO ( d ) × S n \operatorname{SO}(d)\times S_n SO ( d ) × S n -orbit of X X X for every M ∈ O ( d ) M\in\operatorname{O}(d) M ∈ O ( d ) with det ( M ) = − 1 \det(M)=-1 det ( M ) = − 1 .
Proof. (a) By Proposition 14, Φ ( τ ⋅ X ) = τ ⋅ Φ ( X ) = τ ⋅ A = A = Φ ( X ) \Phi(\tau\cdot X)=\tau\cdot\Phi(X)=\tau\cdot A=A=\Phi(X) Φ ( τ ⋅ X ) = τ ⋅ Φ ( X ) = τ ⋅ A = A = Φ ( X ) , so Proposition 13 provides R τ ∈ O ( d ) R_\tau\in\operatorname{O}(d) R τ ∈ O ( d ) with τ ⋅ X = R τ X \tau\cdot X=R_\tau X τ ⋅ X = R τ X . We also let τ ⋅ X = R ′ X \tau\cdot X=R'X τ ⋅ X = R ′ X with R ′ ∈ O ( d ) R'\in\operatorname{O}(d) R ′ ∈ O ( d ) , then ( R τ − R ′ ) X = 0 (R_\tau-R')X=0 ( R τ − R ′ ) X = 0 , so R τ − R ′ R_\tau-R' R τ − R ′ vanishes on the span of the columns of X X X , which is R d \mathbb{R}^d R d because rank ( X ) = d \operatorname{rank}(X)=d rank ( X ) = d ; hence R ′ = R τ R'=R_\tau R ′ = R τ . The first d d d columns of R τ X R_\tau X R τ X are R τ R_\tau R τ times the first d d d columns of X X X , so ( τ ⋅ X ) [ d ] = ( R τ X ) [ d ] = R τ X [ d ] (\tau\cdot X)_{[d]}=(R_\tau X)_{[d]}=R_\tau X_{[d]} ( τ ⋅ X ) [ d ] = ( R τ X ) [ d ] = R τ X [ d ] , and det \det det is multiplicative.
(b) Φ ( M X ) = Φ ( X ) = A \Phi(MX)=\Phi(X)=A Φ ( M X ) = Φ ( X ) = A by Proposition 14. The two actions commute: τ ⋅ ( M X ) = M X P τ T = M ( τ ⋅ X ) = M R τ X \tau\cdot(MX)=MX P_\tau^T=M(\tau\cdot X)=MR_\tau X τ ⋅ ( M X ) = M X P τ T = M ( τ ⋅ X ) = M R τ X by (a). Hence ( τ ⋅ M X ) [ d ] = M R τ X [ d ] (\tau\cdot MX)_{[d]}=MR_\tau X_{[d]} ( τ ⋅ M X ) [ d ] = M R τ X [ d ] and det ( ( τ ⋅ M X ) [ d ] ) = det ( M ) det ( R τ ) det ( X [ d ] \det((\tau\cdot MX)_{[d]})=\det(M)\det(R_\tau)\det(X_{[d]} det (( τ ⋅ M X ) [ d ] ) = det ( M ) det ( R τ ) det ( X [ d ] . (c) By (a), M X = M R τ − 1 ( R τ X ) = M R τ − 1 ( τ ⋅ X ) = M R τ − 1 X P τ T = ( M R τ − 1 , τ ) ⋅ X MX = MR_{\tau}^{-1}(R_{\tau}X) = MR_{\tau}^{-1}(\tau\cdot X) = MR_{\tau}^{-1}XP_{\tau}^{\mathsf T} = (MR_{\tau}^{-1},\tau)\cdot X M X = M R τ − 1 ( R τ X ) = M R τ − 1 ( τ ⋅ X ) = M R τ − 1 X P τ T = ( M R τ − 1 , τ ) ⋅ X , and det ( M R τ − 1 ) = det ( M ) / det ( R τ ) = 1 \det(MR_{\tau}^{-1})=\det(M)/\det(R_{\tau})=1 det ( M R τ − 1 ) = det ( M ) / det ( R τ ) = 1 .
Proof of Theorem 4. For 1 ≤ r ≤ d 1\le r\le d 1 ≤ r ≤ d set c r : = r n ( 2 n − 1 ) + N r ( n − 1 ) c_r:=rn(2n-1)+N_r(n-1) c r := r n ( 2 n − 1 ) + N r ( n − 1 ) . We show that any two X , Y ∈ R d × n X,Y\in\mathbb{R}^{d\times n} X , Y ∈ R d × n in different O ( d ) × S n O(d)\times S_n O ( d ) × S n -orbits are separated by an O ( d ) × S n O(d)\times S_n O ( d ) × S n -invariant polynomial of degree ≤ 2 c d \le2c_d ≤ 2 c d , and that any two in different S O ( d ) × S n SO(d)\times S_n S O ( d ) × S n -orbits are separated by an S O ( d ) × S n SO(d)\times S_n S O ( d ) × S n -invariant polynomial of degree ≤ 2 c d + d \le2c_d+d ≤ 2 c d + d . The two bounds of the theorem then follow from the identity 2 c d = 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) 2c_d=6dn^2-4dn-d(d-1)(n-1) 2 c d = 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) verified at the end.
Reductions. Let X , Y ∈ R d × n X,Y\in\mathbb{R}^{d\times n} X , Y ∈ R d × n lie in different O ( d ) × S n O(d)\times S_n O ( d ) × S n -orbits, or in different S O ( d ) × S n SO(d)\times S_n S O ( d ) × S n -orbits, and set A 0 : = Φ ( X ) A_0:=\Phi(X) A 0 := Φ ( X ) , B : = Φ ( Y ) B:=\Phi(Y) B := Φ ( Y ) . If rank ( A 0 ) ≠ rank ( B ) \operatorname{rank}(A_0)\ne\operatorname{rank}(B) rank ( A 0 ) = rank ( B ) , Lemma 20 gives k ≤ n k\le n k ≤ n with tr ( A 0 k ) ≠ tr ( B k ) \operatorname{tr}(A_0^k)\ne\operatorname{tr}(B^k) tr ( A 0 k ) = tr ( B k ) . As C ↦ tr ( C k ) C\mapsto\operatorname{tr}(C^k) C ↦ tr ( C k ) is an S n S_n S n -invariant polynomial on H n \mathcal{H}_n H n of degree k k k , Corollary 18 shows that Z ↦ tr ( Φ ( Z ) k ) Z\mapsto\operatorname{tr}(\Phi(Z)^k) Z ↦ tr ( Φ ( Z ) k ) is an O ( d ) × S n O(d)\times S_n O ( d ) × S n -invariant, hence also S O ( d ) × S n SO(d)\times S_n S O ( d ) × S n -invariant, polynomial of degree ≤ 2 n \le2n ≤ 2 n separating X X X from Y Y Y . So assume rank ( A 0 ) = rank ( B ) = : r \operatorname{rank}(A_0)=\operatorname{rank}(B)=:r rank ( A 0 ) = rank ( B ) =: r . Then r = rank ( X ) = rank ( Y ) ≤ min ( d , n ) r=\operatorname{rank}(X)=\operatorname{rank}(Y)\le\min(d,n) r = rank ( X ) = rank ( Y ) ≤ min ( d , n ) , and r ≥ 1 r\ge1 r ≥ 1 , since Φ ( X ) = 0 \Phi(X)=0 Φ ( X ) = 0 forces X = 0 X=0 X = 0 and r = 0 r=0 r = 0 would give X = Y = 0 X=Y=0 X = Y = 0 . Choose r r r linearly independent columns x j 1 , … , x j r x_{j_1},\ldots,x_{j_r} x j 1 , … , x j r of X X X and σ 0 ∈ S n \sigma_0\in S_n σ 0 ∈ S n with σ 0 ( j i ) = i \sigma_0(j_i)=i σ 0 ( j i ) = i for i ≤ r i\le r i ≤ r . The i i i -th column of σ 0 ⋅ X \sigma_0\cdot X σ 0 ⋅ X is x σ 0 − 1 ( i ) = x j i x_{\sigma_0^{-1}(i)}=x_{j_i} x σ 0 − 1 ( i ) = x j i , so the leading r × r r\times r r × r block of Φ ( σ 0 ⋅ X ) = σ 0 ⋅ A 0 \Phi(\sigma_0\cdot X)=\sigma_0\cdot A_0 Φ ( σ 0 ⋅ X ) = σ 0 ⋅ A 0 (Proposition 14) is the Gram matrix of x j 1 , … , x j r x_{j_1},\ldots,x_{j_r} x j 1 , … , x j r , which is nonsingular. Since σ 0 ⋅ X \sigma_0\cdot X σ 0 ⋅ X lies in the S n S_n S n -orbit of X X X , replacing X X X by σ 0 ⋅ X \sigma_0\cdot X σ 0 ⋅ X changes neither the hypothesis on the pair ( X , Y ) (X,Y) ( X , Y ) nor the value at X X X of any S O ( d ) × S n SO(d)\times S_n S O ( d ) × S n -invariant polynomial. We may therefore assume that A : = Φ ( X ) A:=\Phi(X) A := Φ ( X ) has a nonsingular leading r × r r\times r r × r block A 11 A_{11} A 11 , where B = Φ ( Y ) B=\Phi(Y) B = Φ ( Y ) and rank ( A ) = rank ( B ) = r ≥ 1 \operatorname{rank}(A)=\operatorname{rank}(B)=r\ge1 rank ( A ) = rank ( B ) = r ≥ 1 .
Step 1: an S n S_n S n -invariant polynomial on H n \mathcal{H}_n H n . Let δ 1 , … , δ r \delta_1,\ldots,\delta_r δ 1 , … , δ r be the row indicators of Lemma 21 for the pair ( A , B ) (A,B) ( A , B ) ; each has degree ≤ n ( 2 n − 1 ) \le n(2n-1) ≤ n ( 2 n − 1 ) . For ( i , j ) ∈ P r (i,j)\in P_r ( i , j ) ∈ P r let
Λ i : = { A i l : 1 ≤ l ≤ n } \Lambda_i:=\{A_{il}:1\le l\le n\} Λ i := { A i l : 1 ≤ l ≤ n }
be the set of values in the i i i -th row of A A A , and let ℓ i j \ell_{ij} ℓ ij be the univariate Lagrange polynomial with ℓ i j ( A i j ) = 1 \ell_{ij}(A_{ij})=1 ℓ ij ( A ij ) = 1 and ℓ i j ( λ ) = 0 \ell_{ij}(\lambda)=0 ℓ ij ( λ ) = 0 for all λ ∈ Λ i ∖ { A i j } \lambda\in\Lambda_i\setminus\{A_{ij}\} λ ∈ Λ i ∖ { A ij } ; its degree is ≤ ∣ Λ i ∣ − 1 ≤ n − 1 \le|\Lambda_i|-1\le n-1 ≤ ∣ Λ i ∣ − 1 ≤ n − 1 . For C ∈ H n C\in\mathcal{H}_n C ∈ H n define
χ ( C ) : = ∏ i = 1 r δ i ( C ) ∏ ( i , j ) ∈ P r ℓ i j ( C i j ) , Q ( C ) : = ∑ τ ∈ S n χ ( τ ⋅ C ) . \chi(C):=\prod_{i=1}^{r}\delta_i(C)\prod_{(i,j)\in P_r}\ell_{ij}(C_{ij}),\qquad Q(C):=\sum_{\tau\in S_n}\chi(\tau\cdot C). χ ( C ) := i = 1 ∏ r δ i ( C ) ( i , j ) ∈ P r ∏ ℓ ij ( C ij ) , Q ( C ) := τ ∈ S n ∑ χ ( τ ⋅ C ) .
The polynomial χ \chi χ has degree ≤ ∑ i ≤ r deg ( δ i ) + ∑ ( i , j ) ∈ P r deg ( ℓ i j ) ≤ r n ( 2 n − 1 ) + N r ( n − 1 ) = c r \le\sum_{i\le r}\deg(\delta_i)+\sum_{(i,j)\in P_r}\deg(\ell_{ij})\le rn(2n-1)+N_r(n-1)=c_r ≤ ∑ i ≤ r deg ( δ i ) + ∑ ( i , j ) ∈ P r deg ( ℓ ij ) ≤ r n ( 2 n − 1 ) + N r ( n − 1 ) = c r , and since C ↦ τ ⋅ C C\mapsto\tau\cdot C C ↦ τ ⋅ C is linear, so does Q Q Q . For σ ∈ S n \sigma\in S_n σ ∈ S n we have τ ⋅ ( σ ⋅ C ) = ( τ σ ) ⋅ C \tau\cdot(\sigma\cdot C)=(\tau\sigma)\cdot C τ ⋅ ( σ ⋅ C ) = ( τ σ ) ⋅ C , hence χ ( τ ⋅ ( σ ⋅ C ) ) = χ ( ( τ σ ) ⋅ C ) \chi(\tau\cdot(\sigma\cdot C))=\chi((\tau\sigma)\cdot C) χ ( τ ⋅ ( σ ⋅ C )) = χ (( τ σ ) ⋅ C ) ; as τ ↦ τ σ \tau\mapsto\tau\sigma τ ↦ τ σ is a bijection of S n S_n S n , replacing C C C by σ ⋅ C \sigma\cdot C σ ⋅ C merely reindexes the sum, and Q Q Q is S n S_n S n -invariant.
We claim that for C ∈ { A , B } C\in\{A,B\} C ∈ { A , B } and τ ∈ S n \tau\in S_n τ ∈ S n ,
χ ( τ ⋅ C ) ∈ { 0 , 1 } , χ ( τ ⋅ C ) = 1 ⟺ τ ⋅ C = A . (5) \chi(\tau\cdot C)\in\{0,1\},\qquad\chi(\tau\cdot C)=1\Longleftrightarrow\tau\cdot C=A. \tag*{(5)} χ ( τ ⋅ C ) ∈ { 0 , 1 } , χ ( τ ⋅ C ) = 1 ⟺ τ ⋅ C = A . (5)
Fix such C C C and τ \tau τ . If δ i ( τ ⋅ C ) = 0 \delta_i(\tau\cdot C)=0 δ i ( τ ⋅ C ) = 0 for some i ≤ r i\le r i ≤ r , then χ ( τ ⋅ C ) = 0 \chi(\tau\cdot C)=0 χ ( τ ⋅ C ) = 0 (an exact zero annihilates the product), and τ ⋅ C ≠ A \tau\cdot C\ne A τ ⋅ C = A , because δ i ( A ) = 1 \delta_i(A)=1 δ i ( A ) = 1 by Lemma 21 . Otherwise δ i ( τ ⋅ C ) = 1 \delta_i(\tau\cdot C)=1 δ i ( τ ⋅ C ) = 1 for all i ≤ r i\le r i ≤ r , so by Lemma 21 every row i ≤ r i\le r i ≤ r of τ ⋅ C \tau\cdot C τ ⋅ C is a reordering of row i i i of A A A . Then ( τ ⋅ C ) i j ∈ Λ i (\tau\cdot C)_{ij}\in\Lambda_i ( τ ⋅ C ) ij ∈ Λ i for every ( i , j ) ∈ P r (i,j)\in P_r ( i , j ) ∈ P r , hence every factor ℓ i j \ell_{ij} ℓ ij takes values in { 0 , 1 } \{0,1\} { 0 , 1 } , with value 1 1 1 exactly when ( τ ⋅ C ) i j = A i j (\tau\cdot C)_{ij}=A_{ij} ( τ ⋅ C ) ij = A ij . (Off its node set a Lagrange factor is uncontrolled—possibly negative or large—which is why the exact vanishing of a δ \delta δ -factor is what disposes of the mismatched terms.) Hence χ ( τ ⋅ C ) ∈ { 0 , 1 } \chi(\tau\cdot C)\in\{0,1\} χ ( τ ⋅ C ) ∈ { 0 , 1 } , and χ ( τ ⋅ C ) = 1 \chi(\tau\cdot C)=1 χ ( τ ⋅ C ) = 1 if and only if ( τ ⋅ C ) i j = A i j (\tau\cdot C)_{ij}=A_{ij} ( τ ⋅ C ) ij = A ij for all ( i , j ) ∈ P r (i,j)\in P_r ( i , j ) ∈ P r , that is, if and only if τ ⋅ C \tau\cdot C τ ⋅ C and A A A have the same first r r r rows. If τ ⋅ C = A \tau\cdot C=A τ ⋅ C = A this holds. Conversely, if the first r r r rows agree, then τ ⋅ C \tau\cdot C τ ⋅ C and A A A share the nonsingular leading block A 11 A_{11} A 11 , and both have rank r r r (conjugation by a permutation matrix preserves rank), so Lemma 15 applies to both and yields the same completion: τ ⋅ C = A \tau\cdot C=A τ ⋅ C = A . This proves (*).
Writing Stab ( A ) : = { τ ∈ S n : τ ⋅ A = A } \operatorname{Stab}(A):=\{\tau\in S_n:\tau\cdot A=A\} Stab ( A ) := { τ ∈ S n : τ ⋅ A = A } , (*) gives
Q ( A ) = ∣ Stab ( A ) ∣ ≥ 1 , Q ( B ) = ∣ { τ ∈ S n : τ ⋅ B = A } ∣ , Q(A)=|\operatorname{Stab}(A)|\ge1,\qquad Q(B)=|\{\tau\in S_n:\tau\cdot B=A\}|, Q ( A ) = ∣ Stab ( A ) ∣ ≥ 1 , Q ( B ) = ∣ { τ ∈ S n : τ ⋅ B = A } ∣ ,
so Q ( B ) = 0 Q(B)=0 Q ( B ) = 0 whenever A A A and B B B lie in different S n S_n S n -orbits (cf. Lemma 16). The polynomial Q Q Q is used in Steps 2 and 3, the polynomial χ \chi χ in Step 4.
Step 2: O ( d ) × S n O(d)\times S_n O ( d ) × S n . Let X , Y X,Y X , Y lie in different O ( d ) × S n O(d)\times S_n O ( d ) × S n -orbits. By Corollary 18, A A A and B B B lie in different S n S_n S n -orbits, so Q ( A ) ≥ 1 > 0 = Q ( B ) Q(A)\ge1>0=Q(B) Q ( A ) ≥ 1 > 0 = Q ( B ) by Step 1. By Corollary 18 again, Q ∘ Φ Q\circ\Phi Q ∘ Φ is an O ( d ) × S n \mathrm{O}(d) \times S_n O ( d ) × S n -invariant polynomial of degree ≤ 2 c r ≤ 2 c d \le2c_r \le2c_d ≤ 2 c r ≤ 2 c d with Q ( Φ ( X ) ) = Q ( A ) ≠ Q ( B ) = Q ( Φ ( Y ) ) Q(\Phi(X)) = Q(A) \ne Q(B) = Q(\Phi(Y)) Q ( Φ ( X )) = Q ( A ) = Q ( B ) = Q ( Φ ( Y )) .
Step 3: S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n , r < d r < d r < d . Let X , Y X,Y X , Y lie in different S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbits, with r < d r < d r < d . If Y Y Y lay in the O ( d ) × S n \mathrm{O}(d) \times S_n O ( d ) × S n -orbit of X X X , Lemma 22 , applicable because rank ( X ) = r < d \operatorname{rank}(X) = r < d rank ( X ) = r < d , would place Y Y Y in the S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbit of X X X . Hence X , Y X,Y X , Y lie in different O ( d ) × S n \mathrm{O}(d) \times S_n O ( d ) × S n -orbits, and the polynomial Q ∘ Φ Q \circ\Phi Q ∘ Φ of Step 2 separates them. Being O ( d ) × S n \mathrm{O}(d) \times S_n O ( d ) × S n -invariant, it is S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -invariant, and its degree is ≤ 2 c d \le2c_d ≤ 2 c d .
Step 4: S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n , r = d r = d r = d . Let X , Y X,Y X , Y lie in different S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbits, with r = d r = d r = d ; then d ≤ n d \le n d ≤ n and X X X has rank d d d . By the conventions above, X [ d ] T X [ d ] = A 11 X_{[d]}^{T}X_{[d]} = A_{11} X [ d ] T X [ d ] = A 11 , so ( det X [ d ] ) 2 = det A 11 ≠ 0 (\det X_{[d]})^2 = \det A_{11} \ne0 ( det X [ d ] ) 2 = det A 11 = 0 . Let
κ ( t ) : = 1 2 ( 1 + t det X [ d ] ) \kappa(t) := \frac{1}{2}\left(1+\frac{t}{\det X_{[d]}}\right) κ ( t ) := 2 1 ( 1 + det X [ d ] t )
be the affine function with κ ( det X [ d ] ) = 1 \kappa(\det X_{[d]}) = 1 κ ( det X [ d ] ) = 1 and κ ( − det X [ d ] ) = 0 \kappa(-\det X_{[d]}) = 0 κ ( − det X [ d ] ) = 0 , and define, for Z ∈ R d × n Z \in\mathbb{R}^{d \times n} Z ∈ R d × n ,
p ( Z ) : = ∑ τ ∈ S n κ ( det ( τ ⋅ Z ) [ d ] ) χ ( Φ ( τ ⋅ Z ) ) = ∑ τ ∈ S n κ ( det ( τ ⋅ Z ) [ d ] ) χ ( τ ⋅ Φ ( Z ) ) , \begin{aligned}
p(Z) &:= \sum_{\tau\in S_n} \kappa\left(\det(\tau\cdot Z)_{[d]}\right)\chi\left(\Phi(\tau\cdot Z)\right) \\
&= \sum_{\tau\in S_n} \kappa\left(\det(\tau\cdot Z)_{[d]}\right)\chi\left(\tau\cdot\Phi(Z)\right),
\end{aligned} p ( Z ) := τ ∈ S n ∑ κ ( det ( τ ⋅ Z ) [ d ] ) χ ( Φ ( τ ⋅ Z ) ) = τ ∈ S n ∑ κ ( det ( τ ⋅ Z ) [ d ] ) χ ( τ ⋅ Φ ( Z ) ) ,
where the second expression uses Φ ( τ ⋅ Z ) = τ ⋅ Φ ( Z ) \Phi(\tau\cdot Z) = \tau\cdot\Phi(Z) Φ ( τ ⋅ Z ) = τ ⋅ Φ ( Z ) (Proposition 14). Thus p p p is a polynomial on R d × n \mathbb{R}^{d \times n} R d × n whose τ \tau τ -summand is the τ \tau τ -summand of Q ∘ Φ Q \circ\Phi Q ∘ Φ multiplied by a determinant factor; the latter does not factor through Φ \Phi Φ .
Invariance. In the first expression, the τ \tau τ -summand depends on Z Z Z only through τ ⋅ Z \tau\cdot Z τ ⋅ Z . For σ ∈ S n \sigma\in S_n σ ∈ S n we have τ ⋅ ( σ ⋅ Z ) = ( τ σ ) ⋅ Z \tau\cdot(\sigma\cdot Z) = (\tau\sigma) \cdot Z τ ⋅ ( σ ⋅ Z ) = ( τ σ ) ⋅ Z , so the τ \tau τ -summand of p ( σ ⋅ Z ) p(\sigma\cdot Z) p ( σ ⋅ Z ) is the τ σ \tau\sigma τ σ -summand of p ( Z ) p(Z) p ( Z ) , and p ( σ ⋅ Z ) = p ( Z ) p(\sigma\cdot Z) = p(Z) p ( σ ⋅ Z ) = p ( Z ) . For R ∈ O ( d ) R \in\mathrm{O}(d) R ∈ O ( d ) we have τ ⋅ ( R Z ) = R ( τ ⋅ Z ) \tau\cdot(RZ) = R(\tau\cdot Z) τ ⋅ ( R Z ) = R ( τ ⋅ Z ) , hence Φ ( τ ⋅ R Z ) = Φ ( τ ⋅ Z ) \Phi(\tau\cdot RZ) = \Phi(\tau\cdot Z) Φ ( τ ⋅ R Z ) = Φ ( τ ⋅ Z ) by Proposition 14 and ( τ ⋅ R Z ) [ d ] = R ( τ ⋅ Z ) [ d ] (\tau\cdot RZ)_{[d]} = R(\tau\cdot Z)_{[d]} ( τ ⋅ R Z ) [ d ] = R ( τ ⋅ Z ) [ d ] , so that
p ( R Z ) = ∑ τ ∈ S n κ ( det ( R ) det ( τ ⋅ Z ) [ d ] ) χ ( τ ⋅ Φ ( Z ) ) . p(RZ) = \sum_{\tau\in S_n} \kappa\left(\det(R)\det(\tau\cdot Z)_{[d]}\right)\chi\left(\tau\cdot\Phi(Z)\right). p ( R Z ) = τ ∈ S n ∑ κ ( det ( R ) det ( τ ⋅ Z ) [ d ] ) χ ( τ ⋅ Φ ( Z ) ) .
For det ( R ) = 1 \det(R) = 1 det ( R ) = 1 this is p ( Z ) p(Z) p ( Z ) . Hence p p p is S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -invariant. For det ( R ) = − 1 \det(R) = -1 det ( R ) = − 1 the argument of κ \kappa κ changes sign, so p p p need not be O ( d ) \mathrm{O}(d) O ( d ) -invariant; this is the only place where p p p can distinguish a cloud from its mirror image.
Values. Let Z ∈ R d × n Z \in\mathbb{R}^{d \times n} Z ∈ R d × n satisfy Φ ( Z ) = A \Phi(Z) = A Φ ( Z ) = A . By ( ∗ ) (*) ( ∗ ) , χ ( τ ⋅ A ) = 1 \chi(\tau\cdot A) = 1 χ ( τ ⋅ A ) = 1 for τ ∈ Stab ( A ) \tau\in\operatorname{Stab}(A) τ ∈ Stab ( A ) and χ ( τ ⋅ A ) = 0 \chi(\tau\cdot A) = 0 χ ( τ ⋅ A ) = 0 otherwise, so
p ( Z ) = ∑ τ ∈ Stab ( A ) κ ( det ( τ ⋅ Z ) [ d ] ) . p(Z) = \sum_{\tau\in\operatorname{Stab}(A)} \kappa\left(\det(\tau\cdot Z)_{[d]}\right). p ( Z ) = τ ∈ Stab ( A ) ∑ κ ( det ( τ ⋅ Z ) [ d ] ) .
For Z = X Z = X Z = X , Lemma 23 (a) gives det ( τ ⋅ X ) [ d ] = det ( R τ ) det X [ d ] \det(\tau\cdot X)_{[d]} = \det(R_\tau)\det X_{[d]} det ( τ ⋅ X ) [ d ] = det ( R τ ) det X [ d ] with det ( R τ ) = ± 1 \det(R_\tau) = \pm1 det ( R τ ) = ± 1 , so each term is κ ( ± det X [ d ] ) ∈ { 0 , 1 } \kappa(\pm\det X_{[d]}) \in\{0,1\} κ ( ± det X [ d ] ) ∈ { 0 , 1 } . Fix M ∈ O ( d ) M \in\mathrm{O}(d) M ∈ O ( d ) with det ( M ) = − 1 \det(M) = -1 det ( M ) = − 1 , for instance M = diag ( − 1 , 1 , … , 1 ) M = \operatorname{diag}(-1,1,\ldots,1) M = diag ( − 1 , 1 , … , 1 ) . By Lemma 23 (b), Φ ( M X ) = A \Phi(MX) = A Φ ( M X ) = A and det ( τ ⋅ M X ) [ d ] = − det ( R τ ) det X [ d ] \det(\tau\cdot MX)_{[d]} = -\det(R_\tau)\det X_{[d]} det ( τ ⋅ M X ) [ d ] = − det ( R τ ) det X [ d ] . Therefore
p ( X ) = # { τ ∈ Stab ( A ) : det ( R τ ) = + 1 } ≥ 1 , p ( M X ) = # { τ ∈ Stab ( A ) : det ( R τ ) = − 1 } , \begin{aligned}
p(X) &= \#\{\tau\in\operatorname{Stab}(A) : \det(R_\tau) = +1\} \ge1, \\
p(MX) &= \#\{\tau\in\operatorname{Stab}(A) : \det(R_\tau) = -1\},
\end{aligned} p ( X ) p ( M X ) = # { τ ∈ Stab ( A ) : det ( R τ ) = + 1 } ≥ 1 , = # { τ ∈ Stab ( A ) : det ( R τ ) = − 1 } ,
where p ( X ) ≥ 1 p(X) \ge1 p ( X ) ≥ 1 because id ∈ Stab ( A ) \operatorname{id} \in\operatorname{Stab}(A) id ∈ Stab ( A ) and R id = I d R_{\operatorname{id}} = I_d R id = I d by the uniqueness in Lemma 23 (a). Finally, if A A A and B B B lie in different S n S_n S n -orbits, then χ ( τ ⋅ B ) = 0 \chi(\tau\cdot B) = 0 χ ( τ ⋅ B ) = 0 for every τ \tau τ by ( ∗ ) (*) ( ∗ ) , and Φ ( Y ) = B \Phi(Y) = B Φ ( Y ) = B gives p ( Y ) = 0 p(Y) = 0 p ( Y ) = 0 .
Separation. If Y Y Y lies outside the O ( d ) × S n \mathrm{O}(d) \times S_n O ( d ) × S n -orbit of X X X , then A A A and B B B lie in different S n S_n S n -orbits by Corollary 18, and p ( X ) ≥ 1 > 0 = p ( Y ) p(X) \ge1 > 0 = p(Y) p ( X ) ≥ 1 > 0 = p ( Y ) . Otherwise Y = ( R ′ , σ ) ⋅ X Y = (R',\sigma) \cdot X Y = ( R ′ , σ ) ⋅ X with R ′ ∈ O ( d ) R' \in\mathrm{O}(d) R ′ ∈ O ( d ) and σ ∈ S n \sigma\in S_n σ ∈ S n . Every such Y Y Y has the form Y = ( R , σ ) ⋅ M X Y = (R,\sigma) \cdot MX Y = ( R , σ ) ⋅ M X with R ∈ S O ( d ) R \in\mathrm{SO}(d) R ∈ SO ( d ) , that is, R = R ′ M R = R'M R = R ′ M if det ( R ′ ) = − 1 \det(R') = -1 det ( R ′ ) = − 1 , and otherwise R = R ′ M − 1 ∈ S O ( d ) R = R'M^{-1} \in\mathrm{SO}(d) R = R ′ M − 1 ∈ SO ( d ) , for which ( R , σ ) ⋅ M X = R ′ M − 1 M X P σ T = Y (R,\sigma) \cdot MX = R'M^{-1}MXP^{T}_{\sigma} = Y ( R , σ ) ⋅ M X = R ′ M − 1 M X P σ T = Y . The first form is excluded, since Y Y Y is not in the S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbit of X X X . So Y = ( R , σ ) ⋅ M X Y = (R,\sigma) \cdot MX Y = ( R , σ ) ⋅ M X with R ∈ S O ( d ) R \in\mathrm{SO}(d) R ∈ SO ( d ) , and p ( Y ) = p ( M X ) p(Y) = p(MX) p ( Y ) = p ( M X ) by invariance. Moreover Y Y Y and M X MX M X lie in the same S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbit, so M X MX M X does not lie in the S O ( d ) × S n \mathrm{SO}(d) \times S_n SO ( d ) × S n -orbit of X X X ; by Lemma 23 (c), no τ ∈ Stab ( A ) \tau\in\operatorname{Stab}(A) τ ∈ Stab ( A ) has det ( R τ ) = − 1 \det(R_\tau) = -1 det ( R τ ) = − 1 , and the value formula gives p ( M X ) = 0 p(MX)=0 p ( M X ) = 0 . Thus p ( X ) ≥ 1 > 0 = p ( Y ) p(X)\ge1>0=p(Y) p ( X ) ≥ 1 > 0 = p ( Y ) in this case too. In either case p p p is an S O ( d ) × S n \mathrm{SO}(d)\times S_n SO ( d ) × S n -invariant polynomial separating X X X from Y Y Y .
Degree. Since N r + 1 − N r = n − r N_{r+1}-N_r=n-r N r + 1 − N r = n − r , we have c r + 1 − c r = n ( 2 n − 1 ) + ( n − 1 ) ( n − r ) > 0 c_{r+1}-c_r=n(2n-1)+(n-1)(n-r)>0 c r + 1 − c r = n ( 2 n − 1 ) + ( n − 1 ) ( n − r ) > 0 for r < n r<n r < n , so c r c_r c r is increasing in r r r and c r ≤ c d = d n ( 2 n − 1 ) + N d ( n − 1 ) c_r\le c_d=dn(2n-1)+N_d(n-1) c r ≤ c d = d n ( 2 n − 1 ) + N d ( n − 1 ) for all r ≤ d r\le d r ≤ d ; also 2 n ≤ 2 c 1 ≤ 2 c d 2n\le2c_1\le2c_d 2 n ≤ 2 c 1 ≤ 2 c d . Hence the polynomials of the rank reduction and of Steps 2 and 3 have degree ≤ 2 c d \le2c_d ≤ 2 c d . In Step 4, every entry of Φ ( Z ) \Phi(Z) Φ ( Z ) is quadratic in the entries of Z Z Z , so Z ↦ χ ( Φ ( τ ⋅ Z ) ) Z\mapsto\chi(\Phi(\tau\cdot Z)) Z ↦ χ ( Φ ( τ ⋅ Z )) has degree ≤ 2 c d \le2c_d ≤ 2 c d ; and κ \kappa κ is affine while det ( τ ⋅ Z ) [ d ] \det(\tau\cdot Z)_{[d]} det ( τ ⋅ Z ) [ d ] , the determinant of the d × d d\times d d × d matrix with columns z τ − 1 ( 1 ) , … , z τ − 1 ( d ) z_{\tau^{-1}(1)},\ldots,z_{\tau^{-1}(d)} z τ − 1 ( 1 ) , … , z τ − 1 ( d ) , is a homogeneous polynomial of degree d d d in the entries of Z Z Z . Hence deg ( p ) ≤ 2 c d + d \deg(p)\le2c_d+d deg ( p ) ≤ 2 c d + d . Using
2 N d ( n − 1 ) = 2 d n ( n − 1 ) − d ( d − 1 ) ( n − 1 ) = 2 d n 2 − 2 d n − d ( d − 1 ) ( n − 1 ) , 2N_d(n-1)=2dn(n-1)-d(d-1)(n-1)=2dn^2-2dn-d(d-1)(n-1), 2 N d ( n − 1 ) = 2 d n ( n − 1 ) − d ( d − 1 ) ( n − 1 ) = 2 d n 2 − 2 d n − d ( d − 1 ) ( n − 1 ) ,
2 c d = 2 d n ( 2 n − 1 ) + 2 N d ( n − 1 ) = ( 4 d n 2 − 2 d n ) + ( 2 d n 2 − 2 d n ) − d ( d − 1 ) ( n − 1 ) = 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) . \begin{aligned}
2c_d&=2dn(2n-1)+2N_d(n-1)\\
&=(4dn^2-2dn)+(2dn^2-2dn)-d(d-1)(n-1)\\
&=6dn^2-4dn-d(d-1)(n-1).
\end{aligned} 2 c d = 2 d n ( 2 n − 1 ) + 2 N d ( n − 1 ) = ( 4 d n 2 − 2 d n ) + ( 2 d n 2 − 2 d n ) − d ( d − 1 ) ( n − 1 ) = 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) .
Therefore D ( O ( d ) × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) D(\mathrm{O}(d)\times S_n,\mathbb{R}^{d\times n})\le6dn^2-4dn-d(d-1)(n-1) D ( O ( d ) × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) by Step 2, and D ( S O ( d ) × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) + d D(\mathrm{SO}(d)\times S_n,\mathbb{R}^{d\times n})\le6dn^2-4dn-d(d-1)(n-1)+d D ( SO ( d ) × S n , R d × n ) ≤ 6 d n 2 − 4 d n − d ( d − 1 ) ( n − 1 ) + d by Steps 3 and 4. By Lemma 2, D ( E ( d ) × S n , R d × n ) ≤ D ( O ( d ) × S n , R d × n ) D(\mathrm{E}(d)\times S_n,\mathbb{R}^{d\times n})\le D(\mathrm{O}(d)\times S_n,\mathbb{R}^{d\times n}) D ( E ( d ) × S n , R d × n ) ≤ D ( O ( d ) × S n , R d × n ) and D ( S E ( d ) × S n , R d × n ) ≤ D ( S O ( d ) × S n , R d × n ) D(\mathrm{SE}(d)\times S_n,\mathbb{R}^{d\times n})\le D(\mathrm{SO}(d)\times S_n,\mathbb{R}^{d\times n}) D ( SE ( d ) × S n , R d × n ) ≤ D ( SO ( d ) × S n , R d × n ) , so the same two bounds hold for E ( d ) \mathrm{E}(d) E ( d ) and S E ( d ) \mathrm{SE}(d) SE ( d ) . Both bounds are at most 6 d n 2 6dn^2 6 d n 2 , because d ≤ 4 d n + d ( d − 1 ) ( n − 1 ) d\le4dn+d(d-1)(n-1) d ≤ 4 d n + d ( d − 1 ) ( n − 1 ) for n ≥ 1 n\ge1 n ≥ 1 .
Constructing invariant polynomials via invariant models
Tensor Field Networks
Here we add some details on the construction of S E ( 3 ) × S n \mathrm{SE}(3)\times S_n SE ( 3 ) × S n invariant polynomials by TFN (Proposition 6). First we discuss our assumptions: the TFN model we refer to is the one defined in Dym & Maron [11 ] . It differs from the original TFN models only in that it allows the radial functions in the TFN model to be polynomial rather than MLPs. This allows the TFN models to exactly express polynomials. In the MLP version, the word express can be replaced with ’approximate on a compact set’, since MLPs can approximate any polynomial on a compact set. This is discussed in detail in Dym & Maron [11 ] .
In our analysis we assume that TFN produces a permutation invariant global feature by summing over all node features.
Now we explain how Proposition 6 follows from the results in Dym & Maron [11 ] . The first part of Theorem 2 in that paper, in the special case where W T W_T W T is the trivial representation W 0 = R W_0=\mathbb{R} W 0 = R , gives the following result:
Proposition 24 (Taken from Theorem 2 in Dym & Maron, [11 ] ). For all n , D ∈ N n,D\in\mathbb{N} n , D ∈ N , every polynomial p : R 3 × n → R n p:\mathbb{R}^{3\times n}\to\mathbb{R}^n p : R 3 × n → R n which is rotation and translation invariant, and permutation equivariant, can be expressed using TFN with irreducible features of order D D D , and 2D layers.
It remains only to show that this claim can be translated from equivariant polynomials to invariant polynomials. This is easily done: let q : R 3 × n → R q:\mathbb{R}^{3\times n}\to\mathbb{R} q : R 3 × n → R be a S E ( 3 ) × S n \mathrm{SE}(3)\times S_n SE ( 3 ) × S n invariant polynomial of degree D D D . Then p ( X ) = n − 1 q ( X ) 1 n p(X)=n^{-1}q(X)1_n p ( X ) = n − 1 q ( X ) 1 n is a rotation and translation invariant, and permutation equivariant, polynomial. And therefore p p p can be expressed as a TFN model of the advertised size. By applying sum pooling we obtain q q q , that is q ( X ) = ∑ j = 1 n p j ( X ) q(X)=\sum_{j=1}^n p_j(X) q ( X ) = ∑ j = 1 n p j ( X ) .
MACE
Here we give the details regarding the construction of S E ( 3 ) × S n \mathrm{SE}(3)\times S_n SE ( 3 ) × S n invariant polynomials by MACE (Proposition 8).
We consider the original MACE ([3 ] ) architecture with the following simplifications: (a) we take a single iteration t = 1 t=1 t = 1 (b) we remove from the input the z i z_i z i features discussed in MACE (representing the atom numbers) (c) For every point i i i we perform message passing on all points and not only on points within a given distance threshold. We also make two changes (a) as in the TFN model, we allow the functions R k ℓ R_{k\ell} R k ℓ to be any continuous functions, and (b) following ACE ([8 ] ), in which each factor of a basis function has its own radial index, we use weights w k n ı ~ ξ w_{k n \tilde{\imath}\xi} w k n ~ ξ that depend on the position ξ \xi ξ of the factor, instead of w k n ı ~ ℓ ε w_{k n \tilde{\imath}\ell\varepsilon} w k n ~ ℓ ε . This extends MACE: with w k k ξ k ~ ξ ~ w_{k k_{\xi}\tilde{k}\tilde{\xi}} w k k ξ k ~ ξ ~ , factors of equal order in the same channel coincide, so couplings antisymmetric in them vanish, e.g. the triple product det ( v , v , v ) = 0 \det(v,v,v)=0 det ( v , v , v ) = 0 of three equal factors of order 1. In particular, if w k k ξ k ~ ξ ~ = 1 w_{k k_{\xi}\tilde{k}\tilde{\xi}}=1 w k k ξ k ~ ξ ~ = 1 for k ~ = k ξ \tilde{k}=k_{\xi} k ~ = k ξ and w k k ξ k ~ ξ ~ = 0 w_{k k_{\xi}\tilde{k}\tilde{\xi}}=0 w k k ξ k ~ ξ ~ = 0 otherwise, as in the proof below, then equation (7) becomes ∑ ℓ m C η ν , ℓ m L M ∏ ξ = 1 ν A i , k ξ ℓ ξ m ξ \sum_{\ell m} C^{LM}_{\eta_{\nu},\ell m}\prod_{\xi=1}^{\nu} A_{i,k_{\xi}\ell_{\xi}m_{\xi}} ∑ ℓ m C η ν , ℓ m L M ∏ ξ = 1 ν A i , k ξ ℓ ξ m ξ , which has the form of an ACE basis function ([8 ] ), with the channel k ξ k_{\xi} k ξ in the role of the radial index of the ξ \xi ξ -th factor. Finally, the Clebsch–Gordan coefficients in equation (7) , and in equation (15) below, range over all couplings of representations of S O ( 3 ) SO(3) S O ( 3 ) , without the parity selection rule of the O ( 3 ) O(3) O ( 3 ) -equivariant implementation of Batatia et al. [3 ] , which makes the model invariant under X ↦ − X X \mapsto-X X ↦ − X ; with this rule, the same argument gives ( E ( 3 ) × S n , R 3 × n ) (E(3)\times S_n,\mathbb{R}^{3\times n}) ( E ( 3 ) × S n , R 3 × n ) completeness with D = 18 n 2 − 18 n + 6 D=18n^2-18n+6 D = 18 n 2 − 18 n + 6 , since only couplings with ℓ 1 + ⋯ + ℓ ν \ell_1+\cdots+\ell_{\nu} ℓ 1 + ⋯ + ℓ ν even are then needed.
With these changes, the MACE model is of the form:
A i , k ℓ m = ∑ j ≠ i R k ℓ ( ∣ x j − x i ∣ ) Y ℓ m ( x j − x i ∣ x j − x i ∣ ) (6) A_{i,k\ell m}=\sum_{j\ne i}R_{k\ell}(|x_j-x_i|)Y_{\ell}^{m}\left(\frac{x_j-x_i}{|x_j-x_i|}\right) \tag*{(6)} A i , k ℓ m = j = i ∑ R k ℓ ( ∣ x j − x i ∣ ) Y ℓ m ( ∣ x j − x i ∣ x j − x i ) (6)
B i , η ν k L M = ∑ ℓ m C η ν , ℓ m L M ∏ ξ = 1 ν ∑ k ~ w k k ξ k ~ ξ ~ A i , k ξ ℓ ξ m ξ , ℓ m = ( ℓ 1 m 1 , … , ℓ ν m ν ) (7) B_{i,\eta_{\nu}kLM}=\sum_{\ell m}C^{LM}_{\eta_{\nu},\ell m}\prod_{\xi=1}^{\nu}\sum_{\tilde{k}}w_{k k_{\xi}\tilde{k}\tilde{\xi}}A_{i,k_{\xi}\ell_{\xi}m_{\xi}},\qquad\ell m=(\ell_1m_1,\ldots,\ell_{\nu}m_{\nu}) \tag*{(7)} B i , η ν k L M = ℓ m ∑ C η ν , ℓ m L M ξ = 1 ∏ ν k ~ ∑ w k k ξ k ~ ξ ~ A i , k ξ ℓ ξ m ξ , ℓ m = ( ℓ 1 m 1 , … , ℓ ν m ν ) (7)
m i , k L M = ∑ ν ∑ η ν W k L , η ν B i , η ν k L M , (8) m_{i,kLM}=\sum_{\nu}\sum_{\eta_{\nu}}W_{kL,\eta_{\nu}}B_{i,\eta_{\nu}kLM}, \tag*{(8)} m i , k L M = ν ∑ η ν ∑ W k L , η ν B i , η ν k L M , (8)
E i = MLP ( m i k 00 , k = 1 , … , K max ) (9) E_i=\operatorname{MLP}(m_{ik00},k=1,\ldots,K_{\max}) \tag*{(9)} E i = MLP ( m ik 00 , k = 1 , … , K m a x ) (9)
E = ∑ i = 1 n E i (10) E=\sum_{i=1}^{n}E_i \tag*{(10)} E = i = 1 ∑ n E i (10)
Important hyperparameters of this model are: ℓ max \ell_{\max} ℓ m a x , the maximal irreducible degree used throughout the model. ν max \nu_{\max} ν m a x , the maximal ‘body order’, and K max K_{\max} K m a x , the number of ‘channels’.
We now explain this in more detail. In equation (6) we define K max K_{\max} K m a x high dimensional features A i , k A_{i,k} A i , k , k = 1 , … , K max k=1,\ldots,K_{\max} k = 1 , … , K m a x for each point x i x_i x i . Each such feature is in W 0 ⊕ W 1 ⊕ … ⊕ W ℓ max W_0\oplus W_1\oplus\ldots\oplus W_{\ell_{\max}} W 0 ⊕ W 1 ⊕ … ⊕ W ℓ m a x , and so is indexed by A i , k , ℓ , m A_{i,k,\ell,m} A i , k , ℓ , m where ℓ \ell ℓ denotes the representation and m m m is the internal index inside the representation. The functions R k ℓ R_{k\ell} R k ℓ are generally chosen to be some parametric model, and in our analysis we will choose them to be polynomial functions, as will be seen in the proof.
In (7) new features B i , k B_{i,k} B i , k are obtained by taking tensor products of ν ≤ ν max \nu\leq\nu_{\max} ν ≤ ν m a x linear combinations of A i , k ~ A_{i,\tilde{k}} A i , k ~ features, and the using the Clebsch-Gordan coefficients C η ν , ℓ m L M C^{LM}_{\eta_{\nu},\ell m} C η ν , ℓ m L M to decompose these tensor products back to W 0 r 0 ⊕ W 1 r 1 ⊕ … ⊕ W ℓ max r ℓ max W_0^{r_0}\oplus W_1^{r_1}\oplus\ldots\oplus W_{\ell_{\max}}^{r_{\ell_{\max}}} W 0 r 0 ⊕ W 1 r 1 ⊕ … ⊕ W ℓ m a x r ℓ m a x (the tensor product could have components in W ℓ W_{\ell} W ℓ with ℓ > ℓ max \ell>\ell_{\max} ℓ > ℓ m a x but these components are discarded). The features B i , η ν k L M B_{i,\eta_{\nu}kLM} B i , η ν k L M are indexed similarly to the A i , k ℓ m A_{i,k\ell m} A i , k ℓ m features, but now we have an additional index η ν \eta_{\nu} η ν due to the possible multiplicity r ℓ > 1 r_{\ell}>1 r ℓ > 1 of the features.
(8) is a linear pooling step over multiplicities and body orders. As can be seen in the next equation, in our setting only the L = 0 , m = 0 L=0,m=0 L = 0 , m = 0 components are of interest in this step.
(9) obtains a rotation invariant feature per node E i E_i E i by applying an MLP (Multi-Layer Perceptron) to the ℓ = 0 , m = 0 \ell=0,m=0 ℓ = 0 , m = 0 features, for which the action of S O ( 3 ) SO(3) S O ( 3 ) is trivial, namely D ℓ ( R ) = 1 D_{\ell}(R)=1 D ℓ ( R ) = 1 when ℓ = 0 \ell=0 ℓ = 0 .
Finally, (10) produces a permutation invariant feature by summing over E i E_i E i . Thus E = E ( X ) E=E(X) E = E ( X ) is a S E ( 3 ) × S n SE(3)\times S_n S E ( 3 ) × S n invariant function. We now recall and prove Proposition 8:
Proposition 8. MACE with ν max = min { D , n − 1 } \nu_{\max}=\min\{D,n-1\} ν m a x = min { D , n − 1 } and ℓ max = ⌊ D / 2 ⌋ \ell_{\max}=\lfloor D/2\rfloor ℓ m a x = ⌊ D /2 ⌋ can express any S E ( 3 ) × S n SE(3)\times S_n S E ( 3 ) × S n invariant polynomial of degree ≤ D \leq D ≤ D .
In other words, this means that if we choose the MACE hyperparameters to be ν max = min { D , n − 1 } \nu_{\max}=\min\{D,n-1\} ν m a x = min { D , n − 1 } and ℓ max = ⌊ D / 2 ⌋ \ell_{\max}=\lfloor D/2\rfloor ℓ m a x = ⌊ D /2 ⌋ , and choose some appropriate K max = K max ( D ) K_{\max}=K_{\max}(D) K m a x = K m a x ( D ) , then there exists a choice of the functions R k ℓ R_{k\ell} R k ℓ and their parameters w k k η η w_{k k_{\eta}\eta} w k k η η , W k L η ν W_{kL\eta_{\nu}} W k L η ν of MACE such that E ( X ) = q ( X ) E(X)=q(X) E ( X ) = q ( X ) .
The proof of the proposition will be based on the following proposition:
Proposition 25. Let p : R 3 × n → R n p : \mathbb{R}^{3 \times n} \to\mathbb{R}^{n} p : R 3 × n → R n be a polynomial with degree at most D D D that is invariant to rotations and translations, and equivariant to permutations. That is, that the coordinates p j ( X ) p_j(X) p j ( X ) are rotation and translation invariant, and
( p 1 ( τ ( X ) ) , … , p n ( τ ( X ) ) ) = ( p τ − 1 ( 1 ) ( X ) , … , p τ − 1 ( n ) ( X ) ) , ∀ τ ∈ S n . (11) \left(p_1(\tau(X)), \ldots, p_n(\tau(X))\right) = \left(p_{\tau^{-1}(1)}(X), \ldots, p_{\tau^{-1}(n)}(X)\right), \qquad\forall\tau\in S_n. \tag*{(11)} ( p 1 ( τ ( X )) , … , p n ( τ ( X )) ) = ( p τ − 1 ( 1 ) ( X ) , … , p τ − 1 ( n ) ( X ) ) , ∀ τ ∈ S n . (11) Then there exists a single layer MACE architecture with ν max = min { D , n − 1 } \nu_{\max} = \min\{D,n-1\} ν m a x = min { D , n − 1 } and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ , such that the node features E i = E i ( X ) E_i = E_i(X) E i = E i ( X ) from the MACE architecture satisfy
E i ( X ) = p i ( X ) , ∀ i = 1 , … , n E_i(X) = p_i(X), \ \forall i = 1,\ldots,n E i ( X ) = p i ( X ) , ∀ i = 1 , … , n This proposition easily implies the original proposition 8, for if q : R 3 × n → R q : \mathbb{R}^{3 \times n} \to\mathbb{R} q : R 3 × n → R is of degree ≤ D \leq D ≤ D and S E ( 3 ) × S n SE(3) \times S_n S E ( 3 ) × S n invariant, then we can apply Proposition 25 for the equivariant polynomial p = ( q , q , … , q ) p = (q,q,\ldots,q) p = ( q , q , … , q ) to obtain a MACE architecture with E i ( X ) = n − 1 q ( X ) E_i(X) = n^{-1}q(X) E i ( X ) = n − 1 q ( X ) , and so E ( X ) = q ( X ) E(X) = q(X) E ( X ) = q ( X ) .
In the proof we will use the following lemma, which shows that a product of many sums over the same points can be written using products of fewer sums.
Lemma 26. Let u 1 , … , u M ∈ R 3 u_1,\ldots,u_M \in\mathbb{R}^3 u 1 , … , u M ∈ R 3 and let N ≥ M N \geq M N ≥ M . For a function f : R 3 → R f : \mathbb{R}^3 \to\mathbb{R} f : R 3 → R denote P ( f ) = ∑ j = 1 M f ( u j ) P(f) = \sum_{j=1}^{M} f(u_j) P ( f ) = ∑ j = 1 M f ( u j ) . Then for every f 0 , … , f N : R 3 → R f_0,\ldots,f_N : \mathbb{R}^3 \to\mathbb{R} f 0 , … , f N : R 3 → R , the product P ( f 0 ) P ( f 1 ) ⋯ P ( f N ) P(f_0)P(f_1)\cdots P(f_N) P ( f 0 ) P ( f 1 ) ⋯ P ( f N ) is a linear combination of products of the form
P ( ∏ s ∈ c 1 f s ) ⋅ P ( ∏ s ∈ c 2 f s ) ⋯ P ( ∏ s ∈ c r f s ) , P\left(\prod_{s \in c_1} f_s\right) \cdot P\left(\prod_{s \in c_2} f_s\right) \cdots P\left(\prod_{s \in c_r} f_s\right), P ( s ∈ c 1 ∏ f s ) ⋅ P ( s ∈ c 2 ∏ f s ) ⋯ P ( s ∈ c r ∏ f s ) , where c 1 , … , c r c_1,\ldots,c_r c 1 , … , c r is a partition of { 0 , … , N } \{0,\ldots,N\} { 0 , … , N } into r ≤ N r \leq N r ≤ N sets. The coefficients depend only on the partition, and not on the functions f s f_s f s , the points u j u_j u j or M M M .
Proof. We first show that
∑ σ ∈ S N + 1 sgn ( σ ) ∏ c P ( ∏ s ∈ c f s ) = 0 , (12) \sum_{\sigma\in S_{N+1}} \operatorname{sgn}(\sigma) \prod_{c} P\left(\prod_{s \in c} f_s\right) = 0, \tag*{(12)} σ ∈ S N + 1 ∑ sgn ( σ ) c ∏ P ( s ∈ c ∏ f s ) = 0 , (12)
where σ \sigma σ is a permutation of { 0 , … , N } \{0,\ldots,N\} { 0 , … , N } and the product is over the cycles c c c of σ \sigma σ (including fixed points). Expanding the sums, the product over the cycles of σ \sigma σ is equal to ∑ ψ ∏ s = 0 N f s ( u ψ ( s ) ) \sum_{\psi} \prod_{s=0}^{N} f_s(u_{\psi(s)}) ∑ ψ ∏ s = 0 N f s ( u ψ ( s ) ) , where the sum is over all functions ψ : { 0 , … , N } → { 1 , … , M } \psi: \{0,\ldots,N\} \to\{1,\ldots,M\} ψ : { 0 , … , N } → { 1 , … , M } which are constant on the cycles of σ \sigma σ , that is ψ ∘ σ = ψ \psi\circ\sigma= \psi ψ ∘ σ = ψ . Changing the order of summation, the left hand side of equation 9 is equal to
∑ ψ ∏ s = 0 N f s ( u ψ ( s ) ) ∑ σ : ψ ∘ σ = ψ sgn ( σ ) . \sum_{\psi} \prod_{s=0}^{N} f_s(u_{\psi(s)}) \sum_{\sigma:\,\psi\circ\sigma=\psi} \operatorname{sgn}(\sigma). ψ ∑ s = 0 ∏ N f s ( u ψ ( s ) ) σ : ψ ∘ σ = ψ ∑ sgn ( σ ) .
Since N + 1 > M N+1 > M N + 1 > M , for every ψ \psi ψ there exist s ≠ s ′ s \ne s' s = s ′ with ψ ( s ) = ψ ( s ′ ) \psi(s) = \psi(s') ψ ( s ) = ψ ( s ′ ) . Let τ \tau τ be the transposition of s s s and s ′ s' s ′ . Then σ ↦ σ ∘ τ \sigma\mapsto\sigma\circ\tau σ ↦ σ ∘ τ is a bijection of the set { σ : ψ ∘ σ = ψ } \{\sigma: \psi\circ\sigma= \psi\} { σ : ψ ∘ σ = ψ } to itself which changes the sign, so the inner sum is zero. This proves equation 9.
The term of the identity permutation in equation 9 is P ( f 0 ) P ( f 1 ) ⋯ P ( f N ) P(f_0)P(f_1)\cdots P(f_N) P ( f 0 ) P ( f 1 ) ⋯ P ( f N ) , and every other permutation has at most N N N cycles. Moving these terms to the other side we obtain the claim. The coefficient of a partition is minus the sum of the signs of the permutations whose cycles are the sets of the partition, so it depends only on the partition. ∎
Proof of Proposition 25. The proof is based on the characterization of S E ( 3 ) × S n SE(3) \times S_n S E ( 3 ) × S n equivariant and invariant polynomials in Dym & Maron [11 ] .
Now fix some i ∈ { 1 , … , n } i \in\{1,\ldots,n\} i ∈ { 1 , … , n } and consider the i i i -th coordinate p i : R 3 × n → R p_i : \mathbb{R}^{3 \times n} \to\mathbb{R} p i : R 3 × n → R . The permutation equivariance of p p p implies [see 34 Theorem 2] that p i p_i p i is a linear combination of monomials of the form
∑ i 2 , i 3 , … , i r = 1 n x i α 1 x i 2 α 2 ⋯ x i r α r \sum_{i_2,i_3,\ldots,i_r=1}^{n} x_{i}^{\alpha_{1}} x_{i_2}^{\alpha_{2}} \cdots x_{i_r}^{\alpha_r} i 2 , i 3 , … , i r = 1 ∑ n x i α 1 x i 2 α 2 ⋯ x i r α r
where r > 1 r > 1 r > 1 , each α j = ( α 1 j , α 2 j , α 3 j ) \alpha_j = (\alpha_{1j},\alpha_{2j},\alpha_{3j}) α j = ( α 1 j , α 2 j , α 3 j ) is a multi-index and the total degree ∑ j = 1 r ∥ α j ∥ 1 \sum_{j=1}^{r} \lVert\alpha_j\rVert_1 ∑ j = 1 r ∥ α j ∥ 1 is at most D D D . Since p i p_i p i is translation invariant, it is unaffected by translating all entry columns by the column x i x_i x i , showing that it is in fact a linear combination of expressions of the form
∑ i 2 , i 3 , … , i r = 1 n ( x i 2 − x i ) α 2 ⋯ ( x i r − x i ) α r = ( ∑ j ≠ i ( x j − x i ) α 2 ) ⋯ ( ∑ j ≠ i ( x j − x i ) α r ) \sum_{i_2,i_3,\ldots,i_r=1}^{n} (x_{i_2}-x_i)^{\alpha_2}\cdots(x_{i_r}-x_i)^{\alpha_r}
=
\left(\sum_{j\ne i}(x_j-x_i)^{\alpha_2}\right)\cdots\left(\sum_{j\ne i}(x_j-x_i)^{\alpha_r}\right) i 2 , i 3 , … , i r = 1 ∑ n ( x i 2 − x i ) α 2 ⋯ ( x i r − x i ) α r = j = i ∑ ( x j − x i ) α 2 ⋯ j = i ∑ ( x j − x i ) α r
Noting that factors with α t = 0 \alpha_t = 0 α t = 0 are constants and are absorbed into the coefficients and every remaining factor has degree ≥ 1 \ge1 ≥ 1 , so the number of factors in the product above is at most ∑ t ∣ α t ∣ ≤ D \sum_t |\alpha_t| \le D ∑ t ∣ α t ∣ ≤ D . Moreover, each of the sums is over the n − 1 n-1 n − 1 points x j − x i x_j-x_i x j − x i , j ≠ i j \ne i j = i . Therefore, by applying Lemma 26 repeatedly, a product of more than n − 1 n-1 n − 1 such sums is a linear combination of products of at most n − 1 n-1 n − 1 sums of the same form, where the new multi-indices are sums of the original α t \alpha_t α t , so the total degree does not change. The coefficients of this linear combination do not depend on i i i . Thus we can assume that the number of factors is at most min { D , n − 1 } \min\{D,n-1\} min { D , n − 1 } .
Next, we leverage the fact that every polynomial q : R 3 → R q:\mathbb{R}^3 \to\mathbb{R} q : R 3 → R of degree D D D can be written as linear combination of polynomials of the form ∥ x ∥ 2 k Y ℓ m ( x ) \lVert x\rVert^{2k}Y_{\ell}^{m}(x) ∥ x ∥ 2 k Y ℓ m ( x ) with ℓ + 2 k ≤ D \ell+2k\le D ℓ + 2 k ≤ D ([6 ] ). As a result, we deduce that every expression of the form ( ∑ j ≠ i ( x j − x i ) α ) \left(\sum_{j\ne i}(x_j-x_i)^\alpha\right) ( ∑ j = i ( x j − x i ) α ) above can be rewritten as a linear combination of polynomials of the form
a i , k ℓ m ( X ) = ∑ j ≠ i ∥ x j − x i ∥ 2 k Y ℓ m ( x j − x i ) a_{i,k\ell m}(X)=\sum_{j\ne i}\lVert x_j-x_i\rVert^{2k}Y_{\ell}^{m}(x_j-x_i) a i , k ℓ m ( X ) = j = i ∑ ∥ x j − x i ∥ 2 k Y ℓ m ( x j − x i )
and therefore p i p_i p i is a linear combination of polynomials of the form
c i , k , ℓ , m ( X ) = a i , k 1 , ℓ 1 , m 1 ( X ) ⋅ a i , k 2 , ℓ 2 , m 2 ( X ) ⋅ … a i , k ν , ℓ ν , m ν ( X ) c_{i,k,\ell,m}(X)=a_{i,k_1,\ell_1,m_1}(X)\cdot a_{i,k_2,\ell_2,m_2}(X)\cdot\ldots a_{i,k_\nu,\ell_\nu,m_\nu}(X) c i , k , ℓ , m ( X ) = a i , k 1 , ℓ 1 , m 1 ( X ) ⋅ a i , k 2 , ℓ 2 , m 2 ( X ) ⋅ … a i , k ν , ℓ ν , m ν ( X )
where
k = ( k 1 , … , k ν ) , ℓ = ( ℓ 1 , … , ℓ ν ) , m = ( m 1 , … , m ν ) . k=(k_1,\ldots,k_\nu),\ell=(\ell_1,\ldots,\ell_\nu),m=(m_1,\ldots,m_\nu). k = ( k 1 , … , k ν ) , ℓ = ( ℓ 1 , … , ℓ ν ) , m = ( m 1 , … , m ν ) .
This gives that each ∑ j ( x j − x i ) α \sum_j(x_j-x_i)^\alpha ∑ j ( x j − x i ) α is homogeneous of degree ∣ α ∣ |\alpha| ∣ α ∣ , so its expansion uses only 2 k + ℓ = ∣ α ∣ 2k+\ell=|\alpha| 2 k + ℓ = ∣ α ∣ , therefore every product c i , k , ℓ , m c_{i,k,\ell,m} c i , k , ℓ , m in the expansion of p i p_i p i satisfies ∑ s ( 2 k s + ℓ s ) ≤ D \sum_s(2k_s+\ell_s)\le D ∑ s ( 2 k s + ℓ s ) ≤ D . Now, let c i , k ( X ) c_{i,k}(X) c i , k ( X ) be the tensor containing all entries c i , k , ℓ , m ( X ) c_{i,k,\ell,m}(X) c i , k , ℓ , m ( X ) , and let
b i , k ( X ) = C c i , k ( X ) b_{i,k}(X)=\mathcal{C}c_{i,k}(X) b i , k ( X ) = C c i , k ( X )
where C \mathcal{C} C is the linear equivariant invertible map mapping the tensor product domain to a direct sum of irreducibles which we denote by W = W 0 r 0 ⊕ W 1 r 1 ⊕ … ⊕ W D r D W=W_0^{r_0}\oplus W_1^{r_1}\oplus\ldots\oplus W_D^{r_D} W = W 0 r 0 ⊕ W 1 r 1 ⊕ … ⊕ W D r D (whose coordinates are the Clebsch-Gordan coefficients).
Since ∑ s ℓ s ≤ D \sum_s\ell_s\le D ∑ s ℓ s ≤ D , the irreducibles in W W W are labeled at most by D D D . We deduce that for appropriate linear Λ k : W → R \Lambda_k:W\to\mathbb{R} Λ k : W → R ,
p i ( X ) = ∑ k Λ k ( b i , k ( X ) ) (13) p_i(X)=\sum_k\Lambda_k\left(b_{i,k}(X)\right) \tag*{(13)} p i ( X ) = k ∑ Λ k ( b i , k ( X ) ) (13)
Moreover, if p i p_i p i is additionally rotation invariant, then an averaging argument (see the proof of Theorem 1 in [11 ] ) shows that the Λ k \Lambda_k Λ k are rotation invariant. It follows almost directly from Schur’s lemma (see Lemma 5 in [11 ] for details) that Λ k \Lambda_k Λ k only operates on the components of b i , k b_{i,k} b i , k in the trivial representation W 0 r 0 W_0^{r_0} W 0 r 0 . Namely, if a general element in the tensor b i , k b_{i,k} b i , k is indexed by b i , k , η , ℓ , m b_{i,k,\eta,\ell,m} b i , k , η , ℓ , m , where η \eta η ranges from 1 1 1 to r ℓ r_\ell r ℓ , the multiplicity of W ℓ W_\ell W ℓ in W W W , then
Λ k ( b i , k ) = ∑ η = 1 r 0 λ k , η b i , k , η 00 (14) \Lambda_k(b_{i,k})=\sum_{\eta=1}^{r_0}\lambda_{k,\eta}b_{i,k,\eta00} \tag*{(14)} Λ k ( b i , k ) = η = 1 ∑ r 0 λ k , η b i , k , η 00 (14)
for some vector λ k = ( λ k , 1 , … , λ k , r 0 ) \lambda_k=(\lambda_{k,1},\ldots,\lambda_{k,r_0}) λ k = ( λ k , 1 , … , λ k , r 0 ) .
Since Λ k \Lambda_k Λ k reads only the W 0 W_0 W 0 -components of b i , k b_{i,k} b i , k , a term c i , k , ℓ , m c_{i,k,\ell,m} c i , k , ℓ , m contributes to p i p_i p i only if W 0 W_0 W 0 occurs in W ℓ 1 ⊗ ⋯ ⊗ W ℓ ν W_{\ell_1}\otimes\cdots\otimes W_{\ell_\nu} W ℓ 1 ⊗ ⋯ ⊗ W ℓ ν . A tensor product of irreducibles contains no W J W_J W J with J J J larger than the sum of its labels (iterate the Clebsch–Gordan rule W a ⊗ W b = ⨁ c = ∣ a − b ∣ a + b W c W_a\otimes W_b=\bigoplus_{c=|a-b|}^{a+b}W_c W a ⊗ W b = ⨁ c = ∣ a − b ∣ a + b W c ), so if W 0 ⊆ W ℓ ξ ⊗ ( ⨂ ξ ′ ≠ ξ W ℓ ξ ′ ) W_0\subseteq W_{\ell_\xi}\otimes(\bigotimes_{\xi'\ne\xi}W_{\ell_{\xi'}}) W 0 ⊆ W ℓ ξ ⊗ ( ⨂ ξ ′ = ξ W ℓ ξ ′ ) then ℓ ξ ≤ ∑ ξ ′ ≠ ξ ℓ ξ ′ \ell_\xi\le\sum_{\xi'\ne\xi}\ell_{\xi'} ℓ ξ ≤ ∑ ξ ′ = ξ ℓ ξ ′ for every ξ \xi ξ , thus 2 ℓ ξ ≤ ∑ ξ ℓ ξ ≤ ∑ ξ ( 2 k ξ + ℓ ξ ) ≤ D 2\ell_\xi\le\sum_\xi\ell_\xi\le\sum_\xi(2k_\xi+\ell_\xi)\le D 2 ℓ ξ ≤ ∑ ξ ℓ ξ ≤ ∑ ξ ( 2 k ξ + ℓ ξ ) ≤ D . All other terms may be dropped from the expansion of p i p_i p i , and we assume from now on that ℓ ξ ≤ ⌊ D / 2 ⌋ \ell_\xi\le\lfloor D/2\rfloor ℓ ξ ≤ ⌊ D /2 ⌋ and k ξ ≤ ⌊ D / 2 ⌋ k_\xi\le\lfloor D/2\rfloor k ξ ≤ ⌊ D /2 ⌋ for every factor.
We now explain how MACE can express p i p_i p i . First note that we can express a i , k ℓ m a_{i,k\ell m} a i , k ℓ m using A i , k ℓ m A_{i,k\ell m} A i , k ℓ m , by choosing R k ℓ ( ∣ x j − x i ∣ ) = ∣ x j − x i ∣ 2 k + ℓ R_{k\ell}(|x_j-x_i|)=|x_j-x_i|^{2k+\ell} R k ℓ ( ∣ x j − x i ∣ ) = ∣ x j − x i ∣ 2 k + ℓ to obtain
A i , k ℓ m ( X ) = ∑ j ≠ i ∣ x j − x i ∣ 2 k + ℓ Y ℓ m ( x j − x i ∣ x j − x i ∣ ) = ( ∗ ) ∑ j ≠ i ∣ x j − x i ∣ 2 k Y ℓ m ( x j − x i ) = a i , k ℓ m ( X ) , A_{i,k\ell m}(X)=\sum_{j\ne i}|x_j-x_i|^{2k+\ell}Y_\ell^m\left(\frac{x_j-x_i}{|x_j-x_i|}\right)\overset{(*)}{=}\sum_{j\ne i}|x_j-x_i|^{2k}Y_\ell^m(x_j-x_i)=a_{i,k\ell m}(X), A i , k ℓ m ( X ) = j = i ∑ ∣ x j − x i ∣ 2 k + ℓ Y ℓ m ( ∣ x j − x i ∣ x j − x i ) = ( ∗ ) j = i ∑ ∣ x j − x i ∣ 2 k Y ℓ m ( x j − x i ) = a i , k ℓ m ( X ) ,
where ( ∗ ) (*) ( ∗ ) follows from the fact that Y ℓ m Y_\ell^m Y ℓ m is a degree ℓ \ell ℓ homogeneous polynomial and above A i , k ℓ m A_{i,k\ell m} A i , k ℓ m features have ⌊ D / 2 ⌋ + 1 \lfloor D/2\rfloor+1 ⌊ D /2 ⌋ + 1 channels indexed by k = 0 , … , ⌊ D / 2 ⌋ k=0,\ldots,\lfloor D/2\rfloor k = 0 , … , ⌊ D /2 ⌋ , with R k ℓ ( r ) = r 2 k + ℓ R_{k\ell}(r)=r^{2k+\ell} R k ℓ ( r ) = r 2 k + ℓ for ℓ ≤ ⌊ D / 2 ⌋ \ell\le\lfloor D/2\rfloor ℓ ≤ ⌊ D /2 ⌋ . Next, we choose
w k k ~ ξ = { 1 if k ~ = k ξ , 0 if k ~ ≠ k ξ , so that ∑ k w k k ~ ξ A i , k ℓ ~ m ξ = A i , k ξ ℓ ξ m ξ w_{k\tilde{k}\xi} =
\begin{cases}
1 & \text{if } \tilde{k}=k_{\xi},\\
0 & \text{if } \tilde{k}\ne k_{\xi},
\end{cases}
\qquad\text{so that} \qquad
\sum_k w_{k\tilde{k}\xi} A_{i,k\tilde{\ell}m_{\xi}}=A_{i,k_{\xi}\ell_{\xi}m_{\xi}} w k k ~ ξ = { 1 0 if k ~ = k ξ , if k ~ = k ξ , so that k ∑ w k k ~ ξ A i , k ℓ ~ m ξ = A i , k ξ ℓ ξ m ξ
and we can then obtain that
B i , k = ∑ l m C ν , l m L M ∏ ξ = 1 ν ∑ k ~ w k k ~ ξ A i , k ~ ℓ ξ m ξ = ∑ l m C ν , l m L M ∏ ξ = 1 ν A i , k ξ ℓ ξ m ξ = C ( a i , k 1 ⊗ a i , k 2 ⊗ … ⊗ a i , k ν ) \begin{aligned}
B_{i,k}
&=\sum_{lm} C_{\nu,lm}^{LM}\prod_{\xi=1}^{\nu}\sum_{\tilde{k}}w_{k\tilde{k}\xi}A_{i,\tilde{k}\ell_{\xi}m_{\xi}}\\
&=\sum_{lm} C_{\nu,lm}^{LM}\prod_{\xi=1}^{\nu}A_{i,k_{\xi}\ell_{\xi}m_{\xi}}\\
&=\mathcal{C}\left(a_{i,k_1}\otimes a_{i,k_2}\otimes\ldots\otimes a_{i,k_{\nu}}\right)
\end{aligned} B i , k = l m ∑ C ν , l m L M ξ = 1 ∏ ν k ~ ∑ w k k ~ ξ A i , k ~ ℓ ξ m ξ = l m ∑ C ν , l m L M ξ = 1 ∏ ν A i , k ξ ℓ ξ m ξ = C ( a i , k 1 ⊗ a i , k 2 ⊗ … ⊗ a i , k ν )
where C \mathcal{C} C is the linear mapping defined by the Clebsch-Gordan coefficients C ν , l m L M C_{\nu,lm}^{LM} C ν , l m L M . The B i , k B_{i,k} B i , k are indexed by the tuple k = ( k 1 , … , k ν ) k=(k_1,\ldots,k_{\nu}) k = ( k 1 , … , k ν ) and there are K max ( D ) K_{\max}(D) K m a x ( D ) valid tuples, that is those with k i ≤ ⌊ D / 2 ⌋ k_i\leq\lfloor D/2\rfloor k i ≤ ⌊ D /2 ⌋ and ν ≤ min { D , n − 1 } \nu\leq\min\{D,n-1\} ν ≤ min { D , n − 1 } , which are those we iterate over so that w k k ~ ξ w_{k\tilde{k}\xi} w k k ~ ξ has a well-defined index range. The L = 0 L=0 L = 0 components of B i , k B_{i,k} B i , k coincide with those of b i , k b_{i,k} b i , k used in (14) , a fact we use below.
Thus, choosing W k 0 η = λ k η W_{k0\eta}=\lambda_{k\eta} W k 0 η = λ k η and W k L η = 0 W_{kL\eta}=0 W k L η = 0 for L > 0 L>0 L > 0 , and choosing the MLP in the definition of E i E_i E i to just sum over all coordinates k k k , we obtain
p i ( X ) = equation 10 ∑ k Λ k ( b i , k ( X ) ) = equation 11 ∑ k ∑ η = 1 r 0 λ k , η b i , k η 00 = E i ( X ) p_i(X)\overset{\text{equation 10}}{=}\sum_k\Lambda_k\left(b_{i,k}(X)\right)\overset{\text{equation 11}}{=}\sum_k\sum_{\eta=1}^{r_0}\lambda_{k,\eta}b_{i,k\eta00}=E_i(X) p i ( X ) = equation 10 k ∑ Λ k ( b i , k ( X ) ) = equation 11 k ∑ η = 1 ∑ r 0 λ k , η b i , k η 00 = E i ( X )
MACE with multiple iterations
So far we considered MACE with a single iteration. We now explain how the results above extend to MACE with T ≥ 1 T\geq1 T ≥ 1 iterations. As above, we perform message passing on all points, so there is no underlying graph. In the MACE architecture [3 ] with T T T iterations, every point x i x_i x i has a hidden state h i ( t ) h_i^{(t)} h i ( t ) , where h i ( 0 ) = 1 h_i^{(0)}=1 h i ( 0 ) = 1 , and the hidden states are updated by
A i , k ℓ 3 m 3 ( t ) = ∑ ℓ 1 m 1 , ℓ 2 m 2 C ℓ 1 m 1 , ℓ 2 m 2 ℓ 3 m 3 ∑ j ≠ i R k ℓ 1 ℓ 2 ℓ 3 ( t ) ( ∣ x j − x i ∣ ) Y ℓ 1 m 1 ( x j − x i ∣ x j − x i ∣ ) ∑ k ~ W k k ~ ℓ 2 ( t ) h j , k ~ ℓ 2 m 2 ( t ) (15) A_{i,k\ell_3m_3}^{(t)}=
\sum_{\ell_1m_1,\ell_2m_2}C_{\ell_1m_1,\ell_2m_2}^{\ell_3m_3}
\sum_{j\ne i}R_{k\ell_1\ell_2\ell_3}^{(t)}\left(\lvert x_j-x_i\rvert\right)
Y_{\ell_1}^{m_1}\left(\frac{x_j-x_i}{\lvert x_j-x_i\rvert}\right)
\sum_{\tilde{k}}W_{k\tilde{k}\ell_2}^{(t)}h_{j,\tilde{k}\ell_2m_2}^{(t)} \tag*{(15)} A i , k ℓ 3 m 3 ( t ) = ℓ 1 m 1 , ℓ 2 m 2 ∑ C ℓ 1 m 1 , ℓ 2 m 2 ℓ 3 m 3 j = i ∑ R k ℓ 1 ℓ 2 ℓ 3 ( t ) ( ∣ x j − x i ∣ ) Y ℓ 1 m 1 ( ∣ x j − x i ∣ x j − x i ) k ~ ∑ W k k ~ ℓ 2 ( t ) h j , k ~ ℓ 2 m 2 ( t ) (15)
h i , k L M ( t + 1 ) = ∑ k ~ U k L , k ~ ( t ) m i , k ~ L M ( t ) + ∑ k ~ U ~ k L , k ~ ( t ) h i , k ~ L M ( t ) (16) h_{i,kLM}^{(t+1)}=\sum_{\tilde{k}}U_{kL,\tilde{k}}^{(t)}m_{i,\tilde{k}LM}^{(t)}+\sum_{\tilde{k}}\widetilde{U}_{kL,\tilde{k}}^{(t)}h_{i,\tilde{k}LM}^{(t)} \tag*{(16)} h i , k L M ( t + 1 ) = k ~ ∑ U k L , k ~ ( t ) m i , k ~ L M ( t ) + k ~ ∑ U k L , k ~ ( t ) h i , k ~ L M ( t ) (16)
for t = 0 , … , T − 1 t=0,\ldots,T-1 t = 0 , … , T − 1 , where B i ( t ) B_i^{(t)} B i ( t ) and m i ( t ) m_i^{(t)} m i ( t ) are computed from A i ( t ) A_i^{(t)} A i ( t ) as in equation 4 and equation 5, and the node feature E i E_i E i is obtained by applying the MLP to the features h i , k 00 ( T ) h_{i,k00}^{(T)} h i , k 00 ( T ) . Note that for t = 0 t=0 t = 0 we have h j ( 0 ) = 1 h_j^{(0)}=1 h j ( 0 ) = 1 , so only ℓ 2 = 0 \ell_2=0 ℓ 2 = 0 appears and equation 12 is the same as equation 3. Therefore the single iteration model above is obtained by choosing T = 1 T=1 T = 1 , U ( 0 ) U^{(0)} U ( 0 ) to be the identity and U ~ ( 0 ) = 0 \widetilde{U}^{(0)}=0 U ( 0 ) = 0 .
Proposition 27. Let T ≥ 1 T\geq1 T ≥ 1 . For every MACE model with a single iteration, there exists a MACE model with T T T iterations and the same ν max \nu_{\max} ν m a x , ℓ max \ell_{\max} ℓ m a x and K max K_{\max} K m a x , which has the same node features E i E_i E i . In particular, Proposition 8 and Proposition 25 hold for MACE with T T T iterations. The same is true when the summation in equation 3 and equation 12 is only over the points at distance at most ρ \rho ρ from x i x_i x i .
Proof. In the first iteration we choose the parameters of the single iteration model, U ( 0 ) U^{(0)} U ( 0 ) to be the identity and U ~ ( 0 ) = 0 \widetilde{U}^{(0)}=0 U ( 0 ) = 0 , so that h i ( 1 ) = m i ( 0 ) h_i^{(1)}=m_i^{(0)} h i ( 1 ) = m i ( 0 ) . For t ≥ 1 t\geq1 t ≥ 1 we choose U ( t ) = 0 U^{(t)}=0 U ( t ) = 0 and U ~ ( t ) \widetilde{U}^{(t)} U ( t ) to be the identity, so that h i ( t + 1 ) = h i ( t ) h_i^{(t+1)}=h_i^{(t)} h i ( t + 1 ) = h i ( t ) . We obtain that h i ( T ) = h i ( 1 ) h_i^{(T)}=h_i^{(1)} h i ( T ) = h i ( 1 ) , and therefore the node features E i E_i E i are the same as in the single iteration model. The same argument applies when the summation in equation 12 is only over the points at distance at most ρ \rho ρ from x i x_i x i .
In the proof of Proposition 27 the additional iterations are not used. We now show that also when all iterations are used, features with ℓ > ⌊ D / 2 ⌋ \ell> \lfloor D/2 \rfloor ℓ > ⌊ D /2 ⌋ do not contribute to polynomials of degree ≤ D \le D ≤ D . As in the proof of Proposition 25, we consider radial functions of the form R k ℓ 1 ℓ 2 ℓ 3 ( t ) ( r ) = c r 2 a + ℓ 1 R_{k\ell_1\ell_2\ell_3}^{(t)}(r) = c r^{2a+\ell_1} R k ℓ 1 ℓ 2 ℓ 3 ( t ) ( r ) = c r 2 a + ℓ 1 where a ≥ 0 a \ge0 a ≥ 0 is an integer, so that R ( ∣ x ∣ ) Y ℓ 1 m 1 ( x / ∣ x ∣ ) = c ∣ x ∣ 2 a Y ℓ 1 m 1 ( x ) R(|x|)Y_{\ell_1}^{m_1}(x/|x|) = c|x|^{2a}Y_{\ell_1}^{m_1}(x) R ( ∣ x ∣ ) Y ℓ 1 m 1 ( x /∣ x ∣ ) = c ∣ x ∣ 2 a Y ℓ 1 m 1 ( x ) is a homogeneous polynomial of degree 2 a + ℓ 1 2a+\ell_1 2 a + ℓ 1 . We also assume that in each of equation (15) , equation (7) , equation (8) and equation (16) , all the terms in the sum which defines a given coordinate are homogeneous polynomials in X X X of the same degree. A model whose radial functions are linear combinations of the functions r 2 a + ℓ 1 r^{2a+\ell_1} r 2 a + ℓ 1 , and in particular the model in the proof of Proposition 25, can be brought to this form without changing T T T and ν max \nu_{\max} ν m a x , by splitting every channel according to the degrees, since the radial functions can be chosen separately for every channel and the weights can select a single term in each of these sums. We say that a coordinate of A i ( t ) A_i^{(t)} A i ( t ) , B i ( t ) B_i^{(t)} B i ( t ) , m i ( t ) m_i^{(t)} m i ( t ) or h i ( t ) h_i^{(t)} h i ( t ) is of type ( e , L ) (e,L) ( e , L ) if it is a homogeneous polynomial of degree e e e and it is a coordinate of a feature in W L W_L W L .
Lemma 28. Consider a MACE model with T ≥ 1 T \ge1 T ≥ 1 iterations as above, with no restriction on ℓ \ell ℓ , where E i E_i E i is a linear combination of the coordinates h i , k 00 ( T ) h_{i,k00}^{(T)} h i , k 00 ( T ) . Let E i ≤ D E_i^{\le D} E i ≤ D be the sum of the terms in this linear combination whose degree is at most D D D . Then E i ≤ D E_i^{\le D} E i ≤ D does not change if we discard the spherical harmonics with ℓ 1 > ⌊ D / 2 ⌋ \ell_1 > \lfloor D/2 \rfloor ℓ 1 > ⌊ D /2 ⌋ from equation (15) , and the coordinates with ℓ > ⌊ D / 2 ⌋ \ell> \lfloor D/2 \rfloor ℓ > ⌊ D /2 ⌋ from all the features A i ( t ) A_i^{(t)} A i ( t ) , B i ( t ) B_i^{(t)} B i ( t ) , m i ( t ) m_i^{(t)} m i ( t ) and h i ( t ) h_i^{(t)} h i ( t ) . In particular, if E i E_i E i is a polynomial of degree ≤ D \le D ≤ D then it can be expressed with ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ .
Proof. We first note that every coordinate of type ( e , L ) (e,L) ( e , L ) satisfies L ≤ e L \le e L ≤ e . This holds for h i ( 0 ) = 1 h_i^{(0)} = 1 h i ( 0 ) = 1 which is of type ( 0 , 0 ) (0,0) ( 0 , 0 ) . In equation (15) , a term which is obtained from a spherical harmonic of degree ℓ 1 \ell_1 ℓ 1 , a radial function c r 2 a + ℓ 1 c r^{2a+\ell_1} c r 2 a + ℓ 1 and a coordinate of h j ( t ) h_j^{(t)} h j ( t ) of type ( e 2 , ℓ 2 ) (e_2,\ell_2) ( e 2 , ℓ 2 ) with ℓ 2 ≤ e 2 \ell_2 \le e_2 ℓ 2 ≤ e 2 , is of type ( e 3 , ℓ 3 ) (e_3,\ell_3) ( e 3 , ℓ 3 ) with e 3 = 2 a + ℓ 1 + e 2 ≥ ℓ 1 + ℓ 2 ≥ ℓ 3 e_3 = 2a + \ell_1 + e_2 \ge\ell_1 + \ell_2 \ge\ell_3 e 3 = 2 a + ℓ 1 + e 2 ≥ ℓ 1 + ℓ 2 ≥ ℓ 3 . In equation (7) , a product of coordinates of types ( e ξ , ℓ ξ ) (e_\xi,\ell_\xi) ( e ξ , ℓ ξ ) with ℓ ξ ≤ e ξ \ell_\xi\le e_\xi ℓ ξ ≤ e ξ is of type ( e , L ) (e,L) ( e , L ) with e = ∑ ξ e ξ ≥ ∑ ξ ℓ ξ ≥ L e = \sum_\xi e_\xi\ge\sum_\xi\ell_\xi\ge L e = ∑ ξ e ξ ≥ ∑ ξ ℓ ξ ≥ L . Finally, equation (8) and equation (16) do not change the type.
We say that a coordinate of type ( e , L ) (e,L) ( e , L ) is useful if e + L ≤ D e + L \le D e + L ≤ D . A useful coordinate satisfies $2L \le e + L \le D$ and therefore L ≤ ⌊ D / 2 ⌋ L \le\lfloor D/2 \rfloor L ≤ ⌊ D /2 ⌋ . We claim that a useful coordinate is computed only from useful coordinates, and from spherical harmonics with ℓ 1 ≤ ⌊ D / 2 ⌋ \ell_1 \le\lfloor D/2 \rfloor ℓ 1 ≤ ⌊ D /2 ⌋ . For equation (8) and equation (16) this is clear. For equation (7) , if W L W_L W L occurs in W ℓ 1 ⊗ ⋯ ⊗ W ℓ ν W_{\ell_1} \otimes\cdots\otimes W_{\ell_\nu} W ℓ 1 ⊗ ⋯ ⊗ W ℓ ν then by the Clebsch–Gordan rule ℓ ξ ≤ L + ∑ ξ ′ ≠ ξ ℓ ξ ′ \ell_\xi\le L + \sum_{\xi'\ne\xi}\ell_{\xi'} ℓ ξ ≤ L + ∑ ξ ′ = ξ ℓ ξ ′ for every ξ \xi ξ , and therefore
e ξ + ℓ ξ ≤ e ξ + L + ∑ ξ ′ ≠ ξ ℓ ξ ′ ≤ L + ∑ ξ ′ e ξ ′ = e + L ≤ D . e_\xi+ \ell_\xi\le e_\xi+ L + \sum_{\xi'\ne\xi}\ell_{\xi'} \le L + \sum_{\xi'}e_{\xi'} = e + L \le D. e ξ + ℓ ξ ≤ e ξ + L + ξ ′ = ξ ∑ ℓ ξ ′ ≤ L + ξ ′ ∑ e ξ ′ = e + L ≤ D .
For equation (15) we have ℓ 2 ≤ ℓ 1 + ℓ 3 \ell_2 \le\ell_1 + \ell_3 ℓ 2 ≤ ℓ 1 + ℓ 3 and ℓ 1 ≤ ℓ 2 + ℓ 3 \ell_1 \le\ell_2 + \ell_3 ℓ 1 ≤ ℓ 2 + ℓ 3 , and therefore
e 2 + ℓ 2 ≤ e 2 + ℓ 1 + ℓ 3 ≤ e 3 + ℓ 3 ≤ D and 2 ℓ 1 ≤ ℓ 1 + ℓ 2 + ℓ 3 ≤ e 3 + ℓ 3 ≤ D . e_2 + \ell_2 \le e_2 + \ell_1 + \ell_3 \le e_3 + \ell_3 \le D \qquad\text{and}\qquad2\ell_1 \le\ell_1 + \ell_2 + \ell_3 \le e_3 + \ell_3 \le D. e 2 + ℓ 2 ≤ e 2 + ℓ 1 + ℓ 3 ≤ e 3 + ℓ 3 ≤ D and 2 ℓ 1 ≤ ℓ 1 + ℓ 2 + ℓ 3 ≤ e 3 + ℓ 3 ≤ D .
It follows by induction on t t t that the useful coordinates do not change when we discard the coordinates with $\ell > \lfloor D/2 \rfloor, since these coordinates are not useful. The coordinates h i , k 00 ( T ) h_{i,k00}^{(T)} h i , k 00 ( T ) of degree ≤ D \le D ≤ D are of type ( e , 0 ) (e,0) ( e , 0 ) with e ≤ D e \le D e ≤ D , so they are useful, and thus E i ≤ D E_i^{\le D} E i ≤ D does not change. Finally, if E i E_i E i is a polynomial of degree ≤ D \le D ≤ D then the terms of degree larger than D D D cancel out, so E i = E i ≤ D E_i = E_i^{\le D} E i = E i ≤ D , and we can choose the coefficients of these terms to be zero. □ \square □
We now show that when the summation is over all points, more iterations can be used instead of a higher ν max \nu_{\max} ν m a x . For ν ≥ 1 \nu\ge1 ν ≥ 1 we define μ 0 = 0 \mu_0 = 0 μ 0 = 0 and μ t = ν ( μ t − 1 + 1 ) \mu_t = \nu(\mu_{t-1}+1) μ t = ν ( μ t − 1 + 1 ) for t ≥ 1 t \ge1 t ≥ 1 , that is μ t = ν + ν 2 + ⋯ + ν t \mu_t = \nu+ \nu^2 + \cdots+ \nu^t μ t = ν + ν 2 + ⋯ + ν t . In particular μ 1 = ν \mu_1 = \nu μ 1 = ν , for ν = 1 \nu= 1 ν = 1 we have μ t = t \mu_t = t μ t = t , and for ν = 2 \nu= 2 ν = 2 we have μ t = 2 t + 1 − 2 \mu_t = 2^{t+1} - 2 μ t = 2 t + 1 − 2 .
Proposition 29. Let n ≥ 2 n \ge2 n ≥ 2 and let ν , T ≥ 1 \nu,T \ge1 ν , T ≥ 1 be such that μ T ≥ min { D , n − 1 } \mu_T \ge\min\{D,n-1\} μ T ≥ min { D , n − 1 } . Then Proposition 8 and Proposition 25 hold also for MACE with T T T iterations, ν max = ν \nu_{\max} = \nu ν m a x = ν and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ , when the summation in equation (15) is over all points.
As a corollary of this proposition and Theorem 4, we obtain the following variant of Corollary 9:
Corollary 30. Let n ≥ 2 n \ge2 n ≥ 2 and set D = 18 n 2 − 18 n + 9 D = 18n^2 - 18n + 9 D = 18 n 2 − 18 n + 9 . Let ν , T ≥ 1 \nu,T \ge1 ν , T ≥ 1 be such that μ T ≥ n − 1 \mu_T \ge n - 1 μ T ≥ n − 1 . Then a MACE model with T T T iterations, ν max = ν \nu_{\max} = \nu ν m a x = ν and ℓ max = ⌊ D / 2 ⌋ \ell_{\max} = \lfloor D/2 \rfloor ℓ m a x = ⌊ D /2 ⌋ , in which the summation in equation (15) is over all points, is ( S E ( 3 ) × S n , R 3 × n ) (\mathrm{SE}(3) \times S_n,\mathbb{R}^{3\times n}) ( SE ( 3 ) × S n , R 3 × n ) complete. In particular, this holds for ν max = n − 1 \nu_{\max} = n - 1 ν m a x = n − 1 and T = 1 T = 1 T = 1 , for ν max = 2 \nu_{\max} = 2 ν m a x = 2 and T ≥ log 2 ( n + 1 ) − 1 T \ge\log_2(n+1)-1 T ≥ log 2 ( n + 1 ) − 1 , and for ν max = 1 \nu_{\max} = 1 ν m a x = 1 and T ≥ n − 1 T \ge n-1 T ≥ n − 1 .
Proof of Proposition 29. For m ≥ 0 m \ge0 m ≥ 0 and a polynomial H : ( R 3 ) m → W L H : (\mathbb{R}^{3})^{m} \to W_{L} H : ( R 3 ) m → W L of degree ≤ D \le D ≤ D we denote
S i ( H ) = ∑ j 1 , … , j m = 1 n H ( x j 1 − x i , … , x j m − x i ) , S_i(H) = \sum_{j_1,\ldots,j_m=1}^{n} H(x_{j_1}-x_i,\ldots,x_{j_m}-x_i), S i ( H ) = j 1 , … , j m = 1 ∑ n H ( x j 1 − x i , … , x j m − x i ) ,
and if H H H is equivariant we say that S i ( H ) S_i(H) S i ( H ) is an m m m -point sum centered at x i x_i x i (for m = 0 m=0 m = 0 these are the constants in W 0 W_0 W 0 ). Note that an m m m -point sum is also an m ′ m' m ′ -point sum for every m ′ ≥ m m' \ge m m ′ ≥ m , since if H H H does not depend on the last m ′ − m m'-m m ′ − m points then the sum over these points gives the constant n m ′ − m n^{m'-m} n m ′ − m . We prove by induction on t t t that we can choose the parameters of the first t t t iterations such that for every i i i , every μ t \mu_t μ t -point sum centered at x i x_i x i is a linear combination of the features h i , k L M ( t ) h_{i,kLM}^{(t)} h i , k L M ( t ) , with coefficients which do not depend on i i i . For t = 0 t=0 t = 0 this holds since h i ( 0 ) = 1 h_i^{(0)}=1 h i ( 0 ) = 1 .
Now assume that this holds for t t t , and denote m = μ t m=\mu_t m = μ t . Fix i i i and denote u j = x j − x i u_j=x_j-x_i u j = x j − x i , so that u i = 0 u_i=0 u i = 0 . Let ϕ : R 3 → W ℓ 1 \phi:\mathbb{R}^{3}\to W_{\ell_1} ϕ : R 3 → W ℓ 1 and H : ( R 3 ) m → W ℓ 2 H:(\mathbb{R}^{3})^{m}\to W_{\ell_2} H : ( R 3 ) m → W ℓ 2 be equivariant polynomials. Then ϕ ( x ) = R ( ∣ x ∣ ) Y ℓ 1 ( x / ∣ x ∣ ) \phi(x)=R(|x|)Y_{\ell_1}(x/|x|) ϕ ( x ) = R ( ∣ x ∣ ) Y ℓ 1 ( x /∣ x ∣ ) , where Y ℓ 1 Y_{\ell_1} Y ℓ 1 is the vector of the spherical harmonics of degree ℓ 1 \ell_1 ℓ 1 and R R R is a linear combination of the functions r 2 a + ℓ 1 r^{2a+\ell_1} r 2 a + ℓ 1 , and by the induction hypothesis S j ( H ) S_j(H) S j ( H ) is a linear combination of the features h j ( t ) h_j^{(t)} h j ( t ) . Therefore in equation 12 we can obtain the features
∑ j ≠ i ϕ ( u j ) ⊗ S j ( H ) = ∑ j ≠ i ∑ j 1 , … , j m = 1 n ϕ ( u j ) ⊗ H ( u j 1 − u j , … , u j m − u j ) = S i ( H ~ ) − S i ( H ~ 0 ) , \sum_{j\ne i}\phi(u_j)\otimes S_j(H)=\sum_{j\ne i}\sum_{j_1,\ldots,j_m=1}^{n}\phi(u_j)\otimes H(u_{j_1}-u_j,\ldots,u_{j_m}-u_j)=S_i(\widetilde{H})-S_i(\widetilde{H}_0), j = i ∑ ϕ ( u j ) ⊗ S j ( H ) = j = i ∑ j 1 , … , j m = 1 ∑ n ϕ ( u j ) ⊗ H ( u j 1 − u j , … , u j m − u j ) = S i ( H ) − S i ( H 0 ) ,
where
H ~ ( u , w 1 , … , w m ) = ϕ ( u ) ⊗ H ( w 1 − u , … , w m − u ) , H ~ 0 ( w 1 , … , w m ) = H ~ ( 0 , w 1 , … , w m ) , \widetilde{H}(u,w_1,\ldots,w_m)=\phi(u)\otimes H(w_1-u,\ldots,w_m-u),\qquad\widetilde{H}_0(w_1,\ldots,w_m)=\widetilde{H}(0,w_1,\ldots,w_m), H ( u , w 1 , … , w m ) = ϕ ( u ) ⊗ H ( w 1 − u , … , w m − u ) , H 0 ( w 1 , … , w m ) = H ( 0 , w 1 , … , w m ) ,
and the tensor product is decomposed into the components in W ℓ 3 W_{\ell_3} W ℓ 3 using the Clebsch-Gordan coefficients. Here we used x j s − x j = u j s − u j x_{j_s}-x_j=u_{j_s}-u_j x j s − x j = u j s − u j , and the fact that the term of j = i j=i j = i in S i ( H ~ ) S_i(\widetilde{H}) S i ( H ) is S i ( H ~ 0 ) S_i(\widetilde{H}_0) S i ( H 0 ) . Recall that every equivariant polynomial of degree ≤ D \le D ≤ D in two groups of points is a linear combination of products of equivariant polynomials in each of the groups, decomposed using the Clebsch-Gordan coefficients, since the polynomials in both groups are the tensor product of the polynomials in each group. The same holds for ν \nu ν groups of points, with the generalized Clebsch-Gordan coefficients of equation 4. Since ( u , w 1 , … , w m ) ↦ ( u , w 1 − u , … , w m − u ) (u,w_1,\ldots,w_m)\mapsto(u,w_1-u,\ldots,w_m-u) ( u , w 1 , … , w m ) ↦ ( u , w 1 − u , … , w m − u ) is an invertible linear map which commutes with the rotations, it follows that every equivariant polynomial G : ( R 3 ) m + 1 → W L G:(\mathbb{R}^{3})^{m+1}\to W_L G : ( R 3 ) m + 1 → W L of degree ≤ D \le D ≤ D is a linear combination of polynomials of the form H ~ \widetilde{H} H , and thus we obtain S i ( G ) − S i ( G 0 ) S_i(G)-S_i(G_0) S i ( G ) − S i ( G 0 ) for every such G G G , where G 0 ( w 1 , … , w m ) = G ( 0 , w 1 , … , w m ) G_0(w_1,\ldots,w_m)=G(0,w_1,\ldots,w_m) G 0 ( w 1 , … , w m ) = G ( 0 , w 1 , … , w m ) . If G G G does not depend on u u u then S i ( G ) = n S i ( G 0 ) S_i(G)=nS_i(G_0) S i ( G ) = n S i ( G 0 ) , so we obtain ( n − 1 ) S i ( G 0 ) (n-1)S_i(G_0) ( n − 1 ) S i ( G 0 ) , and since n ≥ 2 n\ge2 n ≥ 2 we obtain all m m m -point sums. It follows that every ( m + 1 ) (m+1) ( m + 1 ) -point sum is a linear combination of the features A i ( t ) A_i^{(t)} A i ( t ) . In equation 4 we obtain products of ν \nu ν such sums, which are the ν ( m + 1 ) \nu(m+1) ν ( m + 1 ) -point sums S i ( H 1 ⊗ ⋯ ⊗ H ν ) S_i(H_1\otimes\cdots\otimes H_\nu) S i ( H 1 ⊗ ⋯ ⊗ H ν ) , where H ξ H_\xi H ξ depends on the ξ \xi ξ -th group of m + 1 m+1 m + 1 points. Every equivariant polynomial of degree ≤ D \le D ≤ D in ν ( m + 1 ) \nu(m+1) ν ( m + 1 ) points is a linear combination of such products, and therefore every μ t + 1 \mu_{t+1} μ t + 1 -point sum is a linear combination of the features h i ( t + 1 ) h_i^{(t+1)} h i ( t + 1 ) .
Finally, let p p p be as in Proposition 25. By the proof of that proposition, p i p_i p i is a linear combination of products of at most min { D , n − 1 } ≤ μ T \min\{D,n-1\}\le\mu_T min { D , n − 1 } ≤ μ T sums of the form ∑ j ≠ i ( x j − x i ) α \sum_{j\ne i}(x_j-x_i)^\alpha ∑ j = i ( x j − x i ) α with α ≠ 0 \alpha\ne0 α = 0 , with coefficients which do not depend on i i i . The term of j = i j=i j = i is zero, so these sums are equal to ∑ j = 1 n ( x j − x i ) α \sum_{j=1}^{n}(x_j-x_i)^\alpha ∑ j = 1 n ( x j − x i ) α . Therefore p i = S i ( H ) p_i=S_i(H) p i = S i ( H ) for a polynomial H : ( R 3 ) μ T → R H:(\mathbb{R}^{3})^{\mu_T}\to\mathbb{R} H : ( R 3 ) μ T → R of degree ≤ D \le D ≤ D which does not depend on i i i , and since p i p_i p i is rotation invariant we can choose H H H to be rotation invariant by averaging over the rotations. Thus p i p_i p i is a μ T \mu_T μ T -point sum, so it is a linear combination of the features h i , k 00 ( T ) h_{i,k00}^{(T)} h i , k 00 ( T ) , and we choose the MLP to be this linear combination. In this construction all the polynomials can be chosen to be homogeneous, with a separate channel for every polynomial (if ϕ \phi ϕ and H H H are homogeneous then H ~ \widetilde{H} H is homogeneous of degree deg ϕ + deg H \deg\phi+\deg H deg ϕ + deg H , and H ~ 0 ≠ 0 \widetilde{H}_0\ne0 H 0 = 0 only if ϕ \phi ϕ is constant), so the assumptions of Lemma 28 hold, and therefore ℓ max = ⌊ D / 2 ⌋ \ell_{\max}=\lfloor D/2\rfloor ℓ m a x = ⌊ D /2 ⌋ is sufficient. Proposition 8 follows as in the case of a single iteration. □ \square □
We now give an example which illustrates Proposition 29 for ν = 2 \nu=2 ν = 2 and T = 2 T=2 T = 2 . For n ≥ 4 n\ge4 n ≥ 4 , the polynomial in this example cannot be expressed by a single iteration with ν max = 2 \nu_{\max}=2 ν m a x = 2 and a linear readout as in Lemma 28.
Example 31. Fix i i i and denote u j = x j − x i u_j = x_j - x_i u j = x j − x i . Let v i = ∑ j ≠ i u j v_i = \sum_{j \ne i} u_j v i = ∑ j = i u j and M i = ∑ j ≠ i u j u j T M_i = \sum_{j \ne i} u_j u_j^{\mathsf{T}} M i = ∑ j = i u j u j T , and consider the invariant polynomial
q i ( X ) = v i T M i v i = ∑ j 1 , j 2 , j 3 ≠ i ⟨ u j 1 , u j 2 ⟩ ⟨ u j 2 , u j 3 ⟩ . q_i(X) = v_i^{\mathsf{T}} M_i v_i = \sum_{j_1,j_2,j_3 \ne i} \langle u_{j_1},u_{j_2}\rangle\langle u_{j_2},u_{j_3}\rangle. q i ( X ) = v i T M i v i = j 1 , j 2 , j 3 = i ∑ ⟨ u j 1 , u j 2 ⟩ ⟨ u j 2 , u j 3 ⟩ .
A single iteration of MACE with ν max = 3 \nu_{\max}=3 ν m a x = 3 can express q i q_i q i , since it is a linear combination of products of three of the features a i , k ℓ m a_{i,k\ell m} a i , k ℓ m . For n ≥ 4 n \ge4 n ≥ 4 , a single iteration with ν max = 2 \nu_{\max}=2 ν m a x = 2 in which E i E_i E i is a linear combination of the features m i , k 00 m_{i,k00} m i , k 00 cannot express q i q_i q i : these features are sums of functions which depend on at most two of the points u j u_j u j , while q i q_i q i contains the monomials of ⟨ u j 1 , u j 2 ⟩ ⟨ u j 2 , u j 3 ⟩ \langle u_{j_1},u_{j_2}\rangle\langle u_{j_2},u_{j_3}\rangle ⟨ u j 1 , u j 2 ⟩ ⟨ u j 2 , u j 3 ⟩ with j 1 , j 2 , j 3 j_1,j_2,j_3 j 1 , j 2 , j 3 distinct.
We now show that two iterations with ν max = 2 \nu_{\max}=2 ν m a x = 2 and ℓ max = 2 \ell_{\max}=2 ℓ m a x = 2 can express q i q_i q i . In the first iteration we compute for every point x j x_j x j the feature v j = ∑ j ′ ≠ j ( x j ′ − x j ) v_j = \sum_{j' \ne j}(x_{j'}-x_j) v j = ∑ j ′ = j ( x j ′ − x j ) , using ν = 1 \nu=1 ν = 1 , ℓ = 1 \ell=1 ℓ = 1 and R ( r ) = r R(r)=r R ( r ) = r , and we keep the constant feature h j ( 0 ) = 1 h_j^{(0)}=1 h j ( 0 ) = 1 using U ~ ( 0 ) \widetilde{U}^{(0)} U ( 0 ) . Since the summation is over all points, we have
v j = ∑ j ′ = 1 n ( x j ′ − x i ) − n ( x j − x i ) = v i − n u j . v_j = \sum_{j'=1}^{n}(x_{j'}-x_i)-n(x_j-x_i)=v_i-nu_j. v j = j ′ = 1 ∑ n ( x j ′ − x i ) − n ( x j − x i ) = v i − n u j .
Therefore in the second iteration, choosing ℓ 1 = ℓ 2 = 1 \ell_1=\ell_2=1 ℓ 1 = ℓ 2 = 1 and R ( r ) = r R(r)=r R ( r ) = r in equation 12, we obtain the entries of
∑ j ≠ i u j ⊗ v j = v i ⊗ v i − n M i . \sum_{j \ne i}u_j\otimes v_j=v_i\otimes v_i-nM_i. j = i ∑ u j ⊗ v j = v i ⊗ v i − n M i .
and choosing ℓ 2 = 0 \ell_2=0 ℓ 2 = 0 , ℓ 1 ∈ { 0 , 2 } \ell_1\in\{0,2\} ℓ 1 ∈ { 0 , 2 } and R ( r ) = r 2 R(r)=r^2 R ( r ) = r 2 we obtain the entries of M i M_i M i . Using ν = 2 \nu=2 ν = 2 we obtain
⟨ M i , v i ⊗ v i − n M i ⟩ + n ⟨ M i , M i ⟩ = v i T M i v i = q i ( X ) . \langle M_i,v_i\otimes v_i-nM_i\rangle+n\langle M_i,M_i\rangle=v_i^{\mathsf{T}}M_iv_i=q_i(X). ⟨ M i , v i ⊗ v i − n M i ⟩ + n ⟨ M i , M i ⟩ = v i T M i v i = q i ( X ) .
Remark 32. The proof of Proposition 29 uses the fact that the summation is over all points. For t ≥ 1 t \ge1 t ≥ 1 the features A i ( t ) A_i^{(t)} A i ( t ) in equation 12 are computed from the hidden states h j ( t ) h_j^{(t)} h j ( t ) of the other points, while h i ( t ) h_i^{(t)} h i ( t ) itself only appears in the linear term of equation 13, so the sums from the previous iterations are centered at the points x j x_j x j . In the proof we rewrite them as sums centered at x i x_i x i . When the summation in equation 12 is only over the points at distance at most ρ \rho ρ from x i x_i x i , in general the neighbors of x j x_j x j are different from the neighbors of x i x_i x i , and this argument does not apply.
Local models: proof of Theorem 11
Here we prove Theorem 11. We begin by restating the theorem.
Theorem 11. Let K ≤ n K \le n K ≤ n be natural numbers and ρ > 0 \rho> 0 ρ > 0 , and let G = S E ( 3 ) × S n G = SE(3) \times S_n G = S E ( 3 ) × S n . Set
D ( j ) = 18 j 2 − 18 j + 9 , D = D ( K ) . D(j)=18j^2-18j+9,\qquad D=D(K). D ( j ) = 18 j 2 − 18 j + 9 , D = D ( K ) . Then local MACE with cutoff ρ \rho ρ , T ≥ 1 T \ge1 T ≥ 1 iterations, ν max = K − 1 \nu_{\max}=K-1 ν m a x = K − 1 and ℓ max = ⌊ D / 2 ⌋ \ell_{\max}=\lfloor D/2\rfloor ℓ m a x = ⌊ D /2 ⌋ , is ( G , R ρ , K s ) (G,\mathcal{R}_{\rho,K}^{s}) ( G , R ρ , K s ) complete.
Proof of Theorem 11
The equations for a single MACE iteration are those given above, with the only difference that the summation in equation 3 is over the points at distance at most ρ \rho ρ from x i x_i x i rather than over all points. In this subsection we call this version MACE, or local MACE, and refer to the option of summing over all points as global MACE. The theorem rests on the following lemma.
Lemma 33. There exists an instantiation of MACE with T = 1 T=1 T = 1 , ν max = K − 1 \nu_{\max}=K-1 ν m a x = K − 1 and ℓ max = ⌊ D / 2 ⌋ \ell_{\max}=\lfloor D/2\rfloor ℓ m a x = ⌊ D /2 ⌋ , where D = D ( K ) = 18 K 2 − 18 K + 9 D=D(K)=18K^2-18K+9 D = D ( K ) = 18 K 2 − 18 K + 9 , such that, if X , Y X,Y X , Y are ( ρ , K ) (\rho,K) ( ρ , K ) regular, then
For all 1 ≤ i , k ≤ n 1 \le i,k \le n 1 ≤ i , k ≤ n , if E i ( X ) = E k ( Y ) E_i(X)=E_k(Y) E i ( X ) = E k ( Y ) then there exists a rotation R ∈ S O ( d ) R \in SO(d) R ∈ S O ( d ) , such that
{ x j − x i ∣ ∥ x j − x i ∥ ≤ ρ } = { R ( y j − y k ) ∣ ∥ y j − y k ∥ ≤ ρ } . \{x_j-x_i\mid\|x_j-x_i\|\le\rho\}=\{R(y_j-y_k)\mid\|y_j-y_k\|\le\rho\}. { x j − x i ∣ ∥ x j − x i ∥ ≤ ρ } = { R ( y j − y k ) ∣ ∥ y j − y k ∥ ≤ ρ } . If E ( X ) = E ( Y ) E(X)=E(Y) E ( X ) = E ( Y ) then the node features of X X X and Y Y Y are equal, up to permutation, namely we have the multiset equality
{ E i ( X ) , i = 1 , … , n } = { E i ( Y ) , i = 1 , … , n } \{E_i(X),i=1,\ldots,n\}=\{E_i(Y),i=1,\ldots,n\} { E i ( X ) , i = 1 , … , n } = { E i ( Y ) , i = 1 , … , n }
Proof of Lemma 33. To prove the first part of the lemma, we note that if we remove from X X X and Y Y Y the points which are at distance more than ρ \rho ρ from x i x_i x i and y k y_k y k , this does not influence the features E i ( X ) E_i(X) E i ( X ) and E k ( Y ) E_k(Y) E k ( Y ) obtained from the first iteration of MACE. Moreover, the feature A i , 000 A_{i,000} A i , 000 with R 00 = 1 R_{00}=1 R 00 = 1 counts the number of points, so point clouds with a different number of points are separated. Accordingly, it is sufficient to consider point clouds X , Y X,Y X , Y which have the same number of points n ≤ K n \le K n ≤ K (and n ≥ d + 1 n \ge d+1 n ≥ d + 1 by (O) together with the overlap requirement in the definition of ρ \rho ρ -adjacency), all of them at distance at most ρ \rho ρ from x i x_i x i and y k y_k y k respectively. To prove this, it is sufficient to show that we can choose an instantiation of global MACE such that, if there exists some point clouds X , Y ∈ R d × n X,Y \in\mathbb{R}^{d \times n} X , Y ∈ R d × n and i , k ∈ [ n ] i,k \in[n] i , k ∈ [ n ] such that
{ x j − x i ∣ j ∈ [ n ] } ≠ { R ( y j − y k ) ∣ j ∈ [ n ] } , ∀ R ∈ S O ( d ) , \{x_j-x_i \mid j \in[n]\} \ne\{R(y_j-y_k) \mid j \in[n]\}, \quad\forall R \in SO(d), { x j − x i ∣ j ∈ [ n ]} = { R ( y j − y k ) ∣ j ∈ [ n ]} , ∀ R ∈ S O ( d ) ,
then E i ( X ) ≠ E k ( Y ) E_i(X) \ne E_k(Y) E i ( X ) = E k ( Y ) . This follows from our results on global MACE and invariant polynomials. Indeed, by Theorem 4 there exists an S O ( d ) × S n SO(d) \times S_n S O ( d ) × S n invariant polynomial ϕ : R d × n → R \phi: \mathbb{R}^{d \times n} \to\mathbb{R} ϕ : R d × n → R of degree ≤ D ( n ) ≤ D ( K ) \le D(n) \le D(K) ≤ D ( n ) ≤ D ( K ) such that
ϕ ( x 1 − x i , … , x n − x i ) ≠ ϕ ( y 1 − y k , … , y n − y k ) . \phi(x_1-x_i,\ldots,x_n-x_i) \ne\phi(y_1-y_k,\ldots,y_n-y_k). ϕ ( x 1 − x i , … , x n − x i ) = ϕ ( y 1 − y k , … , y n − y k ) .
Using this, we can define a permutation equivariant and rotation and translation invariant polynomial p : R d × n → R n p : \mathbb{R}^{d \times n} \to\mathbb{R}^n p : R d × n → R n whose coordinates are given by
p i ( Z ) = ϕ ( z 1 − z i , … , z n − z i ) p_i(Z)=\phi(z_1-z_i,\ldots,z_n-z_i) p i ( Z ) = ϕ ( z 1 − z i , … , z n − z i )
By Proposition 25, there exists a global MACE model with the prescribed size, such that p ( Z ) = ( E 1 ( Z ) , … , E n ( Z ) ) p(Z)=(E_1(Z),\ldots,E_n(Z)) p ( Z ) = ( E 1 ( Z ) , … , E n ( Z )) , and then
E i ( X ) = ϕ ( x 1 − x i , … , x n − x i ) ≠ ϕ ( y 1 − y k , … , y n − y k ) = E k ( Y ) E_i(X)=\phi(x_1-x_i,\ldots,x_n-x_i) \ne\phi(y_1-y_k,\ldots,y_n-y_k)=E_k(Y) E i ( X ) = ϕ ( x 1 − x i , … , x n − x i ) = ϕ ( y 1 − y k , … , y n − y k ) = E k ( Y )
This concludes the proof of the first part of the claim (note that we in fact proved pairwise separation by a MACE architecture, but since the polynomials of bounded degree have a finite space, the extension to global separation is immediate. The same architecture can be used for all n ≤ K n \le K n ≤ K : we choose the node feature E i E_i E i to be the vector of all the invariant features B i , η ν k 00 B_{i,\eta\nu k_{00}} B i , η ν k 00 with ν ≤ K − 1 \nu\le K-1 ν ≤ K − 1 from the proof of Proposition 25, which include the feature A i , 000 A_{i,000} A i , 000 above, using a separate channel in equation 5 for every η ν \eta_\nu η ν . Then by equation 10 and equation 11 all the polynomials p i p_i p i above are linear combinations of the coordinates of E i E_i E i ).
The second part of the claim follows from the fact that there exist MLPs such that the mapping ( E 1 , … , E n ) ↦ ∑ i = 1 n MLP ( E i ) (E_1,\ldots,E_n) \mapsto\sum_{i=1}^n \operatorname{MLP}(E_i) ( E 1 , … , E n ) ↦ ∑ i = 1 n MLP ( E i ) is injective as a function of multisets [see 2 ] .
Proof of Theorem 11. We choose the MACE architecture that satisfies the conditions of Lemma 33. For T > 1 T>1 T > 1 iterations, by Proposition 27 there exists a MACE architecture with T T T iterations which has the same node features, so it is sufficient to consider T = 1 T=1 T = 1 . It remains to show that these conditions imply completeness on the subset of strongly regular point clouds. To do this, it is sufficient to show that, if we are given a multiset of node features
{ E 1 , … , E n } \{E_1,\ldots,E_n\} { E 1 , … , E n }
obtained from applying MACE to some strongly regular X X X , then we can uniquely reconstruct X X X , up to an S O ( d ) × S n SO(d) \times S_n S O ( d ) × S n transformation. The lemma immediately allows us to reconstruct from each feature E i E_i E i , a subset X [ i ] X[i] X [ i ] of ≤ K \le K ≤ K point of X X X , up to rigid motion. What remains to show is that there is a unique reconstruction up to a single rigid motion.
We perform this reconstruction as follows: at a first step, we choose some arbitrary node feature and name it E 1 E_1 E 1 . We choose some arbitrary orientation for X [ 1 ] X[1] X [ 1 ] , the subset inferred from E 1 E_1 E 1 . It now remains to show that the remainder of X X X is uniquely defined by this choice. This we do iteratively:
First, we go over all E j E_j E j : from each E j E_j E j we can reconstruct X [ j ] X[j] X [ j ] up to rigid motion. We can then check whether X [ j ] X[j] X [ j ] has a subset of cardinality d + 1 d+1 d + 1 which is congruent to a subset of d + 1 d+1 d + 1 points in X [ 1 ] X[1] X [ 1 ] , which is a finite combinatorial search problem. If so, then by strong regularity these congruent points are in fact identical, and so we know their position. Once these points are fixed, we can deduce where all of the X [ j ] X[j] X [ j ] points are, since by assumption these d + 1 d+1 d + 1 points are affinely independent, and we know X [ j ] X[j] X [ j ] up to rigid motion. By the overlap requirement in the definition of ρ \rho ρ -adjacency, the reconstruction step will succeed for all j j j which are adjacent to 1.
In the next step, we repeat this, now comparing each not yet reconstructed set X [ j ] X[j] X [ j ] with all the sets which were already reconstructed. We continue iteratively. Since we assume that the ρ \rho ρ -adjacency graph is connected, this procedure will terminate with the full reconstruction of X X X . ∎
Lower bounds on hyperparameters
Throughout this subsection a local MACE model with cutoff ρ \rho ρ , depth T T T and hyperparameters ℓ max , ν max , ν r e a d \ell_{\max},\nu_{\max},\nu_{\mathrm{read}} ℓ m a x , ν m a x , ν read is the model equation (6) –equation (10) iterated T T T times, with the sum in equation (6) restricted to x j ∈ B ( x , ρ ) ∩ X x_j \in B(x,\rho) \cap X x j ∈ B ( x , ρ ) ∩ X for x = x i x=x_i x = x i and the neighbour’s feature of the previous iteration inserted in it: the feature vector of any x ∈ X x \in X x ∈ X at step t t t is denoted h ( t ) ( x ) h^{(t)}(x) h ( t ) ( x ) and lies in a finite sum of copies of W 0 ⊕ ⋯ ⊕ W ℓ max W_0 \oplus\cdots\oplus W_{\ell_{\max}} W 0 ⊕ ⋯ ⊕ W ℓ m a x , one iteration is a polynomial of degree at most ν max \nu_{\max} ν m a x in the aggregated features A A A , the site output is an invariant polynomial of degree at most ν r e a d \nu_{\mathrm{read}} ν read in h ( T ) ( x ) h^{(T)}(x) h ( T ) ( x ) , and the cloud output is an arbitrary function of the multiset of site outputs. The radial functions R k ℓ R_{k\ell} R k ℓ are arbitrary continuous functions, the number of channels is unrestricted, and arbitrary continuous functions may be applied to invariant channels at any stage, so that the MLPs of equation (9) are covered.
The following family is the local form of the counter-rotating polygons used to prove Theorem 1. Its whole point is that all the distances a model can read are constant along it, so that the radial functions carry no information whatsoever and only the angular resolution of the model is at stake.
Definition 34. Let p , q ≥ 3 p,q \ge3 p , q ≥ 3 . For α , β ∈ R \alpha,\beta\in\mathbb{R} α , β ∈ R we define Y ( α , β ) ⊂ R 3 Y(\alpha,\beta) \subset\mathbb{R}^3 Y ( α , β ) ⊂ R 3 to be the set containing the origin c c c together with
a j = ( 9 20 cos ( 2 π j p + α ) , 9 20 sin ( 2 π j p + α ) , − 3 5 ) , b k = ( 7 20 cos ( 2 π k q + β ) , 7 20 sin ( 2 π k q + β ) , 3 5 ) , a_j=\left(\frac{9}{20}\cos\left(\frac{2\pi j}{p}+\alpha\right),\frac{9}{20}\sin\left(\frac{2\pi j}{p}+\alpha\right),-\frac{3}{5}\right),\qquad b_k=\left(\frac{7}{20}\cos\left(\frac{2\pi k}{q}+\beta\right),\frac{7}{20}\sin\left(\frac{2\pi k}{q}+\beta\right),\frac{3}{5}\right), a j = ( 20 9 cos ( p 2 π j + α ) , 20 9 sin ( p 2 π j + α ) , − 5 3 ) , b k = ( 20 7 cos ( q 2 π k + β ) , 20 7 sin ( q 2 π k + β ) , 5 3 ) , for j ≤ p j \le p j ≤ p and k ≤ q k \le q k ≤ q , and let Y p , q : = { Y ( α , β ) : α , β ∈ R } \mathcal{Y}_{p,q}:=\{Y(\alpha,\beta):\alpha,\beta\in\mathbb{R}\} Y p , q := { Y ( α , β ) : α , β ∈ R } , a family of clouds of n = p + q + 1 n=p+q+1 n = p + q + 1 points.
Lemma 35. Every Y ∈ Y p , q Y \in\mathcal{Y}_{p,q} Y ∈ Y p , q is ( 1 , n ) (1,n) ( 1 , n ) -regular. Its cutoff balls are B 1 Y ( c ) = Y B_1^Y(c)=Y B 1 Y ( c ) = Y , B 1 Y ( a j ) = { c } ∪ { a 1 , … , a p } B_1^Y(a_j)=\{c\}\cup\{a_1,\ldots,a_p\} B 1 Y ( a j ) = { c } ∪ { a 1 , … , a p } and B 1 Y ( b k ) = { c } ∪ { b 1 , … , b q } B_1^Y(b_k)=\{c\}\cup\{b_1,\ldots,b_q\} B 1 Y ( b k ) = { c } ∪ { b 1 , … , b q } . Moreover Y ( α , β ) Y(\alpha,\beta) Y ( α , β ) and Y ( α ′ , β ′ ) Y(\alpha',\beta') Y ( α ′ , β ′ ) lie in the same SE ( 3 ) × S n \operatorname{SE}(3)\times S_n SE ( 3 ) × S n -orbit if and only if α − β ≡ α ′ − β ′ \alpha-\beta\equiv\alpha'-\beta' α − β ≡ α ′ − β ′ (mod 2 π / lcm ( p , q ) 2\pi/\operatorname{lcm}(p,q) 2 π / lcm ( p , q ) ), so Y p , q \mathcal{Y}_{p,q} Y p , q meets infinitely many orbits.
Proof. We note that for all choices of indices j , j ′ , k , k ′ j,j',k,k' j , j ′ , k , k ′ there holds ∥ c − a j ∥ = ( 9 / 20 ) 2 + ( 3 / 5 ) 2 = 3 / 4 \lVert c-a_j\rVert=\sqrt{(9/20)^2+(3/5)^2}=3/4 ∥ c − a j ∥ = ( 9/20 ) 2 + ( 3/5 ) 2 = 3/4 , ∥ c − b k ∥ = ( 7 / 20 ) 2 + ( 3 / 5 ) 2 < 3 / 4 \lVert c-b_k\rVert=\sqrt{(7/20)^2+(3/5)^2}<3/4 ∥ c − b k ∥ = ( 7/20 ) 2 + ( 3/5 ) 2 < 3/4 , ∥ a j − a j ′ ∥ ≤ 9 / 10 \lVert a_j-a_{j'}\rVert\le9/10 ∥ a j − a j ′ ∥ ≤ 9/10 , ∥ b k − b k ′ ∥ ≤ 7 / 10 \lVert b_k-b_{k'}\rVert\le7/10 ∥ b k − b k ′ ∥ ≤ 7/10 and ∥ a j − b k ∥ ≥ 6 / 5 \lVert a_j-b_k\rVert\ge6/5 ∥ a j − b k ∥ ≥ 6/5 . This gives the three cutoff balls B 1 Y ( ⋅ ) B_1^Y(\cdot) B 1 Y ( ⋅ ) as claimed, and (D), (K) with K = n K=n K = n are immediate. For (O), the ball of a j a_j a j meets the ball of c c c in { c , a 1 , … , a p } \{c,a_1,\ldots,a_p\} { c , a 1 , … , a p } , which contains three non-collinear points of the plane z = − 3 / 5 z=-3/5 z = − 3/5 together with c c c , hence four affinely independent points, so a j a_j a j and c c c are ρ \rho ρ -adjacent; the same holds for each b k b_k b k , and the adjacency graph is connected.
For the second claim, c c c is the only point of Y Y Y at distance 3 / 4 3/4 3/4 from p p p points of a common plane and < 3 / 4 <3/4 < 3/4 from q q q points of another, so any isometry carrying Y ( α , β ) Y(\alpha,\beta) Y ( α , β ) to Y ( α ′ , β ′ ) Y(\alpha',\beta') Y ( α ′ , β ′ ) fixes c c c and the two rings having different cardinalities, radii and heights, maps each ring to the corresponding one. It therefore preserves the axis and each ring plane and, being orientation preserving, is the rotation by some angle s s s about the axis, denoted g s g_s g s . Since the ring phases are defined modulo 2 π / p 2\pi/p 2 π / p and 2 π / q 2\pi/q 2 π / q , this says α ′ − α ∈ s + 2 π p Z \alpha'-\alpha\in s+\frac{2\pi}{p}\mathbb{Z} α ′ − α ∈ s + p 2 π Z and β ′ − β ∈ s + 2 π q Z \beta'-\beta\in s+\frac{2\pi}{q}\mathbb{Z} β ′ − β ∈ s + q 2 π Z , whence ( α ′ − β ′ ) − ( α − β ) ∈ 2 π p Z + 2 π q Z = 2 π lcm ( p , q ) Z (\alpha'-\beta')-(\alpha-\beta)\in\frac{2\pi}{p}\mathbb{Z}+\frac{2\pi}{q}\mathbb{Z}=\frac{2\pi}{\operatorname{lcm}(p,q)}\mathbb{Z} ( α ′ − β ′ ) − ( α − β ) ∈ p 2 π Z + q 2 π Z = lcm ( p , q ) 2 π Z . The converse is clear. □
Lemma 36 (frequency budget). Let a local MACE model be applied to elements of Y p , q \mathcal{Y}_{p,q} Y p , q , and suppose that the continuous functions it applies to invariant channels are applied only to channels that are constant on Y p , q \mathcal{Y}_{p,q} Y p , q ; by the proof of Theorem 37 , this holds automatically whenever ℓ max ∑ i = 1 T ν max i < 2 min ( p , q ) \ell_{\max}\sum_{i=1}^{T}\nu_{\max}^{i}<2\min(p,q) ℓ m a x ∑ i = 1 T ν m a x i < 2 min ( p , q ) . Then every component of every h ( t ) ( x ) h^{(t)}(x) h ( t ) ( x ) is a trigonometric polynomial in ( α , β ) (\alpha,\beta) ( α , β ) with Fourier support contained in { ( m 1 , m 2 ) ∈ Z 2 : ∣ m 1 ∣ + ∣ m 2 ∣ ≤ ω t } \{(m_1,m_2)\in\mathbb{Z}^2:|m_1|+|m_2|\le\omega_t\} {( m 1 , m 2 ) ∈ Z 2 : ∣ m 1 ∣ + ∣ m 2 ∣ ≤ ω t } , where ω 0 = 0 \omega_0=0 ω 0 = 0 and ω t = ν max ( ℓ max + ω t − 1 ) \omega_t=\nu_{\max}(\ell_{\max}+\omega_{t-1}) ω t = ν m a x ( ℓ m a x + ω t − 1 ) , so that ω T = ℓ max ∑ i = 1 T ν max i \omega_T=\ell_{\max}\sum_{i=1}^{T}\nu_{\max}^{i} ω T = ℓ m a x ∑ i = 1 T ν m a x i , and the site outputs have Fourier support in ∣ m 1 ∣ + ∣ m 2 ∣ ≤ ν r e a d ω T |m_1|+|m_2|\le\nu_{\mathrm{read}}\omega_T ∣ m 1 ∣ + ∣ m 2 ∣ ≤ ν read ω T .
Proof. By Lemma 35 every pair of points within the cutoff consists of c c c and a ring point or of two points of the same ring. The length of such a pair does not depend on ( α , β ) (\alpha,\beta) ( α , β ) , so every R k ℓ R_{k\ell} R k ℓ in equation 3 contributes a constant. Its direction is g α u ^ g_\alpha\hat{u} g α u ^ for a fixed u ^ \hat{u} u ^ (and where g s g_s g s denotes the rotation about the axis of Y ( α , β ) Y(\alpha,\beta) Y ( α , β ) by angle s s s ) when both points belong to ring A A A or to { c } \{c\} { c } . During A A A , because increasing α \alpha α by s s s rotates that part of the cloud rigidly by g s g_s g s ; and it is g β u ^ g_\beta\hat{u} g β u ^ in the two symmetric cases. Since Y ℓ m ( g α u ^ ) = e i m α Y ℓ m ( u ^ ) Y_\ell^m(g_\alpha\hat{u})=e^{im\alpha}Y_\ell^m(\hat{u}) Y ℓ m ( g α u ^ ) = e im α Y ℓ m ( u ^ ) for the rotation about the axis, each such factor
{#eq:}
has Fourier support ∣ m 1 ∣ ≤ ℓ ≤ ℓ max |m_1| \le\ell\le\ell_{\max} ∣ m 1 ∣ ≤ ℓ ≤ ℓ m a x , m 2 = 0 m_2 = 0 m 2 = 0 or ∣ m 2 ∣ ≤ ℓ ≤ ℓ max |m_2| \le\ell\le\ell_{\max} ∣ m 2 ∣ ≤ ℓ ≤ ℓ m a x , m 1 = 0 m_1 = 0 m 1 = 0 . Hence each summand of equation 3, being a product of a constant, such a factor and a feature of the previous iteration, has support bounded by ℓ max + ω t − 1 \ell_{\max} + \omega_{t-1} ℓ m a x + ω t − 1 , and the same holds for the total sum of these terms. Passing to equation 4 multiplies at most ν max \nu_{\max} ν m a x such objects and supports add under multiplication, giving ω t ≤ ν max ( ℓ max + ω t − 1 ) \omega_t \le\nu_{\max}(\ell_{\max} + \omega_{t-1}) ω t ≤ ν m a x ( ℓ m a x + ω t − 1 ) ; equation 5 is linear, and by assumption the continuous functions applied to invariant channels only produce constants. The site output is an invariant polynomial of degree at most ν r e a d \nu_{\mathrm{read}} ν read in h ( T ) ( x ) h^{(T)}(x) h ( T ) ( x ) , so the same argument bounds its support by ν r e a d ω T \nu_{\mathrm{read}}\omega_T ν read ω T .
The site outputs are constrained by the symmetries of the family in a way that depends on the site. Write s x ( α , β ) s_x(\alpha,\beta) s x ( α , β ) for the output at the site x x x . Increasing β \beta β by 2 π / q 2\pi/q 2 π / q leaves the cloud unchanged and fixes c c c and every a j a_j a j , so s c s_c s c and s a j s_{a_j} s a j are 2 π / q 2\pi/q 2 π / q -periodic in β \beta β ; increasing α \alpha α by 2 π / p 2\pi/p 2 π / p leaves the cloud unchanged and fixes c c c but carries a j a_j a j to a j + 1 a_{j+1} a j + 1 , so s c s_c s c is 2 π / p 2\pi/p 2 π / p -periodic in α \alpha α whereas s a j ( α + 2 π / p , β ) = s a j + 1 ( α , β ) s_{a_j}(\alpha+2\pi/p,\beta)=s_{a_{j+1}}(\alpha,\beta) s a j ( α + 2 π / p , β ) = s a j + 1 ( α , β ) : the multiset of ring outputs is periodic, an individual ring output is not. Finally every site output is unchanged by the rotation g s g_s g s , which carries Y ( α , β ) Y(\alpha,\beta) Y ( α , β ) to Y ( α + s , β + s ) Y(\alpha+s,\beta+s) Y ( α + s , β + s ) .
Theorem 37. Let p , q ≥ 3 p,q \ge3 p , q ≥ 3 . If a local MACE model separates Y p , q Y_{p,q} Y p , q then
ν r e a d ⋅ ℓ max ⋅ ∑ i = 1 T ν max i ≥ 2 min ( p , q ) , \nu_{\mathrm{read}}\cdot\ell_{\max}\cdot\sum_{i=1}^{T}\nu_{\max}^{i}\ge2\min(p,q), ν read ⋅ ℓ m a x ⋅ i = 1 ∑ T ν m a x i ≥ 2 min ( p , q ) , and if its readout is that of equation 6–equation 7, an arbitrary function of the invariant channels at each point followed by a sum, then already
ℓ max ∑ i = 1 T ν max i ≥ 2 min ( p , q ) . \ell_{\max}\sum_{i=1}^{T}\nu_{\max}^{i}\ge2\min(p,q). ℓ m a x i = 1 ∑ T ν m a x i ≥ 2 min ( p , q ) . Consequently, on R ρ , K R_{\rho,K} R ρ , K with K ≥ 7 K\ge7 K ≥ 7 , completeness requires ν r e a d ℓ max ∑ i ≤ T ν max i ≥ 2 ⌊ ( K − 1 ) / 2 ⌋ \nu_{\mathrm{read}}\ell_{\max}\sum_{i\le T}\nu_{\max}^{i}\ge2\lfloor(K-1)/2\rfloor ν read ℓ m a x ∑ i ≤ T ν m a x i ≥ 2 ⌊( K − 1 ) /2 ⌋ , and ℓ max ∑ i ≤ T ν max i ≥ 2 ⌊ ( K − 1 ) / 2 ⌋ \ell_{\max}\sum_{i\le T}\nu_{\max}^{i}\ge2\lfloor(K-1)/2\rfloor ℓ m a x ∑ i ≤ T ν m a x i ≥ 2 ⌊( K − 1 ) /2 ⌋ for the readout of equation 6.
Proof. Both bounds hold if ω T = ℓ max ∑ i = 1 T ν max i ≥ 2 min ( p , q ) \omega_T=\ell_{\max}\sum_{i=1}^{T}\nu_{\max}^{i}\ge2\min(p,q) ω T = ℓ m a x ∑ i = 1 T ν m a x i ≥ 2 min ( p , q ) , since ν r e a d ≥ 1 \nu_{\mathrm{read}}\ge1 ν read ≥ 1 , so we may assume that ω T < 2 min ( p , q ) \omega_T<2\min(p,q) ω T < 2 min ( p , q ) . We first check that Lemma 36 then applies. An invariant channel of h ( t ) ( x ) h^{(t)}(x) h ( t ) ( x ) is invariant under the rotation g s g_s g s and under the shifts of α \alpha α and β \beta β that fix x x x , exactly as the site outputs above, so, by the argument below, it is constant unless one of its modes has ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 min ( p , q ) |m_1|+|m_2|\ge2\min(p,q) ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 min ( p , q ) . By induction on t < T t<T t < T , the continuous functions applied in the first t t t iterations act on constant channels, so the invariant channels of h ( t ) ( x ) h^{(t)}(x) h ( t ) ( x ) have support in ∣ m 1 ∣ + ∣ m 2 ∣ ≤ ω t ≤ ω T < 2 min ( p , q ) |m_1|+|m_2|\le\omega_t\le\omega_T<2\min(p,q) ∣ m 1 ∣ + ∣ m 2 ∣ ≤ ω t ≤ ω T < 2 min ( p , q ) and are therefore constant as well. Hence the hypothesis of Lemma 36 holds.
If every site output were constant on Y p , q Y_{p,q} Y p , q the cloud output would be constant too, against Lemma 35. Let s x s_x s x be a non-constant site output and ( m 1 , m 2 ) ≠ ( 0 , 0 ) (m_1,m_2)\ne(0,0) ( m 1 , m 2 ) = ( 0 , 0 ) a mode in its support. Rotation invariance gives m 1 + m 2 = 0 m_1+m_2=0 m 1 + m 2 = 0 at every site. If x = a j x=a_j x = a j , periodicity in β \beta β gives m 2 ≡ 0 ( m o d q ) m_2\equiv0\pmod q m 2 ≡ 0 ( mod q ) , so ∣ m 1 ∣ + ∣ m 2 ∣ = 2 ∣ m 2 ∣ ≥ 2 q |m_1|+|m_2|=2|m_2|\ge2q ∣ m 1 ∣ + ∣ m 2 ∣ = 2∣ m 2 ∣ ≥ 2 q ; if x = b k x=b_k x = b k , symmetrically ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 p |m_1|+|m_2|\ge2p ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 p ; and if x = c x=c x = c , both periodicities apply and m 1 = − m 2 m_1=-m_2 m 1 = − m 2 is a multiple of lcm ( p , q ) \operatorname{lcm}(p,q) lcm ( p , q ) . In all cases ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 min ( p , q ) |m_1|+|m_2|\ge2\min(p,q) ∣ m 1 ∣ + ∣ m 2 ∣ ≥ 2 min ( p , q ) , and Lemma 36 gives the first bound. For the readout of equation 6–equation 7, the site output is a function of the invariant channels of h ( T ) ( x ) h^{(T)}(x) h ( T ) ( x ) , which have support bounded by ω T \omega_T ω T and are therefore all constant unless ω T ≥ 2 min ( p , q ) \omega_T\ge2\min(p,q) ω T ≥ 2 min ( p , q ) ; a function of constants is constant. For the consequences, Lemma 35 places Y p , q Y_{p,q} Y p , q inside R ρ , p + q + 1 R_{\rho,p+q+1} R ρ , p + q + 1 ; take p = q = ( K − 1 ) / 2 p=q=(K-1)/2 p = q = ( K − 1 ) /2 if K K K is odd and p , q = ( K − 2 ) / 2 , K / 2 p,q=(K-2)/2,K/2 p , q = ( K − 2 ) /2 , K /2 if K K K is even, so that $2\min(p,q)=2\lfloor(K-1)/2\rfloor.
Corollary 39. A local MACE model whose depth and body orders are bounded independently of K K K cannot be complete on R ρ , K \mathcal{R}_{\rho,K} R ρ , K with an irreducible degree bounded independently of K K K : one needs ℓ max = Ω ( K ) \ell_{\max} = \Omega(K) ℓ m a x = Ω ( K ) .
Remark 40 (the range of K K K ). Two rings of fewer than three points cannot be used in Definition 34: a ring point must be ρ \rho ρ -adjacent to c c c , which requires four affinely independent points among the points it sees, while its ring seen together with points of the axis spans a plane when the ring has two points and a line when it has one; points of the other ring cannot be added without making the distances depend on α − β \alpha-\beta α − β . This is why the family starts at K = 7 K=7 K = 7 . On the other hand, no counterexample can have K ≤ 3 K \le3 K ≤ 3 : if K ≤ 3 K \le3 K ≤ 3 , a ball of radius ρ \rho ρ never contains four affinely independent points of the cloud, so no two points are ρ \rho ρ -adjacent, and (O) forces the cloud to consist of a single point. Thus the only values of K K K not covered by the rings are K = 4 , 5 , 6 K=4,5,6 K = 4 , 5 , 6 , and the following lemma covers them, and every larger K K K , for the models that cannot produce a pseudoscalar.
Lemma 41 (parity). Consider MACE with the readout equation (9) –equation (10) and T T T iterations, and suppose that ℓ max = 0 \ell_{\max}=0 ℓ m a x = 0 , or T = 1 T=1 T = 1 and ν max ≤ 2 \nu_{\max}\le2 ν m a x ≤ 2 , or T = 2 T=2 T = 2 and ν max = 1 \nu_{\max}=1 ν m a x = 1 . Then every invariant channel h i , k 00 ( T ) h_{i,k00}^{(T)} h i , k 00 ( T ) , and hence the output of the model, takes the same value on X X X and on − X -X − X . Consequently such a model is not ( S E ( 3 ) × S n , R ρ , K ) (SE(3)\times S_n,\mathcal{R}_{\rho,K}) ( S E ( 3 ) × S n , R ρ , K ) -complete on clouds of K K K points for any K ≥ 4 K\ge4 K ≥ 4 .
Proof. Under X ↦ − X X\mapsto-X X ↦ − X every relative vector changes sign and every distance is unchanged, so a product of spherical harmonics Y ℓ 1 ⋯ Y ℓ s Y_{\ell_1}\cdots Y_{\ell_s} Y ℓ 1 ⋯ Y ℓ s of relative directions, weighted by radial functions, is multiplied by ( − 1 ) ℓ 1 + ⋯ + ℓ s (-1)^{\ell_1+\cdots+\ell_s} ( − 1 ) ℓ 1 + ⋯ + ℓ s . Call a coordinate of type W L W_L W L natural if it is multiplied by ( − 1 ) L (-1)^L ( − 1 ) L . The channel mixings in equation (7) , equation (8) , equation (15) and equation (16) are linear and preserve the type, so they preserve naturality. If ℓ max = 0 \ell_{\max}=0 ℓ m a x = 0 every feature is a function of distances and there is nothing to prove. If T = 1 T=1 T = 1 , the coordinates of A ( 0 ) A^{(0)} A ( 0 ) are natural, and a coordinate of type W 0 W_0 W 0 of B ( 0 ) B^{(0)} B ( 0 ) is either a coordinate of A ( 0 ) A^{(0)} A ( 0 ) of type W 0 W_0 W 0 , when ν = 1 \nu=1 ν = 1 , or, when ν = 2 \nu=2 ν = 2 , a Clebsch–Gordan contraction of two coordinates of the same type W ℓ W_\ell W ℓ , which is multiplied by ( − 1 ) 2 ℓ = 1 (-1)^{2\ell}=1 ( − 1 ) 2 ℓ = 1 ; hence every h i , k 00 ( 1 ) h_{i,k00}^{(1)} h i , k 00 ( 1 ) is inversion invariant. If T = 2 T=2 T = 2 and ν max = 1 \nu_{\max}=1 ν m a x = 1 , then B ( 0 ) = A ( 0 ) B^{(0)}=A^{(0)} B ( 0 ) = A ( 0 ) , so every coordinate of h ( 1 ) h^{(1)} h ( 1 ) is natural; in equation (15) a coordinate of type W 0 W_0 W 0 of A ( 1 ) A^{(1)} A ( 1 ) contracts Y ℓ 1 Y_{\ell_1} Y ℓ 1 with a coordinate of h ( 1 ) h^{(1)} h ( 1 ) of type W ℓ 2 W_{\ell_2} W ℓ 2 , which requires ℓ 1 = ℓ 2 \ell_1=\ell_2 ℓ 1 = ℓ 2 and is therefore multiplied by ( − 1 ) 2 ℓ 1 = 1 (-1)^{2\ell_1}=1 ( − 1 ) 2 ℓ 1 = 1 ; since B ( 1 ) = A ( 1 ) B^{(1)}=A^{(1)} B ( 1 ) = A ( 1 ) , every h i , k 00 ( 2 ) h_{i,k00}^{(2)} h i , k 00 ( 2 ) is inversion invariant.
For the consequence, let X X X consist of K ≥ 4 K\ge4 K ≥ 4 points, not all in a plane, with pairwise distinct mutual distances all at most ρ \rho ρ . Then X X X and − X -X − X satisfy (D), (K) and (O), every ball around a point containing all K K K points, so both lie in R ρ , K \mathcal{R}_{\rho,K} R ρ , K . If g ( − X ) g(-X) g ( − X ) were a relabelling of X X X for some g ∈ S E ( 3 ) g\in SE(3) g ∈ S E ( 3 ) , the isometry x ↦ g ( − x ) x\mapsto g(-x) x ↦ g ( − x ) would map X X X onto itself preserving all distances; as there are distinct points, it would fix every point of X X X , hence, fixing four affinely independent points, it would be the identity, which is impossible since its linear part has determinant − 1 -1 − 1 . So X X X and − X -X − X lie in different orbits and receive the same output.
The hypotheses of Lemma 41 are sharp for MACE as defined in Subsection D.3: with ℓ max ≥ 1 \ell_{\max}\ge1 ℓ m a x ≥ 1 , a pseudoscalar arises for T = 1 T=1 T = 1 and ν max = 3 \nu_{\max}=3 ν m a x = 3 from the triple product 1 ⊗ 1 ⊗ 1 → 0 1\otimes1\otimes1\to0 1 ⊗ 1 ⊗ 1 → 0 , for T = 2 T=2 T = 2 and ν max = 2 \nu_{\max}=2 ν m a x = 2 from the cross product 1 ⊗ 1 1\otimes1 1 ⊗ 1 in the first iteration followed by a contraction with Y 1 Y_1 Y 1 in equation (15) , and for T = 3 T=3 T = 3 and ν max = 1 \nu_{\max}=1 ν m a x = 1 from two consecutive couplings in equation (15) . With the parity selection rule discussed in Subsection D.2, instead, every feature carries a parity ± 1 \pm1 ± 1 , by which it is multiplied under X ↦ − X X\mapsto-X X ↦ − X , and the invariant channels have parity + 1 +1 + 1 , so the conclusion of Lemma 41 holds for all ℓ max \ell_{\max} ℓ m a x , ν max \nu_{\max} ν m a x and T T T .
Remark 42 (small counterexamples in the literature). Known degeneracies of low body order are local and do not improve on these values. The three-body descriptors of an atomic environment are complete for at most three neighbors and have degenerate pairs as soon as there are four [30 ] , and degeneracies of the four-body descriptors are known for environments of seven neighbors [26 ] . These are statements about the environment of one atom, and they are mitigated when, as in equation (10) , the output sums contributions from every atom; the three-body case is in any event subsumed by Lemma 41, which already gives K = 4 K=4 K = 4 , the least possible value.
Corollary 43. Let M A C E MACE M A C E with the readout equation 6 be ( S E ( 3 ) × S n , R ρ , K ) (SE(3) \times S_n,\mathcal{R}_{\rho,K}) ( S E ( 3 ) × S n , R ρ , K ) -complete on clouds of K K K points. Then
ℓ max ≥ 2 ⌊ ( K − 1 ) / 2 ⌋ ν max ( T = 1 ) , ℓ max ≥ 2 ⌊ ( K − 1 ) / 2 ⌋ ν max ( 1 + ν max ) ( T = 2 ) , \ell_{\max} \ge\frac{2\lfloor(K-1)/2\rfloor}{\nu_{\max}} \quad(T=1), \qquad\ell_{\max} \ge\frac{2\lfloor(K-1)/2\rfloor}{\nu_{\max}(1+\nu_{\max})} \quad(T=2), ℓ m a x ≥ ν m a x 2 ⌊( K − 1 ) /2 ⌋ ( T = 1 ) , ℓ m a x ≥ ν m a x ( 1 + ν m a x ) 2 ⌊( K − 1 ) /2 ⌋ ( T = 2 ) , ℓ max ≥ 2 ⌊ ( K − 1 ) / 2 ⌋ ν max ( 1 + ν max + ν max 2 ) ( T = 3 ) . \ell_{\max} \ge\frac{2\lfloor(K-1)/2\rfloor}{\nu_{\max}(1+\nu_{\max}+\nu_{\max}^{2})} \quad(T=3). ℓ m a x ≥ ν m a x ( 1 + ν m a x + ν m a x 2 ) 2 ⌊( K − 1 ) /2 ⌋ ( T = 3 ) . **Equivalently, combining Theorem 37 with Lemma 41 , the model fails to be complete as soon as K ≥ 4 K \ge4 K ≥ 4 if it satisfies the hypotheses of Lemma 41 , and otherwise as soon as
K ≥ max { 7 , 2 ⌊ 1 2 ℓ max ∑ i = 1 T ν max i ⌋ + 3 } ; K \ge\max\left\{7,2\left\lfloor\frac{1}{2}\ell_{\max}\sum_{i=1}^{T}\nu_{\max}^{i}\right\rfloor+3\right\}; K ≥ max { 7 , 2 ⌊ 2 1 ℓ m a x i = 1 ∑ T ν m a x i ⌋ + 3 } ; these thresholds are listed in Table 1 for 0 ≤ ℓ max , ν max ≤ 4 0 \le\ell_{\max},\nu_{\max} \le4 0 ≤ ℓ m a x , ν m a x ≤ 4 .
Table 1. Smallest number K K K of points per cutoff ball from which local MACE with the readout equation 6–equation 7, irreducible degree ℓ max \ell_{\max} ℓ m a x (rows), correlation order ν max \nu_{\max} ν m a x (columns) and T T T iterations is provably not ( S E ( 3 ) × S n , R ρ , K ) (SE(3) \times S_n,\mathcal{R}_{\rho,K}) ( S E ( 3 ) × S n , R ρ , K ) -complete, by Corollary 43 . Each cell lists the thresholds for T = 1 / T = 2 / T = 3 T=1/T=2/T=3 T = 1/ T = 2/ T = 3 , in this order. All entries equal to 4 come from Lemma 41 : the invariant channels of the model are unchanged under X ↦ − X X \mapsto-X X ↦ − X , so it cannot tell a chiral cloud from its mirror image; 4 is the least possible value, since R ρ , K \mathcal{R}_{\rho,K} R ρ , K contains only one-point clouds when K ≤ 3 K \le3 K ≤ 3 (Remark 40). Entries marked 4 † 4^{\dagger} 4 † were known before this work: with T = 1 T=1 T = 1 the invariant channels are functions of distances (ν max = 1 \nu_{\max}=1 ν m a x = 1 ) or three-body invariants (ν max = 2 \nu_{\max}=2 ν m a x = 2 ), which are classically inversion invariant. Entries marked 4 † 4^{\dagger} 4 † rest on the same known mechanism, but the observation that two iterations with ν max = 1 \nu_{\max}=1 ν m a x = 1 still produce no pseudoscalar is stated here. Entries in bold are new: they come from the two-ring family of Definition 34 and Theorem 37 , apply to models that can produce pseudoscalars, and grow linearly in ℓ max \ell_{\max} ℓ m a x and like ν max T \nu_{\max}^{T} ν m a x T in ν max \nu_{\max} ν m a x .
Remark 44. Lower bounds of this kind in the learning literature are for one fixed order at a time: the counterexamples of Pozdnyakov & Ceriotti [29 ] exhibit pairs of clouds that a given body order cannot tell apart. The rings add a bound that grows with the size of the neighbourhood, by the mechanism of Theorem 1 with the azimuthal frequency in the role of the polynomial degree. Theorem 11 spends an irreducible degree quadratic in K K K on one iteration; whether this can be brought down to linear is open.
Invariant Theory Background
Suppose that G G G is a group that acts a vector space V V V . In Invariant Theory one studies polynomial functions on V V V that are constant on orbits. The origins of Invariant Theory go back to the 19th century. Historically, one often works over C \mathbb{C} C , but many results have been extended to arbitrary fields, including fields with positive characteristic. For our applications we will work over R \mathbb{R} R . Suppose V V V is an n n n -dimensional R \mathbb{R} R -vector space. We denote the ring of all polynomial functions V → R V \to\mathbb{R} V → R by R [ V ] \mathbb{R}[V] R [ V ] . If x 1 , x 2 , … , x n x_1,x_2,\ldots,x_n x 1 , x 2 , … , x n are linearly independent coordinate functions on V V V , then we can identify V V V with R n \mathbb{R}^n R n and R [ V ] \mathbb{R}[V] R [ V ] is just the polynomial ring R [ x 1 , x 2 , … , x n ] \mathbb{R}[x_1,x_2,\ldots,x_n] R [ x 1 , x 2 , … , x n ] . Suppose that a group G G G acts on V V V . For v ∈ V v \in V v ∈ V , let [ v ] = { g ⋅ v ∣ g ∈ G } [v]=\{g \cdot v \mid g \in G\} [ v ] = { g ⋅ v ∣ g ∈ G } be the G G G -orbit of v v v . A polynomial invariant is a polynomial function V → R V \to\mathbb{R} V → R that is constant on orbits. The invariant ring R [ V ] G \mathbb{R}[V]^G R [ V ] G is the set of all polynomial invariants.
Suppose that G G G is a Lie group and ρ : G → G L ( V ) \rho:G \to GL(V) ρ : G → G L ( V ) is an orthogonal representation, i.e., ρ \rho ρ is a continuous homomorphism of groups. Then G G G acts on V V V via g ⋅ v = ρ ( g ) v g \cdot v=\rho(g)v g ⋅ v = ρ ( g ) v for all v ∈ V v \in V v ∈ V and g ∈ G g \in G g ∈ G . If G G G is compact, then one can choose a basis of V V V such that ρ ( G ) \rho(G) ρ ( G ) is contained in the orthogonal group O ( n ) O(n) O ( n ) .
Theorem 45 [18 ] . If G G G is compact then invariant ring R [ V ] G \mathbb{R}[V]^G R [ V ] G is generated by finitely many invariants f 1 , f 2 , … , f r f_1,f_2,\ldots,f_r f 1 , f 2 , … , f r . So every invariant polynomial is of the form p ( f 1 , f 2 , … , f r ) p(f_1,f_2,\ldots,f_r) p ( f 1 , f 2 , … , f r ) where p ∈ R [ y 1 , y 2 , … , y r ] p \in\mathbb{R}[y_1,y_2,\ldots,y_r] p ∈ R [ y 1 , y 2 , … , y r ] is a polynomial with coefficients in R \mathbb{R} R .
If the group G G G is not compact, then the invariant ring may not be finitely generated. The following well-known result can be found in [28 Ch. 3, §4, 3°, Thm. 3] :
Theorem 46. Suppose that G G G is compact, u , v ∈ V u,v \in V u , v ∈ V and [ u ] ≠ [ v ] [u] \ne[v] [ u ] = [ v ] . Then there exists an invariant f ∈ C [ V ] G f \in\mathbb{C}[V]^{G} f ∈ C [ V ] G with f ( u ) ≠ f ( v ) f(u) \ne f(v) f ( u ) = f ( v ) . If f 1 , f 2 , … , f r f_1,f_2,\ldots,f_r f 1 , f 2 , … , f r are the generators from Theorem 45 , then f i ( u ) ≠ f i ( v ) f_i(u) \ne f_i(v) f i ( u ) = f i ( v ) for some i i i .
We next recollect the definition of completeness from the main text:
Definition 47. A set Q ⊆ R [ V ] G \mathcal{Q} \subseteq\mathbb{R}[V]^{G} Q ⊆ R [ V ] G is called ( G , V ) (G,V) ( G , V ) -complete if
∀ q ∈ Q q ( u ) = q ( v ) ⟺ [ u ] = [ v ] . \forall q \in\mathcal{Q}\ q(u)=q(v) \quad\Longleftrightarrow\quad[u]=[v]. ∀ q ∈ Q q ( u ) = q ( v ) ⟺ [ u ] = [ v ] .
Theorem 46 states the sets C [ V ] G \mathbb{C}[V]^{G} C [ V ] G and the set { f 1 , f 2 , … , f r } \{f_1,f_2,\ldots,f_r\} { f 1 , f 2 , … , f r } of generators are both ( G , V ) (G,V) ( G , V ) -complete.
If G G G is not compact, then a ( G , V ) (G,V) ( G , V ) -complete set of invariants may not exist. Take for example the action of GL ( V ) \operatorname{GL}(V) GL ( V ) on V V V where n ≥ 1 n \ge1 n ≥ 1 . There are two orbits in V V V , namely { 0 } \{0\} { 0 } and V ∖ { 0 } V \setminus\{0\} V ∖ { 0 } . Every polynomial invariant is constant on V ∖ { 0 } V \setminus\{0\} V ∖ { 0 } and by continuity also constant on V V V . So no polynomial invariant can separate the two orbits. To take into account this situation, we recall the general notion of separating invariants in Invariant Theory:
Definition 48. A set Q ⊆ R [ V ] G \mathcal{Q} \subseteq\mathbb{R}[V]^{G} Q ⊆ R [ V ] G is called separating if for all u , v ∈ V u,v \in V u , v ∈ V we have
∀ q ∈ Q q ( u ) = q ( v ) ⟺ ∀ f ∈ R [ V ] G f ( u ) = f ( v ) . \forall q \in\mathcal{Q}\ q(u)=q(v) \quad\Longleftrightarrow\quad\forall f \in\mathbb{R}[V]^{G}\ f(u)=f(v). ∀ q ∈ Q q ( u ) = q ( v ) ⟺ ∀ f ∈ R [ V ] G f ( u ) = f ( v ) .
For compact G G G , the notion of completeness and separation are equivalent.
Tautologically, R [ V ] G \mathbb{R}[V]^{G} R [ V ] G is separating, but it may not be finitely generated. However, we have:
Theorem 49. There exists a finite set of separating invariants.
A proof is given in [7 Theorem 2.4.8] (the assumption that the base field is algebraically closed is not necessary there), or see [21 Theorem 12] for a more general statement. Note that if the set R [ V ] G \mathbb{R}[V]^{G} R [ V ] G of all invariants is ( G , V ) (G,V) ( G , V ) -complete, then any set of separating invariants is ( G , V ) (G,V) ( G , V ) -complete. In particular, there exists a finite ( G , V ) (G,V) ( G , V ) -complete set of invariants in that case.
The separating degree D ( G , V ) D(G,V) D ( G , V ) is the smallest nonnegative integer d d d such that the space K [ V ] ≤ d G \mathbb{K}[V]_{\leq d}^{G} K [ V ] ≤ d G of invariants of degree ≤ d \leq d ≤ d is a separating set for the action of G G G on V V V . In this manuscript we work over K = R \mathbb{K}=\mathbb{R} K = R . Complexification is introduced below when discussing bounds on the degrees of generators.
If any ( G , V ) (G,V) ( G , V ) -complete set of invariant polynomials exists, then D ( G , V ) D(G,V) D ( G , V ) is also the smallest nonnegative integer for which K [ V ] ≤ d G \mathbb{K}[V]_{\leq d}^{G} K [ V ] ≤ d G is ( G , V ) (G,V) ( G , V ) -complete. We have D ( G , V ) ≤ β ( G , V ) D(G,V) \leq\beta(G,V) D ( G , V ) ≤ β ( G , V ) where β ( G , V ) \beta(G,V) β ( G , V ) is the smallest nonnegative integer d d d such that K [ V ] ≤ d G \mathbb{K}[V]_{\leq d}^{G} K [ V ] ≤ d G is generated by K [ V ] ≤ d G \mathbb{K}[V]_{\leq d}^{G} K [ V ] ≤ d G . Upper bounds for β ( G , V ) \beta(G,V) β ( G , V ) have been studied extensively. If G G G is a compact Lie group and ρ : G → GL ( n , R ) \rho: G \to\operatorname{GL}(n,\mathbb{R}) ρ : G → GL ( n , R ) is a real representation, then ρ \rho ρ extends to a complex representation ρ C : G C → GL ( n , C ) \rho_{\mathbb{C}} : G_{\mathbb{C}} \to\operatorname{GL}(n,\mathbb{C}) ρ C : G C → GL ( n , C ) , where G C G_{\mathbb{C}} G C is the complexification of G G G . Now G C G_{\mathbb{C}} G C is a complex reductive group. We have β ( G , R n ) = β ( G C , C n ) \beta(G,\mathbb{R}^{n})=\beta(G_{\mathbb{C}},\mathbb{C}^{n}) β ( G , R n ) = β ( G C , C n ) and upper bounds are discussed in [7 §3.2, §3.10, §4.7] . Emmy Noether proved the bound β ( G , V ) ≤ ∣ G ∣ \beta(G,V) \leq|G| β ( G , V ) ≤ ∣ G ∣ for finite groups G G G [27 ] . For permutation actions one has upper bounds for β ( G , V ) \beta(G,V) β ( G , V ) that often are sharper. Suppose that G G G acts on V = R n V=\mathbb{R}^{n} V = R n by permuting the basis vectors e 1 , e 2 , … , e n e_1,e_2,\ldots,e_n e 1 , e 2 , … , e n of V = R n V=\mathbb{R}^{n} V = R n . In this case we have
β ( G , V ) ≤ max { n 1 , n 2 , … , n r , ( n 1 2 ) + ( n 2 2 ) + ⋯ + ( n r 2 ) } ≤ max { n , ( n 2 ) } , ( 14 ) \beta(G,V) \leq\max\left\{n_1,n_2,\ldots,n_r,\binom{n_1}{2}+\binom{n_2}{2}+\cdots+\binom{n_r}{2}\right\} \leq\max\left\{n,\binom{n}{2}\right\}, \qquad(14) β ( G , V ) ≤ max { n 1 , n 2 , … , n r , ( 2 n 1 ) + ( 2 n 2 ) + ⋯ + ( 2 n r ) } ≤ max { n , ( 2 n ) } , ( 14 )
where n 1 , n 2 , … , n r n_1,n_2,\ldots,n_r n 1 , n 2 , … , n r are the cardinalities of the orbits for the action of G G G on { e 1 , e 2 , … , e n } \{e_1,e_2,\ldots,e_n\} { e 1 , e 2 , … , e n } . This follows for example from Göbel’s algorithm [14 ] .
For weighted graphs with n n n vertices we consider the action of the symmetric group S n S_n S n on the space H n ⊆ R n × n \mathcal{H}_n \subseteq\mathbb{R}^{n \times n} H n ⊆ R n × n of symmetric n × n n \times n n × n matrices by conjugation. Thiéry [35 ] gave the following upper bound
D ( S n , H n ) ≤ β ( S n , H n ) ≤ ( n 2 ) − μ n = n 4 8 + O ( n 3 ) , D(S_n,\mathcal{H}_n) \leq\beta(S_n,\mathcal{H}_n) \leq\binom{n}{2}-\mu_n=\frac{n^4}{8}+O(n^3), D ( S n , H n ) ≤ β ( S n , H n ) ≤ ( 2 n ) − μ n = 8 n 4 + O ( n 3 ) ,
where μ n = 0 \mu_n = 0 μ n = 0 if n n n is even and μ n = ⌈ 3 4 ( n − 1 ) ⌉ \mu_n = \left\lceil\frac{3}{4}(n - 1) \right\rceil μ n = ⌈ 4 3 ( n − 1 ) ⌉ if n n n is odd. This bound is slightly sharper than the one obtained from (14) with n 1 = ( n 2 ) n_1 = \binom{n}{2} n 1 = ( 2 n ) and n 2 = n n_2 = n n 2 = n . In this paper we improve the upper bound for D ( S n , H n ) D(S_n, \mathcal{H}_n) D ( S n , H n ) to
D ( S n , H n ) ≤ 5 n 3 2 − n 2 − n 2 = O ( n 3 ) D(S_n, \mathcal{H}_n) \le\frac{5n^3}{2} - n^2 - \frac{n}{2} = O(n^3) D ( S n , H n ) ≤ 2 5 n 3 − n 2 − 2 n = O ( n 3 )
and also provide a lower bound proportional to n 2 n^2 n 2 .