Representing and Learning Functions Invariant Under Crystallographic Groups

Ryan P. Adams, Peter OrbanzarXiv 2023 · DOI

Abstract

This paper introduces a rigorous mathematical and algorithmic framework for constructing machine learning models that are strictly invariant under crystallographic symmetries. By deriving a generalized Fourier basis and utilizing orbifold mappings, the authors enable standard models to handle the infinite, non-compact groups characteristic of repeating patterns and crystalline structures.

Introduction

Symmetry is a fundamental constraint in the physical sciences, dictating the properties of materials and the behavior of periodic systems. While machine learning has successfully addressed simple symmetries like translation (via CNNs) or rotation (via E(3)-equivariant networks), crystallographic groups present a unique challenge. These groups, which include the 17 "wallpaper groups" in 2D and 230 "space groups" in 3D, are infinite and non-compact, meaning standard group-averaging techniques are computationally inapplicable.

Crystallographic Symmetries and the Invariance Problem

Crystallographic groups define the rules for repeating patterns. For example, the electronic properties of a crystal remain unchanged if the coordinates are shifted, rotated, or flipped according to the specific symmetry of that crystal's lattice.

Visual representation of symmetry operations for wallpaper groups p1, p2, and p2mm, using the letter 'F' to demonstrate transformations.

This paper fills the gap in existing literature by providing a way to represent and learn smooth functions that are perfectly invariant under these complex group actions.

Methodology

The authors propose two primary ways to represent invariant functions:

1. Linear Representation: Invariant Fourier Basis

The standard Fourier basis (sines and cosines) is invariant under simple integer shifts. The authors generalize this by identifying the eigenfunctions of the Laplace operator that satisfy the specific boundary conditions of a given crystallographic group. They prove that such a basis exists for every crystallographic group and that these basis functions are orthonormal and infinitely smooth.

2. Nonlinear Representation: Factoring through an Orbifold

Instead of modifying the basis, this method transforms the input space. The authors construct a continuous, surjective map $\rho: \mathbb{R}^n \to \Omega$, where $\Omega$ is a compact set known as an orbifold. This process effectively "folds" the repeating tiles of the space into a single representative shape. Once this map is defined, any standard machine learning model (such as a vanilla MLP) can be made invariant simply by computing $f(x) = h(\rho(x))$.

Practical Implementation: Orbit Graphs

To make these theoretical constructs practical, the authors introduce Orbit Graphs. They discretize the "fundamental region" (a single tile of the pattern) into a graph where edges represent points that are "close" in the symmetry-aware space. They then use spectral graph theory and Multidimensional Scaling (MDS) to numerically compute the Fourier basis and the orbifold embedding map.

Key Results and Discussion

The authors successfully demonstrate that their framework allows for "plug-and-play" invariance across various models, including Neural Networks, Kernel Machines (SVMs), and Gaussian Processes.

A contour plot of a smooth invariant function generated for the p2mm wallpaper group.

Crucially, the resulting functions are infinitely differentiable (smooth), which is a critical requirement for physics-based applications like solving the Schrödinger equation. The paper proves that any continuous invariant function can be represented as a series expansion of their generalized Fourier basis, establishing a universal representation theorem for these groups.

Conclusion

By viewing the problem of crystallographic invariance through the lens of orbifolds, the authors provide a powerful toolkit for researchers in materials science and crystallography. While future work is required to refine error analysis for orbifold singularities and improve scaling for high-dimensional data, this methodology provides a robust foundation for symmetry-aware machine learning in periodic domains.

Summary updated

BibTeX
@misc{adams2023representing,
  author = {Ryan P. Adams and Peter Orbanz},
  title = {{Representing and Learning Functions Invariant Under Crystallographic Groups}},
  year = {2023},
  eprint = {2306.05261},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.05261},
}
Figure