Learning Probabilistic Symmetrization for Architecture Agnostic Equivariance
Jinwoo Kim, Tien Dat Nguyen, Ayhan Suleymanzade, Hyeokjun An, Seunghoon Hong
TL;DR
This work introduces probabilistic_symmetrization, a general framework that learns a group-equivariant transformation of a base model by conditioning a small equivariant distribution p_ω(g|x) on the input. By enforcing probabilistic G-equivariance and combining it with a universal base function f_θ (MLP or transformer), the method guarantees G-equivariance in expectation and universal approximation for invariant/equivariant targets. The authors instantiate p_ω for a range of practical groups—S_n, O(n)/SO(n), E(n)/SE(n), and their products—using lightweight, input-conditioned neural components (e.g., GNNs, Gram–Schmidt, differentiable relaxations) and demonstrate competitive or superior performance across graph isomorphism, n-body dynamics, and real-world graph datasets, often transferring pretrained Vision Transformer weights. This approach decouples symmetry handling from the base architecture, enabling transfer learning and application to diverse domains, while highlighting a trade-off in sampling cost for end-to-end learned equivariance.
Abstract
We present a novel framework to overcome the limitations of equivariant architectures in learning functions with group symmetries. In contrary to equivariant architectures, we use an arbitrary base model such as an MLP or a transformer and symmetrize it to be equivariant to the given group by employing a small equivariant network that parameterizes the probabilistic distribution underlying the symmetrization. The distribution is end-to-end trained with the base model which can maximize performance while reducing sample complexity of symmetrization. We show that this approach ensures not only equivariance to given group but also universal approximation capability in expectation. We implement our method on various base models, including patch-based transformers that can be initialized from pretrained vision transformers, and test them for a wide range of symmetry groups including permutation and Euclidean groups and their combinations. Empirical tests show competitive results against tailored equivariant architectures, suggesting the potential for learning equivariant functions for diverse groups using a non-equivariant universal base architecture. We further show evidence of enhanced learning in symmetric modalities, like graphs, when pretrained from non-symmetric modalities, like vision. Code is available at https://github.com/jw9730/lps.
