No Perfect Outdoors: Towards a Deep Profiling of GNSS-Based Location Contexts
Abstract
:1. Introduction
- We, for the first time, propose to profile location context via mining raw GNSS measurements.
- We innovate in the feature engineering pipeline to handle both high-dimensionality and misalignment.
- We apply a deep autoencoder to distill compressed representations from the GNSS data sets.
- We develop two preliminary applications of our deep profiling; they deliver semantic representations and better location error estimations, respectively.
- We perform extensive data collection and experimentation to validate our proposals.
2. Background and Challenges
2.1. GPS-Based Localization
2.2. Indoor–Outdoor Detection
2.3. Non-GPS Outdoor Localization
2.4. Mining Mobile Sensing Data
2.5. Challenges in Mining GNSS Data
- Beyond dimensionality: the involved data structure is fairly complicated, as shown in Table 1 for one satellite. One could deem it a high-dimensional vector and simply stack 32 of them (for all GPS satellites) into a matrix, yet such an input data structure is inefficient: many fields (features) can be highly redundant, yet we are expecting a compact and effective feature set for each satellite, which enables a learning module to efficiently capture location contexts under profiling.
- Inherent misalignment: No matter the data structure used, proper indexing is key to aligning relevant features. Whereas conventional mobile sensing has sensor IDs as a natural indexing, using satellite IDs for the same purpose can severely misalign the target feature: many IDs are rarely visible and the same location may witness very different satellite coverage at different points in time, while even the same number of visible satellites may form various patterns and, thus, result in very different localization performances.
3. From Understanding GNSS Data to Problem Definition
3.1. Case Study of GPS-Based Localization Performance
- Satellite pattern matters: a wide street, shown in Figure 1a, enjoys a balanced satellite pattern and thus an almost perfect (for commercial GPS) average localization error of 5–10 m, but semi-exposed indoor areas Figure 1b (glass-covered building or void deck) cause a biased pattern and larger variations in GPS errors. A balanced pattern obtained for a sheltered street, shown in Figure 1c, again leads to consistent GPS performance, though the location scenario is quite close to what would be considered indoor.
- Correlations between GNSS data and locations exist: besides the discussions in the previous bullet, a high-rise-surrounded square or narrow street (scenarios often termed “building well” or “urban canyon”), as shown in Figure 1d, leads to a more skewed pattern, as well as a more severe multipath effect (another GNSS field not shown in the figure). Supposing we may properly differentiate Figure 1a from Figure 1d via contextual information inferred by GNSS data, adequate corrections by other complementary signal sources can be put into action. Note that such a differentiation is achieved without deriving GPS location indicators that could indicate locations erroneously.
- Other GNSS features may help further: differentiating Figure 1a from Figure 1d may sometimes require more features than provided by the satellite pattern itself. In addition, even when the location remains roughly the same, Figure 1e,f exhibit very different GPS tracking performance during two distinct time periods, indicating a change of contextual information beyond pure location. Nevertheless, attributing the context change solely to satellite pattern may not be sufficient; a holistic mining of several GNSS features is necessary.
3.2. Problem Definition
- It can be further derived and used to estimate the accuracy level of GPS localization performance.
- It has specific semantic meaning that can be further clustered or classified to represent various urban location contexts.
- Its dimension should be sufficiently reduced, so as to be computationally efficient for other applications.
4. GNSS-Based Location Context Profiling
4.1. Feature Engineering Pipeline
4.1.1. GNSS Data from Android 7.0
- Binary features take only boolean values and they are related to the clock status, carrier phase validity, and multipath effect. Some of these features may not be directly applicable to the profiling, yet they indicate the validity of other features.
- Scalar features take float scalar values and primarily include measurements concerning information quality. For example, there are measurements concerning SNR and Doppler shift, along with their respective uncertainty fields providing 1- values. Although these features are often used to infer localization accuracy, given a model-based approach, we intend to use them in a non-parametric manner to avoid losing information.
- Derived features are not directly obtained from Android API; we compute them, mainly to facilitate reshaping the input to deep learning modules. In particular, SvPosition is the position (under a spherical coordinate system) of a satellite when a GNSS sample is received, derived using the GPS ephemeris [34] and the receiving timestamps.
4.1.2. Satellite Position-Based Feature Packing
4.2. Location Context Autoencoder
4.3. Applications of Location Context Profiling
4.3.1. Localization Error Estimator
4.3.2. Context Semantic Analysis
- Lower-level clustering: For a set of representations, we use DBSCAN to cluster them into small clusters, assign each cluster with a predefined label as the detailed context and calculate the center of the cluster. Detected noise is labeled as “noise”. Lower-level clustering captures scenario information, such as “on street”, “blocked one one side by building”, “building enclosing”, and “on void deck”. Figure 4a,b demonstrate two traces after lower-level clustering.
- Higher-level clustering: Cluster centers and “noises” from lower-level clustering are further combined into upper-level clusters, and assigned a unified label, such as general context. Higher-level clustering captures general information, such as satellite patterns. The noise vector detected from the upper level of clustering are treated as a separate cluster, since it may capture an infrequent satellite pattern at the moment, but can be further clustered into other groups when the database is enlarged. To illustrate the correspondence with lower-level clustering, Figure 4c shows the representations with the color label of upper-level clusters.
5. Evaluation
5.1. System Implementation and Data Preparations
5.1.1. Data Collection
On street | On void deck |
blocked on one side by buildings | blocked on two sides by buildings |
building enclosing | inside a glass-covered building |
on a sheltered street | in a tunnel |
inside a room with heavy walls |
5.1.2. Data Pre-Processing
ADR_STATE_CYCLE_SLIP | HardwareClockDiscontinuityCount |
ADR_STATE_RESET | BiasUncertaintyNanos |
ADR_STATE_VALID | ReceivedSvTimeUncertaintyNanos |
STATE_SYMBOL_SYNC | Cn0DbHz |
STATE_MSEC_AMBIGUOUS | PseudorangeRateMetersPerSecond |
STATE_TOW_DECODED | PseudorangeRateUncertaintyMetersPerSecond |
STATE_SUBFRAME_SYNC | AccumulatedDeltaRangeUncertaintyMeters |
STATE_BIT_SYNC | DeltaRange |
STATE_CODE_LOCK | MultipathIndicator |
5.2. Autoencoder Model Training
5.2.1. Parameter Setting
5.2.2. Comparison with Other Embedding Mechanisms
5.3. Localization Error Estimator
5.4. Location Contexts Semantic Analysis
5.5. Comparing with IO-Detectors
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Kaplan, E.; Hegarty, C. Understanding GPS Principles and Applications, 2nd ed.; Artech House: Norwood, MA, USA, 2005. [Google Scholar]
- Hassanieh, H.; Adib, F.; Katabi, D.; Indyk, P. Faster GPS via the Sparse Fourier Transform. In Proceedings of the 18th Annual International Conference on Mobile Computing and Networking, Barcelona, Spain, 8–10 October 2012; pp. 353–364. [Google Scholar]
- Bahl, P.; Padmanabhan, V. RADAR: An In-building RF-based User Location and Tracking System. In Proceedings of the 19th Annual Joint Conference of the IEEE Computer and Communications Societies (Cat. No. 00CH37064), Tel Aviv, Israel, 26–30 March 2000; pp. 775–784. [Google Scholar]
- Youssef, M.; Agrawala, A. The Horus WLAN Location Determination System. In Proceedings of the 3rd International Conference on Mobile Systems, Applications, and Services, Seattle, WA, USA, 6–8 June 2005; pp. 205–218. [Google Scholar]
- Xiong, J.; Jamieson, K. ArrayTrack: A Fine-grained Indoor Location System. In Proceedings of the 10th USENIX Symposium on Networked Systems Design and Implementation (NSDI 13), Lombard, IL, USA, 2–5 April 2013; pp. 71–84. [Google Scholar]
- Kuo, Y.; Pannuto, P.; Hsiao, K.; Dutta, P. Luxapose: Indoor Positioning with Mobile Phones and Visible Light. In Proceedings of the 20th Annual International Conference on Mobile Computing and Networking, Maui, HI, USA, 7–11 September 2014; pp. 447–458. [Google Scholar]
- Zhang, C.; Zhang, X. Pulsar: Towards Ubiquitous Visible Light Localization. In Proceedings of the 23rd Annual International Conference on Mobile Computing and Networking, Snowbird, UT, USA, 16–20 October 2017; pp. 208–221. [Google Scholar]
- Wang, H.; Sen, S.; Elgohary, A.; Farid, M.; Youssef, M.; Choudhury, R.R. No Need to War-drive: Unsupervised Indoor Localization. In Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, Ambleside, UK, 25–29 June 2012; pp. 197–210. [Google Scholar]
- Zhang, C.; Subbu, K.; Luo, J.; Wu, J. GROPING: Geomagnetism and cROwdsensing Powered Indoor NaviGation. IEEE Trans. Mob. Comput. 2015, 14, 387–400. [Google Scholar] [CrossRef]
- Zhou, P.; Zheng, Y.; Li, Z.; Li, M.; Shen, G. IODetector: A Generic Service for Indoor Outdoor Detection. In Proceedings of the 10th ACM Conference on Embedded Networked Sensor Systems (SenSys 2012), Toronto, ON, Canada, 6–9 November 2012; pp. 113–126. [Google Scholar]
- Radu, V.; Katsikouli, P.; Sarkar, R.; Marina, M. A Semi-Supervised Learning Approach for Robust Indoor-Outdoor Detection with Smartphones. In Proceedings of the 12th ACM Conference on Embedded Networked Sensor Systems (SenSys 2014), Memphis, TN, USA, 3–6 November 2014; pp. 280–294. [Google Scholar]
- Chen, K.; Tan, G. SatProbe: Low-Energy and Fast Indoor/Outdoor Detection based on Raw GPS Processing. In Proceedings of the 36th IEEE International Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar]
- Chintalapudi, K.; Padmanabha Iyer, A.; Padmanabhan, V.N. Indoor Localization Without the Pain. In Proceedings of the 16th Annual International Conference on Mobile Computing and Networking, Chicago, IL, USA, 20–24 September 2010; pp. 173–184. [Google Scholar]
- Nirjon, S.; Liu, J.; DeJean, G.; Priyantha, B.; Jin, Y.; Hart, T. COIN-GPS: Indoor Localization from Direct GPS Receiving. In Proceedings of the 12th Conference on Mobile Systems, Applications, and Services, Bretton Woods, NH, USA, 16–19 June 2014; pp. 301–314. [Google Scholar]
- Cheng, Y.C.; Chawathe, Y.; LaMarca, A.; Krumm, J. Accuracy Characterization for Metropolitan-scale Wi-Fi Localization. In Proceedings of the 3rd International Conference on Mobile Systems, Applications, and Services (MobiSys 2005), Seattle, WA, USA, 6–8 June 2005; pp. 233–245. [Google Scholar]
- Wang, J.; Tan, N.; Luo, J.; Pan, S.J. WOLoc: WiFi-only Outdoor Localization Using Crowdsensed Hotspot Labels. In Proceedings of the 36th IEEE International Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar]
- GNSS-Android. Android Raw GNSS Measurements. 2018. Available online: https://developer.android.com/guide/topics/sensors/gnss (accessed on 18 July 2018).
- Kjærgaard, M.B.; Langdal, J.; Godsk, T.; Toftkjær, T. EnTracked: Energy-efficient Robust Position Tracking for Mobile Devices. In Proceedings of the 7th International Conference on Mobile Systems, Applications, and Services, Kraków, Poland, 22–25 June 2009; pp. 221–234. [Google Scholar]
- Paek, J.; Kim, J.; Govindan, R. Energy-efficient Rate-adaptive GPS-based Positioning for Smartphones. In Proceedings of the 8th International Conference on Mobile Systems, Applications, and Services, San Francisco, CA, USA, 15–18 June 2010; pp. 299–314. [Google Scholar]
- Lin, K.; Kansal, A.; Lymberopoulos, D.; Zhao, F. Energy-accuracy Trade-off for Continuous Mobile Device Location. In Proceedings of the 7th International Conference on Mobile Systems, Applications, and Services, San Francisco, CA, USA, 14–18 June 2010; pp. 285–298. [Google Scholar]
- LaMance, J.; DeSalas, J.; Järvinen, J. Assisted GPS: A Low-Infrastructure Approach. 2002. Available online: http://gpsworld.com/innovation-assisted-gps-a-low-infrastructure-approach/ (accessed on 18 July 2018).
- Constandache, I.; Gaonkar, S.; Sayler, M.; Choudhury, R.; Cox, L. EnLoc: Energy-Efficient Localization for Mobile Phones. In Proceedings of the 28th Annual Conference of the IEEE Communications Society, Rio de Janeiro, Brazil, 19–25 April 2009; pp. 2716–2720. [Google Scholar]
- Misra, P.; Hu, W.; Jin, Y.; Liu, J.; de Paula, A.S.; Wirström, N.; Voigt, T. Energy efficient GPS acquisition with Sparse-GPS. In Proceedings of the 13th ACM/IEEE International Conference Information Processing in Sensor Networks, Berlin, Germany, 15–17 April 2014; pp. 155–166. [Google Scholar]
- Hedgecock, W.; Maroti, M.; Ledeczi, A.; Volgyesi, P.; Banalagay, R. Accurate Real-time Relative Localization Using Single-frequency GPS. In Proceedings of the 12th ACM Conference on Embedded Network Sensor Systems, Memphis, TN, USA, 3–6 November 2014; pp. 206–220. [Google Scholar]
- Liu, J.; Priyantha, B.; Hart, T.; Ramos, H.S.; Loureiro, A.A.F.; Wang, Q. Energy Efficient GPS Sensing with Cloud Offloading. In Proceedings of the 10th ACM Conference on Embedded Networked Sensor Systems (SenSys 2012), Toronto, ON, Canada, 6–9 November 2012; pp. 85–98. [Google Scholar]
- Thiagarajan, A.; Ravindranath, L.S.; Balakrishnan, H.; Madden, S.; Girod, L. Accurate, Low-Energy Trajectory Mapping for Mobile Devices. In Proceedings of the 8th USENIX Symposium on Networked Systems Design and Implementation (NSDI 2011), Boston, MA, USA, 30 March–1 April 2011; pp. 267–280. [Google Scholar]
- Wu, X.; Tian, X.; Wang, X. Large-scale Wireless Fingerprints Prediction for Cellular Network Positioning. In Proceedings of the 37th IEEE Conference on Computer Communications, Honolulu, HI, USA, 15–19 April 2018; pp. 1007–1015. [Google Scholar]
- Huynh, T.; Fritz, M.; Schiele, B. Discovery of Activity Patterns Using Topic Models. In Proceedings of the 10th International Conference on Ubiquitous Computing COEX, Seoul, Korea, 21–24 September 2008; pp. 10–19. [Google Scholar]
- Matsubara, Y.; Sakurai, Y.; Faloutsos, C. AutoPlait: Automatic Mining of Co-evolving Time Sequences. In Proceedings of the International Conference on Management of Data (SIGMOD 2014), Snowbird, UT, USA, 22–27 June 2014; pp. 193–204. [Google Scholar]
- Parate, A.; Chiu, M.C.; Chadowitz, C.; Ganesan, D.; Kalogerakis, E. RisQ: Recognizing Smoking Gestures with Inertial Sensors on a Wristband. In Proceedings of the 12th Conference on Mobile Systems, Applications, and Services, Bretton Woods, NH, USA, 16–19 June 2014; pp. 149–161. [Google Scholar]
- Liu, C.; Zhang, L.; Liu, Z.; Liu, K.; Li, X.; Liu, Y. Lasagna: Towards Deep Hierarchical Understanding and Searching over Mobile Sensing Data. In Proceedings of the 22nd Annual International Conference on Mobile Computing and Networking, New York City, NY, USA, 3–7 October 2016; pp. 334–347. [Google Scholar]
- Groth, E. A Pattern-Matching Algorithm for Two-Dimensional Coordinate Lists. Astron. J. 1986, 91, 1244–1248. [Google Scholar] [CrossRef]
- GNSS-Android. Android Developers Documentations. 2018. Available online: https://developer.android.com/reference/android/location/GnssMeasurement (accessed on 18 July 2018).
- NASA. CDDIS: NASA’s Archive Space Geodesy Data. 2018. Available online: https://cddis.nasa.gov/Data_and_Derived_Products/GNSS/broadcast_ephemeris_data.html (accessed on 18 July 2018).
- Hinton, G.E.; Salakhutdinov, R.R. Reducing the Dimensionality of Data with Neural Networks. Science 2006, 313, 504–507. [Google Scholar] [CrossRef] [Green Version]
- Sutskever, I.; Vinyals, O.; Le, Q.V. Sequence to Sequence Learning with Neural Networks. In Proceedings of the 27th International Conference on Neural Information Processing Systems, Montreal, QC, Canada, 8–13 December 2014; pp. 3104–3112. [Google Scholar]
- Google. Android Developers Documentations: LocationManager. 2018. Available online: https://developer.android.com/reference/android/location/LocationManager (accessed on 18 July 2018).
- Google. Google APIs for Android: FusedLocationProviderApi. 2018. Available online: https://developers.google.com/android/reference/com/google/android/gms/location/FusedLocationProviderApi (accessed on 18 July 2018).
Fields Name | Description |
---|---|
Binary Fields | |
STATE_SYMBOL_SYNC | is tracking synchronized at the symbol level? |
STATE_TOW_DECODED | is the time of week known? |
STATE_BIT_SYNC | is tracking synchronized at the bit level? |
MultipathIndicator | has a multipath been detected? |
⋯ | ⋯ |
Scalar Fields | |
ReceivedSvTimeNanos | the received GNSS satellite time in ns |
BiasUncertaintyNanos | the clock’s bias uncertainty in ns |
PseudorangeRateUncertainty... | rate uncertainty (1-sigma) in m/s. |
Cn0DbHz | the carrier-to-noise density in dB-Hz. |
⋯ | ⋯ |
Sensor Set | Battery Life (Hours) |
---|---|
magnetometer + cellular + light | 29.2 |
raw GNSS measurement listener | 24.2 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, J.; Luo, J. No Perfect Outdoors: Towards a Deep Profiling of GNSS-Based Location Contexts. Future Internet 2022, 14, 7. https://doi.org/10.3390/fi14010007
Wang J, Luo J. No Perfect Outdoors: Towards a Deep Profiling of GNSS-Based Location Contexts. Future Internet. 2022; 14(1):7. https://doi.org/10.3390/fi14010007
Chicago/Turabian StyleWang, Jin, and Jun Luo. 2022. "No Perfect Outdoors: Towards a Deep Profiling of GNSS-Based Location Contexts" Future Internet 14, no. 1: 7. https://doi.org/10.3390/fi14010007
APA StyleWang, J., & Luo, J. (2022). No Perfect Outdoors: Towards a Deep Profiling of GNSS-Based Location Contexts. Future Internet, 14(1), 7. https://doi.org/10.3390/fi14010007