Next Article in Journal
Remote Sensing Temporal Reconstruction of the Flooded Area in “Tablas de Daimiel” Inland Wetland 2000–2021
Previous Article in Journal
Label-Free Anomaly Detection Using Distributed Optical Fiber Acoustic Sensing
Previous Article in Special Issue
Crowdsourced Reconstruction of Cellular Networks to Serve Outdoor Positioning: Modeling, Validation and Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Crowdsourced Indoor Positioning with Scalable WiFi Augmentation †

School of Engineering, University of Edinburgh, Edinburgh EH8 9YL, UK
*
Authors to whom correspondence should be addressed.
This paper is an extended version of our paper published in Dong, Y.; Arslan, T.; Yang, Y.; Ma, Y. A WiFi Fingerprint Augmentation Method for 3-D Crowdsourced Indoor Positioning Systems, 2022 IEEE 12th International Conference on Indoor Positioning and Indoor Navigation (IPIN), Beijing, China, 2022.
Sensors 2023, 23(8), 4095; https://doi.org/10.3390/s23084095
Submission received: 8 March 2023 / Revised: 9 April 2023 / Accepted: 16 April 2023 / Published: 19 April 2023
(This article belongs to the Special Issue Multi-Sensor Positioning for Navigation in Smart Cities)

Abstract

:
In recent years, crowdsourcing approaches have been proposed to record the WiFi signals annotated with the location of the reference points (RPs) extracted from the trajectories of common users to reduce the burden of constructing a fingerprint (FP) database for indoor positioning. However, crowdsourced data is usually sensitive to crowd density. The positioning accuracy degrades in some areas due to a lack of FPs or visitors. To improve the positioning performance, this paper proposes a scalable WiFi FP augmentation method with two major modules: virtual reference point generation (VRPG) and spatial WiFi signal modeling (SWSM). A globally self-adaptive (GS) and a locally self-adaptive (LS) approach are proposed in VRPG to determine the potential unsurveyed RPs. A multivariate Gaussian process regression (MGPR) model is designed to estimate the joint distribution of all WiFi signals and predicts the signals on unsurveyed RPs to generate more FPs. Evaluations are conducted on an open-source crowdsourced WiFi FP dataset based on a multi-floor building. The results show that combining GS and MGPR can improve the positioning accuracy by 5% to 20% from the benchmark, but with halved computation complexity compared to the conventional augmentation approach. Moreover, combining LS and MGPR can sharply reduce 90% of the computation complexity against the conventional approach while still providing moderate improvement in positioning accuracy from the benchmark.

1. Introduction

Indoor positioning has attracted tremendous research interest in recent years. Although GPS has been served for years to provide location-based services in outdoor scenarios, it cannot provide highly reliable positioning accuracy in indoor environments due to signal attenuation and multi-path effects. Therefore, researchers have developed a variety of positioning techniques, such as using magnetic field [1,2,3], radio frequency identification (RFID) [4,5,6], and WiFi [7,8,9,10,11] to compensate for the shortage of GPS in indoor positioning.
Nowadays, most mobile communication devices, such as mobile phones, smartwatches, and laptops, are embedded with WiFi chips to detect WiFi signals in indoor environments. WiFi is widely adopted in many public and private areas to provide users with internet connections. Since no extra infrastructure is needed, fingerprinting based on WiFi received signal strength (RSS) has become the most prevalent method to solve the indoor positioning problem over the last decade [12]. This fingerprinting technique usually has two stages: online and offline stages [13,14,15]. The offline stage involves collecting data from wireless networks without actually being connected to them. This can be achieved using specialized equipment or software, such as wireless network scanners, that passively scan for nearby networks and collect data on their RSS value, SSID, and MAC address. Such data are usually annotated with the location where it was acquired, namely WiFi fingerprints (FPs). A radio map is then constructed based on the WiFi FPs to be used to identify the location of a device or track its movements. In the online stage, WiFi devices actively transmit data over the network, and their identifying information can be collected in real time by the user. The online data is compared to the FPs on the radio map to determine the most likely location where the signal was acquired.
A critical factor that affects the positioning accuracy using WiFi fingerprinting is the number of FPs on the radio map. Volunteers are asked to collect WiFi data at hundreds of reference points (RPs) in the investigated indoor region to obtain sufficient FPs. Such a site survey is usually time-consuming and labor-intensive [16]. The study from Wang et al. [17] mentions that it took about 10 h for two graduate students to take FPs at 150RPs of an area of 281 m2. It is even worse when considering a multi-floor building scenario, such as an airport or shopping mall.
Therefore, a crowdsourcing approach [18,19,20] has been proposed to collect WiFi data and record the location by utilizing the trajectories of common users. With the inertial sensors and WiFi cards in users’ smartphones, the WiFi RSS FPs can be collected and annotated by their location and movements [21]. For example, HimLoc is specifically tailored for smartphone users and makes use of commonly available sensors such as the compass, accelerometer, and WiFi card. Its functionality is based on the idea of a crowdsourced WiFi training set, which is generated by the movements of people within the building [22]. LiFS [23] is a system that has been developed and is based on the sensors in mobile phones and user movement to create a radio map of a building. Unlike traditional radio-based solutions, it does not require site surveys and uses off-the-shelf WiFi infrastructure, making it easy to deploy with minimal human intervention. Even without site surveys, LiFS achieves accuracy that is comparable to previous approaches. However, relying on crowdsourced data also brings some challenges. For example, it is expected that the data amount will be very low at the beginning stage of deploying a crowdsourced indoor positioning system in a certain building due to a limited number of users. Such data is not enough to cover the entire indoor environment to provide an accurate positioning service. Furthermore, the crowdsourced data cannot guarantee to be updated everywhere as time changes though more user contributions are involved as the user number grows. This is attributed to low positioning accuracy in some areas as they do not have as many visitors as others.
This paper proposes a scalable WiFi FP augmentation method for 3D crowdsourced indoor positioning systems in large, complex indoor environments. The contributions are summarized as follows:
  • We propose a WiFi FP augmentation method for 3D crowdsourced indoor positioning systems. The proposed method can generate effective WiFi FPs in unsurveyed locations to improve positioning accuracy.
  • Two self-adaptive virtual RP generation (VRPG) approaches are designed based on and beyond the conventional approach in determining the virtual RPs of the new FPs.
  • A multivariate Gaussian process regression (MGPR)-based spatial WiFi signal modeling (SWSM) algorithm is designed to model the distribution of all WiFi FPs and predict the signals on virtual RPs in a 3D environment.
  • Experiments on an open 3D public dataset are conducted to comprehensively evaluate the positioning accuracy, floor identification accuracy, and computation complexity of the proposed augmentation method.

