Abstract
Dynamic scenes that contain both object motion and egomotion are a challenge for monocular visual odometry (VO). Another issue with monocular VO is the scale ambiguity, i.e. these methods cannot estimate scene depth and camera motion in real scale. Here, we propose a learning based approach to predict camera motion parameters directly from optic flow, by marginalizing depthmap variations and outliers. This is achieved by learning a sparse overcomplete basis set of egomotion in an autoencoder network, which is able to eliminate irrelevant components of optic flow for the task of camera parameter or motionfield estimation. The model is trained using a sparsity regularizer and a supervised egomotion loss, and achieves the state-of-the-art performances on trajectory prediction and camera rotation prediction tasks on KITTI and Virtual KITTI datasets, respectively. The sparse latent space egomotion representation learned by the model is robust and requires only 5% of the hidden layer neurons to maintain the best trajectory prediction accuracy on KITTI dataset. Additionally, in presence of depth information, the proposed method demonstrates faithful object velocity prediction for wide range of object sizes and speeds by global compensation of predicted egomotion and a divisive normalization procedure.
Introduction
Estimating a camera's position and orientation from a single video stream, known as Monocular Visual Odometry (VO), is critical for autonomous navigation. However, traditional methods often fail in dynamic environments where independent object motion (e.g., passing cars) is mistaken for camera movement. Furthermore, monocular systems suffer from scale ambiguity, making it difficult to determine absolute speed and depth.
Researchers have developed a Motion Field Generator (MFG) that addresses these challenges by disentangling egomotion from object motion. By leveraging a sparse, overcomplete basis set of motion fields, the model learns to "marginalize" or filter out depth variations and moving outliers, resulting in a robust estimate of 6-degree-of-freedom (6DoF) camera parameters.
The Motion Field Generator (MFG) Architecture
The core of the proposed approach is an asymmetric autoencoder designed to process 2D optic flow. The architecture is structured to compress complex visual flow into a highly efficient latent representation.
The pipeline consists of:
- Encoder: A multilayer fully convolutional network that takes optic flow (either ground truth or estimated via PWC-Net) and compresses it into a latent space of 1,000 neurons.
- Sparsity Constraint: During training, a population sparsity regularizer forces the network to use a minimal number of active neurons. This encourages the learning of an "overcomplete basis"—a dictionary of fundamental motion patterns like forward translation or pitch rotation.
- Decoder: A linear layer reconstructs the rotational and translational motion fields from these sparse activations.
- Object Isolation: Once egomotion is predicted, a secondary module uses multi-stage max-pooling normalization to subtract camera motion from the total flow, isolating the velocity of independently moving objects.
Results and Robustness
The model was evaluated on the KITTI and Virtual KITTI (VKITTI) datasets. A key finding is the extreme efficiency of the learned representation. The network achieves peak accuracy on the KITTI dataset using only 5% of its hidden neurons. This sparsity acts as a filter; because moving objects typically occupy small image regions, the network finds it more efficient to ignore these local "noises" in favor of global egomotion patterns.
As shown in the results, the MFG achieves the lowest Absolute Trajectory Error (ATE) on KITTI sequences 09 and 10 compared to both traditional (ORB-SLAM) and recent deep learning methods. On VKITTI, the model demonstrated superior rotation accuracy with a Relative Pose Error (RPE) of 0.0011.
Conclusion
The MFG demonstrates that sparse representations are highly effective for robust egomotion estimation in dynamic scenes. By mimicking biological motion processing (specifically area MSTd in primates), the model successfully marginalizes depth and ignores moving outliers. While the system currently relies on external optic flow and requires depth estimates for absolute object velocity, its ability to achieve state-of-the-art VO performance with minimal active neurons suggests a promising path for efficient, robust autonomous navigation.
Summary updated