Projected Orientation Consistency Loss
- The paper introduces a loss that leverages Modified Rodrigues Parameters to project SO(3) rotations into R³, transforming non-convex optimization into a convex ℓ2 loss.
- It enforces relative rotational consistency by minimizing one-sided squared errors between predicted and ideal rotations, facilitating better convergence.
- Empirical benchmarks demonstrate faster convergence and lower angular errors in both direct parameter optimization and CNN-based orientation prediction.
The projected orientation consistency loss is a self-supervised learning objective designed to enforce relative rotational consistency in orientation estimation tasks. It enables deep networks and optimization algorithms to align predicted absolute rotations with available relative rotation measurements, while avoiding non-convexities intrinsic to optimization directly over , the group of 3D rotations. This loss leverages the Modified Rodrigues Parameters (MRP) to stereographically project unit quaternions onto an open Euclidean space, , making the optimization well-behaved, convex, and free of topological pathologies present in . This approach is especially effective for scenarios with only relative supervision, such as unlabeled or weakly labeled pose data, and is validated in both direct parameter optimization and end-to-end neural network training regimes (Okorn et al., 2022).
1. Mathematical Foundation: Modified Rodrigues Parameters (MRP)
Orientation in is commonly represented via unit quaternions , where is the scalar part and the vector part. The MRP is a stereographic projection mapping the closed manifold to the open set : with inverse: 0 Operating in 1-space (2) removes antipodal and non-convex ambiguities inherent to 3, facilitating gradient-based optimization.
2. Construction of Projected Orientation Consistency Loss
Given predicted absolute rotations 4 and a measured relative rotation 5 (ideally 6), each predicted rotation is mapped sequentially:
- Matrix 7 quaternion: 8
- Quaternion 9 MRP: 0
The relative rotation is similarly converted: 1. The “ideal” orientation for node 2 in quaternion space is: 3 where 4 denotes quaternion multiplication. Both 5 and its antipode 6 are projected to 7: 8, 9. The one-sided squared 0 errors are: 1 The loss for the pair 2 is: 3 The total loss is computed by summing or averaging 4 over all supervised edges in the neighbor graph.
The gradient with respect to 5 is the difference to the correct projection (choosing sign for minimal loss), optionally clipped to norm 6 (e.g., 7) to combat stereographic distortion: 8 Clipping: if 9, set 0. The update is 1, with learning rate 2.
3. Behavior and Theoretical Properties Compared to SO(3) Losses
3 is a compact manifold with antipodal identifications and multiple geodesics between distant points, precluding global convexity. In contrast, 4 is open, simply connected, and has a unique, convex squared Euclidean distance between any pair of points. Stereographic projection removes SO(3)’s wrap-around and antipodal ambiguity, except at a singular point (5) not encountered under small-motion supervision.
A 3-node cycle analysis in Appendix A of (Okorn et al., 2022) demonstrates that SO(3) averaging admits a broad family of spurious critical points, while the MRP-based loss reduces these to a single degenerate family occurring only when all 6 and true rotations are evenly spaced about an axis. Thus, the projected loss strongly suppresses spurious optima, producing a more favorable optimization landscape.
4. Integration Into Optimization and Deep Neural Network Training
Direct Rotation-Parameter Optimization
- Rotations are parameterized by 7.
- At each SGD step, one index 8 and neighbor 9 are sampled. Gradient 0 is computed and clipped, followed by 1.
- On convergence, reconvert 2 via 3, then to 4.
- Typical hyperparameters: 5, 6, batch size = 1, up to 7 steps.
End-to-End CNN-Based Orientation Prediction
- A small “8-head” is attached atop a ResNet-18 backbone; network outputs 9.
- Compute 0, then 1, then project: 2.
- Only 3 and 4 receive gradient; neighbors' estimates are fixed for backpropagation.
- Optimization via Adam, learning rate 5, batch size 32 (20 for Pascal3D+), 10K–80K steps. No explicit weight decay beyond standard ResNet-18 setup.
5. Empirical Results and Comparative Performance
Empirical benchmarks on (Okorn et al., 2022) highlight the projected orientation consistency loss's advantages over SO(3)- and quaternion-based losses:
| Setting | Metric | MRP | Quaternion | SO(3)-averaging | 4D PMG |
|---|---|---|---|---|---|
| Direct (N=100) | Steps to 65° error | ≈37.5K | 7100K | 8100K | 9100K |
| Robustness (Direct) | % converged trials | 100% | 82% | 94% | 90% |
| CNN (YCB Drill) | Final mean pairwise error | 3.7° | 28.8° | – | 123° |
| CNN Oracle (abs. sup.) | Final mean pairwise error | 1.6° | – | – | – |
In 1DSfM structure-from-motion, after 20K steps, MRP achieves lower relative and absolute angular errors than all other local-SGD methods. Across Pascal3D+ categories and ModelNet40 airplane, MRP outperforms PMG and quaternion losses by several degrees.
6. Practical Considerations, Limitations, and Theoretical Insights
Theoretical analysis shows that projecting to 0 via MRP eliminates most non-convexity in the optimization landscape, except for a degenerate case when all estimated rotations are at the origin. Clipping the gradient step size prevents distortion due to the stereographic projection’s amplification effects. While the projection singularity exists at 1, small-motion regimes effectively avoid this issue.
By enforcing pairwise relative-rotation consistency in 2-space, one obtains a squared-3 loss with convexity and convergence properties unattainable in direct 4 loss minimization (Okorn et al., 2022). This results in more reliable, robust, and efficient training dynamics, verified both in direct optimization and deep neural network training.