English

Stochastic Neural Network Symmetrisation in Markov Categories

Machine Learning 2025-01-10 v5 Machine Learning Category Theory

Abstract

We consider the problem of symmetrising a neural network along a group homomorphism: given a homomorphism φ:HG\varphi : H \to G, we would like a procedure that converts HH-equivariant neural networks to GG-equivariant ones. We formulate this in terms of Markov categories, which allows us to consider neural networks whose outputs may be stochastic, but with measure-theoretic details abstracted away. We obtain a flexible and compositional framework for symmetrisation that relies on minimal assumptions about the structure of the group and the underlying neural network architecture. Our approach recovers existing canonicalisation and averaging techniques for symmetrising deterministic models, and extends to provide a novel methodology for symmetrising stochastic models also. Beyond this, our findings also demonstrate the utility of Markov categories for addressing complex problems in machine learning in a conceptually clear yet mathematically precise way.

Keywords

Cite

@article{arxiv.2406.11814,
  title  = {Stochastic Neural Network Symmetrisation in Markov Categories},
  author = {Rob Cornish},
  journal= {arXiv preprint arXiv:2406.11814},
  year   = {2025}
}