Abstract
Self-supervised representation learning via Auto-Encoding Transformations (AET) typically relies on Euclidean metrics to estimate image transformations. However, transformations like homographies reside on curved manifolds (Lie groups). We present AETv2, which utilizes geodesic distance on these manifolds to learn more robust features. By reparameterizing transformations through a differentiable Direct Linear Transformation (DLT) layer and projecting onto the Scaled Rotation group ($SR(3)$), AETv2 achieves state-of-the-art performance on benchmarks like CIFAR-10 and ImageNet, nearing supervised performance levels.
Introduction
In self-supervised learning, models are trained on pretext tasks where ground truth is computationally generated. A prominent approach is Auto-Encoding Transformations (AET), where a network estimates a random transformation applied to an image by comparing the original and transformed versions. Traditionally, these transformations are treated as vectors in flat Euclidean space, with training driven by Mean Squared Error (MSE).
However, transformations such as homographies (perspective warps) exist on curved manifolds known as Lie groups. In such spaces, Euclidean distance is a poor proxy for the actual difference between transformations. As illustrated in Figure 1, a straight line in Euclidean space may traverse "invalid" transformation states, whereas the geodesic path follows the natural curvature of the manifold.
Methodology
The proposed AETv2 framework replaces Euclidean metrics with Geodesic Distance (GDT), representing the shortest path along the transformation manifold.
Lie Group Modeling and Projection
The authors focus on the group of homographies, $PG(2)$. Because calculating the exact Riemannian logarithm for $PG(2)$ is computationally intractable, AETv2 projects homographies onto the Scaled Rotation group, $SR(3)$. This subgroup allows for a differentiable, closed-form solution for geodesic distance. Empirical analysis shows that $SR(3)$ distance correlates much more strongly with the true manifold distance (0.93) than Euclidean distance (0.53).
Reparameterization and DLT
To ensure numerical stability, the network does not output a raw $3 \times 3$ matrix. Instead, it predicts the displacement of the four corners of the image. A differentiable Direct Linear Transformation (DLT) layer then converts these coordinates into a transformation matrix $\hat{\mathbf{T}}$.
Training Objective
The model is trained end-to-end by minimizing the geodesic distance between the predicted transformation $\hat{\mathbf{T}}$ and the ground truth $\mathbf{T}$, projected onto the $SO(3)$ manifold. This ensures the learning signal remains faithful to the underlying geometry of the image transformations.
Experimental Results
AETv2 was evaluated across several standard benchmarks to assess its feature learning capabilities.
CIFAR-10
On CIFAR-10, AETv2 achieved an error rate of 7.44%, significantly outperforming the original AETv1 (Euclidean-based) and other self-supervised methods like RotNet. Notably, this performance is nearly on par with a fully supervised model (7.20%) using the same architecture, suggesting that geometric pretext tasks can capture nearly as much information as human labels.
ImageNet and Transfer Learning
Using an AlexNet backbone on ImageNet, AETv2 reached a Top-1 accuracy of 47.5% at the Conv5 layer, surpassing previous unsupervised benchmarks. Furthermore, features learned on ImageNet generalized effectively to the Places dataset for scene recognition, consistently outperforming competing models across all convolutional layers.
Conclusion
AETv2 demonstrates that the geometry of the transformation space is a critical factor in self-supervised learning. By shifting from Euclidean approximations to geodesic distances on Lie groups, the model learns more representative and robust visual features. Future work may extend this geometric approach to non-rigid transformations, further closing the gap between self-supervised and supervised representation learning.
Summary updated