Clifford-Steerable Convolutional Neural Networks

Maksim Zhdanov, David Ruhe, Maurice Weiler, Ana Lucic, Johannes Brandstetter, Patrick Forré

Abstract

Physical systems are governed by partial differential equations (PDEs) that exhibit fundamental symmetries. Standard Convolutional Neural Networks (CNNs) often fail to respect these symmetries, leading to poor sample efficiency and generalization. We present Clifford-Steerable CNNs (CS-CNNs), a novel class of neural networks that are inherently equivariant to symmetries in both Euclidean space and relativistic Minkowski spacetime. By utilizing Clifford algebras for implicit kernel parametrization, CS-CNNs achieve state-of-the-art accuracy and extreme sample efficiency on complex physical forecasting tasks, including fluid dynamics and electrodynamics.

Introduction

The laws of physics are invariant under coordinate transformations. For instance, fluid dynamics equations remain unchanged under rotations, and Maxwell’s equations for electromagnetism are consistent under Lorentz boosts. While Steerable CNNs have been developed for Euclidean rotations, extending these to non-compact groups like the Lorentz group ($O(p, q)$) is mathematically challenging. Clifford-Steerable CNNs address this by representing data as multivectors and using implicit kernel parametrization to ensure equivariance across pseudo-Euclidean spaces.

The Challenge of Spacetime Symmetry

In relativistic physics, time and space are intertwined. Transformations like Lorentz boosts move points along hyperbolic orbits, unlike the circular orbits of standard rotations. Building a network that respects these symmetries requires a framework that can handle multivector fields—data containing scalars, vectors, and higher-order geometric objects—while maintaining consistency across different inertial frames.

Clifford-Steerable Convolutions maintain equivariance under E(p, q) transformations, ensuring consistent processing of multivector fields across different coordinate frames.

Methods: Clifford Algebras and Implicit Kernels

The core innovation of CS-CNNs is the use of Clifford (or Geometric) Algebras as the "natural language" of the network.

Multivector Representation

Data is represented as multivectors, allowing the model to naturally process scalars, vectors, bivectors (e.g., magnetic fields), and pseudoscalars within a unified framework. This ensures that geometric relationships, such as dot and cross products, are preserved by the architecture.

Implicit Kernel Parametrization

Rather than analytically solving for steerable kernel bases, which is difficult for non-compact groups, CS-CNNs employ an implicit approach. A Kernel Network ($\mathcal{K}$), implemented as an equivariant MLP, takes position vectors as input and outputs multivectors. A Kernel Head ($H$) then transforms these outputs into linear maps between multivector channels, ensuring the resulting convolution is $O(p, q)$-steerable.

The CS-CNN architecture uses a kernel network and head to implicitly parameterize steerable kernels, bypassing the need for analytical solutions for non-compact groups.

Experimental Results

CS-CNNs were evaluated on three challenging physical forecasting tasks: Navier-Stokes fluid flow, 3D Maxwell’s equations, and relativistic electrodynamics in 1+2D spacetime.

Sample Efficiency and Accuracy

The model demonstrated remarkable sample efficiency. In the Navier-Stokes task, a CS-ResNet trained on just 64 simulations outperformed a standard ResNet trained on 5,120 simulations—an 80x improvement. In relativistic tasks, CS-CNNs maintained low error rates where standard models failed to converge, capturing fine details like wavefronts with high qualitative fidelity.

Conclusion

Clifford-Steerable CNNs represent a significant advancement in physics-informed deep learning. By baking the algebraic structure of spacetime directly into the network, they achieve unprecedented data efficiency and accuracy. Future work includes extending this framework to curved pseudo-Riemannian manifolds, potentially enabling equivariant deep learning for General Relativity.

Summary updated

BibTeX
@inproceedings{zhdanov2024clifford,
  author = {Maksim Zhdanov and David Ruhe and Maurice Weiler and Ana Lucic and Johannes Brandstetter and Patrick Forré},
  title = {{Clifford-Steerable Convolutional Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=XTglHJjzQI},
}
Figure