2. Problem Statement and Motivations

He et al. introduce a technique for creating a radio map with FPs based on the radio propagation model [24]. However, the radio model can be easily influenced by environmental changes, and the location of each AP is needed. Similarly, Jun et al. [25] present an indoor positioning system named AP-Sequence that aims to reduce the human effort in FP map creation with the location of each AP as a prior. Rather than using the propagation model, Sinhua et al. [26,27] propose to use linear interpolation to augment the WiFi RSS to generate more training data. Besides the linear interpolation method, Sun et al. [28] proposed using Gaussian process regression (GPR) to model the spatial distribution of the RSS of each AP and predict the RSS values of each AP on unsurveyed locations to generate new FPs. Nevertheless, such a method needs to create multiple GPR models for all APs in the target area. Since the signal distribution of each AP is different in the complex indoor environment, tuning all GPR models is inefficient and inappropriate for large indoor spaces with a large number of APs.
Through the literature analysis, one problem of the existing augmentation methods is scalability. Either using linear interpolation or pass loss model (propagation model) cannot well predict the signal distribution in different indoor environments. The recent machine learning-based approaches use regression models to model each AP’s signal distribution in the targeted indoor area. Although such methods have better generalization ability, they are not scalable and rational in practice. Usually, a WiFi RSS FP dataset for a building with multiple floors contains hundreds of APs. For example, an open-source dataset published in the EU Zenodo repository [29] contains more than 900 different MAC addresses in a five-floor building. Building and tuning the regression model for each AP for the entire building is highly time-consuming. Due to a lack of scalability, all the aforementioned methods were designed and evaluated in small 2D environments, such as a lab, an office, or a corridor associated with multiple rooms. It is doubtful whether such methods could still maintain the performance considering a large complex environment.
Furthermore, where to generate the new FPs should also be focused on when augmenting the WiFi FPs dataset. Most of the literature adopts a simple grid-based approach [30] that assumes the rectangle shape of a certain area according to the farthest points from the training RPs. However, such an approach does not consider the distribution of the RPs and will generate many non-necessary RPs that do not contribute to the positioning phase. The predicted new FPs on such non-necessary RPs will not improve the positioning performance but increase the computation complexity of the system.
Therefore, to solve the aforementioned two major problems, this paper proposes a novel WiFi FP augmentation method to improve positioning performance with higher scalability and lower computation complexity for 3D crowdsourced indoor positioning systems. The details are elaborated in the next section.

3. Methodology

3.1. Framework

As shown in Figure 1, the proposed method is mainly constructed of two elements: virtual reference point generation (VRPG) and spatial WiFi signal modeling (SWSM). Three VRPG approaches (two of which are proposed in this study) are developed to generate virtual RPs, and the SWSM is designed to model the WiFi FPs’ distribution to generate new WiFi signals on the virtual RPs to augment the dataset. The details are as follows.

3.2. Virtual Reference Point Generation

Each WiFi FP is composed of an RSS vector f = [ R S S 1 , R S S 2 , , R S S M ] (M is the total number of detected APs in the entire dataset) and a location vector c = [ x , y , z ] . Considering a 3D coordinate system, x, y, and z stand for the coordinate along x, y, and z-axis (in meters). To obtain more WiFi FPs for positioning, we first stipulate a strategy to determine the locations where they should be generated. In this study, based on the grid-based (GB) approach [30] that was mentioned in the previous section, we propose two novel self-adaptive approaches: a globally self-adaptive (GS) approach and a locally self-adaptive (LS) approach.

3.2.1. A Grid-Based Approach

Before introducing the two proposed approaches, we first introduce the simple and well-adopted GB approach. For a certain floor at h m, such an area can be simply described as a rectangle restrained by the maximum and minimum value of the coordinates of all the RPs along x and y-axes on the same floor, so that the four vertexes of such rectangle region are ( x m i n , y m i n , h ) , ( x m a x , y m i n , h ) , ( x m i n , y m a x , h ) and ( x m a x , y m a x , h ) . We define a virtual RP in the targeted region as c * = [ x i * , y j * , h ] . The entire region is partitioned into multiple 1 × 1 m2 grids along x and y axes. The coordinates of the virtual RPs are represented by the locations of the vertexes of each grid. So that:
x i * = x m i n , x m i n + 1 , x m i n + 2 , x m a x
y j * = y m i n , y m i n + 1 , y m i n + 2 , y m a x
hence, we can obtain t virtual RPs, where t can be calculated by:
t = ( x m a x x m i n + 1 ) ( y m a x y m i n + 1 )
One example of applying the GB approach to a specific floor is shown in Figure 2.

3.2.2. A Globally Self-Adaptive Approach

