Skip to main content
QUICK REVIEW

[Paper Review] Revisiting the Continuity of Rotation Representations in Neural Networks

Sitao Xiang, Hao Li|arXiv (Cornell University)|Jun 11, 2020
Advanced Numerical Analysis TechniquesEngineering9 references8 citations
TL;DR

This paper proves that neural networks converting rotation matrices to quaternions or Euler angles must produce errors of up to 180° due to topological constraints in SO(3), and shows that standard embeddings into R⁵ or R⁶ fail under input symmetries. The authors propose a self-selected ensemble method using multiple networks with region-specific learning, which achieves near-zero maximum error (4.62°) and outperforms standard approaches by avoiding topological pitfalls.

ABSTRACT

In this paper, we provide some careful analysis of certain pathological behavior of Euler angles and unit quaternions encountered in previous works related to rotation representation in neural networks. In particular, we show that for certain problems, these two representations will provably produce completely wrong results for some inputs, and that this behavior is inherent in the topological property of the problem itself and is not caused by unsuitable network architectures or training procedures. We further show that previously proposed embeddings of $\mathrm{SO}(3)$ into higher dimensional Euclidean spaces aimed at fixing this behavior are not universally effective, due to possible symmetry in the input causing changes to the topology of the input space. We propose an ensemble trick as an alternative solution.

Motivation & Objective

  • To theoretically analyze why neural networks fail to represent 3D rotations accurately using Euler angles or quaternions.
  • To prove that high errors (up to 180°) are topologically unavoidable in continuous mappings from SO(3) to R⁴ or R³.
  • To show that existing embeddings into R⁵ or R⁶ are ineffective when input symmetries alter the topology of the input space.
  • To develop a robust, generalizable solution that avoids topological obstructions in rotation representation.
  • To verify theoretical claims through experiments with ensembles of neural networks.

Proposed method

  • Prove that any continuous function from SO(3) to R⁴ (quaternions) must have a point where the output differs by 180° from the true rotation.
  • Use algebraic topology to show that embeddings into R⁵ or R⁶ fail when input symmetries make the input space non-simply connected.
  • Propose a self-selected ensemble method where each network learns a different region of SO(3), avoiding topological obstructions.
  • Design a modified loss function that penalizes outputs outside each network’s designated region, forcing correct local behavior.
  • Train the ensemble with a two-phase strategy: first with region-specific loss, then with standard loss to refine performance.
  • Use SO(4) as a covering space to construct four networks whose combined correct regions cover SO(3) without topological conflict.

Experimental results

Research questions

  • RQ1Can a continuous neural network mapping rotation matrices to quaternions avoid errors exceeding 180°?
  • RQ2Why do standard embeddings of SO(3) into R⁵ or R⁶ fail under input symmetries?
  • RQ3Can an ensemble of networks overcome topological obstructions in rotation representation?
  • RQ4Is it possible to construct a neural network ensemble that achieves near-zero maximum error in rotation prediction?
  • RQ5How does input symmetry affect the topology of the input space and the performance of rotation representations?

Key findings

  • Any continuous neural network mapping SO(3) to R⁴ must produce an error of at least 180° for some inputs, due to topological constraints.
  • Embeddings into R⁵ or R⁶ are not universally effective, as input symmetries can make the input space non-simply connected, reintroducing topological obstructions.
  • The self-selected ensemble method successfully reduces maximum error to 4.62° with four networks, outperforming standard ensembles.
  • An ensemble of five networks trained with the proposed method achieved a maximum error of only 8.71°, demonstrating robustness.
  • A hand-designed ensemble based on the theoretical construction in Theorem 14 achieved a maximum error of 4.62°, confirming the theoretical framework.
  • Training with region-specific loss functions significantly improves topological generalization, especially when combined with a two-phase training schedule.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.