Indoor Smartphone SLAM with Learned Echoic Location Features

Wenjie Luo, Qun Song, Zhenyu Yan, Rui Tan, Guosheng Lin

Introduction

Indoor localization has long been considered a "holy grail" for mobile computing, yet a ubiquitous, high-precision solution remains elusive. Global Positioning System (GPS) signals are attenuated by building materials, while alternative methods like Wi-Fi and Bluetooth fingerprinting suffer from signal instability and environmental interference. Visual Simultaneous Localization and Mapping (vSLAM) offers high accuracy but introduces significant privacy concerns and high computational overhead, draining smartphone batteries rapidly.

This paper presents ELF-SLAM, a novel indoor localization system that enables standard smartphones to map and navigate environments using near-inaudible acoustic signals. By treating the smartphone like a sonar system, ELF-SLAM achieves sub-meter accuracy without the need for specialized hardware or labor-intensive manual data labeling.

System Design and Methodology

The foundation of the system is the Echoic Location Feature (ELF). The smartphone emits a near-inaudible chirp in the 15–20 kHz frequency range and records the resulting echoes as they bounce off walls, furniture, and other structural elements.

Self-Supervised Contrastive Learning

Traditionally, acoustic localization required "fingerprinting," where a human would manually label thousands of locations to train a model. ELF-SLAM bypasses this bottleneck using Contrastive Learning (CL). The system employs a self-supervised heuristic: acoustic echoes recorded within a short time window of each other are likely from the same physical vicinity (forming a "positive pair"), while echoes recorded at different points in a trajectory are treated as "negative pairs." This allows the model to learn to distinguish unique spatial features from unlabeled data.

Two-Stage Training and Optimization

To ensure robustness, the model undergoes a two-stage training process:

  1. Synthetic Pre-training: The model is first trained on 16 million synthetic echo traces generated via the pyroomacoustics simulator, allowing it to learn general acoustic physics.
  2. On-the-Fly Fine-tuning: The model is then fine-tuned on the specific, unlabeled trajectory of the user to adapt to the unique acoustic signature of the local environment.

Graph-based SLAM and Loop Closure

ELF-SLAM integrates acoustic features with the phone’s Inertial Measurement Unit (IMU) data. While IMU-based "dead reckoning" is prone to drift over time, ELF-SLAM utilizes a clustering-based approach (DBSCAN and RANSAC) to identify "loop closures." When the system recognizes a previously visited acoustic environment, it "snaps" the trajectory back to the correct coordinates, effectively neutralizing sensor drift.

Experimental Evaluation

The system was evaluated using a Google Pixel 4 across three diverse real-world environments:

  • Living Room (60 m²): A typical domestic space with various furniture.
  • Office (360 m²): A complex environment featuring numerous cubicles and partitions.
  • Shopping Mall (2,000 m²): A large-scale public space characterized by high ceilings and significant ambient noise.

To test hardware heterogeneity, the researchers also deployed the system on a Huawei P40 Pro and a Redmi Note 11.

Key Results

ELF-SLAM demonstrated superior performance compared to traditional Wi-Fi and geomagnetic-based SLAM systems.

  • High Precision: The system achieved median localization errors of 0.1 m in the living room, 0.53 m in the office, and 0.4 m in the shopping mall.
  • Orientation Robustness: Acoustic signals change based on which way the phone is facing. The authors implemented a "floor-level" contrastive learning stage that successfully reconciled different orientations at the same physical location.
  • Acoustic Stealth: The system maintained sub-meter accuracy even when the speaker volume was reduced to 20%, making the chirps virtually imperceptible to the human ear.
  • Computational Efficiency: Running on PyTorch-Mobile, the system utilized only ~20% of the CPU with a response time of 0.5 seconds, making it viable for real-time mobile use.

Discussion and Limitations

While ELF-SLAM represents a significant leap forward, certain challenges remain. The system's performance can degrade in extremely crowded environments or if large structural changes occur (e.g., moving major furniture). Furthermore, hardware variance remains a factor; lower-end devices with cheaper microphones showed higher error rates than flagship models, suggesting a need for further research into domain adaptation. Finally, the authors acknowledge potential security risks, such as "acoustic spoofing," where malicious actors could disrupt the 15–20 kHz band to interfere with localization.

Conclusion

ELF-SLAM proves that high-precision indoor localization is possible using the existing hardware on a standard smartphone. By combining acoustic sensing with self-supervised contrastive learning, the system provides a privacy-preserving, low-power, and highly accurate alternative to existing indoor navigation technologies.

Summary updated

BibTeX
@inproceedings{luo2022indoor,
  author = {Wenjie Luo and Qun Song and Zhenyu Yan and Rui Tan and Guosheng Lin},
  title = {{Indoor Smartphone SLAM with Learned Echoic Location Features}},
  booktitle = {SenSys},
  year = {2022},
  doi = {10.1145/3560905.3568510},
}
Figure