Beyond the GB approach, we design a new GS approach to reduce the non-necessary virtual RPs outside the targeted region.
The GS approach first generates the virtual RPs the same as the GB approach. Then, Graham’s scan [31] is used to detect the convex hull of the targeted region. Considering detecting the convex hull in a 2D environment on a floor, an initial RP with the lowest y-coordinate is selected. Then, the rest of the RPs are sorted in increasing order of the angle calculated between them and the initial RP along the z-axis. For the RPs with the same angle, only the farthest RP is kept (Euclidean distance is used to calculate the distance in this study). Then, we iterate the ordered RPs and calculate the angle formed by the three sequential RPs: previous RP, current RP, and next RP. The three RPs are kept if the angle is counterclockwise, or the current RP is dropped. Once the iteration finishes, the combination of the left RPs describes the convex hull of the targeted region, and only the virtual RPs that are inside the convex hull are kept.
To further remove the non-necessary virtual RPs, the virtual reference points are divided into many sub-areas by the mean-shift clustering algorithm. The mean-shift algorithm is a density-based unsupervised machine learning algorithm [32]. It senses changes in data density and updates the centroid by computing the average shift vector over a given centroid at an arbitrary sample RP. Given a set of data x i , i = 1 , 2 , . . . , n on a d-dimensional space R d , the mean shift vector of x can be expressed by:
m h ( x ) = i = 1 n x i G x x i h 2 i = 1 n G x x i h 2 x
where G x x i h 2 is the kernel function and h is the bandwidth ( h = 10 in this study). The principle of mean shift is successively calculate the mean shift vector m h ( x ) and update the new x ( x = x + m h ) until convergence.
The RPs eventually converge to the same centroid and are clustered in the same sub-areas. The virtual RPs in the sub-areas with no raw RPs are removed. One example of applying the GS approach to a specific floor is shown in Figure 3.

3.2.3. A Locally Self-Adaptive Approach

Different from the previous two approaches, we also propose an LS approach that focuses on exploring the local distribution of the raw RPs and detecting where the virtual RPs should be generated. For a targeted region, the local approach first uses a mean-shift cluster algorithm to separate the region into several sub-areas from the training samples. Only sub-areas with three points and more are processed by Graham’s scan method to recognize their convex hulls. A similar scheme is adopted to generate virtual RPs in each sub-area. One example of applying the LS approach to a specific floor is shown in Figure 4.

3.3. Spatial WiFi Signal Modeling

In this subsection, we present how we model the distributions of the spatial WiFi signal in a 3D environment to estimate the RSS values on the generated virtual RPs. For all RSS vectors { f 1 , f 2 , , f N } in F , and { c 1 , c 2 , , c N } in C , the mapping between the locations and the RSS vectors can be expressed by:
F = λ ( C ) + η
where η represents the independent and identically distributed Gaussian noise with zero mean and variance, which can be denoted by η N ( 0 , σ n 2 ) .
To solve the mapping problem, we assume that all RSS vectors in the investigated indoor area obey a multivariate Gaussian process of multiple high-dimensional joint Gaussian distributions. Therefore, such a Gaussian process can be represented by the mean function m ( C ) and covariance function k ( c i , c j ) , as shown in the following equation:
λ ( C ) G P ( m ( C ) , k ( C ) )
m ( C ) = E [ f ( C ) ]
k ( c i , c j ) = E [ ( f ( c i ) m ( c i ) ) ( f ( c i ) m ( c j ) ) ]
where E ( · ) denotes the expectation operator. Therefore, the covariance matrix K can be expressed by:
K = k ( c 1 , c 1 ) k ( c 1 , c 2 ) k ( c 1 , c N ) k ( c 2 , c 1 ) k ( c 2 , c 2 ) k ( c 2 , c N ) k ( c N , c 1 ) k ( c N , c 2 ) k ( c N , c N )
where N denotes the total number of WiFi FPs (or the total number of RPs).
Through the grid-based RP algorithm mentioned in the previous subsection, we obtain N * potential RPs C * . This means that we have N * new WiFi RSS vectors (FPs) F * to be inferred. The RSS vectors F in the original dataset and RSS vectors F * to be inferred should also follow a joint multivariate Gaussian distribution, which can be stated by the following equation:
F F * N m ( C ) m ( C * ) , K ( C , C ) N × N K ( C , C * ) N × N * K ( C * , C ) N * × N K ( C * , C * ) N * × N *
The posterior distribution p ( F * | F ) can then be expressed as:
f * | f N ( K ( C * , C ) K ( C * , C ) 1 F ) , K ( C * , C * ) K ( C * , C ) K ( C * , C ) 1 K ( C , C * ) )
Hence, the posterior mean and covariance of the observed RSS vectors can be computed to obtain a model to predict the new RSS vectors on the unsurveyed potential RPs.
In addition, the covariance function k c i , c j (also called kernel function) plays a vital role in a Gaussian process to denote the relation between the RSS vectors and the corresponding RPs. One popular kernel function is the squared exponential kernel, which assumes that the process of the system is very smooth [33]. This is not suitable to describe the relationship among the high-dimensional RSS vectors in the large complex indoor scenario in our case. In [28], a mixture of Matern and Rational Quadratic (RQ) kernels performs the best in capturing the variation of RSS values in comparison with other kernels. The Matern kernel is defined as:
k M a t e r n c i , c j = 1 Γ ( ϵ ) 2 ϵ 1 2 ϵ l d c i , c j ϵ K ϵ 2 ϵ l d c i , c j
where ϵ denotes the smoothness of the function; l is the length scale; K ϵ ( · ) and Γ ( · ) are the gamma function and the modified Bessel function [33], respectively; d is the Euclidean distance which can be calculated by:
d = ( c i c j ) T ( c i c j )
The Rational Quadratic kernel can be described as:
k R Q c i , c j = 1 + d c i , c j 2 2 α l 2 α
where α stands for the shape parameter. Therefore, the mixed kernel in our case is designed as follows:
k m i x e d = μ k M a t e r n + ν k R Q
where μ and ν are the weighting parameters (initially set to 0.5). All the above-mentioned hyperparameters can be optimized by minimizing the negative logarithmic marginal likelihood.
After the MGPR model has been fine-tuned, it can forecast the RSS values for virtual RPs produced by the VRPG approaches, with the predicted RSS values presented in the same format as the training data. The predicted RSS values are then used to create new WiFi FPs, which are annotated with the location of the virtual RPs.

