VERF: Runtime Monitoring of Pose Estimation With Neural Radiance Fields

Dominic Maggio, Courtney Mario, Luca CarloneIEEE RA-L 2023

Abstract

We present VERF, a collection of two methods (VERF-PnP and VERF-Light) for providing runtime assurance on the correctness of a camera pose estimate of a monocular camera without relying on direct depth measurements. We leverage the ability of NeRF (Neural Radiance Fields) to render novel RGB perspectives of a scene. We only require as input the camera image whose pose is being estimated, an estimate of the camera pose we want to monitor, and a NeRF model containing the scene pictured by the camera. We can then predict if the pose estimate is within a desired distance from the ground truth and justify our prediction with a level of confidence. VERF-Light does this by rendering a viewpoint with NeRF at the estimated pose and estimating its relative offset to the sensor image up to scale. Since scene scale is unknown, the approach renders another auxiliary image and reasons over the consistency of the optical flows across the three images. VERF-PnP takes a different approach by rendering a stereo pair of images with NeRF and utilizing the Perspective-n-Point (PnP) algorithm. We evaluate both methods on the LLFF dataset, on data from a Unitree A1 quadruped robot, and on data collected from Blue Origin's sub-orbital New Shepard rocket to demonstrate the effectiveness of the proposed pose monitoring method across a range of scene scales. We also show monitoring can be completed in under half a second on a 3090 GPU.

Introduction

Estimating a camera's position and orientation (pose) from a single image is a cornerstone of robotics and autonomous navigation. However, monocular systems are notorious for "silent failures"—producing pose estimates that appear plausible but are significantly inaccurate. In high-stakes scenarios like spacecraft landing or autonomous vehicle operation, these errors can be catastrophic. Existing monitoring methods often rely on active depth sensors like LiDAR. VERF addresses this challenge by providing a reliable confidence score for a pose estimate using only a single RGB camera and a pre-trained NeRF model, effectively turning the NeRF into a high-fidelity reference map for verification.

Methodology

The authors propose two distinct approaches under the VERF framework:

VERF-PnP

This method renders a stereo pair of images from the NeRF starting at the estimated pose. It utilizes the RAFT algorithm to compute optical flow between the real sensor image and these rendered views. By triangulating sparse 3D points from the rendered stereo pair and applying the Perspective-n-Point (PnP) algorithm with RANSAC, it calculates the metric offset between the estimated pose and the ground truth.

VERF-Light

VERF-Light is a more computationally efficient approach that avoids full 3D triangulation. It renders an image at the estimated pose ($x_{est}$) and an auxiliary "test" image ($x_{test}$) at a specific distance $\epsilon$ (the desired error bound). By ensuring the estimated, test, and ground truth poses are collinear, the system simplifies the complex 3D correspondence problem into a 1D ordering problem. By analyzing the consistency and magnitude of optical flow across these three viewpoints, it uses geometric constraints (specifically the cheiral constraint) to determine if the true pose lies within the $\epsilon$ radius of the estimate.

Overview of the VERF-Light monitoring pipeline.

Experimental Setup

The framework was evaluated across three vastly different scales to demonstrate versatility:

  • LLFF Dataset: Standard computer vision benchmark featuring small-scale indoor and outdoor scenes.
  • Unitree A1 Quadruped: Real-world data from a robotic dog in a lab environment, representing mid-scale robotics.
  • Blue Origin New Shepard Rocket: High-altitude, high-speed data from a sub-orbital launch (0.2 to 8 km altitude). This represents a large-scale aerial challenge where the scene appears nearly planar.

Key Insights and Results

A primary innovation is using NeRF as a verification engine rather than just for pose generation. By rendering "what the camera should see," VERF grounds monocular data in metric units. VERF-Light cleverly bypasses scale ambiguity by rendering a third image at a known metric distance, allowing for reasoning about relative distances along a line.

Optical flow consistency check for pose verification.

Key results include:

  • High Accuracy: VERF-Light achieved 93% accuracy on the LLFF dataset and 96% on the A1 robot data. VERF-PnP was particularly robust, achieving 97% accuracy on the challenging rocket dataset.
  • Runtime Performance: The monitoring process takes under 0.5 seconds on an NVIDIA RTX 3090 GPU, meeting requirements for runtime monitoring in many autonomous missions.
  • Robustness to Scale: While simple disparity-based baselines failed when moving from indoor scenes to rocket altitudes, VERF remained consistent.

Conclusion and Future Work

VERF provides a novel framework for real-time assurance of monocular camera pose estimates. While highly effective, the system is currently designed for local monitoring; estimates extremely far from the NeRF's trained volume may lead to failure. Additionally, performance on highly planar scenes can be sensitive to geometric solver stability. Future work will focus on improving robustness in planar environments and handling significant environmental changes that occur after the initial NeRF training.

Summary updated

BibTeX
@article{maggio2023verf,
  author = {Dominic Maggio and Courtney Mario and Luca Carlone},
  title = {{VERF: Runtime Monitoring of Pose Estimation With Neural Radiance Fields}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2023},
  url = {https://openreview.net/forum?id=26fBH0Y4KZ},
}
Figure