TL;DR
Equivariant neural networks are excellent for encoding geometric symmetries, but their latent spaces are inherently ambiguous because a single object can have many valid representations. This paper demonstrates that projecting these "noisy" equivariant latents into an invariant space is essential for meaningful visualization, stable interpolation, and high-performance downstream tasks.
What Problem Does This Paper Address?
Deep learning models often incorporate geometric inductive biases—like equivariance to rotation or permutation—to ensure that transformed inputs (e.g., a rotated image or a reordered graph) result in predictably transformed outputs. However, this creates a headache for interpretation.
In an equivariant model, the latent representation is also equivariant. This means a single molecule has $n!$ possible latent codes depending on how you order its nodes. If you use standard tools like PCA, t-SNE, or linear interpolation on these codes, the results are often nonsensical. Two latent points representing the exact same object might be far apart in Euclidean distance, leading to "hidden" structures in visualizations and unstable transitions during interpolation. The authors tackle the question: How do we obtain a stable, invariant representation from an equivariant model without losing information?
Methods
The authors propose using invariant projections to map equivariant latent codes $z$ to a stable invariant space $Z_s$. They focus on two primary techniques:
- Isometric Cross Sections (for Permutations): For models like Graph VAEs, the authors show that simply sorting the coordinates of the latent vector acts as an invariant map. This sorting process is mathematically proven to be an isometry, meaning it preserves the natural distances between "orbits" (sets of equivalent representations) without losing any expressive information.
- Random Invariant Linear Projections (for Rotations): In cases where a perfect "sorting-like" cross-section is mathematically difficult (like continuous rotations), the authors propose using random invariant linear maps. These act similarly to the random projections used in classical dimensionality reduction but are constrained to be invariant to the group action.
Datasets
- QM9: A standard benchmark containing approximately 130,000 small stable molecules. It was used to evaluate a permutation-equivariant Graph VAE.
- MNIST: The classic handwritten digit dataset, augmented with random rotations to test $SO(2)$ (rotation) equivariance in image classifiers.
Key Insights and Ideas
-
Equivariance Hides Structure: Naive visualization of equivariant latents often looks like a random cloud because the "noise" of the group action (e.g., random node ordering) overwhelms the actual data signal. As seen in Figure 1, the invariant representation (right) reveals clear clusters that are totally obscured in the equivariant version (left). Visualizing rotated MNIST images via their equivariant representation (left) hides structure that is apparent in an invariant representation of the same latent codes (right).
-
Interpolation Pathologies: Linear interpolation between two equivariant latent codes $z_1$ and $z_2$ is often "pathological." Because the path doesn't account for the group symmetry, the decoded objects vary wildly and unpredictably. In contrast, interpolating in the invariant space produces smooth, chemically sensible transitions.
- Augmentation Isn't a Cure-All: The authors show that even standard CNNs trained with data augmentation—a "poor man's" way to encourage invariance—suffer from these same latent ambiguities. The need for post-hoc invariant analysis isn't just for specialized equivariant models; it's a general requirement for any model intended to be transformation-invariant.
Key Results
- Molecular Property Prediction: Using a k-Nearest Neighbor (kNN) regressor on the QM9 dataset, the invariant representation consistently achieved lower Mean Absolute Error (MAE) across various molecular properties compared to naive equivariant latents or standard pooling methods (Max/Avg pooling).
- Visualization Clarity: In Figure 4, PCA performed on equivariant latents shows no correlation with molecular properties like the HOMO-LUMO gap. Once the invariant projection (sorting) is applied, the first two principal components clearly organize the data by chemical properties. Extracted figure from page 3 of Interpreting Equivariant Representations
- MNIST Classification: A kNN classifier trained on the invariant latent space of a rotation-equivariant model achieved a higher F1 score (~0.99) than one trained on the raw equivariant space (~0.987), proving that the invariant projection makes the local neighborhood structure more informative.
Limitations and Future Work
- Map Selection: While sorting works perfectly for permutations, choosing the "best" invariant mapping for other complex group actions (like 3D rotations or non-rigid deformations) remains an open challenge.
- Information Retention: While the authors demonstrate that sorting is lossless, other invariant projections (like random ones) may sacrifice some expressive power for the sake of invariance.
- Architectural Specificity: The effectiveness of a specific invariant map may depend heavily on the underlying model architecture, suggesting a need for a more automated way to derive these mappings.
Summary updated