Loss it right: Euclidean and Riemannian Metrics in Learning-based Visual Odometry
Olaya Álvarez-Tuñón, Yury Brodskiy, Erdal Kayacan
TL;DR
The paper investigates how pose representations and metric choices influence learning-based visual odometry (VO). Using the DeepVO backbone, it compares Euler-angle, quaternion, and SE(3) representations with corresponding losses, including a chordal distance-based loss for SE(3). Experiments on the KITTI dataset show that SE(3) with a chordal loss provides the fastest convergence and best generalization, while Euler-based losses are less effective and quaternion-based losses converge more slowly. The findings demonstrate that geometry-consistent, metric-compliant losses better capture the manifold structure of camera motion, improving VO accuracy and robustness. These insights guide the design of VO systems by aligning loss functions with the underlying geometric space.
Abstract
This paper overviews different pose representations and metric functions in visual odometry (VO) networks. The performance of VO networks heavily relies on how their architecture encodes the information. The choice of pose representation and loss function significantly impacts network convergence and generalization. We investigate these factors in the VO network DeepVO by implementing loss functions based on Euler, quaternion, and chordal distance and analyzing their influence on performance. The results of this study provide insights into how loss functions affect the designing of efficient and accurate VO networks for camera motion estimation. The experiments illustrate that a distance that complies with the mathematical requirements of a metric, such as the chordal distance, provides better generalization and faster convergence. The code for the experiments can be found at https://github.com/remaro-network/Loss_VO_right
