MEIL-NeRF: Memory-Efficient Incremental Learning of Neural Radiance Fields

Jaeyoung Chung, Kanggeon Lee, Sungyong Baik, Kyoung Mu Lee · DOI

TL;DR

Neural Radiance Fields (NeRFs) are powerful for 3D scene representation but struggle with incremental learning due to catastrophic forgetting and memory limitations. This paper introduces MEIL-NeRF, a novel approach that treats NeRF itself as a memory store, using a Ray Generator Network (RGN) to retrieve past scene information and prevent forgetting without increasing memory footprint.

What Problem Does This Paper Address?

NeRFs have revolutionized 3D scene representation by using neural networks to synthesize novel views of a scene. However, their practical application is hindered by a critical assumption: they require access to all training data (images from all viewpoints) simultaneously. This makes them unsuitable for scenarios where data arrives sequentially, such as in robotics or autonomous driving, where only a limited set of new views is available at any given time. In such "incremental learning" scenarios, neural networks are prone to "catastrophic forgetting," where they rapidly lose knowledge of previously learned data when trained on new data. Existing incremental learning methods often suffer from either low performance or memory scalability issues, making them impractical for large-scale 3D scene reconstruction.

Methods

The core innovation of MEIL-NeRF lies in its novel perspective: treating the NeRF network itself as a memory for storing past scene information. Instead of explicitly storing past images or data, MEIL-NeRF uses a Ray Generator Network (RGN).

Here's how it works:

  • NeRF as Memory: When a NeRF network is queried with specific rays (camera rays pointing into the scene), it outputs RGB colors. MEIL-NeRF leverages this by considering the NeRF's ability to recall past scene colors as its memory function.
  • Ray Generator Network (RGN): To access this "memory," MEIL-NeRF introduces a small, auxiliary MLP network called RGN. RGN is trained to generate "past rays" that are directed towards previously seen parts of the scene. This is crucial because random ray generation is unlikely to retrieve useful past information.
  • Self-Distillation: Once RGN generates past rays, MEIL-NeRF queries the frozen parameters of the previously trained NeRF to retrieve the corresponding past RGB colors. These retrieved colors are then used as "pseudo ground truth" to train the current NeRF model. This self-distillation process, combined with a Charbonnier loss function (which is better at preserving edges than L2 loss), helps the NeRF retain knowledge of past scenes while learning new ones.
  • Incremental RGN Training: RGN itself is also trained incrementally, using a self-distillation approach to ensure it continues to generate relevant past rays as new tasks are encountered.

Datasets

The authors evaluated their method on several standard datasets adapted for incremental learning scenarios:

  • Tanks and Temples: A benchmark for large-scale scene reconstruction.
  • Replica: A synthetic indoor dataset.
  • TUM-RGBD: A dataset commonly used for SLAM (Simultaneous Localization and Mapping).

For incremental learning, they rearranged the camera sequences to ensure that previously seen parts of the scene were not revisited, simulating a realistic incremental scenario.

Key Insights and Ideas

  • NeRF as a Memory: The most significant insight is reframing NeRF from a purely generative model to a memory storage mechanism. This allows for incremental learning without needing to store explicit past data.
  • Targeted Ray Generation: The success of retrieving past information hinges on generating rays that actually point to the scene. The RGN's ability to learn and generate these specific rays is key to MEIL-NeRF's effectiveness.
  • Memory Efficiency: By avoiding explicit storage of past data, MEIL-NeRF achieves constant memory usage, a critical advantage over traditional replay-based methods.
  • Self-Distillation for Forgetting: Using the NeRF's own outputs from past states as targets for current training is an elegant way to combat catastrophic forgetting.

Key Results

MEIL-NeRF demonstrated strong performance across various metrics:

  • Quantitative Results: MEIL-NeRF achieved competitive PSNR and MS-SSIM scores, often outperforming or matching methods like iMAP (which uses significantly more memory) while using a similar memory footprint to iMAP. For instance, on the Tanks and Temples/Barn dataset, MEIL-NeRF achieved a PSNR of 22.14 and MS-SSIM of 0.836, comparable to iMAP (22.05/0.838) but with constant memory.
  • Qualitative Results: Visualizations showed that MEIL-NeRF effectively preserved scene details from earlier tasks, avoiding the severe degradation seen in baseline methods like NeRF-Incre and EWC. While iMAP* produced sharp images, it sometimes suffered from distortion artifacts due to limited sample diversity. MEIL-NeRF produced smoother, more plausible reconstructions without noticeable artifacts, even with its memory efficiency.
  • Memory Usage: MEIL-NeRF maintained a constant memory footprint, unlike replay-based methods like iMAP and iMAP* which showed linearly increasing memory usage with the number of tasks.

Limitations and Future Work

  • Latency: Similar to standard NeRF, MEIL-NeRF inherits high latency due to the ray sampling and integration process. The authors suggest that recent advancements in NeRF latency reduction (e.g., hash-grid-based methods like Instant-NGP) could be combined with their distillation approach to address this.
  • Real-time Performance: While MEIL-NeRF offers a memory-efficient solution for incremental scene construction, achieving real-time performance would require further research, potentially by integrating real-time rendering techniques.
  • RGN Accuracy: The paper notes that the generated rays from RGN are approximations and may introduce some accumulated errors in estimated camera poses. However, these approximated rays are still effective in directing to the scene of interest and alleviating forgetting. Future work could focus on generating sharper and more accurate reconstructions by selecting important generated samples.

Summary updated

BibTeX
@article{chung2022meil,
  author = {Jaeyoung Chung and Kanggeon Lee and Sungyong Baik and Kyoung Mu Lee},
  title = {{MEIL-NeRF: Memory-Efficient Incremental Learning of Neural Radiance Fields}},
  journal = {IEEE Access},
  year = {2022},
  doi = {10.1109/access.2025.3578393},
}
Figure