Skip to main content

Radio map construction based on BERT for fingerprint-based indoor positioning system

Abstract

Due to the heavy workload of RSS collection, the instability of WLAN signal strength and the disappearance of signals caused by complex indoor environments, the construction of radio map for wireless local area network (WLAN) fingerprint-based indoor positioning system is time-consuming and laborious. In order to rapidly deploy indoor WLAN positioning system, the bidirectional encoder representation from transformers (BERT) model is used to fill the missing signal in radio map and quickly build radio map. The radio map is imported into the BERT model in the form of natural language text, and the missing signal is filled by the BERT model. Since the number of input data in BERT model cannot exceed 512 words, the structure of BERT model is not suitable for WLAN signals with large data volume. Therefore, we redefine the model structure based on the original BERT model and fill in the missing signals in the radio map in parallel. In addition, the loss function is redefined. Except that each segment has a loss function, the weighted average value of all segment loss functions is defined as the total loss function. The experimental results show that the BERT model is better than the traditional linear interpolation method, compressed sensing algorithm and matrix completion algorithm in filling the missing signals in the fingerprint database, and the probability of error within 2 m reaches about 94%.

1 Introduction

In recent years, with the rapid development of smart mobile terminals and mobile Internet, the diversified services provided by the Internet have rapidly increased the application scenarios of location-based services, and location-based services have attracted extensive attention [1]. The combination of smart mobile terminals and positioning services is widely used in various indoor environments [2], such as positioning and navigation of meal delivery robots in restaurant and positioning and navigation services for customers in shopping malls. Among many indoor positioning technologies, fingerprint-based WLAN indoor positioning system has become the most prominent choice for positioning and navigation due to the advantages of no additional hardware equipment, short development cycle and high positioning accuracy [3, 4].

The fingerprint-based WLAN indoor positioning involves two phases: offline training phase and online positioning phase. In the offline phase, the main work is to establish a radio map. We set reference points (RP) in the positioning area and collect RSS data from all access points (AP) on each RP. The radio map is obtained by storing the RSS data together with the location of the corresponding RP. In the online phase, the user’s terminal senses the RSS value in real time and matches it with the RSS in the radio map to calculate the user’s location [5]. Therefore, the radio map is the key of fingerprint indoor location, and the integrity of the radio map determines the accuracy of the positioning results.

Because of the complex indoor electromagnetic environment, RSS fluctuates violently and may be missing. Therefore, when building a radio map, researchers need to manually collect RSS values on each RP many times to reduce the impact of RSS fluctuation on the accuracy of radio map [6, 7]. In addition, indoor personnel movement and cargo location change will affect the positioning accuracy, so it is necessary to update the radio map regularly according to the environmental changes [8, 9]. Therefore, it takes days maybe weeks to build or maintain a radio map, which is time-consuming and labor-consuming. The huge time and labor cost has become the bottleneck hindering the promotion of fingerprint indoor positioning. Accordingly, how to quickly and low-costly establish radio map has become a hot issue in the field of fingerprint-based indoor positioning in recent years.

In order to reduce the time and labor cost of data acquisition, we use the build-in sensors and inertial measurement unit of mobile devices to assist in the establishment of radio map [10]. When researchers walk in the indoor positioning area, the mobile terminal collects IMU data to automatically calculate the RP position and record the signal strength on each RP, so as to quickly establish a radio map. The radio map established by this method is incomplete and can only cover part of the RP, and there will be the loss of RSS, but we can use the interpolation method to fill in the missing RSS. In order to fill the missing signal, researchers have proposed many effective methods. In reference [11], X. Chai et al. used unlabeled user trajectories to construct radio map, and interpolated radio maps by labeling unlabeled data using Bayesian theory and hidden Markov model. Reference [12] investigates the influence of signal change on the radio map and obtains the intrinsic relationship of RSS data at different times by a linear model, which effectively reduces the updating workload of the radio map. The semi-supervised learning algorithm is proposed in reference [13] to construct a radio map. A small amount of labeled data and a large number of unlabeled data are collected in the offline phase, and the labels of unlabeled data are calculated by a semi-supervised learning algorithm. In reference [14], L. Ma et al. proposed a radio map efficient building using low-rank tensor completion method and reduced the effort of radio map building remarkably. Z. Wang et al. improved the low-rank matrix filling algorithm and improved the accuracy of filling data in radio map [15]. In addition, Du et al. [16] proposed a geographically weighted regression-based local interpolation method to construct a radio frequency fingerprint database, which uses calibration points deployed at multiple locations to fit the signal attenuation model with regression algorithm. However, this method requires additional deployment of a large number of hardware devices to calibrate the attenuation model, and the attenuation model parameters need to be updated regularly. In addition to local interpolation methods, global interpolation methods are also commonly used in indoor positioning fingerprint construction. Among them, compressive sensing interpolation methods [17, 18] are particularly important. Reference [19] adopts compressive sensing method to dynamically fill the missing RSSI values of fingerprints and reduces the interference of multipath effects in the indoor environment through sparse low-rank singular-value decomposition algorithm. However, this method is not easy to find a suitable fingerprint library sparse representation matrix.

In 2018, Google proposed the bidirectional encoder representations from transformers (BERT) model [20], which is a deep neural network model based on the transformer architecture. The main contribution of BERT is the introduction of pre-training. BERT is pre-trained on a large-scale unlabeled corpus, and then fine-tuned on downstream tasks. In the past, the common method in natural language processing was to train neural networks on a large amount of labeled data, which often required a significant amount of labeled data and computing resources and was difficult to cover all natural language problems. However, the pre-training idea allows the model to be trained on a large amount of unlabeled data, which can be used to learn a universal language representation, making it faster to fine-tune in downstream tasks. The appearance of BERT has achieved the best results in multiple natural language processing tasks, such as question answering, machine translation, and named entity recognition. Due to its strong representation learning ability and generalization ability, BERT has become an important direction and hotspot in the research of natural language processing. Moreover, BERT has also been used in various fields such as generative models, dialogue systems, and search engines, providing strong support for practical applications. Inspired by the BERT model, we input the collected RSS data into the BERT model in the form of natural language. The missing signal in radio map is predicted through the BERT mask model to construct a complete radio map. Since the original model structure cannot input more than 512 words in a sentence, the structure is improved based on the BERT model. The RSS values collected in adjacent RPs are processed in segments, and the missing RSS values are filled in parallel according to the signal propagation theory. In order to solve the problem that the spatial relation between segments is not close and make the model more robust, we redefine loss function. Except that each section has a loss function, the weighted average of all section loss functions is defined as the total loss function.

The remainder of this paper is organized as follows. In Sect. 2, we describe the fingerprint-based WLAN indoor positioning system and give a complete radio map algorithm framework based on BERT model. Section 3 introduces the structure and improvement of BERT model. The relevant experimental results and analysis are introduced in Sect. 4. Finally, the full text is summarized in Sect. 5.

2 WLAN indoor localization system

The block diagram of fingerprint-based WLAN indoor positioning system is shown in Fig. 1. In the offline phase, suppose m APs and n RPs are deployed in the location area. In order to build the radio map, we collect RSS values from all APs on each RP, and a \(1 \times m\) dimension RSS vector \(RSS_{1}=(RSS_{i1},RSS_{i2},\dots ,RSS_{im})\) can be get after preprocessing on each RP, where \(RSS_{ik}\) is the received signal strength measured on the i-th RP from the k-th AP. The i-th fingerprint \((RSS_{i},C_{i})\) is obtained combined \(RSS_{i}\) with its corresponding coordinates \(C_{i}=(c_{i1},c_{i2},)\). The set of all fingerprints is radio map, as shown in Fig. 1. In the online phase, the user’s location can be calculated by matching the collected RSS with the RSS data in the radio map.

Fig. 1
figure 1

Typical fingerprint-based WLAN indoor positioning system

In the indoor environment, the wireless signal transmitted by an AP reaches RP after attenuation, and the output is calculated as RSS value by the mobile terminal. The wireless signal propagation model is shown in Eq. 1 [21].

$$\begin{aligned} P_{r}(d)=P_{t}-P_{d_{0}}-10nlog_{10}\dfrac{d}{d_{0}} \end{aligned}$$
(1)

where d denotes the distance between the location of the collected signal and the AP, \(P_{r}(d)\) represents the received signal strength of AP, \(P_{t}\) is the transmit power of AP, and \(P_{d_{0}}\) represents the received signal strength at a distance of \(d_{0}\). n is a known parameter that represents the path loss. According to the signal propagation theory, the distance between adjacent RPs is relatively close, and the signal strength is highly similar. This indicates that there is spatial correlation between RSS values of adjacent RP. This conclusion lays the foundation for constructing complete radio map using deep learning model. By pre-training the complete RSS data, BERT model can learn the relationship between adjacent RP and AP, and then use a small amount of RSS data to predict the missing signal more accurately. We collect a small amount of RSS data in the indoor environment and import it into Bert model to build a complete radio map. The complete radio map construction process is shown in Fig. 2.

Fig. 2
figure 2

Radio map construction with BERT

3 Data preprocess and analysis

Since collection is easily affected by the environment, noise is inevitably introduced in the collection process. In addition, the influence of RSS changes, and the relative direction of mobile antenna toward the access point should be considered in the data acquisition process. Therefore, data should be preprocessed before positioning.

3.1 Radio map overview

In the actual collection process, RSS data collected by mobile devices are instantaneous value. However, RSS values are different in a period of time, so this method of instantaneous data collection will have a great impact on positioning accuracy. The average value can better represent the indoor electromagnetic environment by reducing the Gaussian noise brought by the channel. So the RSS data we store in the radio map are average, not instantaneous. This means that they are statistical values obtained over a period of time. In addition, the relative directions of the mobile device antenna toward the access point are different, which will also have a significant impact on RSS data. Suppose \(C_{ij}^\theta\) is a sample of RSS reading, where \(\theta =(0^{\circ }, 90^{\circ }, 180^{\circ }, 270^{\circ })\), and the average of the vector is \(\bar{C}_{ij}^\theta\). Figure 3 illustrates an example of 100 samples of measured RSS data.

Fig. 3
figure 3

An example of RSS reading collection for mobile devices in different directions. a \(\theta\)=\(0^{\circ }\) b \(\theta\)=\(90^{\circ }\) c \(\theta\)=\(180^{\circ }\) d \(\theta\)=\(270^{\circ }\)

To eliminate the direction problem, we store vectors collected in different directions in radio map. This is one of the solutions to eliminate the direction problem, but it expands the radio map and increases the computational burden. In order to eliminate the direction problem and reduce the computational complexity, this paper selects the same orientation and averages the RSS collected in this orientation. In addition to the orientation problem, RSS data are also vulnerable to multipath fluctuations, for example, the movement of people, the door barrier, etc. This causes some exception values to be generated, as shown in Fig. 4. If these outliers are averaged together with the original RSS data, additional noise will inevitably be introduced into radio maps, seriously affecting the positioning accuracy. Therefore, preprocess the original RSS data.

Fig. 4
figure 4

RSS data outliers

To eliminate outliers in the original RSS data, we set a threshold. The threshold value is three times the standard deviation of original RSS data. Then, delete values greater than the threshold in the original RSS data. The treatment effect is shown in Fig. 5. Suppose the standard deviation of RSS readings is \(\phi _{ij}^\theta\), and any sample of RSS reading \(C_{ij}^\theta\) will be eliminated if the inequality \(| C_{ij}\theta -\bar{C}_{ij}^\theta | > 3\phi _{ij}^\theta\) is satisfied. Therefore, the average of RSS reading stored in the radio map for the i-th access point at the j-th reference point is defined as:

$$ \begin{gathered} C_{{ij}} = \bar{C}_{{ij}}^{\theta } ,\;i = 1,...,n;\;j = 1,...,m \hfill \\ s.t.\;\left| {C_{{ij}} \theta - \bar{C}_{{ij}}^{\theta } } \right| < = 3\phi _{{ij}}^{\theta } ,\theta = (0^\circ ,90^\circ ,180^\circ ,270^\circ ) \hfill \\ \end{gathered} $$
(2)
Fig. 5
figure 5

Pre-processed RSS data

3.2 Data analysis

Take a floor of a building for example. Assuming that the floor area is \(1000m^2\) and a reference point is set for each square meter in the region, there are 1000 reference points in the region. At a speed of 100 times in 1 min, it takes 16.7 hours to complete the radio map of the floor without considering the orientation problem. Therefore, constructing radio map is a very time-consuming task. Figure 6 shows the constructed radio map.

Fig. 6
figure 6

Radio map

The number of the columns is equal to the number of reference points, and so it has the same number of rows as the number of access points. Each entry value is expressed in colors, where red means the RSS reading is very strong, and blue means just the reverse. The time bar shows that it takes six periods of time to complete collecting RSS readings for the entire localization area.

Usually, when the reference point is far from the access point, mobile devices do not collect RSS from the access point. Therefore, we use \(-100dBm\) to populate RSS data at this reference point to build radio map. In addition, when the signal is blocked by pedestrians and doors, the mobile device cannot detect the access point. As shown in Fig. 7, gray indicates that RSS data are not collected.

Fig. 7
figure 7

Radio map with missing signal

Missing RSS readings will directly cause the asymmetric matching problem between the offline phase and online phase and lead to the failure of the fingerprint algorithm. KNN searches through the radio map to get the Euclidean distance between RSS readings online and those stored in the radio map. If any entry is missing, the location of the mobile device will fail to be estimated. It is worth pointing out that we could not ignore these access points with RSS missing readings and use the rest of the available access points to calculate the Euclidean distance. This is because the RSS Euclidean distance comes from different access points. As shown in Fig. 8, if we still choose to fill the missing RSS data with \(-100dBm\), it will seriously affect the positioning performance. Because the signal is blocked by pedestrians and doors is an accidental event, it cannot guarantee the uniqueness of its state when collecting RSS data online. In order to ensure the feasibility of fingerprint algorithm positioning, these missing data should be correctly restored.

Fig. 8
figure 8

Radio map filled with − 100 dBm

4 Radio map construction based on BERT model

4.1 Filling the missing signal based on BERT

As shown in Fig. 9, the BERT model structure is a multi-layer bidirectional converter, which is only used for the encoder in transformer. The detailed introduction of the transformer is in reference [22]. Multiple transformer encoders are combined into BERT. BERT model can be divided into three parts: input, encoder and output.

Fig. 9
figure 9

BERT model structure

In the radio map filling model, the input of BERT model is RSS data collected on RPs. As shown in Fig 10, each input data consist of three embeddings sections: Token Embeddings, Segment Embeddings and Position Embeddings. [CLS] is the symbol of BERT model for classification tasks, corresponding to the hidden state of token. [SEP] is the sign of the end of RP. Token embedding means that each data in the model is the signal strength of each AP propagation collected at the reference point. Segment embedding refers to the index of the reference point of the current RSS data, which is usually used to determine that the data of the current input model comes from two adjacent reference points. Location embedding is the index of the current location of RSS data, which is used to determine which AP sends the signal.

Fig. 10
figure 10

Input representation

BERT uses the mask language model. Given a sentence, some words are occluded, and the model is used to predict the occluded words. Before filling the data, we first input \(70\%\) adjacent complete data into the BERT model for training. The BERT model with mask randomly replaces some words (\(15\%\)) with [Mask] for prediction each time. In the practical prediction task, \(40\%\) of the input data is filled with zero to simulate the missing signal value in the practical task, and then we choose to replace the zero filled data directly with [Mask]. This means that we do not randomly replace the data with [Mask], but instead directly define the missing signal as a new [Mask] in practical task. The restored [Mask] is the missing signal value. The mask learning model is shown in Fig. 11.

Fig. 11
figure 11

Mask learning model

In Fig. 11, [Mask] represents the missing signal. The “lazy” behavior of BERT model is avoided without using Mask after input data. Since all known information is used to train the model and then the whole data is input into the model again, the model does not associate the intrinsic relationship information between the data, but copies the [Mask] data directly. In order to avoid the above problems, we improve the BERT model, and clearly stipulate that the missing signal in the [Mask] position must rely on context information to predict.

In addition to the mask language model (MLM) method, the BERT model also adds the second pre-training task: the next sentence prediction. This is a classification task to determine whether B is an adjacent sentence of A in sentences A and B. During the training process, 50\(\%\) of the training data is contextually extracted and 50\(\%\) is randomly extracted. In radio map, RSS collected on adjacent RPs is highly similar, so we modify the prediction task of the model, abandon the selection method of random sampling, and call one loop to fill the RSS on adjacent RPs. For overall computational efficiency, the maximum input length in BERT model is limited to 512. In order to achieve more efficient data filling, we segmented RSS data. When RSS data are stabilized, merge adjacent RPs and populate radio map in parallel, as shown in Fig. 12.

Fig. 12
figure 12

Cyclic process

4.2 Loss function

The loss function of BERT consists of two parts, corresponding to two pre-training tasks of the BERT model. Through the joint learning of the two tasks, the information learned by BERT model can include both token-level information and global data information. The loss function is shown in Eq. 3.

$$\begin{aligned} L_{p}(\theta ,\theta _{1},\theta _{2})=\sum _{p=1}^uL_{1}(\theta ,\theta _{1})+L_{2}(\theta ,\theta _{2}) \end{aligned}$$
(3)

where \(\theta\) is the parameter in encoder in BERT, \(\theta _{1}\) is the parameter in the output layer of encoder in the prediction task, \(\theta _{2}\) is the classifier parameter to judge whether RP is adjacent, and u is the number of cycles. Suppose the set of RSS data is M and the dictionary size is |V| , the first part of the loss function can be expressed as follows:

$$\begin{aligned} \begin{aligned} L_{1}(\theta ,\theta _{1})=-\sum _{i=1}^M\log _{q}(m=m_{i}|\theta ,\theta _{1}), m_{i}\in [1,2,...,|V|] \end{aligned} \end{aligned}$$
(4)

Similarly, the global task of RP segment is also a weighted loss function, which is expressed in 5.

$$\begin{aligned} \begin{aligned} L_{2}(\theta ,\theta _{2})=-\sum _{j=1}^N\log _{q}(n=n_{i}|\theta ,\theta _{2}), n_{i}\in [0,1] \end{aligned} \end{aligned}$$
(5)

After u cycles, the loss function of joint learning of two tasks can be rewritten as 6,

$$\begin{aligned} \begin{aligned} L_{p}(\theta ,\theta _{1},\theta _{2})= \sum _{p=1}^u[-\sum _{i=1}^M\log _{q}(m=m_{i}|\theta ,\theta _{1})-\sum _{j=1}^N\log _{q}(n=n_{i}|\theta ,\theta _{2})] \end{aligned} \end{aligned}$$
(6)

5 Experiments and analysis

This section details the experimental results of constructing radio map using BERT model. The experimental area is located on the fourth floor of No.9 Teaching Building of Shandong University of Technology. As shown in Fig. 13, we divide the experimental area into several grids, each grid spacing is 0.5 m. Twenty-seven APs and 810 reference points were deployed. The parameters of the proposed model in this paper are shown in Table 1. In addition, the BERT pre-training model used is the published Chinese pre-training model ”BERT-Base-Chinese.”

Fig. 13
figure 13

Experimental region

Table 1 Model parameter

We use Redmi K30pro device to collect RSS data, and the direction of each acquisition is consistent. In order to verify the effectiveness of the BERT model, we collect 100 RSS data at each reference point, remove the singular value, calculate the average value of the remaining RSS data, and use this average to construct a complete radio map. Using this method to collect data can effectively improve the stability of RSS, thereby improving the positioning accuracy. The complete radio map is shown in Fig. 14. The abscissa represents different APs, the ordinate represents different RPs, and the colors represent RSS strength.

Fig. 14
figure 14

100% radio map

We randomly selected 15 columns of RP to fill to verify the prediction function of BERT model, and the filling effect is shown in Fig. 15. We define the difference between the original data and the data filled by BERT as error, and the error equation is \(E=X-X'\). X represents the original data, \(X'\) represents the data filled by BERT model.

Fig. 15
figure 15

Randomly complete the radio map

Figure 15 shows that most areas of [Mask] have good recovery effect by using the original BERT model. But in some areas, the recovery is very poor, and the recovery error will affect the positioning accuracy. This error is largely related to the selection of the second prediction task, because when constructing an incomplete radio map, the method of selecting RP is randomly selected, which may lead to a far-distance RP for parallel filling. According to the signal propagation theory, the closer the two RPs are, the higher the similarity of RSS data is. Therefore, random sampling method is not suitable for signal propagation theory, and will lead to poor recovery in some areas.

We import all the data into the improved BERT model, with a total of 810 RPs. To reduce the size of the data, we collected only 40% RSS data and set the remaining RSS value to zero. In the BERT model, 81 cycles are set, and 10 RP columns are extracted in each order to fill. The filled radio map is shown in Fig. 16.

Fig. 16
figure 16

Radio map using 40% data

As shown in Fig. 16, when extended to all data, the improved BERT model achieves excellent filling effect. We digitize the filling error of the BERT model and compare it with traditional algorithms (improved low-rank completion [15], low-rank completion [23], spline interpolation (x), spline interpolation (y), spline interpolation (0,0)) [24], as shown in Table 2.

Table 2 Completion errors of different algorithms

Table 2 shows that the error of the improved low-rank matrix filling algorithm is 6.52 dBm because the low-rank characteristic of RSS matrix is used by the low-rank matrix filling algorithm when filling the radio map. Although the filling effect is improved, due to the influence of environmental factors, there will be low-rank noise in filling. Similarly, spline interpolation method has different filling effect according to the arrangement of data. The filling effect of BERT model is obviously better than that of the traditional algorithm, and the error is only 3.24 dBm. The effect of filling radio map with BERT model is very excellent, which greatly reduces the workload of building radio map.

To better demonstrate the effectiveness of our proposed method, we present a comparison of the cumulative distribution functions of various algorithms, as shown in Fig. 17. It can be seen from the figure that compared to the currently available linear interpolation, compressive sensing, and matrix filling algorithms, the wireless map established by the BERT model has a higher positioning accuracy. The positioning accuracy within 2 ms is approximately 94%, which exceeds the positioning accuracy of traditional matrix filling algorithms (90%) and compressive sensing interpolation (90%). This means that we can achieve high-precision positioning with only 40% of the workload. In summary, our proposed method has significant effects on reducing the time and manpower costs of building wireless maps and obtaining accurate positioning results.

Fig. 17
figure 17

Positioning performance

The traditional manual collection method not only consumes a large number of resources, but also takes a lot of time. The method proposed in this article not only significantly improves the positioning accuracy, but also achieves a significant improvement in time. We compared four fingerprint database construction methods, namely the traditional manual collection, Kriging interpolation, low-rank matrix filling, and the BERT model proposed in this article, based on the required time cost as shown in Table 3.

Table 3 Completion errors of different algorithms

Traditional manual fingerprint database construction methods require dividing indoor space into multiple grid points, and professionals holding equipment to collect fingerprint data at each reference point to construct a fingerprint database. In order to improve the efficiency of fingerprint database construction, this paper chose the manual fingerprint database construction method to be completed by five people alternately. A total of 410 sample data points were collected, and 100 fingerprint data points were collected in different directions at each sampling location, and the average value was taken as the fingerprint data value. According to statistics, the average time required for each sampling location was 120 s, and the fingerprint data collection time was approximately 820 min. Kriging interpolation fingerprint database construction method, low-rank matrix filling fingerprint database construction method, and BERT filling fingerprint database construction method only need to collect the fingerprint data of a uniformly sampled subset of reference points during the fingerprint collection process to calculate the fingerprint data at other reference points in the localization area. To ensure the accuracy of the three interpolation algorithms in fitting fingerprint data, 40% of the fingerprint data was actually collected, that is, 164 sampling points were collected, and 100 fingerprint data points were collected in different directions at each sampling location, and the remaining 246 sampling points were calculated by the three algorithms to obtain fingerprint data. The time required for Kriging interpolation method is approximately 327 min, and the low-rank matrix filling algorithm and Kriging interpolation method take roughly the same amount of time. The BERT model filling method has greatly improved compared to the previous two methods, and it takes approximately 86 min to construct 246 sampling points.

6 Conclusions

In this paper, we use BERT model to fill the radio map with missed RSS data, and construct a complete radio map, which greatly reduces the workload of collecting RSS in the offline phase. Using the prior knowledge of signal propagation theory, BERT model predicts missing RSS by learning the spatial correlation between adjacent RPs. Based on the original BERT model, the missing signal in radio map is filled in parallel by segmenting. In order to solve the problem that the first paragraph is not closely related to the next paragraph after the segmentation, we redefine the loss function. We set a loss function for each segment, and define the weighted average of all segment loss functions as the total loss function. The experimental results show that the BERT model has achieved good results in filling the missing RSS in radio map, which greatly reduces the time and labor cost of establishing radio map while achieving accurate positioning results.

Availability of data and materials

The radio map data used to support the findings of this study were supplied by Liye Zhang under license and so cannot be made freely available. Requests for access to these data should be made to Liye Zhang (zhangliye@sdut.edu.cn).

Abbreviations

WLAN:

Wireless local area networks

RSS:

Received signal strength

AP:

Access point

RP:

Reference point

BERT:

Bidirectional encoder representations for transformers

References

  1. F. Potortì, A. Crivello, F. Palumbo, M. Girolami, P. Barsocchi, Trends in smartphone-based indoor localisation, in International Conference on Indoor Positioning and Indoor Navigation (IPIN) 2021, 1–7 (2021). https://doi.org/10.1109/IPIN51156.2021.9662530

  2. R.C. Luo, T.J. Hsiao, Dynamic wireless indoor localization incorporating with an autonomous mobile robot based on an adaptive signal model fingerprinting approach. IEEE Trans. Ind. Electron. 66(3), 1940–1951 (2019)

    Article  Google Scholar 

  3. L. Montecchiari, A. Trotta, L. Bononi, M. Di Felice, Bluetooth Mesh Technology for the Joint Monitoring of Indoor Environments and Mobile Device Localization: A Performance Study, in 2022 IEEE 19th Annual Consumer Communications & Networking Conference (CCNC), pp. 193-199 (2022)

  4. M. Xue et al., Locate the mobile device by enhancing the WiFi based indoor localization model. IEEE Internet Things J. 6(5), 8792–8803 (2019)

    Article  Google Scholar 

  5. G. Chen, X. Guo, K. Liu, X. Li, J. Yang, RWKNN: A Modified WKNN Algorithm Specific for the Indoor Localization Problem. IEEE Sens. J. https://doi.org/10.1109/JSEN.2022.3155902

  6. W. Li, B. Wang, L.T. Yang, M. Zhou, RMapTAFA: Radio map construction based on trajectory adjustment and fingerprint amendment, in IEEE Access, vol. 7, pp. 14488-14500, (2019)

  7. M. Patino, F. Vega, Model for Measurement of Radio Environment Maps and location of White Spaces for Cognitive Radio Deployment, in IEEE-APS Topical Conference on Antennas and Propagation in Wireless Communications (APWC), pp. 913-915 (2018)

  8. L. Zhang, X. Meng, C. Fang, Linear regression algorithm against device diversity for the WLAN indoor localization system. Wirel. Commun. Mob. Comput. 2021, 1–15 (2021)

    Article  Google Scholar 

  9. X. Du, X. Liao, M. Liu, Z. Gao, CRCLoc: A Crowdsourcing-based Radio Map Construction Method for WiFi Fingerprinting Localization. IEEE Internet Things J. https://doi.org/10.1109/JIOT.2021.3135700

  10. A. Patarot, M. Boukallel, S. Lamy-Perbal, A case study on sensors and techniques for pedestrian inertial navigation, in International Symposium on Inertial Sensors and Systems (ISISS) vol. 2014, 1–4 (2014). https://doi.org/10.1109/ISISS.2014.6782527

  11. X. Chai, Q. Yang, Reducing the calibration effort for probabilistic indoor location estimation, in IEEE Transactions on Mobile Computing, vol. 6, no. 6, pp.649662, (2007)

  12. J. Yin, Q. Yang, L.M. Ni, Learning adaptive temporal radio maps for signal-strength-based location estimation, in IEEE Transactions on Mobile Computing, vol. 7, no. 7, pp. 869-883 (2008)

  13. J.J. Pan, S.J. Pan, J. Yin, L.M. Ni, Q. Yang, Tracking mobile users in wireless networks via semi-supervised coloca- lization. IEEE Trans. Pattern Anal. Mach. Intell. 34(3), 587–600 (2012)

    Article  Google Scholar 

  14. L. Ma, W. Zhao, Y. Xu, C. Li, Radio map efficient building method using tensor completion for WLAN indoor positioning system, in IEEE International Conference on Communications (ICC) vol. 2018, 1–6 (2018)

  15. Z. Wang, L. Zhang, Q. Kong, K. Wang, Fast construction of the radio map based on the improved low-rank matrix completion and recovery method for an indoor positioning system. J. Sens. (2021). https://doi.org/10.1155/2021/2017208

    Article  Google Scholar 

  16. Y. Du, D. Yang, C. Xiu, A novel method for constructing a WiFi positioning system with efficient manpower. Sensors 15(4), 8358–8381 (2015)

    Article  Google Scholar 

  17. G.M. Mendoza-Silva, A.C. Costa, J. Torres-Sospedra, Environment-aware regression for indoor localization based on WiFi fingerprinting. IEEE Sens. J. 22(6), 4978–4988 (2021)

    Article  Google Scholar 

  18. M. Zhao, D. Qin, R. Guo, Research on Crowdsourcing network indoor localization based on Co-Forest and Bayesian Compressed Sensing, in Ad Hoc Networks, (2020)

  19. Y. Zhang, Y. Zhu, M. Lu, Using compressive sensing to reduce fingerprint collection for indoor localization, in IEEE Wireless Communications and Networking Conference vol. 2013, pp. 4540–4545 (2013)

  20. J. Devlin, M. W. Chang, K. Lee, K. Toutanova, BERT: Pre-training of deep bidirectional transformers for language understanding, in In NAACL, 2019, arXiv preprint arXiv:1810.04805, (2018)

  21. S. Nikitaki, G. Tsagkatakis, P. Tsakalides, Efficient training forfingerprint based positioning using matrix completion, in 2012 Proceedings of the 20th European Signal Processing Conference, pp. 195-199, Bucharest, Romania, (2012)

  22. A. Vaswani, N. Shazeer, N. Parmar, J. Uszko-reit, L. Jones, A. N. Gomez, L. Kaiser, I. Polosukhin, Attention is all you need, in NeurIPS, (2017)

  23. Y. Liu, Z. Long, H. Huang, C. Zhu, Low CP Rank and tucker rank tensor completion for estimating missing components in image data, in IEEE Transactions on Circuits and Systems for Video Technology, vol. 30, no. 4, pp. 944-954, (2020), https://doi.org/10.1109/TCSVT.2019.2901311

  24. M. Zhou, Y. Tang, Z. Tian et al., Semi-supervised learning for indoor hybrid fingerprint database calibration with low effort. IEEE Access 5, 4388–4400 (2017)

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by Communication Research Center, School of Electronics and Information Engineering, Harbin Institute of Technology and School of Computer Science and Technology, Shandong University of Technology.

Funding

This paper is supported by Shandong Provincial Natural Science Foundation, China (Grant No. ZR2019BF022), and National Natural Science Foundation of China (Grant Nos. 62001272, 61902222).

Author information

Authors and Affiliations

Authors

Contributions

The algorithms proposed in this paper have been conceived by WZ, LZ and QK. ZW and LZ made the analysis and experiment and wrote the paper. CL and AT investigated, validated and revised this paper. All authors read and approved the final manuscript.

Author’s information

Zhuang Wang received the bachelor’s degree in computer science and technology from Shandong Youth University for Political Sciences in 2020. He is currently pursuing the MSc degree with the School of Computer Science and Technology, Shandong University of Technology. His current research interests include machine learning and indoor localization.

Qun Kong received the bachelor’s degree in computer science and technology from DeZhou University in 2020. She is currently pursuing the MSc degree with the School of Computer Science and Technology, Shandong University of Technology. Her current research interests include machine learning and binocular vision.

Bingcai Wei received the bachelor’s degree in software engineering from Qufu Normal University. He is currently pursuing the MSc degree with the School of Computer Science and Technology, Shandong University of Technology. His current research interests include machine learning and image processing.

Liye Zhang received the MSc and PhD degrees in communication engineering from the Harbin Institute of Technology, in 2011 and 2018, respectively. From 2014 to 2015, he was a Visiting Scholar with Department of Electrical and Computer Engineering, University of Toronto, Canada. He is currently a Lecturer with the Shandong University of Technology. His current research interests include indoor localization, computer vision and machine learning.

Aikui Tian, Professor, Master of Computer Science Supervisor, Dean of School of Computer Science and Technology, Shandong University of Technology. The editor-in-chief of four textbooks has undertaken two provincial teaching reform research projects, two provincial research projects, presided over and participated in a number of school-level teaching and research projects, and two school-level software development research projects and has published more than 30 papers, including core journals and published 12 professional papers. Main research directions are computer education games, virtual reality, computer network education applications.

Corresponding author

Correspondence to Liye Zhang.

Ethics declarations

Consent for publication

Not applicable

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, Z., Kong, Q., Wei, B. et al. Radio map construction based on BERT for fingerprint-based indoor positioning system. J Wireless Com Network 2023, 39 (2023). https://doi.org/10.1186/s13638-023-02247-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13638-023-02247-2

Keywords