Skip to content

RoGUENeRF: A Robust Geometry-Consistent Universal Enhancer for NeRF

Conference: ECCV 2024
arXiv: 2403.11909
Code: https://sib1.github.io/projects/roguenerf/
Area: 3D Vision / Neural Rendering
Keywords: NeRF enhancement, geometry-consistent, 3D alignment, optical flow refinement, universal enhancer

TL;DR

This paper proposes RoGUENeRF, a post-processing enhancer for NeRF that combines 3D reprojection alignment, non-rigid optical flow refinement, and geometry-aware attention. It significantly improves the rendering quality of various NeRF methods while maintaining view consistency, demonstrating robustness to camera calibration errors.

Background & Motivation

Background: NeRF has made tremendous progress in 3D scene reconstruction and novel view synthesis, but restoring high-frequency textures remains a challenge. Reasons include the low-frequency bias of radiance fields, inaccurate camera calibration, and inherent limitations of MLP representations. Existing post-rendering enhancement methods are categorized into 2D and 3D approaches.

Limitations of Prior Work: 2D enhancers (e.g., NeRFLiX) learn a general enhancement function but ignore scene geometry, resulting in performance degradation under degradation distribution shifts. 3D enhancers (e.g., Boosting View Synthesis) can transfer details from neighboring training images, but rely heavily on precise camera calibration and geometry estimation—whereas camera pose estimation from COLMAP often contains errors, causing ghosting artifacts.

Key Challenge: Utilizing 3D geometric information to align neighboring views can recover high-frequency details. However, inaccuracies in camera poses and depth estimations propagate errors into the enhanced results. How can one leverage 3D information while remaining robust to geometric errors?

Goal: To design a NeRF enhancer that combines 2D general enhancement capabilities with 3D geometric information transfer, while maintaining robustness to camera calibration and geometric estimation errors.

Key Insight: Adopting a progressive strategy of "3D coarse alignment \(\to\) 2D fine alignment \(\to\) geometry-aware attention" to progressively correct alignment errors and suppress residual inaccuracies.

Core Idea: First, perform 3D reprojection alignment using depth maps and camera poses. Second, refine residual displacements with a lightweight optical flow network. Finally, regulate the contribution of misaligned regions using a geometry-aware attention mechanism that integrates pixel similarity and camera distance.

Method

Overall Architecture

Given a trained NeRF model along with its rendered RGB images and depth maps, the nearest neighbor training views are selected: (1) project neighboring training image features into the target novel view through 3D reprojection using depth maps and camera poses; (2) refine the alignment residuals using an optical flow network; (3) regulate misaligned regions using geometry-aware attention; (4) fuse features via maximum pooling and feed them into a modified Uformer for final enhancement.

