Abstract
Self-supervised monocular depth and ego-motion estimation typically rely on a "PoseNet" to predict relative camera movement. However, these networks often suffer from scale inconsistency and poor generalization to unseen motion patterns. This paper introduces a novel framework that replaces the black-box PoseNet with a pipeline rooted in classical multi-view geometry. By recovering relative pose and 3D structure directly from optical flow via differentiable triangulation, the proposed system resolves chronic scale drift and significantly improves performance in challenging indoor environments and high-speed scenarios.
Introduction
In the standard recipe for self-supervised monocular depth estimation, two neural networks—DepthNet and PoseNet—are trained jointly using photometric reprojection consistency. While effective in constrained settings like the KITTI dataset, this approach has a fundamental flaw: scale inconsistency. Because monocular vision is inherently scale-ambiguous, PoseNet often fails to maintain a consistent metric scale across different video snippets. Furthermore, PoseNet tends to memorize motion patterns from training data rather than learning geometry, causing it to fail when encountering "unseen" velocities, such as a vehicle moving faster than those in the training set.
Methodology: The TrianFlow Pipeline
The authors propose TrianFlow, a system that ditches PoseNet in favor of an explicit geometric solver. The architecture leverages dense pixel correspondences to enforce geometric constraints during training.
The pipeline follows these core steps:
- Optical Flow Estimation: A FlowNet (specifically PWC-Net) identifies dense pixel correspondences between consecutive frames.
- Fundamental Matrix Solver: The system uses the 8-point algorithm combined with RANSAC to solve for the Fundamental Matrix ($F$), which is then decomposed into relative rotation ($R$) and translation ($t$).
- Differentiable Triangulation: Using the recovered pose and flow, a differentiable module reconstructs a sparse, up-to-scale 3D point cloud.
- Scale Alignment: To resolve scale ambiguity, the monocular depth prediction from DepthNet is aligned to the triangulated 3D points using a single scale transformation ($s$).
- Joint Training: The entire system is trained end-to-end using a loss function that combines unsupervised flow loss, depth reconstruction error, and standard photometric reprojection consistency.
Experimental Results and Evaluation
The authors evaluated TrianFlow across diverse benchmarks, including KITTI (outdoor), NYUv2 (indoor), and TUM-RGBD (handheld camera).
State-of-the-Art Performance
TrianFlow achieved a state-of-the-art AbsRel of 0.113 on the KITTI benchmark, outperforming previous self-supervised leaders like Monodepth2. In visual odometry tasks, the system produced trajectories comparable to traditional hand-engineered SLAM systems like ORB-SLAM2.
Robustness to Fast Motion
A key finding was the system's resilience to high-speed motion. On a modified "KITTI Stride=3" test designed to simulate speeds unseen during training, PoseNet-based methods saw translation errors jump to ~50%. In contrast, TrianFlow maintained a reasonable 7.21% error, proving that explicit geometry is far more robust than learned motion retrieval.
Indoor Generalization
Indoor datasets like NYUv2 present challenges due to textureless surfaces and complex ego-motion. TrianFlow significantly outperformed the previous state-of-the-art (Zhou et al.), reducing the AbsRel error from 0.208 to 0.189.
Discussion and Future Work
By using optical flow as a universal proxy for pose, TrianFlow leverages the rapid progress in flow estimation to make pose estimation non-parametric and generalizable. However, the system remains dependent on the quality of the underlying FlowNet; performance may degrade in scenarios with extreme occlusions or very large displacements. Additionally, like most triangulation methods, it struggles with "pure rotation" where no translation baseline exists. Future work may involve integrating multi-frame back-end optimization, such as Bundle Adjustment, to further enhance long-term trajectory accuracy.
Summary updated