Let an M-layer MultiLayer Perceptron (MLP) f:Rd0→RdM be defined by the recurrence:
f(x)=xM,xm=σ(Wmxm−1+bm) for m∈{1,…,M−1},xM=WMxM−1+bM,x0=x
where Wm∈Rdm×dm−1 is the weight matrix and bm∈Rdm is the bias vector of the m-th layer, and σ is a pointwise activation function. The weight space V of the MLP is the direct sum:
V=⨁m=1M(Wm⊕Bm)
where Wm=Rdm×dm−1 and Bm=Rdm.
The permutation symmetry group G of the weight space corresponds to independent permutations of intermediate neuron activations and is defined as the direct product of symmetric groups:
G=Sd1×Sd2×⋯×SdM−1
For a group element g=(τ1,…,τM−1)∈G, where Pτm∈{0,1}dm×dm denotes the permutation matrix associated with permutation τm∈Sdm, the representation ρ(g) acts on a concatenated weight vector v=[Wm,bm]m=1M∈V according to:
ρ(g)v=[Wm′,bm′]m=1M
W1′=Pτ1TW1,b1′=Pτ1Tb1
Wm′=PτmTWmPτm−1,bm′=PτmTbmfor m∈{2,…,M−1}
WM′=WMPτM−1,bM′=bM
For any pointwise nonlinearity σ, the transformed parameters ρ(g)v represent the exact same mathematical function f(⋅) as v.