59
$\begingroup$

I'm a Machine Learning researcher who would like to research applications of group theory in ML.

There is a term "Partially Observed Groups" in machine learning theory which has been popularized by recent work to understand deep learning. The idea is simple, instead of learning a recognition function (image -> object class) , the brain is learning orbits (images -> object orbit under the action of a group).

For example, all images of a bottle are 2-d projections (thus partially observed) of a 3-d image in an orbit of a bottle under the action of a group (rotation or translation).

I'm having difficulty finding relevant literature about probability distributions on group elements or even the concept of partially observed groups. I was hoping perhaps this is a well developed concept (in maybe physics) by some other name. Any suggestions on relevant work? Or other literature I should read to guide me in this.

Thank you for your time.

clarification:

The hypothesis I'm exploring is that the representations learned in neural networks via gradient descent work as well as they do because they are group invariant. So literature on Lie groups is very relevant.

But the distinguishing setting is that since elements of the group act like transformations on 3-d images and since we only see a 2-d projection of the 3-d images, we must define probability distributions over the product (object x group element).

Therefore the problem is under-determined and distributions over group elements become necessary to describe what generated the observed image; Many objects can be transformed to produce very similar images. I thought there might be analogous work done in physics. I hope this clarifies things.

$\endgroup$
2

5 Answers 5

17
$\begingroup$

I suggest taking a look at the work of Ulf Grenander. His 1963 book laid out the basis for applying probability theory to groups (Chapter 4 is on stochastic Lie groups) and other algebraic structures. He continued to develop these ideas (see his later book) in the context of pattern recognition.

There is definitely newer work in this area (some of which is mentioned in other answers), but Grenander has been investigating these ideas for 40+ years and is worth looking into.

As an aside, Grenander's approach seems to be a bit more formal than a lot of contemporary machine learning research, which is a strength or weakness according to the reader's taste.

$\endgroup$
1
  • $\begingroup$ I think his algebraic probability is more or less serve as a prelude to his later general pattern theory developed in his late years. Of course it is always better to be formal. Also his algebraic probability, as I can tell, is more or less influenced Diaconis' book.jdc.math.uwo.ca/M9140a-2014-summer/Diaconis-1988.pdf $\endgroup$
    – Henry.L
    Commented Dec 4, 2016 at 19:01
13
$\begingroup$

Here are some of the group theoretical references within the machine learning literature:

  1. Have a look at recent papers by Stéphane Mallat , or first look at 2.
  2. This NIPS 2012 talk by Stéphane Mallat
  3. A Group Theoretic perspective of Deep Learning
  4. Some papers by Risi Kondor, and also his thesis ("Group theoretical methods in machine learning")
  5. Directional Statistics --- among others, it also covers $O(n)$ (viewed as a manifold)

There are several more, but I think these links above should provide a good start.

$\endgroup$
6
$\begingroup$

Yet, some more relations of group theory to machine learning:

From "Clebsch-Gordan Nets: a Fully Fourier Space Spherical Convolutional Neural Network Risi Kondor, Zhen Lin, Shubhendu Trivedi":

Recent work by Cohen \emph{et al.} has achieved state-of-the-art results for learning spherical images in a rotation invariant way by using ideas from group representation theory and noncommutative harmonic analysis. In this paper we propose a generalization of this work that generally exhibits improved performace, but from an implementation point of view is actually simpler. An unusual feature of the proposed architecture is that it uses the Clebsch--Gordan transform as its only source of nonlinearity, thus avoiding repeated forward and backward Fourier transforms. The underlying ideas of the paper generalize to constructing neural networks that are invariant to the action of other compact groups.

As far as I understand images here are captured by special 360-angle cameras. That explains the origin of rotationl symmetry group. So it might not be widely used technology at present, nevertheless, it is quite interesting that group theoretic methods can be applied here.


In R. Kondor's thesis mentioned in Suvrit's answer. One of the topics is "learning on the symmetric group" which is somehow related to "ranking problem" i.e. ordering some answers/candidates/whatever is certain order. Problem of finding appropriate ranking is the same as finding appropriate permutation, that is how permutation group arises.


The most useful and practically used measure of quality in binary classification problems is "AUC ROC ", which is closely related to Mann-Whitney statistical test. Which is in turn roughly speaking the same as inversion number of certain permutation, which can be seen in the broader context of metrics on symmetric group (see P. Diaconis "Group representations in probability and statistics, Chapter 6. Metrics on Groups, and Their Statistical Use" and some comments at MO).

$\endgroup$
5
3
$\begingroup$

Geoffrey Hinton's Capsule Networks may be relevant. Convolutional NNs are effective because each layer is invariant under 2D translations; Capsule NN are designed to be invariant under much larger group transformations.

Other relevant research in the last couple years was to generalize $\mathbb{R}^2$ invariant convolutions of $\mathbb{R}^2$ images to $SO(3)$ invariance for spherical images. I don't recall the reference though.

$\endgroup$
0
$\begingroup$

Here are some emerging lines of research on groups theory in deep learning (the list is incomplete, I have just mentioned a few articles, and even good code to play with, see coda).

Before the list, let me give you the basic gist:

Group theory is foundational to deep learning because it provides a mathematical framework for understanding and exploiting symmetries and invariances in data, either rather explicit (think for instance images in motion), or hidden (think of NLP tasks via LLMs attention layers: there the symmetries can be difficult to pin down) . By encoding transformations like rotations, translations, or reflections into neural networks layers, one can improve model efficiency, robustness, and (last but not least) interpretability, enabling better generalization across tasks where symmetry is inherent, such as image recognition, molecular modeling, and physics-based simulations.

  1. Equivariant Neural Networks Equivariant neural networks are designed so that transformations applied to the input data result in corresponding transformations in the output, preserving structural relationships. This property is crucial in tasks where data exhibits inherent symmetries, such as images undergoing rotations or reflections.

Group Equivariant Convolutional Neural Networks (G-CNNs): G-CNNs extend traditional convolutional neural networks by incorporating group convolutions that are equivariant under specific groups of transformations, such as rotations and reflections. T

  1. Symmetry-Based Regularization Incorporating symmetry constraints during the training of neural networks can serve as a form of regularization, guiding the model to learn invariant or equivariant representations.

Symmetry Regularization: By penalizing deviations from desired symmetry properties, models can be encouraged to learn functions that respect specific transformations, leading to improved generalization and robustness.

  1. Learning Group Representations in Variational Autoencoders Variational Autoencoders (VAEs) are generative models that learn probabilistic representations of data. Incorporating group theory into VAEs allows for the modeling of latent spaces that respect the symmetries of the data.

Group-Structured VAEs

ADDENDUM: Codebase for group-driven CCN here:

https://github.com/tscohen/GrouPy

and for CommutativeLieGroupVAE here:

https://github.com/zhuxinqimac/CommutativeLieGroupVAE-Pytorch

$\endgroup$
8
  • 3
    $\begingroup$ Was this answer written by AI? $\endgroup$ Commented 7 hours ago
  • 3
    $\begingroup$ Whether or not it was, 2/3 of the references seem to be incorrect. $\endgroup$
    – JCK
    Commented 5 hours ago
  • $\begingroup$ actually, answer is mine (I have played with Group-invariant CNN a few months back). But the refs were found by GPT. I have now corrected them $\endgroup$ Commented 5 hours ago
  • 2
    $\begingroup$ @MircoA.Mannucci ChatGPT makes up references. Do not use it for that. Use it for e.g. cooking recipes. $\endgroup$ Commented 5 hours ago
  • 1
    $\begingroup$ @LSpice oh dear. $\endgroup$ Commented 2 hours ago

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .