Improving Equivariant Model Training via Constraint Relaxation

Stefanos Pertigkiozoglou, Evangelos Chatzipantazis, Shubhendu Trivedi, Kostas Daniilidis

Abstract

Equivariant neural networks (ENNs) are highly valued in physical and chemical domains for their ability to bake geometric symmetries directly into their architectures. However, these strict constraints often lead to a "stiff" optimization landscape that hinders convergence. This paper introduces a Constraint Relaxation (CR) framework that allows models to temporarily violate symmetry constraints during training. By utilizing a cyclic scheduling mechanism and Lie derivative regularization, the framework enables models to explore a broader hypothesis space before converging to a perfectly equivariant solution. Empirical results across 3D point cloud classification, molecular dynamics, and particle simulations demonstrate significant improvements in both generalization and optimization stability.

Introduction

In fields such as molecular biology, materials science, and 3D computer vision, data often adheres to fundamental physical symmetries. For instance, the energy of a molecule remains invariant under rotation, and the forces acting on particles are equivariant to the coordinate system's orientation. Group Equivariant Convolutional Neural Networks (GCNNs) address these requirements by enforcing symmetry through their architectural design.

While this inductive bias makes GCNNs exceptionally data-efficient, it introduces a significant challenge: optimization difficulty. Because every layer is forced to be perfectly equivariant from the first training step, the model's search space is highly restricted. This paper argues that this "straitjacket" effect prevents the optimizer from finding the global optimum, leading to sub-optimal performance even when the underlying data is perfectly symmetric.

The Constraint Relaxation (CR) Framework

To alleviate the optimization bottlenecks of strict equivariance, the authors propose a framework that relaxes these constraints during the training phase. A standard equivariant layer is augmented with an unconstrained component:

$$f(x) = f_e(x) + \theta Wx$$

In this formulation, $f_e(x)$ represents the hard-coded equivariant operation, while $Wx$ is a standard linear term that does not necessarily respect the symmetry group. The scaling factor $\theta$ controls the degree of relaxation.

Cyclic Scheduling and Regularization

The framework relies on three core pillars to ensure the final model remains useful and equivariant:

  1. Cyclic Scheduling: The relaxation parameter $\theta$ is not static. It follows a schedule that starts at zero, increases to allow the model to explore non-equivariant solutions, and gradually returns to zero by the end of training. This ensures that the final model used for inference is 100% equivariant.
  2. Lie Derivative Regularization: To prevent the model from deviating too far from the desired symmetry, the authors employ a penalty based on the Lie derivative. This mathematical tool measures the infinitesimal deviation of a function from symmetry, keeping the "relaxed" model within a reasonable neighborhood of the equivariant manifold.
  3. Projection at Inference: Once training is complete, $\theta$ is set to zero. The unconstrained weights ($W$) are discarded, resulting in a standard equivariant architecture with no additional computational cost during deployment.

Experimental Results

The researchers evaluated the CR framework across several diverse benchmarks, demonstrating its versatility and effectiveness.

3D Point Clouds and Molecular Dynamics

On the ModelNet40 dataset for 3D point cloud classification, applying CR to the VN-PointNet architecture resulted in a dramatic jump in test accuracy, rising from 66.4% to 74.5%.

In the realm of molecular dynamics, the framework was applied to the Equiformer architecture using the MD17 dataset. The relaxed training approach improved the Mean Absolute Error (MAE) for both energy and force predictions across a wide range of molecules, including Aspirin and Benzene, without increasing the final model's parameter count.

Physics Simulations

Using Nbody Particle Simulations, the authors tested the scaling properties of the framework. They found that relaxed models consistently outperformed strict baselines across various conditions: small vs. large datasets and shallow vs. deep architectures. Furthermore, on a Synthetic Smoke Plume task involving approximate symmetries, the proposed method achieved the lowest RMSE, suggesting that relaxation is beneficial even when the underlying physics is not perfectly symmetric.

Key Insights

Optimization vs. Specification

A critical takeaway from this research is the distinction between data specification and optimization. While previous "relaxed symmetry" research often focused on handling noisy or asymmetric data, this paper demonstrates that relaxation is a powerful tool for the optimizer itself. Even when the data is perfectly symmetric, allowing the model to "break the rules" during training helps it navigate the loss landscape more effectively.

The "Small Model" Benefit

The study found that smaller, under-parameterized models benefited most significantly from constraint relaxation. In these models, strict symmetry constraints are particularly suffocating; relaxation provides the necessary "breathing room" for these limited parameters to reach a better configuration.

Conclusion and Future Work

The Constraint Relaxation framework offers a promising path for improving the performance of equivariant networks without changing their final architecture. By treating equivariance as a goal to be reached rather than a constant constraint, the method achieves better generalization and more stable training.

Future research directions include extending the Lie derivative regularizers to more exotic symmetry groups and developing a deeper theoretical understanding of why the equivariant optimization landscape is so prone to local minima. Currently, the method is most effective for networks composed of equivariant linear layers, and expanding this to a broader range of architectural designs remains an open challenge.

Summary updated

BibTeX
@inproceedings{pertigkiozoglou2024improving,
  author = {Stefanos Pertigkiozoglou and Evangelos Chatzipantazis and Shubhendu Trivedi and Kostas Daniilidis},
  title = {{Improving Equivariant Model Training via Constraint Relaxation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=tWkL7k1u5v},
}
Figure