NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Privacy Preserving Image-Based Localization

Pablo Speciale, Johannes L. Schönberger, Sing Bing Kang, Sudipta N. Sinha, Marc Pollefeys · DOI

Introduction

Image-based localization is a cornerstone of modern augmented reality (AR), mixed reality (MR), and autonomous robotics. By matching features from a query image to a pre-built 3D map, devices can determine their precise 6-degree-of-freedom (6-DOF) pose. Traditionally, these maps are stored as sparse 3D point clouds. However, as localization services increasingly move to the cloud, the persistent storage of these "digital twins" presents a significant privacy risk.

The Privacy Risk of 3D Point Clouds

While sparse, 3D point clouds can reveal sensitive information about private environments, such as room layouts or confidential objects. Recent research into "inversion attacks" has demonstrated that it is possible to reconstruct high-quality images of a scene using only the stored 3D points and their associated feature descriptors (e.g., SIFT). This vulnerability means that anyone with access to the map data could potentially visualize the private spaces of users.

Comparison between a reconstructed image from an inversion attack and the original image, highlighting the privacy risk of traditional point clouds.

Proposed Method: 3D Line Clouds

To mitigate these risks, this paper introduces a paradigm shift: moving from 3D point clouds to 3D line clouds. The core idea is to "lift" each 3D point into a random 3D line, effectively obfuscating the scene's geometry while preserving the constraints necessary for localization.

Overview of the proposed method: (a) Traditional 3D point cloud, (b) Inversion attack vulnerability, and (c) the proposed privacy-preserving 3D line cloud.

Lifting Points to Lines

For every 3D point $X$ in a traditional map, a random direction vector $v$ is generated. A 3D line $L$ is then defined passing through $X$ in direction $v$. The original point $X$ is discarded, and only the line $L$ (represented in Plücker coordinates) and its feature descriptor are stored. This transforms structured geometry into a chaotic "hairball" of lines that is visually unrecognizable to both humans and AI.

Localization as Generalized Pose Estimation

Localization is performed by matching 2D features from a camera to these 3D lines. While a 2D-to-3D point match provides two geometric constraints, a 2D-to-3D line match provides only one (the camera ray must intersect the 3D line). The authors show that this problem is mathematically equivalent to localizing a "generalized camera" against a 3D point cloud. They adapt minimal solvers, such as p6L, to handle various scenarios, including those with known vertical direction (using gravity sensors) or known local structure (using depth information).

Evaluation and Results

The approach was evaluated on 15 real-world datasets encompassing complex indoor and outdoor scenes. Ground truth poses and initial reconstructions were generated using the COLMAP Structure-from-Motion pipeline.

Accuracy and Efficiency

Surprisingly, the line-based approach achieves accuracy nearly identical to traditional point-based methods. Cumulative error plots show that the "Point-to-Line" performance curves closely match the "Point-to-Point" baselines. While line-based solvers require more RANSAC iterations, runtimes remain highly practical. Specialized solvers, particularly those utilizing gravity sensors, can estimate poses in under 5 milliseconds, making them suitable for real-time applications.

Robustness

The system demonstrates remarkable robustness to map sparsification. Even when 95% of the lines are removed from the map, the system can still localize reliably, suggesting that the geometric constraints provided by the lines are highly redundant.

Conclusion

The 3D line cloud representation provides a robust solution for privacy-preserving image-based localization. By discarding exact point locations in favor of random lines, the method renders inversion attacks ill-posed without sacrificing localization accuracy or real-time performance. Future work will explore obfuscating feature descriptors and analyzing the privacy budget relative to map density.

Summary updated

BibTeX
@inproceedings{speciale2019privacy,
  author = {Pablo Speciale and Johannes L. Schönberger and Sing Bing Kang and Sudipta N. Sinha and Marc Pollefeys},
  title = {{Privacy Preserving Image-Based Localization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00564},
}
Figure