4. Preliminaries

4.1. Dataset

We evaluate the proposed WiFi FP augmentation method on a long-term public benchmark open-source WiFi fingerprinting dataset [29]. The data was collected from a five-floor University building (about 22,570 m2) in Tampere, Finland. The height of each floor is 0, 3.7, 7.4, 11.1, and 14.8 m, respectively. During the data collection stage, data was collected using twenty-one distinct Android devices, which were utilized by various individuals and placed in different orientations. In some cases, multiple people used the same device to replicate a scenario where data was crowdsourced.
The data is stored in CSV format and consists of four separate files: Coordinate, RSS, Date, and Device. Each of these files contains both training and test data and has multiple rows corresponding to the number of measurements recorded.
As listed in Table 1, 4648 FPs were collected, where 15% (697 FPs) were obtained for training and 85% (3951 FPs) for testing. A total of 992 MAC addresses (APs) were detected. The RSS value from non-detected APs in each FP was set to +100 by default in the dataset.

4.2. Data Pre-Processing

The RSS values from non-detected APs were set to −110 dBm before any analysis and experiments in both training and test sets. All RSS values were normalized by the maximum and minimum values before training the MGPR model. The 3D coordinates were also normalized by the maximum and minimum values along each training axes. The equation for normalization is shown below:
m i n o r m = m i m min m max m min
where one sample m i is normalized to m i n o r m by the maximum value m max and minimum value m min .

4.3. Positioning Algorithm

This study did not propose a new positioning algorithm but applied a widely adopted weighted K-nearest neighbors algorithm (WKNN) to predict the locations. WKNN aims to find the k FPs in the training set with the nearest weighted distance to the test sample. The WKNN algorithm in this study was implemented using Scikit-learn [34]. The distance metric was set to Euclidean distance, and k was 3.

4.4. Training of the MGPR Model

To visualize the training results, we plot the heat maps over the multiple floors to show the generalization ability of the model. Figure 5 gives an example of comparing the WiFi signal distribution of one single AP (No.250) in the 3D environment. We can see from the figure that the well-trained model can predict the WiFi RSS values on the unsurveyed locations following a certain distribution in the 3D space. Although the majority of the observations of this AP are on the ground floor, the model can make informative predictions near the observations on both the same floor and the floor above.

5. Experiments and Evaluations

5.1. Experimental Settings

In this experiment, we randomly selected a portion of the training data from the original training set with different percentages (from 10% to 100%). This was to simulate the growth of the training data coverage in the entire building. As the crowdsourced indoor positioning systems employ users’ contributions to construct the training set, the training data amount and its coverage are expected to be very limited at the beginning stage due to few users. As time goes by, the training set is expected to grow and finally cover the entire building as more and more users and their contributions are involved. It can be seen from Figure 6 that the coverage of the partial training data is very limited when the sampling ratio is very low. Most of the areas are not surveyed. As the sampling ratio increases, the training data grows and finally covers the entire building.
We trained the proposed MPGR model with such partial training data and predicted new RSS values on the virtual RPs from different VRPG approaches to generate new FPs. The new FPs and the partial training FPs were mixed into a new augmented dataset for positioning.

5.2. Performance Evaluations

In this subsection, we evaluate the performance of the proposed WiFi FP augmentation method through three aspects, including positioning accuracy, floor identification accuracy, and computation complexity.

5.2.1. 3D Positioning Accuracy

The 3D positioning accuracy is calculated from the mean of the absolute positioning error between all predictions and the ground-truth coordinates. As shown in Figure 7, the positioning error decreases sharply at the beginning as the sampling ratio increases from 10% to 20%. Then, it declines steadily as more training FPs are involved. The positioning error with the augmented dataset using the GB, the GS approach, and the LS approach shows a similar trend as the partial training data but less error at each stage. We can observe from the figure that although there is a slight fluctuation, augmented data can always provide better positioning accuracy than raw data.
We can also observe from the figure that the approaches with augmented data show significant improvement (10–20%) at the beginning stage when only 40% of raw training data are used. However, the improvement decreases steadily when more raw training data is involved. This is because of the saturation of raw training data. Although the new FPs generated by the MGPR model can complement the limited number of raw training data at the beginning, the contribution of such new FPs weakens as the coverage of the raw training data grows.
Moreover, we can see some fluctuations in the improvement of positioning accuracy. This is because the distribution of raw training data is usually uneven, which is attributed to different positioning accuracy in different areas. Such a situation is consistent with the real situation that more users may visit some areas in the building, which provides more informative data and higher positioning accuracy. This motivates us to conduct the following experiment on region-based augmentation.
In addition, among the three approaches of using the augmented dataset, it can be seen from Table 2 that the LS approach usually provides a worse accuracy than the other two when the sampling ratio is lower than 50%. This is because such a low number of training data cannot cover most of the indoor environment. Hence, the augmented data from the sub-areas partitioned directly from the training data through the local approach cannot significantly improve the positioning accuracy. However, when the sampling ratio is higher than 50%, the positioning accuracy is better than the GB approach. Due to the higher data coverage in the indoor region, the LS approach can estimate the penitential infrastructure/floor plan of the building to generate more effective RPs, which can enhance the positioning performance.
Oppositely, the GS approach shows the best performance in most of the cases (7 out of 10) in providing higher positioning accuracy. This is because the GS approach augments the indoor environment by first detecting the boundary of the entire training data per floor. Although the training data cannot densely cover the entire region, the convex hull of the training data can describe the majority of the floor plan. Therefore, more virtual points can be generated for positioning.

5.2.2. Floor Identification Accuracy

