HaLo-NeRF: Learning Geometry-Guided Semantics for Exploring Unconstrained Photo Collections

Chen Dudai, Morris Alper, Hana Bezalel, Rana Hanocka, Itai Lang, Hadar Averbuch-Elor

TL;DR

HaLo-NeRF (Ha-NeRF + Localization) is a new framework that allows users to explore large-scale landmarks through natural language queries. By distilling architectural knowledge from noisy internet metadata and leveraging multi-view geometric consistency, it can accurately localize specific 3D features—like "minarets" or "rose windows"—within "in-the-wild" photo collections.

What Problem Does This Paper Address?

While Neural Radiance Fields (NeRFs) have become incredibly good at reconstructing the geometry and appearance of famous landmarks from tourist photos, they are typically "semantically blind." They can show you a 3D model of Notre-Dame, but they don't know which part is the "tympanum" or the "portal."

Existing vision-language models (VLMs) like CLIP are great at general concepts but struggle with the specialized vocabulary of architecture. Furthermore, most 3D semantic methods are designed for controlled environments with consistent lighting. "In-the-wild" internet collections—captured by thousands of different cameras across different seasons and times of day—present a massive challenge for maintaining 3D semantic consistency.

Methods

The authors propose a three-stage pipeline to bridge the gap between noisy 2D internet data and consistent 3D semantics:

  1. LLM-Based Semantic Distillation: Internet photos often come with messy metadata (filenames, captions, Wikipedia categories). The authors use a Large Language Model (Flan-T5) to "clean" this noise, distilling it into concise architectural pseudo-labels (e.g., turning a long multilingual caption into the single word "Facade").
  2. Semantic Adaptation of VLMs: To teach a segmentation model (CLIPSeg) these specific architectural terms, they use a "zoom-in" strategy. They find pairs of images where one is a close-up of a feature and the other is a wide shot. Using geometric correspondences (via LoFTR), they propagate the label from the "easy" close-up to the "hard" wide shot, fine-tuning the model to recognize these features in context.
  3. Text-Driven 3D Localization: Finally, they lift these 2D understandings into 3D. They build upon Ha-NeRF (which handles varying illumination) and add a "localization head." This MLP is trained to predict the volumetric probability of a specific text prompt at any point in 3D space, ensuring that the semantic "halo" remains consistent regardless of the viewing angle or lighting.

Datasets

  • Training Data: An augmented version of WikiScenes, consisting of roughly 115,000 images of cathedrals and mosques scraped from Wikimedia Commons.
  • HolyScenes Benchmark: A new, rigorously annotated dataset introduced by the authors. it contains 6,305 images across six diverse landmarks (e.g., Milan Cathedral, Blue Mosque, Hurva Synagogue) with ground-truth segmentations for concepts like portals, windows, spires, towers, domes, and minarets.

Key Insights and Ideas

  • Geometry as a Supervisor: The "aha moment" here is using multi-view geometry to solve a semantic problem. By linking a zoomed-in view (where a feature is obvious) to a zoomed-out view (where it is small and ambiguous), the model learns spatial grounding that general-purpose VLMs lack.
  • Domain-Specific Distillation: General VLMs are "jacks of all trades." By using an LLM to extract expert architectural knowledge from metadata, the authors create a "specialist" model without needing a human to manually label thousands of training images.
  • Per-Prompt Optimization: Instead of trying to learn a massive, fixed vocabulary in 3D, the system optimizes the 3D field for a specific query. This "on-demand" localization is much more accurate for niche terms than trying to regress a high-dimensional feature vector for every point in space.

Key Results

  • Superior Accuracy: On the HolyScenes benchmark, HaLo-NeRF achieved a Mean Average Precision (mAP) of 0.68. This significantly outperformed existing 3D localization baselines like LERF (0.14) and DFF (0.11), which struggled with the architectural domain and unconstrained lighting.
  • Zero-Shot Generalization: The model showed an impressive ability to localize features on landmarks it had never seen during training (e.g., identifying features on a synagogue after training primarily on cathedrals and mosques).
  • Terminology Retrieval: The fine-tuned CLIP model (CLIPFT) became much better at suggesting relevant architectural terms for a given image compared to the base CLIP model.

Limitations and Future Work

  • Optimization Time: Because the 3D localization is optimized per-query, it takes roughly two hours to "fit" a new term to a scene. The authors suggest that future work could use distillation to make this process interactive.
  • The "Long Tail" Problem: If an architectural feature is extremely rare or never appears in the training metadata (e.g., specific obscure motifs), the model will fail to recognize it.
  • Semantic Confusion: In some cases, the model may confuse geometrically similar objects (like a spire and a minaret) if the specific prompt isn't present in the scene, as it inherits some biases from the underlying base segmentation models.

Summary updated

BibTeX
@inproceedings{dudai2024halo,
  author = {Chen Dudai and Morris Alper and Hana Bezalel and Rana Hanocka and Itai Lang and Hadar Averbuch-Elor},
  title = {{HaLo-NeRF: Learning Geometry-Guided Semantics for Exploring Unconstrained Photo Collections}},
  booktitle = {Eurographics},
  year = {2024},
  url = {https://openreview.net/forum?id=bwOl1L2jwo},
}

Loading related content...

Figure