RenderNet: Visual Relocalization Using Virtual Viewpoints in Large-Scale Indoor Environments

Jiahui Zhang, Shitao Tang, Kejie Qiu, Rui Huang, Chuan Fang, Le Cui, Zilong Dong, Siyu Zhu, Ping TanarXiv 2022 · DOI

Abstract

Visual relocalization in large-scale indoor environments faces significant challenges due to the "viewpoint gap"—the discrepancy between query images and sparse database viewpoints. RenderNet addresses this by synthesizing virtual viewpoints to densify the database and refine pose estimates. Unlike traditional methods that render images, RenderNet directly predicts global and local features, avoiding artifacts that degrade matching performance. Evaluation on the InLoc benchmark demonstrates a significant improvement in localization accuracy, particularly at strict thresholds.

Introduction

Determining the exact 6-degree-of-freedom (6DoF) pose of a camera within a pre-mapped environment is a fundamental task for augmented reality and robotics. Indoor environments are particularly challenging because visual appearances change drastically with minor camera movements, and landmarks are often obscured or repetitive. Standard relocalization algorithms rely on finding overlaps between query images and a database of reference images. When a user stands in a location not captured during mapping, the lack of overlap can lead to failure.

While rendering new views from 3D models could theoretically bridge these gaps, high-quality 3D reconstruction is costly, and traditional image synthesis often introduces artifacts that confuse feature extractors. RenderNet proposes a "feature rendering" approach that bypasses image generation to directly hallucinate stable descriptors from virtual perspectives.

Methodology

RenderNet introduces a neural network architecture designed to predict scene features from arbitrary viewpoints without generating intermediate photo-realistic images.

Feature Rendering Architecture

The core of RenderNet is a modified ResNet18 architecture trained to output global features for image retrieval and local features for point-to-point matching. The network utilizes a teacher-student distillation framework, where established models like SuperPoint (local) and AP-GeM (global) serve as teachers. RenderNet learns to replicate these features using projected color and depth information from existing nearby views.

Two-Stage Relocalization Pipeline

The system operates in two primary stages:

  1. View Augmentation: A set of virtual viewpoints is defined to "densify" the reference database. RenderNet generates features for these views, increasing the probability of a high-overlap match for any given query.
  2. Pose Refinement: After an initial coarse pose is estimated, RenderNet generates a virtual view at that specific pose. Matching the query against this perfectly aligned virtual view allows for high-precision refinement.
The RenderNet pipeline, illustrating feature projection, view augmentation, and the pose refinement process.

Experimental Results

The model was trained on the ScanNet RGB-D dataset and evaluated on the InLoc benchmark, a 10,000 $m^2$ indoor environment captured via Lidar.

Performance on InLoc

RenderNet achieved state-of-the-art results, particularly at the most demanding accuracy thresholds (0.25m, 2°). In the DUC1 scene, accuracy improved from 46.5% to 58.6% over the HLoc baseline. In the DUC2 scene, the improvement was even more pronounced, rising from 51.9% to 74.8%.

Visual demonstration of feature matching between a real query image (left) and a virtual view (right) synthesized to bridge the viewpoint gap.

Ablation Studies

A key finding was the superiority of direct feature rendering over image rendering. Systems that rendered images and then extracted features performed significantly worse (8.5% lower accuracy in DUC1) due to the geometric distortions and blurriness inherent in neural image synthesis.

Discussion and Conclusion

RenderNet demonstrates that for the purpose of localization, stable descriptors are more valuable than visual fidelity. By using virtual views as bridges, the system can connect query images to 3D maps even when direct matches to real images fail.

However, the approach remains dependent on the availability of coarse geometry or depth maps. Future work will focus on automating the selection of optimal virtual viewpoints to maximize coverage while maintaining computational efficiency, as the addition of thousands of virtual views can impact retrieval speed in extremely large environments.

Summary updated

BibTeX
@misc{zhang2022rendernet,
  author = {Jiahui Zhang and Shitao Tang and Kejie Qiu and Rui Huang and Chuan Fang and Le Cui and Zilong Dong and Siyu Zhu and Ping Tan},
  title = {{RenderNet: Visual Relocalization Using Virtual Viewpoints in Large-Scale Indoor Environments}},
  year = {2022},
  eprint = {2207.12579},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.12579},
}
Figure