Learning on Manifolds: Universal Approximations Properties using Geometric Controllability Conditions for Neural ODEs

Karthik Elamvazhuthi, Xuechen Zhang, Samet Oymak, Fabio Pasqualetti

Abstract

In numerous robotics and mechanical engineering applications, data is often constrained on smooth manifolds due to rotational degrees of freedom. Common data-driven methods like neural ordinary differential equations (ODEs) typically fail to satisfy these manifold constraints. This paper studies a class of neural ODEs that leave a given manifold invariant and characterizes their properties using geometric controllability. We show that any map representable as the flow of a manifold-constrained dynamical system can be approximated using the flow of a manifold-constrained neural ODE, provided a controllability condition is satisfied. This universal approximation property holds even with limited width, leveraging network depth. Numerical experiments on $S^2$ and $SO(3)$ demonstrate the superiority of this approach in accuracy and sample complexity compared to classical neural ODEs.

Introduction

In fields such as robotics and aerospace, data often resides on manifolds rather than flat Euclidean space. For instance, the orientation of a satellite or the joint positions of a robotic arm are constrained by rotational degrees of freedom. Standard "black-box" models, including Residual Networks (ResNets) and basic Neural ODEs, frequently ignore these geometric constraints. This neglect leads to non-physical outputs (e.g., non-orthogonal rotation matrices) and the "curse of dimensionality," where models waste parameters learning the manifold's shape itself. This paper provides a rigorous mathematical proof that manifold-constrained Neural ODEs are universal approximators capable of respecting underlying data geometry.

Methodology: Geometric Control and Universal Approximation

The authors investigate Manifold-Invariant Neural ODEs, where system dynamics are defined by vector fields guaranteed to be tangent to the manifold at every point.

Geometric Control Theory

The framework utilizes the bracket generating condition. If a set of basic vector fields (directions) and their interactions (Lie brackets) can reach any direction on the manifold, the system is considered "controllable." The paper links this engineering concept of controllability directly to the "expressive power" of a neural network: if the architecture is controllable, it is a universal approximator.

Universal Approximation Proof

By adapting theorems from Agrachev and Caponigro, the authors demonstrate that the flow of these constrained ODEs can approximate any diffeomorphism isotopic to the identity. Crucially, these networks remain universal approximators even with limited width per layer, provided there is sufficient depth or integration time.

Geometric Discretization

To prevent numerical "drift" off the manifold during implementation, the authors employ "geometric Euler discretization" using matrix exponentials. This ensures that even after the ODE is broken into discrete steps, the state never leaves the manifold.

Experimental Evaluation

The approach was evaluated on two model manifolds common in mechanical systems:

  1. The 2-Sphere ($S^2$): Representing points on a spherical surface.
  2. The 3D Rotation Group ($SO(3)$): Representing object orientations in space.

Ground truth trajectories were generated using complex, non-linear ODEs, and the neural networks were tasked with learning the underlying mapping from start to finish.

Key Results

The manifold-constrained Neural ODE was compared against "classical" Neural ODEs that ignore manifold structure across several metrics.

Comparison of training and test losses for Classical vs. Manifold-invariant Neural ODEs across two experiments ($S^2$ and $SO(3)$).
  • Parameter Efficiency: On the $SO(3)$ manifold, the constrained model achieved comparable results using significantly fewer parameters. Specifically, the manifold-constrained model used only 33 parameters per layer, while the classical model required 171 parameters per layer to achieve similar performance.
  • Superior Generalization: Manifold-invariant models showed significantly lower test loss. In the $S^2$ experiment, the manifold-invariant model's test loss was orders of magnitude lower than the classical model as the number of parameters increased.
  • Sample Complexity: By "baking in" the physics of the manifold, these models reached high accuracy with far fewer training samples, as they did not need to spend data learning the basic geometry of the sphere or rotation group.

Conclusion and Future Work

While this work establishes the theoretical foundation for manifold-constrained learning, it currently requires the manifold to be known analytically. Future research aims to extend this to scenarios where the manifold geometry must be learned from data (e.g., via autoencoders). Additionally, while approximation is proven possible, formal sample complexity estimates remain an open area for investigation.

Summary updated

BibTeX
@inproceedings{elamvazhuthi2023learning,
  author = {Karthik Elamvazhuthi and Xuechen Zhang and Samet Oymak and Fabio Pasqualetti},
  title = {{Learning on Manifolds: Universal Approximations Properties using Geometric Controllability Conditions for Neural ODEs}},
  booktitle = {L4DC},
  year = {2023},
  url = {https://openreview.net/forum?id=qNgHu08FHf},
}
Figure