Specifically, we calculate floor identification accuracy by using different approaches. The floor identification accuracy is calculated by the ratio of the number of cases predicted correctly and the total number of samples. It can be seen from Figure 8 that the approaches with augmented data can always provide a higher identification accuracy than only using the raw data, which is similar to the 3D positioning accuracy. As listed in Table 3, the GS approach can enhance floor identification accuracy more than the other two approaches (5 out of 10). It can significantly improve the accuracy (around 10%) even if there is little training data (less than 40%). While the performance of the LS approach is between the GB and the GS approach. Although it can improve the floor identification accuracy in all cases against using the raw data, the improvement is always limited to around 2%.

5.2.3. Computation Complexity in Positioning Phase

In this part, we investigate the contribution of different VRPG approaches to the computation complexity of the final positioning algorithm. Given the final positioning algorithm of WKNN, the computation complexity of such an algorithm is usually proportional to the number of training samples, which can be calculated as:
O [ D N ]
where N denotes the total number of training samples and D represents the dimensionality of each sample. In this study, each training sample is annotated with an RP. Therefore, the computation complexity of different augmentation approaches is mainly affected by the total number of RPs (mix of training RPs and virtual RPs).
As the numbers of total RPs in all cases are listed in Table 4, the GB approach always uses the largest amount of RPs, which leads to higher computation than the other two approaches. Compared to the GS approach, the computation complexity of GB is usually doubled. This is because the GB approach generates the virtual points by filling the indoor region with grids partitioned from a rectangle boundary by the farthest RPs in the training data. Although such an approach can cover all possible indoor areas even when the data amount is insufficient, it also generates a lot of virtual points that do not belong to the investigated indoor areas. As an example is shown in Figure 9, most of the virtual points are outside of the real floor plan, which does not contribute to improving the positioning performance but degrades the computation complexity. Beyond the GB approach, the proposed GS approach detects the convex hull and conducts the information density analysis, which eliminates most of the areas that are out of the investigated region to reduce the computation complexity.
Other than the GB and GS approaches, the proposed LS approach shows extremely low computation complexity. Such an approach can provide reliable improvement in positioning performance with a low computation complexity when there is sufficient data. It can be seen from Figure 10 that LS uses no more than 10% of virtual RPs of GB and around 5% of virtual RPs of GS when the data is fully sampled. This is because the LS approach first performs the local indoor area partitioning on the training sets and then augments the local areas. Furthermore, it can be observed from Table 4 that the number of RPs generated by LS is even less than about 2% of the GB approach in some cases when the sampling ratio is lower than 40%. Although the augmented data can improve the positioning performance against using only the raw data, the improvement is not as significant as the GB and GS approach. This is because the LS approach partitioned the indoor areas locally, which highly relies on the distribution of the raw data. When the data amount and density are very low, the LS approach will fail to cover the investigated indoor region by missing many areas.

5.2.4. Comparison with State-of-the-Art

In the earlier sections, we thoroughly assessed the performance of the three VRPG algorithms linked with the proposed SWSM in terms of positioning accuracy, floor identification accuracy, and computation complexity. In this section, our focus shifts to evaluating the proposed SWSM’s generalization ability in comparison to the widely used inverse distance weighting (IDW) algorithm, as well as its effect on positioning accuracy. Specifically, we analyze the ability of both methods to generate RSS values on unsurveyed points and how this influences the accuracy of the resulting position estimates.
Inverse Distance Weighting: The IDW algorithm is a commonly used interpolation technique used in geographic information systems (GIS) to estimate values at unsampled locations based on nearby sampled points [35]. It works by assigning a weight to each sampled point based on its distance to the unsampled point, with closer points being given higher weights. The estimated value at the unsampled point is then calculated as a weighted average of the values at the nearby sampled points, where the weights are determined by their distance to the unsampled point. The IDW algorithm assumes that the values being interpolated have a spatial correlation and that closer points have a greater influence on the estimated value than more distant points. The algorithm is widely used in environmental modeling, spatial analysis, and cartography. In this study, we interpolate the RSS values by APs and assemble them as new FPs on each location.
The error of WiFi signal modeling: To compare the generalization ability of IDW and the proposed MGPR, we predicted the RSS values of each AP on the reference points in the test set and calculated the absolute error between the ground-truth RSS and predicted RSS. The RSS values with a default value (−110 dBm ) that denote the non-detected signals have been removed from the test set before calculation.
As listed in Table 5, the MGPR shows a similar median error to the IDW but a lower mean and standard deviation in predicting RSS values on unsurveyed locations. In addition, we define an invalid estimation of RSS value if it equals −110 dBm. We can see from the table that IDW provides more invalid RSS predictions than MGPR, which shows a weaker generalization ability. Furthermore, we can observe from the histogram of the RSS prediction errors in Figure 11 that the proposed MGPR has a higher frequency to show a lower RSS estimation error than 30 dBm. Contrastingly, the IDW has a higher chance of gaining an error higher than 30 dBm.
Positioning performance: We compared the positioning performance of the IDW and the proposed MGPR on accuracy in positioning and floor identification. We used the entire dataset with a sampling ratio of 1.0 for evaluation. Figure 12 shows that the IDW, with the three VRPG approaches, generally improves positioning accuracy compared to using only raw data. However, in all cases using GB, GS, and LS, MGPR showed lower positioning errors than IDW. This is because the proposed MGPR can capture the global distribution of all WiFi FPs in the 3D environment and generate new FPs that are distinct from each other. This helps the positioning algorithm better identify the user’s position.
On the other hand, the IDW outperforms MGPR in floor identification accuracy, as illustrated in Figure 13. This suggests that the FPs generated by MGPR have better locality but worse commonalities than those generated by IDW. The reason for this is that MGPR models the distribution of all FPs in the 3D environment and maps the RSS values of each FP to a specific coordinate. In contrast, IDW first interpolates the RSS values with APs and then assembles the new RSS values to new FPs on each coordinate. As a result, for the new FPs generated by IDW, it is easier to identify their commonalities and they perform better in floor identification.

6. Conclusions

In this paper, we have proposed a scalable WiFi FP augmentation method for 3D crowdsourced indoor positioning systems in large complex indoor environments. One key element of augmentation with the proposed method is the proposed SWSM algorithm that creates an MGPR model to estimate the joint distribution of all WiFi signals in a 3D environment. Another one is to design two self-adaptive VRPG approaches to reduce the non-necessary virtual RPs from the well-adopted GB approach. With these two elements, we generate more FPs by estimating the RSS values on virtual RPs to augment the training set. Experiments on an open public dataset of a 3D building have shown that the proposed WiFi FP augmentation method can improve positioning accuracy and building identification accuracy even with insufficient data coverage. Furthermore, the two self-adaptive VRPG approaches can provide better improvement in positioning performance than the conventional GB approach. In detail, the GS can significantly improve positioning performance with halved computation complexity than GB; while the LS approach can reduce 90% of the computation complexity of GB and maintain a moderate improvement in positioning performance when there is sufficient data coverage.
However, a comparison between the proposed MGPR model and the widely-adopted IDW algorithm shows that the proposed algorithm can generate FPs with a better locality but worse commonalities. This is attributed to the fact that the MGPR provides higher positioning accuracy but lower floor identification accuracy than IDW, which motivates us to focus on developing floor-based MGPR models in future work, aiming to enhance the commonality of augmented FPs.

Author Contributions

Conceptualization, Y.D.; Methodology, Y.D.; Validation, G.H.; Formal analysis, Y.D.; Investigation, G.H. and Y.M.; Resources, Y.D.; Data curation, Y.D. and G.H.; Writing—original draft, Y.D. and G.H.; Writing—review & editing, T.A. and Y.Y.; Visualization, G.H.; Supervision, T.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data available on request from the authors.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
RFIDRadio frequency identification
RSSReceived signal strength
FPFingerprint
RPReference point
GPRGaussian process regression
MGPRMultivariate Gaussian process regression
VRPGVirtual reference point generation
SWSMSpatial WiFi signal modeling
GBGrid-based
GSGlobally self-adaptive
LSLocally self-adaptive

References

  1. Bae, H.J.; Choi, L. Large-Scale Indoor Positioning using Geo-magnetic Field with Deep Neural Networks. In Proceedings of the 2019 IEEE International Conference on Communications (ICC), Shanghai, China, 20–24 May 2019; pp. 1–6. [Google Scholar]
  2. Yeh, S.-C.; Hsu, W.-H.; Lin, W.-Y.; Wu, Y.-F. Study on an Indoor Positioning System Using Earth’s Magnetic Field. IEEE Trans. Instrum. Meas. 2020, 69, 865–872. [Google Scholar] [CrossRef]
  3. Dong, Y.; Arslan, T.; Yang, Y. Magnetic Disturbance Detection for Smartphone-Based Indoor Positioning Systems With Unsupervised Learning. IEEE Trans. Instrum. Meas. 2022, 71, 2506411. [Google Scholar] [CrossRef]
  4. Bernardini, F.; Motroni, A.; Nepa, P.; Buffi, A.; Tellini, B. SAR-Based Indoor Localization of UHF-RFID Tags via Mobile Robot. In Proceedings of the 2018 International Conference on In-door Positioning and Indoor Navigation (IPIN), Nantes, France, 24–27 September 2018; pp. 1–8. [Google Scholar]
  5. Vena, A.; Illanes, I.; Alidieres, L.; Sorli, B.; Perea, F. RFID based Indoor Localization System to Analyze Visitor Behavior in a Museum. In Proceedings of the 2021 IEEE International Conference on RFID Technology and Applications (RFID-TA), Delhi, India, 6–8 October 2021; pp. 183–186. [Google Scholar]
  6. Sasikala, M.; Athena, J.; Rini, A.S. Received Signal Strength based Indoor Positioning with RFID. In Proceedings of the 2021 IEEE International Conference on RFID Technology and Applications (RFID-TA), Delhi, India, 6–8 October 2021; pp. 260–263. [Google Scholar]
  7. Dong, Y.; Arslan, T.; Yang, Y. An Encoded LSTM Network Model for WiFi-based Indoor Positioning. In Proceedings of the 2022 IEEE 12th International Conference on Indoor Positioning and Indoor Navigation (IPIN), Beijing, China, 5–7 September 2022; pp. 1–6. [Google Scholar]
  8. Mendoza-Silva, G.; Richter, P.; Torres-Sospedra, J.; Lohan, E.; Huerta, J. Long-term WiFi fingerprinting dataset for research on robust indoor positioning. Data 2018, 3, 3. [Google Scholar] [CrossRef]
  9. Dong, Y.; Arslan, T.; Yang, Y. Real-Time NLOS/LOS Identification for Smartphone-Based Indoor Positioning Systems Using WiFi RTT and RSS. IEEE Sens. J. 2022, 22, 5199–5209. [Google Scholar] [CrossRef]
  10. Unlersen, M.F. ABC-ANN Based Indoor Position Estimation Using Preprocessed RSSI. Electronics 2022, 11, 4054. [Google Scholar] [CrossRef]
  11. Yu, Y.; Zhang, Y.; Chen, L.; Chen, R. Intelligent Fusion Structure for Wi-Fi/BLE/QR/MEMS Sensor-Based Indoor Localization. Remote Sens. 2023, 15, 1202. [Google Scholar] [CrossRef]
  12. Karimi, H.A. Advanced Location-Based Technologies and Services; CRC Press: Boca Raton, CA, USA, 2013. [Google Scholar]
  13. Jian, H.X.; Hao, W. WIFI Indoor Location Optimization Method Based on Position Fingerprint Algorithm. In Proceedings of the 2017 International Conference on Smart Grid and Electrical Automation (ICSGEA), Changsha, China, 27–28 May 2017; pp. 585–588. [Google Scholar] [CrossRef]
  14. Shang, S.; Wang, L. Overview of WiFi Fingerprinting-based Indoor Positioning. IET Commun. 2022, 16, 725–733. [Google Scholar] [CrossRef]
  15. Obeidat, H.; Shuaieb, W.; Obeidat, O.; Abd-Alhameed, R. A Review of Indoor Localization Techniques and Wireless Technologies. Wirel. Pers. Commun. 2021, 119, 289–327. [Google Scholar] [CrossRef]
  16. Seco, F.; Jimenez, A.R.; Prieto, C.; Roa, J.; Koutsou, K. A survey of mathematical methods for indoor localization. In Proceedings of the 2009 IEEE International Symposium on Intelligent Signal Processing, Hungary, Budapest, 26–28 August 2009; pp. 9–14. [Google Scholar]
  17. Wang, B.; Chen, Q.; Yang, L.T.; Chao, H.-C. Indoor smartphone localization via fingerprint crowdsourcing: Challenges and approaches. IEEE Wirel. Commun. 2016, 23, 82–89. [Google Scholar] [CrossRef]
  18. Park, J.-P.; Curtis, D.; Teller, S.; Ledlie, J. Implications of device diversity for organic localization. In Proceedings of the 2011 IEEE INFOCOM, Shanghai, China, 15 April 2011; pp. 3182–3190. [Google Scholar]
  19. Ledlie, J. Molé: A scalable, user-generated WiFi positioning engine. J. Locat. Based Serv. 2012, 6, 55–80. [Google Scholar] [CrossRef]
  20. Zhou, B.; Li, Q.; Mao, Q.; Tu, W. A robust crowdsourcing-based indoor localization system. Sensors 2017, 17, 864. [Google Scholar] [CrossRef]
  21. Lashkari, B.; Rezazadeh, J.; Farahbakhsh, R.; Sandrasegaran, K. Crowdsourcing and sensing for indoor localization in IoT: A review. IEEE Sens. J. 2019, 19, 2408–2434. [Google Scholar] [CrossRef]
  22. Radu, V.; Marina, M.K. HiMLoc: Indoor smartphone localization via activity aware Pedestrian Dead Reckoning with selective crowdsourced WiFi fingerprinting. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Montbeliard-Belfort, France, 28–31 October 2013. [Google Scholar]
  23. Wang, J. LiFS: Low human-effort, device-free localization with fine-grained subcarrier information. In Proceedings of the Proceedings of the 22nd Annual International Conference on Mobile Computing and Networking, New York, NY, USA, 3–7 October 2016; pp. 243–256. [Google Scholar]
  24. He, C.; Guo, S.; Wu, Y.; Yang, Y. A novel radio map construction method to reduce collection effort for indoor localization. Measurement 2016, 94, 423–431. [Google Scholar] [CrossRef]
  25. Jun, J.; He, L.; Gu, Y.; Jiang, W.; Kushwaha, G.; A, V.; Cheng, L.; Liu, C.; Zhu, T. Low-overhead WiFi fingerprinting. IEEE Trans. Mobile Comput. 2018, 17, 590–603. [Google Scholar] [CrossRef]
  26. Sinha, R.S.; Lee, S.M.; Rim, M.; Hwang, S.H. Data augmentation schemes for deep learning in an indoor positioning application. Electronics 2019, 8, 554. [Google Scholar] [CrossRef]
  27. Sinha, R.S.; Hwang, S.-H. Improved RSSI-based data augmentation technique for fingerprint indoor localisation. Electronics 2020, 9, 851. [Google Scholar] [CrossRef]
  28. Sun, W.; Xue, M.; Yu, H.; Tang, H.; Lin, A. Augmentation of finger-prints for indoor WiFi localization based on Gaussian process regression. IEEE Trans. Veh. Technol. 2018, 67, 10896–10905. [Google Scholar] [CrossRef]
  29. Lohan, E.S.; Torres-Sospedra, J.; Leppakoski, H.; Richter, P.; Peng, Z.; Huerta, J. Wi-Fi crowdsourced fingerprinting dataset for indoor positioning. Data 2017, 2, 32. [Google Scholar] [CrossRef]
  30. Dong, Y.; Arslan, T.; Yang, Y.; Ma, Y. A WiFi Fingerprint Augmentation Method for 3-D Crowdsourced Indoor Positioning Systems. In Proceedings of the 2022 IEEE 12th International Conference on Indoor Positioning and Indoor Navigation (IPIN), Beijing, China, 5–7 September 2022; pp. 1–8. [Google Scholar]
  31. Graham, R.L. An Efficient Algorithm for Determining the Convex Hull of a Finite Planar Set. Inf. Process. Lett. 1972, 1, 132–133. [Google Scholar] [CrossRef]
  32. Comaniciu, D.; Peter, M. Mean Shift: A Robust Approach Toward Feature Space Analysis. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 24, 603–619. [Google Scholar] [CrossRef]
  33. Rasmussen, C.E.; Williams, C.K.I. Gaussian Processes for Machine Learning; MIT Press: Cambridge, MA, USA, 2005; p. 7. [Google Scholar]
  34. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  35. Burrough, P.A.; McDonnell, R.; McDonnell, R.A.; Lloyd, C.D. Principles of Geographical Information Systems; OUP: Oxford, UK, 2015; ISBN 978-0-19-874284-5. [Google Scholar]
