1 of 14

Data Geometry and DL - Lecture 10

Equivariant NNs, Geometric Machine Learning

Source (lecture notes on GML): https://arxiv.org/abs/2104.13478

A youtube minicourse: Link

2 of 14

Equivarince in Machine Learning: motivations

  • Symmetries are part of nature, but coordinates do not respect them
  • Respecting symmetries: why?
    • Diminish number of degrees of freedom – better accuracy
    • lower dimension of loss function minima – improved convergence
  • Examples: chemistry, images/3D, physics

3 of 14

Symmetry actions on NN weights

  • We desire that a symmetry group action is propagated throughout the network in a “suitable way”

  • Basic classification of what “suitable” can mean:

“Steerable” = equivariant (1st paper, SCNNs)

  • Natural mathematical framework – equivariant function spaces:
    • Representation Theory
    • Nonabelian Fourier Transform
    • Homogeneous spaces + Harmonic Analysis

Example: spherical harmonics

4 of 14

Abelian and Nonabelian Harmonic Analysis

  • Abelian groups – examples: Translations in R^d, Z^d, T^d.
    • Convolution (over an abelian group) is equivariant under translations
    • Any linear equivariant functional is a convolution
    • Fourier transform: Convolution → Product
    • Natural basis of functions: Fourier modes

  • Nonabelian compact groups: Extension of Fourier theory, Relation to L^2

  • Homogeneous spaces G/H: invariant functions expressed with Fourier too

  • Clebsch-Gordan allows to change reps

  • Computations are ad-hoc for each group, but a large theory exists.

  • Example: S^2 = SO(3)/SO(2) → spherical harmonics basis for L^2

5 of 14

Nonabelian harmonic analysis – one-slide refresher (cpt. groups)

Plancherel, Peter-Weyl

Convolution and Fourier

6 of 14

Homogeneous space case – example

7 of 14

Geometric Deep Learning: symmetries and manifolds

  • Example: Spherical CNNs (Group = SO(3) in this case)paper

    • We consider convolution on the sphere (invariant under SO(3))

    • Convolution via nonabelian group theory

    • Convolution → Product in SO(3)-Fourier coordinates

    • Strategy for SO(3)-CNNs →

    • “Clebsch-Gordan nets” extend it

and work with general tensor products

of representations (paper)

    • Nontransitive cpt group actions (paper)
    • Groups on homog. sp. survey (paper)

8 of 14

Geometric Deep Learning: symmetries and manifolds

Equivariance can be implemented in 3 general types of ways (survey on GNN case)

  • Use Fourier/Clebsch-Gordan coefficients – a.k.a. the “Irrep method”
  • Equivariance is automatic if we use functions of the distances/angles for SO, SE groups, or we study other expressions of invariant functions (paper) – Scalarization
  • Approximate convolutions directly via sampling or other methods–regular rep. method

E(n) GNN paper

9 of 14

ENN use examples

paper

(extension to a product of SE(3) in progress)

10 of 14

ENN use examples

  • Example: SE(3)-transformers (paper)
    • Idea: transformer for equivariant GNN

11 of 14

Switching equivariance on and off – possibilities

  • Sparse convolutions: add anchor points at random positions; do the same on Lie groups (paper)

  • Approximate equivariance (paper – theoretical study missing)

12 of 14

Switching equivariance on and off – possibilities

  • Partial equivariances (paper)

  • Several works try to “learn symmetries”
  • Learning physics gauge theory, using ENNs

13 of 14

References (S. Trivedi)

14 of 14