Metric Learning for Clifford Group Equivariant Neural Networks

Riccardo Ali, Paulina Kulytė, Haitz Sáez de Ocáriz Borde, Pietro Liò
7/13/2024
cs.LGcs.AI

Official code: rick-ali/Metric-Learning-for-CGENNs (2 stars, MIT, last commit 2024-06-30).

Abstract

Clifford Group Equivariant Neural Networks (CGENNs) leverage Clifford algebras and multivectors as an alternative approach to incorporating group equivariance to ensure symmetry constraints in neural representations. In principle, this formulation generalizes to orthogonal groups and preserves equivariance regardless of the metric signature. However, previous works have restricted internal network representations to Euclidean or Minkowski (pseudo-)metrics, handpicked depending on the problem at hand. In this work, we propose an alternative method that enables the metric to be learned in a data-driven fashion, allowing the CGENN network to learn more flexible representations. Specifically, we populate metric matrices fully, ensuring they are symmetric by construction, and leverage eigenvalue decomposition to integrate this additional learnable component into the original CGENN formulation in a principled manner. Additionally, we motivate our method using insights from category theory, which enables us to explain Clifford algebras as a categorical construction and guarantee the mathematical soundness of our approach. We validate our method in various tasks and showcase the advantages of learning more flexible latent metric representations. The code and data are available at https://github.com/rick-ali/Metric-Learning-for-CGENNs

View on arXivView PDF

Code Implementations(1)

MIT

Code used by the 'Metric Learning for Clifford Group Equivariant Neural Networks' paper.

20PythonJun 30, 20242 years agoMIT

Similar Papers

Cite this paper

@article{ali2024metric,
  title  = {Metric Learning for Clifford Group Equivariant Neural Networks},
  author = {Riccardo Ali and Paulina Kulytė and Haitz Sáez de Ocáriz Borde and Pietro Liò},
  year   = {2024},
  eprint = {2407.09926},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.09926v1}
}

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/2407.09926.svg)](https://codeofpaper.com/paper/2407.09926)

Discussion