Figure 1. Framework of the proposed WiFi FP augmentation method.
Figure 1. Framework of the proposed WiFi FP augmentation method.
Sensors 23 04095 g001
Figure 2. An example of applying the grid-based approach to a specific floor.
Figure 2. An example of applying the grid-based approach to a specific floor.
Sensors 23 04095 g002
Figure 3. An example of applying the globally self-adaptive approach to a specific floor.
Figure 3. An example of applying the globally self-adaptive approach to a specific floor.
Sensors 23 04095 g003
Figure 4. An example of applying the locally self-adaptive approach to a specific floor.
Figure 4. An example of applying the locally self-adaptive approach to a specific floor.
Sensors 23 04095 g004
Figure 5. 3D visualization of the heat map of AP 250 in the targeted building: (a) raw training data; (b) augmented training data (associated with GB approach).
Figure 5. 3D visualization of the heat map of AP 250 in the targeted building: (a) raw training data; (b) augmented training data (associated with GB approach).
Sensors 23 04095 g005
Figure 6. 3D visualization of the partial training data and the test data: (a) sampling ratio = 10%; (b) sampling ratio = 50%; (c) sampling ratio = 100%.
Figure 6. 3D visualization of the partial training data and the test data: (a) sampling ratio = 10%; (b) sampling ratio = 50%; (c) sampling ratio = 100%.
Sensors 23 04095 g006
Figure 7. Mean positioning error of using different percentages of the training set.
Figure 7. Mean positioning error of using different percentages of the training set.
Sensors 23 04095 g007
Figure 8. Floor identification accuracy of using different percentages of the training set.
Figure 8. Floor identification accuracy of using different percentages of the training set.
Sensors 23 04095 g008
Figure 9. 3D visualization of the augmented data from different approaches: (a) the grid-based approach; (b) the globally self-adaptive approach; (c) the locally self-adaptive approach.
Figure 9. 3D visualization of the augmented data from different approaches: (a) the grid-based approach; (b) the globally self-adaptive approach; (c) the locally self-adaptive approach.
Sensors 23 04095 g009
Figure 10. The number of RPs in the different floors (when sampling ratio = 100%).
Figure 10. The number of RPs in the different floors (when sampling ratio = 100%).
Sensors 23 04095 g010
Figure 11. Histogram of the RSS error between the ground-truth and the predictions.
Figure 11. Histogram of the RSS error between the ground-truth and the predictions.
Sensors 23 04095 g011
Figure 12. The comparison of mean position accuracy using different algorithms.
Figure 12. The comparison of mean position accuracy using different algorithms.
Sensors 23 04095 g012
Figure 13. The comparison of floor classification accuracy using different algorithms.
Figure 13. The comparison of floor classification accuracy using different algorithms.
Sensors 23 04095 g013
Table 1. The number of samples (reference points) on each floor in the training and testing set.
Table 1. The number of samples (reference points) on each floor in the training and testing set.
Floor *TrainTest
02261265
3.71971108
7.4139770
11.1118699
14.817109
Total6973951
* Note that the floor number is denoted by the value of the z-axis of the samples.
Table 2. 3D positioning accuracy evaluations on building-based augmentation *.
Table 2. 3D positioning accuracy evaluations on building-based augmentation *.
Samping RatioRaw Data (m)GB (m)GS (m)LS (m)
10%21.2717.211819.82
20%14.4712.9513.0613.08
30%13.5711.2210.3412.10
40%13.0111.7211.7612.21
50%11.3610.6010.5510.72
60%10.9310.249.8510.00
70%10.149.179.079.26
80%9.839.368.858.86
90%9.068.598.378.44
100%8.948.468.278.38
* Note that the highest positioning accuracy in each case is marked with bold fonts.
Table 3. Floor identification accuracy evaluations on building-based augmentation *.
Table 3. Floor identification accuracy evaluations on building-based augmentation *.
Sampling RatioRaw Data (%)GB (%)GS (%)LS (%)
10%60.0166.6768.2162.90
20%74.7974.6675.5375.96
30%76.2686.4685.9082.49
40%80.4981.2282.3881.60
50%82.3682.9982.9783.24
60%83.8588.1087.3785.50
70%86.7689.6790.6689.95
80%89.2491.0991.2491.07
90%89.3291.3991.6091.27
100%89.6791.7291.3591.07
* Note that the highest floor identification accuracy in each case is marked with bold fonts.
Table 4. Comparison of the number of RPs in different cases *.
Table 4. Comparison of the number of RPs in different cases *.
Floor 0Floor 1Floor 2Floor 3Floor 4
GBGSLSGBGSLSGBGSLSGBGSLSGBGSLS
10%585029352726133321317452321881132533131150211
20%11,0164915427729532443007670367210247792852167330311193
30%11,411603866284384361595757143383693427243620433492077
40%9196552011018463492565610,40649403726116368526166622717
50%13,327675713988748508385170574269439586532333385112099
60%12,3636628147389625266122410,7034363587627039374893658113239
70%12,19772091665898258661265809750947475799327770161210322
80%11,0447292175791355339132910,73645217946561411263069317840
90%13,7577795183991545439139981324430955657642317233742115543
100%13,7877903210091735466150110,7644458847658640197603743115645
* Note that the lowest number of total RPs in each case is marked with bold fonts.
Table 5. Comparison of the error in predicting RSS values using different algorithms.
Table 5. Comparison of the error in predicting RSS values using different algorithms.
IDWMGPR
Number of invalid RSS predictions1371494
Mean error (dBm)16.8316.67
Median error (dBm)16.0816.08
Standard deviation (dBm)11.5110.39
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Dong, Y.; He, G.; Arslan, T.; Yang, Y.; Ma, Y. Crowdsourced Indoor Positioning with Scalable WiFi Augmentation. Sensors 2023, 23, 4095. https://doi.org/10.3390/s23084095

AMA Style

Dong Y, He G, Arslan T, Yang Y, Ma Y. Crowdsourced Indoor Positioning with Scalable WiFi Augmentation. Sensors. 2023; 23(8):4095. https://doi.org/10.3390/s23084095

Chicago/Turabian Style

Dong, Yinhuan, Guoxiong He, Tughrul Arslan, Yunjie Yang, and Yingda Ma. 2023. "Crowdsourced Indoor Positioning with Scalable WiFi Augmentation" Sensors 23, no. 8: 4095. https://doi.org/10.3390/s23084095

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop