Abstract
Deep learning models often struggle with rotational variance unless specifically trained or architected for it. RECON (Robust Explicit Canonical Orientation Normalization) addresses this by automatically discovering and normalizing object orientations in an unsupervised manner. By aligning arbitrary internal canonical representations with the natural data distribution, RECON provides a plug-and-play layer that enhances the rotation robustness of pre-trained models across 2D and 3D domains without requiring retraining.
1. Introduction
In many computer vision and scientific tasks, it is desirable for models to be invariant to symmetries such as rotations. While Equivariant Neural Networks (ENNs) offer a solution, they typically require prior knowledge of the symmetry group. Class-pose decomposition is a more flexible alternative, attempting to separate invariant features ("what") from pose information ("where"). However, standard decomposition methods often rely on arbitrary canonical orientations, leading to inconsistencies across classes and performance degradation under distribution shifts.
2. The Problem: Arbitrary Canonicalization
A significant issue in current class-pose decomposition models is the selection of an "upright" position. Often, this canonical orientation is determined by random initialization, which may not align with the natural orientation of the data. This mismatch creates two primary hurdles:
- Inconsistency: Different object classes may have disparate internal definitions of "upright."
- Distribution Shift: If a model's arbitrary canonical orientation differs from the test data's distribution, performance drops, and out-of-distribution (OOD) pose detection becomes unreliable.
3. Methodology: RECON
RECON solves these issues through a three-step unsupervised process:
- Unsupervised Grouping: Using a pre-trained Invariant-Equivariant Autoencoder (IE-AE), RECON clusters similar objects in an invariant latent space using k-Nearest Neighbors.
- Robust Pose Estimation: For each cluster, the "average" orientation is calculated using the Tukey-Fréchet mean. This robust estimator identifies the primary mode of the orientation distribution, avoiding confusion from multimodal symmetries (e.g., the 180-degree symmetry of the digit '8').
- Normalization: The model's internal canonical orientation is aligned with the discovered natural "upright" position via a mathematical right translation. This aligns the model's internal reference frame with the data's natural distribution.
Following this alignment, two lightweight mapping networks ($\Theta$ and $\Lambda$) are trained to predict these symmetry parameters and centering transformations for new inputs at test time.
4. Experimental Evaluation
RECON was evaluated on 2D image benchmarks (MNIST, FashionMNIST) and 3D molecular datasets (GEOM-QM9).
- Symmetry Recovery: RECON successfully recovered ground-truth rotation parameters from complex, multimodal distributions.
- OOD Detection: The method achieved high AUC-ROC scores (0.91 for MNIST) in identifying objects in unnatural orientations.
- Plug-and-Play Robustness: A frozen ResNet, when augmented with a RECON layer, achieved 81.96% accuracy on rotated FashionMNIST, significantly outperforming specialized equivariant architectures (77.94%).
- 3D Generalization: On the GEOM-QM9 molecular dataset, RECON was the only test-time method to improve performance over the baseline, demonstrating its efficacy in complex $SO(3)$ spaces where other state-of-the-art methods like EquiAdapt failed.
5. Discussion and Future Work
RECON demonstrates that "natural" poses can be discovered directly from data distributions without human labels. Its ability to act as a test-time canonicalization layer makes it highly versatile for real-world applications where symmetry groups are known but specific orientations are not. Current limitations include sensitivity to global vs. local symmetries and reliance on latent space grouping. Future research may explore object-centric variants using self-supervised backbones to better handle complex scenes with multiple objects.
Summary updated