Key Designs

  1. Hybrid Alignment of 3D Alignment and Non-Rigid Refinement:

    • Function: Establish precise correspondences between neighboring training images and novel view renderings.
    • Mechanism: First, project neighboring image features in 3D to the target novel view coordinate system using a pinhole camera model (including visibility testing). Then, use a lightweight iterative optical flow network to perform 2D non-rigid refinement in the feature space, compensating for residual displacements caused by imprecise depth estimation and camera poses. Key equation: \(\mathbf{x}_{k \to i} = K_i C_i C_k^{-1} K_k^{-1}[\mathbf{x}_k, 1]\)
    • Design Motivation: Pure 3D alignment is limited by geometric accuracy, whereas pure 2D optical flow is limited by a severe domain gap (rendered vs. real images). Coarse 3D alignment drastically reduces the displacement search range for optical flow, enabling lightweight optical flow networks to function effectively under domain gaps.
  2. Geometry-Aware Spatial Attention:

    • Function: Suppress regions that remain inaccurate after alignment.
    • Mechanism: Design a two-level attention mechanism—pixel-level attention \(\psi_{pix}\) based on the similarity between aligned features and rendered features as well as depth differences, and camera-level attention \(\psi_{cam}\) based on the pose distance between the neighboring camera and the novel view. The neighboring features are weighted by multiplying both attention maps: \(H_{i \to k}^{f^a} = \psi_{cam}^i \times \psi_{pix}^i \times H_{i \to k}^{f'}\)
    • Design Motivation: Alignment quality varies across different regions (worse in occluded or textureless areas), necessitating adaptive regulation; meanwhile, features from more distant camera views are less reliable.
  3. Pre-training + Fast Fine-tuning Strategy:

    • Function: Fast adaptation to new scenes and new NeRF baselines.
    • Mechanism: Pre-train the universal enhancer on the LLFF dataset using pairs of NeRF renderings and ground truth images (takes ~5 days), then fine-tune for only 1 hour per new scene to adapt to different NeRF methods and data distributions.
    • Design Motivation: Different NeRF techniques produce varying distributions of rendering degradation. The pre-training + fine-tuning strategy balances generalization and scene-specific adaptation.

Loss & Training

\(L = ||\hat{H}_i - H_i||_1 + 10^{-3} ||\omega(\hat{H}_i) - \omega(H_i)||_1\), using L1 loss and VGG-19 perceptual loss. Adam optimizer with a learning rate of 1e-4, 512×512 random crop, batch size of 4, and 4x V100 GPUs.

Key Experimental Results

Main Results

NeRF Method Dataset Original PSNR +NeRFLiX PSNR +RoGUENeRF PSNR
ZipNeRF 360v2 28.90 29.00(+0.10) 29.23(+0.33)
MipNeRF360 360v2 28.26 28.44(+0.18) 28.89(+0.63)
Nerfacto 360v2 26.11 26.92(+0.81) 27.45(+1.34)
NeRF LLFF Baseline Improved Best
TensoRF DTU Baseline Improved Best

Ablation Study

Configuration PSNR Change Description
w/o 3D Alignment Decrease Lack of 3D info transfer
w/o Flow Refinement Decrease Residual misalignment leads to ghosting
w/o Geometric Attention Decrease Misaligned regions propagate artifacts
Full Method Best Three modules are complementary

Key Findings

  • RoGUENeRF consistently outperforms all baselines and other enhancers across all 6 NeRF methods and 3 datasets.
  • The largest gain (+1.34 dB) is achieved on Nerfacto, suggesting that poorer initial rendering quality allows for larger improvement.
  • NeRFLiX occasionally degrades certain metrics (such as dropping SSIM or increasing LPIPS), indicating that pure 2D methods are unreliable.
  • Fine-tuning requires only 1 hour per scene, matching the training time of SOTA NeRF methods, indicating high practicality.

Highlights & Insights

  • 3D+2D Progressive Alignment Strategy: 3D reprojection narrows the search space before optical flow refinement, utilizing geometric priors while tolerating geometric errors. This coarse-to-fine alignment paradigm is highly transferable.
  • Pre-training + Fine-tuning Paradigm for Universal Enhancer: A single pre-trained model adapts to 6 different NeRF methods, demonstrating the versatility of the enhancer.
  • Double-Granularity Design of Geometry-Aware Attention: The combination of pixel-level (content similarity) and camera-level (pose distance) attention controls the information flow simply and effectively.

Limitations & Future Work

  • Dependence on the quality of NeRF-rendered depth maps—for methods with poor depth estimation (such as vanilla NeRF), the performance of 3D alignment is limited.
  • Requires 1 hour of fine-tuning for each new scene, falling short of true zero-shot enhancement.
  • Only static scenes are evaluated; the enhancement of dynamic scenes (such as deformable NeRF) remains to be explored.
  • More powerful alignment networks (such as feature matching networks) could be deployed to replace optical flow refinement.
  • vs NeRFLiX/NeRFLiX++: Pure 2D methods are sensitive to degradation distribution shifts and may deteriorate in terms of SSIM/LPIPS; RoGUENeRF avoids these issues by leveraging 3D information.
  • vs Boosting View Synthesis: Relies on precise pixel-level alignment to transfer color residuals, and is not robust to camera errors; RoGUENeRF learns this end-to-end via progressive alignment and attention.
  • The strategy of coarse 3D alignment + fine 2D alignment can be applied to any multi-view image fusion task.

Rating

  • Novelty: ⭐⭐⭐⭐ The combined design of hybrid 3D+2D alignment and geometry attention is highly systematic.
  • Experimental Thoroughness: ⭐⭐⭐⭐⭐ Covers 6 NeRF methods across 3 datasets, showing extensive evaluation.
  • Writing Quality: ⭐⭐⭐⭐ Method details are clear and well-described.
  • Value: ⭐⭐⭐⭐ Highly practical NeRF enhancement tool with great generalizability.