Adaptive Keyframe Selection for Online Iterative NeRF Construction

Joshua Wilkinson, Jack Naylor, Ryan Griffiths, Donald G. DansereauRoboNerF @ ICRA 2024

TL;DR

This paper tackles the challenge of efficiently building 3D scene representations (Neural Radiance Fields or NeRFs) from the massive amount of video data captured by robots. They introduce an adaptive keyframe selection method that intelligently chooses which frames to use, significantly reducing data and computation while maintaining high-quality 3D reconstructions. This is a crucial step towards enabling persistent, real-time NeRF-based mapping for robots.

What Problem Does This Paper Address?

Robots, especially those equipped with cameras, generate an enormous amount of visual data. Building detailed 3D models of the environment using techniques like Neural Radiance Fields (NeRFs) from this data is computationally expensive and requires careful selection of input frames. Traditional methods either use all frames (leading to massive storage and computation) or rely on simple temporal or distance-based sampling, which can miss important visual information or include redundant data. This leads to inefficient mapping, especially for long-term deployments where robots revisit areas, causing the dataset to grow uncontrollably. The core problem is how to intelligently select a minimal set of frames that maximizes the quality of the NeRF representation while minimizing computational and storage overhead for robotic applications.

Methods

The paper proposes an adaptive keyframe selection method that leverages the view synthesis capabilities of a partially trained NeRF. Here's how it works:

  1. Iterative NeRF Construction: Instead of training a NeRF on a fixed set of frames, they iteratively build and query the NeRF model.
  2. Novelty Detection: For each new incoming frame from the robot's camera, they use the current NeRF model to predict what that frame should look like.
  3. PSNR-based Selection: They compare the predicted frame with the actual captured frame using Peak Signal-to-Noise Ratio (PSNR). If the PSNR falls below a predefined threshold ($\gamma$), it indicates that the new frame contains novel visual information that the current NeRF model doesn't represent well.
  4. Adaptive Frame Inclusion: Only when the PSNR is below the threshold is the new frame added to the training set for the NeRF. This ensures that frames are selected only when they contribute new, informative content to the scene representation.
  5. Initialization: To overcome the ill-constrained nature of NeRFs with very few initial views, they propose training on the first 10 frames until the next frame exceeds the reconstruction threshold, ensuring a sensible initial representation.

This approach is contrasted with two non-adaptive baselines:

  • Temporal: Selects frames at fixed time intervals.
  • Distance: Selects frames based on a fixed amount of robot translation.

Datasets

The primary dataset used for evaluation is the LearnLFOdo dataset. This dataset provides posed images from a UR5e robotic arm, offering accurate ground truth pose information. It contains 45 distinct scenes and camera trajectories. While the original data was captured using an EPIImaging light field camera, only the center image is used, making it effectively monocular.

Key Insights and Ideas

  • Leveraging NeRF's Predictive Power: The core innovation is using the NeRF's own ability to predict novel views as a signal for selecting new training data. This is a departure from purely geometric or temporal cues.
  • Data Efficiency is Key for Robotics: The sheer volume of data from robot sensors is a major bottleneck. This work directly addresses this by showing significant data reduction is possible without sacrificing quality.
  • Persistent Mapping is Feasible: The adaptive approach prevents the unbounded growth of datasets in long-term deployments where robots revisit areas, a critical requirement for practical robotic mapping.
  • View-Dependence Matters: The method explicitly leverages the view-dependent nature of NeRFs, which is crucial for accurately representing complex visual phenomena like reflections and refractions, something traditional SLAM struggles with.

Key Results

  • Data Reduction: The adaptive method achieved a 78% reduction in input data compared to using all available frames in single-pass mapping, while only experiencing a minor drop in PSNR (2dB).
  • Training Time: The adaptive approach also led to reduced training times.
  • Performance Comparison: The adaptive method outperformed non-adaptive temporal and distance-based methods in terms of both reconstruction quality (PSNR and SSIM) and computational time.
  • Multiple-Pass Performance: In scenarios where robots revisit areas, the adaptive approach used significantly fewer frames (35.7% and 26.2% of temporal and distance baselines, respectively) while showing a slight improvement in PSNR.
  • Qualitative Improvements: Visual results (Figure 2) show better reconstruction quality, particularly in specular regions and planar areas, with fewer artifacts compared to non-adaptive methods.

Limitations and Future Work

  • Pose Estimation: The authors explicitly state that they do not address pose estimation in this work and anticipate incorporating pose refinement as future work.
  • Frame Removal: They envision future work that could involve removing outdated frames or detecting and describing changes in the environment.
  • Integration with SLAM: While this work focuses on keyframe selection for NeRF construction, integrating it into a full online NeRF-based SLAM pipeline is a natural next step.
  • Beyond PSNR: While PSNR is used as a proxy for novelty, exploring other metrics or learned approaches for novelty detection could be beneficial.

Summary updated

BibTeX
@inproceedings{wilkinson2024adaptive,
  author = {Joshua Wilkinson and Jack Naylor and Ryan Griffiths and Donald G. Dansereau},
  title = {{Adaptive Keyframe Selection for Online Iterative NeRF Construction}},
  booktitle = {RoboNerF @ ICRA},
  year = {2024},
  url = {https://openreview.net/forum?id=BfGHe77Ojy},
}
Figure