LaMAR: Benchmarking Localization and Mapping for Augmented Reality

Paul-Edouard Sarlin, Mihai Dusmanu, Johannes L. Schönberger, Pablo Speciale, Lukas Gruber, Viktor Larsson, Ondrej Miksik, Marc Pollefeys

Introduction

Visual localization—the ability of a device to determine its precise 6-DoF position and orientation within a known environment—is often described as the "North Star" of Augmented Reality (AR). For digital objects to remain convincingly pinned to the physical world, a device must maintain a constant, high-accuracy understanding of its pose. However, a significant gap exists between academic localization research and the messy, dynamic reality of AR deployment.

To bridge this gap, the LaMAR benchmark introduces a large-scale dataset and evaluation framework designed specifically for the complexities of AR. By providing over 100 hours of multi-sensor data captured across 45,000 $m^2$ of diverse environments, LaMAR reveals that current state-of-the-art methods still struggle to meet the rigorous demands of real-world AR applications.

The Challenge of Real-World AR

Existing localization benchmarks often rely on unrealistic constraints: single, static images captured from stationary cameras in small, controlled scenes. In contrast, real-world AR involves moving users, hand-held or head-mounted devices with multi-camera rigs, and a suite of auxiliary sensors including IMUs, WiFi, and Bluetooth. Furthermore, environments are rarely static; they undergo significant changes over time due to lighting (day/night), seasonal shifts, and human activity (moved furniture or construction).

LaMAR addresses these challenges by providing a dataset that captures these complexities, supported by high-accuracy ground truth (GT) derived from professional-grade laser scans.

The LaMAR Dataset

The LaMAR dataset is significantly more comprehensive than previous benchmarks, focusing on three distinct sites in Zurich:

  • HGE: A historical building with complex architecture.
  • CAB: A multi-story office environment.
  • LIN: Several city center blocks featuring outdoor urban challenges.

The dataset encompasses over 100 hours of data recorded over the span of a year, capturing temporal diversity and structural changes. Data was collected using a variety of consumer and professional hardware, including Microsoft HoloLens 2 (a 4-camera head-mounted rig) and various iPhones and iPads. The sensor suite includes images, depth maps, IMU data, and radio signals (Bluetooth and WiFi).

Automated Ground-Truth Generation

A core contribution of LaMAR is its fully automated ground-truth generation pipeline, which eliminates the need for manual labeling or artificial markers like QR codes. The process follows four key stages:

  1. Reference Modeling: High-end NavVis laser scanners were used to create dense 3D meshes of the target locations.
  2. Sequence-to-Scan Alignment: Trajectories captured by AR devices were aligned to the laser-scan reference model. This involved initial localization via image retrieval, followed by a rigid alignment voting scheme to find a consistent transformation for the entire sequence.
  3. Pose Graph Optimization (PGO): The paths were refined by balancing visual cues with the device's internal odometry.
  4. Bundle Adjustment (BA): A final joint optimization of all camera poses and 3D points ensured centimeter-level accuracy, providing a "gold standard" for evaluation at scale.

New Metrics for AR: Time-to-Recall

In AR, the success of a localization system isn't just measured by if it can find its position, but how fast it does so. The authors propose a new metric: Time-to-Recall (TTR). TTR measures the duration a user must move through a scene before the system successfully "snaps" into the map. This metric reflects the user experience, where long wait times for localization lead to a breakdown in immersion.

Key Results and Insights

The benchmark reveals several critical insights into the current state of localization technology:

  • The Power of Sensor Fusion: Relying on images alone is brittle. By implementing a baseline that uses WiFi and Bluetooth signal strength (RSSI) to narrow the search area to just 2.5% of the total map, the researchers significantly reduced "visual aliasing" (e.g., mistaking one identical hallway for another). For mobile phones, this radio-based filtering reduced the TTR@70% from over 10 seconds to just 3.58 seconds.
  • Multi-Camera Advantages: Head-mounted displays like the HoloLens 2 have a distinct advantage due to their multi-camera rigs. Seeing in four directions simultaneously makes it much easier to localize in texture-less environments. The HoloLens 2 achieved 64.2% recall at a strict (10cm, 1°) threshold, compared to only 45.6% when using only a single camera from the same rig.
  • Temporal Sequences: Moving from single-frame localization to 10-second sequences provided a ~20% gain in recall, highlighting the importance of temporal consistency.
  • The SOTA Gap: Even top-performing algorithms (such as SuperPoint + SuperGlue) fall short of perfect performance on this dataset, indicating substantial room for improvement in handling real-world AR scenarios.

Conclusion and Future Work

LaMAR establishes a new standard for evaluating AR localization, emphasizing the need for multi-sensor fusion and temporal reasoning. While the automated GT pipeline provides high-accuracy data, several challenges remain. Future research must address the performance gap between maps built from professional laser scans and those built from "crowd-sourced" AR device data. Additionally, there is a pressing need to optimize these multi-sensor techniques to run in real-time on mobile hardware while maintaining user privacy in large-scale indoor captures.

Summary updated

BibTeX
@inproceedings{sarlin2022lamar,
  author = {Paul-Edouard Sarlin and Mihai Dusmanu and Johannes L. Schönberger and Pablo Speciale and Lukas Gruber and Viktor Larsson and Ondrej Miksik and Marc Pollefeys},
  title = {{LaMAR: Benchmarking Localization and Mapping for Augmented Reality}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20071-7\_40},
}
Figure