Equivariance Through Parameter-Sharing
Siamak Ravanbakhsh, Jeff Schneider, Barnabas Poczos
Group Action and Equivariance
The following observation shows that the subgroup relationship affects equivariance and invariance.
Symmetry Groups of a Network
Structure Design
For this we briefly review some group properties that are used in later developments.
2 Sparse Design
Our sparse construction uses orbits and symmetric generating sets:
The set is called the generating set of (), iff every member of can be expressed as a combination of members of . If the generating set is closed under inverse we call it a symmetric generating set.
In words, we have one color per each combination of orbits (, ) and members of the generating set . The following theorem relates the symmetry group of this structure to .
Note that this result holds for any choice of a symmetric generating set in defining . Therefore, in designing sparse layers, one seeks a minimal .
3 Multiple Channels
The important implication is that, orbits and multiple channels are treated identically by both dense and sparse designs.
Conclusion
This work is a step towards designing neural network layers with a given equivariance and invariance properties. Our approach was to relate the equivariance properties of the neural layer to the symmetries of the parameter-matrix.
We then proposed two parameter-sharing scheme that achieves equivariance wrt any discrete group-action. Moreover under some conditions, we guarantee sensitivity wrt other group actions. This is important because even a trivial constant function is invariant to all transformations. It is therefore essential to be able to draw the line between equivariance/invariance and sensitivity in a function. To our knowledge, our work presents the first results of its kind on guarantees regarding both variance and equivariance with respect to group actions.
Acknowledgment
This research is supported in part by DOE grant DESC0011114 and NSF grant IIS1563887.
References
Appendix A Proofs
of Theorem 2.1 For unique -equivariance we need proofs in two directions. First we show that
The orbit-size, , for a pair is bounded by the size of its relation , for some . This is because, according to Eq. 3,
Therefore if we fix a pair , all their neighboring edges (adjacent on or ) are unambiguously fixed. The same goes for the neighbors of the newly fixed nodes and so on. If we can show that the bipartite graph representing is connected then fixing a pair guarantees that all pairs in all relations of are fixed and therefore has a trivial stabilizer.
Two properties guarantee the connectedness of :
of Corollary 3.4 Follows directly from Theorems 2.1 and 3.3.
If we further tie the parameters across the orbits so that , the Eq. 19 above is equivalent to formulation of (Cohen & Welling, 2016a) for a single input/output channels (see Section 3.3 for multiple channels).
of Corollary 3.6 First we show this assuming a single channel . For multiple channels see Section 3.3.
Appendix B Background on Permutation Groups
Cayley Diagram. The set is called the generating set of (), iff every member of can be expressed as a combination of members of . If the generating set is closed under inverse we call it a symmetric generating set. is the minimal generating set if it has the least number of members among the generating sets of . Note that the minimal generating sets are generally not unique. The size of the minimal generating set of a group becomes important because, the number of parameters in our parameter-sharing scheme grows linearly with . A group is often visualized by its Cayley diagram; a colored digraph in which the node-set is and directed edge is colored by . Fig. 1(lower-left) shows the Cayley diagram of .