Abstract
Diffeomorphisms are essential for topology-preserving shape deformation, yet enforcing geometric constraints like periodicity or rotation equivariance remains a challenge for standard neural networks. This paper presents Flow Symmetrization, a method that embeds these constraints directly into the vector fields of Neural Ordinary Differential Equations (NeuralODEs). By applying symmetrization operators—periodicity, rotation, and transflection—to the underlying flow, the framework generates "constrained diffeomorphisms" that are mathematically guaranteed to respect complex symmetries. We demonstrate the utility of this approach in automating Escher-style tiling and performing density estimation on non-Euclidean manifolds such as the Klein bottle and projective plane.
Introduction: The Challenge of Constrained Deformation
In fields ranging from computer vision to geometric deep learning, diffeomorphisms—smooth, invertible transformations—are the preferred tool for deforming shapes while preserving their fundamental topology. While Invertible Neural Networks (INNs) and NeuralODEs have made generating these maps easier, they typically produce unconstrained flows.
For applications like tiling or manifold modeling, unconstrained flows are insufficient. A tile intended for a periodic grid must maintain edge-to-edge consistency; if the transformation is unconstrained, the edges will no longer align, breaking the tiling property. Enforcing these "identification constraints" during gradient-based optimization has historically been difficult. Flow Symmetrization addresses this by shifting the focus from the final map to the infinitesimal changes that generate it.
Methodology: Symmetrizing the Vector Field
The core insight of this work is that it is significantly easier to constrain the underlying vector field $V$ of a NeuralODE than the integrated global transformation. If the vector field itself is symmetric, the resulting diffeomorphism is guaranteed to inherit those symmetries.
The authors define three primary symmetrization operators to enforce specific geometric properties:
- B-Periodicity: Ensures the vector field repeats across a lattice defined by basis vectors $b_1, b_2$.
- (c, K)-Rotation Equivariance: Ensures the flow rotates correctly around a center $c$ with $K$-fold symmetry.
- (ℓ, μ)-Transflection Equivariance: Handles glide reflections, where a reflection across a line ℓ is coupled with a translation μ.
These operators allow the framework to support all 93 isohedral tiling classes. By representing the vector field using a finite Fourier series, the complexity and "wiggliness" of the resulting deformations can be precisely controlled via the maximum frequency parameter $\Omega$.
Applications and Results
The framework was evaluated on two primary tasks: Escherization and Manifold Density Estimation.
Escherization: Automating the Art of Tiling
Escherization involves deforming a simple geometric template (like a square or hexagon) into a complex shape that still tiles the plane perfectly. Using an "inverse mode" optimization, the authors map points from a target silhouette (e.g., a rabbit) back to the template domain. They then minimize an "Occupancy Loss" based on Signed Distance Function (SDF) values.
The method achieved Intersection over Union (IoU) scores of approximately 0.92, matching state-of-the-art polygonal methods while offering the unique advantage of handling non-polygonal, smooth silhouettes.
Manifold Density Estimation
The link between constrained 2D diffeomorphisms and unconstrained maps on identification spaces allows the model to perform density estimation on non-Euclidean manifolds. By projecting synthetic distributions (like checkerboards) onto surfaces such as the Torus, Sphere, Klein Bottle, and Projective Plane, the authors demonstrated that the symmetrized flows correctly capture the underlying topological constraints. For instance, on a sphere, the flow maintained the necessary 4-fold rotational symmetry required by the topology.
Conclusion and Future Directions
Flow Symmetrization provides a robust, differentiable bridge between tiling theory and neural flow models. While currently limited to 2D, the authors suggest that extending this to 3D "facet identification" could enable the creation of 3D Escher blocks. Future work may also explore alternative loss functions to improve the aesthetic "naturalness" of generated tiles and address memory scaling issues associated with high-frequency Fourier representations.
Summary updated