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

CarFi: Rider Side Localization using Wi-Fi CSI

Sirajum Munir, Hongkai Chen, Shiwei Fang, Mahathir Monjur, Shan Lin, Shahriar Nirjon2023

Abstract

In dense urban environments, the "last-meter" localization of ride-hailing passengers remains a persistent challenge. Conventional Global Positioning System (GPS) technology often suffers from significant inaccuracies due to signal reflection and blockage by skyscrapers—a phenomenon known as the "urban canyon" effect. This paper introduces CarFi, a localization system that leverages Wi-Fi Channel State Information (CSI) to accurately determine which side of the street a rider is standing on. By analyzing signal patterns between a rider’s smartphone and a dual-antenna dashcam, CarFi achieves a classification accuracy of 95.44%. The system is designed to be privacy-preserving and robust against environmental obstructions, providing a reliable alternative to GPS and vision-based methods.

1. Introduction

The final stage of a ride-hailing pickup is often the most frustrating for both drivers and riders. While GPS can guide a vehicle to a general address, its 10-to-30-meter error margin in city centers frequently results in the driver stopping on the opposite side of a busy thoroughfare. This "last-meter" problem leads to increased traffic congestion, safety risks for riders crossing mid-block, and wasted time.

Existing solutions have significant drawbacks. Vision-based systems using facial recognition raise privacy concerns and struggle in low-light or inclement weather. Physical markers, such as colored LEDs, are often invisible in direct sunlight. CarFi addresses these issues by utilizing the ubiquitous Wi-Fi signals emitted by smartphones. By focusing specifically on street-side determination, CarFi provides the critical piece of information needed for a seamless pickup.

2. Methodology

CarFi transforms a standard Wi-Fi-enabled dashcam into a sophisticated localization tool. The system relies on Channel State Information (CSI), which provides a fine-grained map of how a signal propagates through space, accounting for reflections, fading, and scattering.

2.1 Amplitude-Only Processing

A major hurdle in mobile Wi-Fi sensing is the instability of signal phase. In a moving vehicle, phase calibration is computationally expensive and often unreliable. CarFi bypasses this by relying exclusively on CSI amplitude. To ensure signal quality, the system implements Variance-based Subcarrier Selection (VbSS). By calculating the covariance between the two dashcam antennas, CarFi identifies and prioritizes the subcarriers most resilient to environmental noise.

2.2 Feature Engineering

The system extracts three distinct features to characterize the rider's location:

  1. Amplitude Difference: The power differential between the two antennas, which provides a primary cue for lateral positioning.
  2. Multipath Profile: Derived via Eigen decomposition, this feature captures how the signal bounces off surrounding structures.
  3. Power Delay Profile (PDP): A time-domain representation used to distinguish between Line-of-Sight (LoS) and Non-Line-of-Sight (nLoS) conditions, such as when a rider is obscured by other vehicles.

2.3 Temporal Modeling with LSTM

Because the spatial relationship between the car and the rider changes as the vehicle approaches, the signal exhibits a unique temporal "signature." CarFi feeds the extracted features into a Long Short-Term Memory (LSTM) neural network. The LSTM is specifically designed to process these time-series sequences, allowing the system to classify the rider’s position (left vs. right) based on the evolving signal profile.

3. Experimental Evaluation

To validate CarFi in real-world conditions, the researchers conducted an extensive field study involving 85 unique rides and over 568,000 Wi-Fi packets.

3.1 Data Collection and Ground Truth

The dataset covered five distinct environmental scenarios, including clear paths, areas crowded with pedestrians, and streets lined with parked cars (nLoS). To establish a precise ground truth, the team utilized a 4K drone to record the experiments from above. Using homography transformations, they mapped the drone’s video coordinates to real-world (x,y) coordinates, ensuring the model was trained against highly accurate positional data.

3.2 Performance Results

CarFi demonstrated superior performance across several metrics:

  • Accuracy: The system achieved a 95.44% accuracy rate in street-side determination.
  • Comparative Analysis: CarFi significantly outperformed traditional Received Signal Strength Indicator (RSSI) methods (85.6%) and phase-based localization (56%), proving the efficacy of the CSI amplitude-only approach in mobile settings.
  • Range: Reliable connectivity was maintained up to 120 meters in LoS conditions and 70 meters in nLoS conditions.
  • Latency: The system is optimized for real-time use. Inference takes approximately 101ms on a desktop GPU and 850ms on an embedded Nvidia Jetson Nano, making it suitable for integration into vehicle hardware.

4. Discussion and Limitations

While CarFi offers a robust solution for localization, several practical considerations remain. The system requires the ride-hailing application to manage Wi-Fi packet transmission, which may impact smartphone battery life. However, this impact is minimized by only activating the high-frequency transmission when the vehicle is within 0.5 miles of the pickup point.

Additionally, the system currently tracks the device used to book the ride. If a user books a ride for a third party, the system will localize the booker rather than the actual passenger. Finally, CarFi relies on the relative motion between the car and the rider; if a rider remains deep inside a building until the car arrives, the temporal features may be less distinct.

5. Conclusion

CarFi presents a novel, privacy-conscious approach to the "last-meter" ride-hailing problem. By repurposing Wi-Fi CSI and leveraging the inherent motion of the vehicle, the system provides drivers with highly accurate street-side information that GPS cannot offer. Future work will focus on testing the system in even denser urban environments and exploring hardware optimizations to further enhance detection range and accuracy.

Summary updated

BibTeX
@misc{munir2023carfi,
  author = {Sirajum Munir and Hongkai Chen and Shiwei Fang and Mahathir Monjur and Shan Lin and Shahriar Nirjon},
  title = {{CarFi: Rider Side Localization using Wi-Fi CSI}},
  year = {2023},
  doi = {10.1109/mass58611.2023.00072},
}

Loading related content...

Figure