Text2Loc: 3D Point Cloud Localization from Natural Language

Yan Xia, Letian Shi, Zifeng Ding, João F. Henriques, Daniel CremersCVPR 2023

Abstract

We tackle the problem of 3D point cloud localization based on a few natural linguistic descriptions and introduce a novel neural network, Text2Loc, that fully interprets the semantic relationship between points and text. Text2Loc follows a coarse-to-fine localization pipeline: text-submap global place recognition, followed by fine localization. In global place recognition, relational dynamics among each textual hint are captured in a hierarchical transformer with max-pooling (HTM), whereas a balance between positive and negative pairs is maintained using text-submap contrastive learning. Moreover, we propose a novel matching-free fine localization method to further refine the location predictions, which completely removes the need for complicated text-instance matching and is lighter, faster, and more accurate than previous methods. Extensive experiments show that Text2Loc improves the localization accuracy by up to 2x over the state-of-the-art on the KITTI360Pose dataset.

Introduction

Precise localization in dense urban environments remains a significant challenge for autonomous navigation, especially in areas where GPS signals are degraded by "urban canyons." While humans can easily navigate using relational descriptions—such as "I'm standing west of a green building, east of a green road, and west of a black garage"—translating these natural language hints into precise coordinates on a 3D LiDAR map is a complex task known as the "last mile problem."

Existing localization methods often struggle with two primary issues: capturing the complex relational dynamics between multiple textual hints and managing the computational overhead of matching text to specific 3D object instances. Text2Loc addresses these challenges through a novel coarse-to-fine architecture that prioritizes semantic understanding and computational efficiency.

Methodology

Text2Loc utilizes a two-stage pipeline to transition from a broad search area to a precise coordinate within a city-scale 3D point cloud.

The Text2Loc coarse-to-fine localization pipeline, moving from global place recognition to matching-free fine localization.

Global Place Recognition (Coarse)

The first stage identifies the most relevant 30m x 30m "submap" from the larger city map.

  • Hierarchical Transformer with Max-pooling (HTM): To handle the structured nature of human descriptions, HTM processes text hierarchically (words to sentences to full descriptions). This allows the model to capture spatial logic and the relationships between different landmarks mentioned across multiple sentences.
  • Contrastive Learning: Inspired by multi-modal models like CLIP, Text2Loc employs a text-submap contrastive loss. This approach learns a shared embedding space where matching text and 3D submaps are pulled together, improving the discriminative power of the retrieval process.

Fine Localization (Refinement)

Once the correct submap is identified, the model pinpoints the exact $(x, y)$ coordinates.

  • Matching-Free Architecture: Departing from traditional methods that require explicit matching between text tokens and 3D object instances, Text2Loc uses a Cascaded Cross-Attention Transformer (CCAT). This module treats the text as a query to directly look up relevant geometric features from the point cloud, fusing the modalities in a single, efficient step.
  • Prototype-based Map Cloning (PMC): To enhance training robustness, PMC is used as a data augmentation technique, generating diverse submap variants to prevent the model from overfitting to specific object layouts.

Experimental Results

The researchers evaluated Text2Loc on the KITTI360Pose benchmark, which covers 15 square kilometers and contains over 43,000 position-query pairs.

Localization recall comparison showing Text2Loc significantly outperforming baselines across different retrieval counts.

Text2Loc sets a new state-of-the-art benchmark for the field:

  • Accuracy: The model achieves a Top-1 localization recall (within a 5-meter threshold) of 0.33, which is double the performance of the previous best baseline (RET).
  • Efficiency: The fine localization module is significantly more efficient, utilizing only 1.06M parameters compared to the 2.08M of previous models. Furthermore, it runs in just 2.27ms, representing only 5% of the inference time required by earlier matching-based systems.
  • Geometric Consistency: By relying on 3D geometric features rather than visual pixels, Text2Loc maintains consistent performance regardless of lighting conditions, weather, or seasonal changes.

Conclusion and Future Work

Text2Loc demonstrates that a matching-free, coarse-to-fine approach can significantly improve both the accuracy and speed of natural language-based 3D localization. By leveraging hierarchical transformers and cross-attention mechanisms, the model effectively bridges the gap between human language and geometric maps. Future research will focus on increasing robustness to diverse phrasing and resolving ambiguities in repetitive urban environments. The authors also intend to incorporate more specific landmarks, such as street names and house numbers, to further refine the system for real-world robotic applications.

Summary updated

BibTeX
@inproceedings{xia2023text,
  author = {Yan Xia and Letian Shi and Zifeng Ding and João F. Henriques and Daniel Cremers},
  title = {{Text2Loc: 3D Point Cloud Localization from Natural Language}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=TyjzqJgWBp},
}
Figure