A Galois theorem for machine learning: Functions on symmetric matrices and point clouds via lightweight invariant features

Ben Blum-Smith, Ningyuan Huang, Marco Cuturi, Soledad Villar
5/13/2024
cs.LGmath.AC

No confident code implementation found for this paper.

Abstract

In this work, we present a mathematical formulation for machine learning of (1) functions on symmetric matrices that are invariant with respect to the action of permutations by conjugation, and (2) functions on point clouds that are invariant with respect to rotations, reflections, and permutations of the points. To achieve this, we provide a general construction of generically separating invariant features using ideas inspired by Galois theory. We construct $O(n^2)$ invariant features derived from generators for the field of rational functions on $n\times n$ symmetric matrices that are invariant under joint permutations of rows and columns. We show that these invariant features can separate all distinct orbits of symmetric matrices except for a measure zero set; such features can be used to universally approximate invariant functions on almost all weighted graphs. For point clouds in a fixed dimension, we prove that the number of invariant features can be reduced, generically without losing expressivity, to $O(n)$, where $n$ is the number of points. We combine these invariant features with DeepSets to learn functions on symmetric matrices and point clouds with varying sizes. We empirically demonstrate the feasibility of our approach on molecule property regression and point cloud distance prediction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{blumsmith2024galois,
  title  = {A Galois theorem for machine learning: Functions on symmetric matrices and point clouds via lightweight invariant features},
  author = {Ben Blum-Smith and Ningyuan Huang and Marco Cuturi and Soledad Villar},
  year   = {2024},
  eprint = {2405.08097},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.08097v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.08097.svg)](https://codeofpaper.com/paper/2405.08097)

Discussion