Learning Unorthogonalized Matrices for Rotation Estimation

Kerui Gu, Zhihao Li, Shiyong Liu, Jianzhuang Liu, Songcen Xu, Youliang Yan, Michael Bi Mi, Kenji Kawaguchi, Angela Yao · DOI

Summary

Standard deep learning models for 3D rotation estimation typically enforce matrix orthogonality during training using techniques like Gram-Schmidt or SVD. However, this research demonstrates that these "cleanup" steps can hinder the learning process by introducing ambiguous and explosive gradients. By learning unorthogonalized Pseudo Rotation Matrices (PRoM) and deferring orthogonalization until the inference stage, models achieve faster convergence, support higher learning rates, and reach state-of-the-art accuracy in human pose estimation tasks.

The Challenge of 3D Rotation Estimation

Estimating 3D rotations is a core task in computer vision, essential for human pose and shape estimation. While a 3D rotation has three degrees of freedom, it is often represented by a 9-element matrix that must be orthogonal—meaning its columns are unit length and mutually perpendicular.

The current state-of-the-art "6D representation" predicts two columns and derives the third via Gram-Schmidt. However, incorporating these constraints directly into the training loop complicates the optimization landscape. Specifically, it couples matrix elements, where a gradient update for one element may negatively impact others. This leads to "update ambiguity" and training instability.

Methodology: Pseudo Rotation Matrices (PRoM)

The proposed solution, PRoM, simplifies the training process by removing constraints during the learning phase.

The PRoM pipeline architecture compared to traditional methods.
  1. Unconstrained Training: The network outputs a raw $3 \times 3$ matrix (9 parameters) without internal orthogonalization layers.
  2. Direct Supervision: The loss function compares this "pseudo" matrix directly to the ground truth rotation matrix, ensuring independent updates for each element.
  3. Inference-Time Orthogonalization: The orthogonalization step (e.g., via SVD) is moved entirely to the inference stage.
  4. Downstream Integration: For tasks like human mesh recovery, unorthogonalized matrices are passed directly to downstream models (like SMPL) during training.

Theoretical and Empirical Insights

The researchers identified several critical issues with standard orthogonalized pipelines:

  • Gradient Ambiguity: In orthogonalized models, the gradient for one column is influenced by errors in others, potentially leading the optimizer away from the optimal path.
  • Gradient Explosion: Normalization steps in Gram-Schmidt can cause gradients to explode if predicted vectors are nearly parallel.
  • Non-Local Injectivity: Orthogonalization functions are not locally injective, creating "flat" regions in the loss landscape where optimizers can stall. PRoM avoids this by supervising the unorthogonalized space.
  • Optimization Stability: PRoM allows for learning rates up to 5 times higher than SVD or 6D-based methods due to more stable gradients.

Experimental Results

PRoM was evaluated on major benchmarks including Human3.6M, 3DPW, AGORA, FreiHAND, and ShapeNet.

Comparison of test error (PA-MPJPE) for body pose estimation on the 3DPW dataset.

Key findings include:

  • State-of-the-Art Accuracy: Integrating PRoM into the CLIFF model reduced error on Human3.6M by 7%.
  • Leaderboard Performance: The approach ranked 1st among model-based methods on the AGORA leaderboard.
  • Efficiency: PRoM consistently demonstrated faster convergence across all tasks.
  • Qualitative Gains: Statistical analysis on AGORA showed PRoM outperformed 6D representations on over 70% of samples, resulting in more natural human meshes.

Conclusion and Future Directions

PRoM offers a robust and efficient alternative to constrained rotation representations. Future work may explore optimizing the choice of inference-time orthogonalization and applying PRoM to other domains like SLAM or satellite orientation. Additionally, theoretical analysis using Information Bottleneck theory could further elucidate why unconstrained representations generalize better to unseen data.

Summary updated

BibTeX
@misc{gu2023learning,
  author = {Kerui Gu and Zhihao Li and Shiyong Liu and Jianzhuang Liu and Songcen Xu and Youliang Yan and Michael Bi Mi and Kenji Kawaguchi and Angela Yao},
  title = {{Learning Unorthogonalized Matrices for Rotation Estimation}},
  year = {2023},
  eprint = {2312.00462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.00462},
}
Figure