Never Use Labels: Signal Strength-Based Bayesian Device-Free Localization in Changing Environments
Peter Hillyard, Neal Patwari

TL;DR
This paper introduces a novel Bayesian device-free localization method that uses a mixture model of RSS signals, enabling accurate localization in changing environments without labeled calibration data.
Contribution
The authors propose a new mixture model for RSS-based localization and a framework for updating model parameters without labeled data, improving robustness in dynamic environments.
Findings
Localization error reduced by 11-51% compared to existing methods
System maintains performance without labeled calibration in changing environments
Validated across three sites with seven days of measurements
Abstract
Device-free localization (DFL) methods use measured changes in the received signal strength (RSS) between many pairs of RF nodes to provide location estimates of a person inside the wireless network. Fundamental challenges for RSS DFL methods include having a model of RSS measurements as a function of a person's location, and maintaining an accurate model as the environment changes over time. Current methods rely on either labeled empty-area calibration or labeled fingerprints with a person at each location. Both need to be frequently recalibrated or retrained to stay current with changing environments. Other DFL methods only localize people in motion. In this paper, we address these challenges by, first, introducing a new mixture model for link RSS as a function of a person's location, and second, providing the framework to update model parameters without ever being provided labeled…
| Initial Calibration | Localize | Complexity | |||||||||||||||||||
|
|
|
|
None |
|
Motion |
|
Memory | Computation | ||||||||||||
| LDA | X | X | X | ||||||||||||||||||
| KRTI | X | X | X | ||||||||||||||||||
| RTI | X | X | X | ||||||||||||||||||
| HMML | X | X | X | X | |||||||||||||||||
| MLL | X | X | X | X | |||||||||||||||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Never Use Labels: Signal Strength-Based Bayesian Device-Free Localization in Changing Environments
Peter Hillyard and Neal Patwari
P. Hillyard is with Xandem Technology, Salt Lake City, USA. Contact e-mail: [email protected]. N. Patwari is with the Department of Electrical and Computer Engineering, University of Utah, and with Xandem Technology, Salt Lake City, USA.
Abstract
Device-free localization (DFL) methods use measured changes in the received signal strength (RSS) between many pairs of RF nodes to provide location estimates of a person inside the wireless network. Fundamental challenges for RSS DFL methods include having a model of RSS measurements as a function of a person’s location, and maintaining an accurate model as the environment changes over time. Current methods rely on either labeled empty-area calibration or labeled fingerprints with a person at each location. Both need to be frequently recalibrated or retrained to stay current with changing environments. Other DFL methods only localize people in motion. In this paper, we address these challenges by, first, introducing a new mixture model for link RSS as a function of a person’s location, and second, providing the framework to update model parameters without ever being provided labeled data from either empty-area or known-location classes. We develop two new Bayesian localization methods based on our mixture model and experimentally validate our system at three test sites with seven days of measurements. We demonstrate that our methods localize a person with non-degrading performance in changing environments, and, in addition, reduce localization error by compared to other DFL methods.
I Introduction
Wireless sensor networks have opened up many opportunities for detecting breaches in physical property, for home automation, and for remotely monitoring the health and activity of home-bound patients. These systems depend on knowing the location and presence of people in an area of interest. Previous research has shown how a person, without an RF tag, can be localized through walls by processing received signal strength (RSS) measurements between many pairs of statically deployed RF nodes. This tag-less based localization technology is known as device-free localization (DFL) [1].
DFL in indoor environments presents many significant challenges. First, the links’ RSS are non-stationary in changing environments. Consequently, DFL methods that require an empty-area calibration [2, 3, 4, 5] or fingerprint training [6] will need frequent recalibration or retraining to adjust to a changing environment. In contrast, online calibration methods [7, 8] quickly adjust to a changing environment; yet, they can only locate people while they are in motion. For real-world installations of DFL, both DFL types may be unacceptable. For example, a home-bound patient may find it very inconvenient to leave their home to provide a DFL system an empty-area calibration period. They may find it equally inconvenient to retrain their system by labelling training data with true locations. Also, smart-home systems must estimate occupancy, not only motion, in order to control lighting, heating and cooling systems.
One contribution of this paper is that we develop and validate a localization system that addresses the drawbacks of traditional empty room calibration, fingerprint training, and online calibration methods. The significance of our contribution is illustrated by stepping through the installation and unlabelled training process. In our system, which is built for a single occupant building, nodes are first installed around the building. After nodes have been deployed, the occupant walks around in the building during a system setup period. Alternatively, in the case of the home-bound patient, the node installer walks around the building while the home-bound patient remains stationary. During system setup, unlabelled training data is fed to the system and used to estimate model parameters. After system setup is complete, the system localizes the building occupant. Unlabelled training data continues to be fed to the system after system setup to adapt to non-stationary RSS measurements in changing environments, a method we call continuous recalibration. Using unlabelled training data from a person naturally moving inside the building provides a more convenient way of training the system and to locate both a stationary and moving person.
Other continuous recalibration methods with unlabelled training were presented in [9, 10]. However, these methods assumed that an empty-area calibration was performed before runtime, unlike our methods in which no empty-area calibration is assumed. In [9, §VI-D], an approach is proposed in which, instead of performing an empty-area calibration, it is estimated as a person walks inside the building, however, the localization performance when using this idea is not reported. This paper quantifies localization performance of a method in which a person moving inside the building provides unlabelled training data. Our experiments include intentional and unintentional changes to the background that allow us to evaluate our algorithms over time as the environment changes. Further, we note that this method is complementary to the developments of [9], which performs filtering and smoothing to both image and coordinate estimates to refine the person’s track over a period of time so that model parameters can be as accurate as possible. Our method primarily estimates areas where a person is very likely not located as a means to improve knowledge of link model parameters.
A second challenge with indoor DFL is that, because of multipath fading, it is difficult to model the effect of a person’s location on the measured RSS of a link. With a fine resolution of fingerprint locations, fingerprint training can capture this relationship in a particular environment by measuring the relative frequency of RSS measurements at each location [11]. While fingerprinting can be very accurate in localizing people, the fingerprints must be frequently retrained to stay current in changing environments [12]. Alternative DFL methods like radio tomographic imaging (RTI) [2], Bayesian methods [13], and particle filters [14, 15, 16, 5] provide more flexibility for DFL because the relationship between measured RSS and a person’s location is modeled a priori.
Fundamental to model-based DFL is the idea that a link is affected, i.e., has significant measured changes in RSS, when a person is on the link line. The link line is the imaginary line segment connecting the link’s nodes. In contrast, when the link is unaffected, i.e., has very little measured change in RSS, the person tends to be off of the link line. Model-based DFL methods have been built around the idea that the link is affected only when a person is inside an ellipse whose foci are the nodes of the link [2, 3, 5]. In reality, the link can be affected even when a person is far from the link line, or unaffected when a person is on the link line. These model inaccuracies confound Bayesian DFL methods.
As a second contribution of this paper, we develop a new mixture model where a link may be affected or unaffected no matter the person’s position, but with probabilities that are a function of the person’s distance from the link line. In our system, we learn RSS distribution parameters for both the affected and unaffected state of each link and we do so with unlabelled measurements. The weights in our mixture model are derived from a spatial model such that the affected RSS distribution is weighted more when a person is on the link line and weighted less the further the person is from the link line.
We incorporate our new mixture model in two Bayesian localization methods we develop which we refer to as maximum likelihood localization (MLL) and hidden Markov model localization (HMML). These two methods differ from other Bayesian localization methods [15, 4, 5] by incorporating randomness in the affected and unaffected state. MLL and HMML both compute the probability of observing the measured RSS given a person’s location. Adding a temporal property to localization, HMML extends MLL by estimating the current location based on the previous location. In that both MLL and HMML operate on the same mixture and spatial models, and only differ in their temporal properties, we refer to them generally as model-based probabilistic localization (MPL). However, we differentiate between the localization method used in MPL as either MLL or HMML.
We experimentally validate HMML and MLL at three separate sites and with over 7 days of measured RSS data. We demonstrate that MPL does not need an empty room calibration or fingerprint training period, that it adapts to changes in RSS due to a changing background, and that it is capable of localizing a stationary person. We compare HMML and MLL to an RTI method which uses empty room calibration [3], to an RTI method that uses online calibration [8], and to a Bayesian linear discriminant analysis method [6] which localizes with the help of a database of labelled fingerprint measurements. We show that HMML and MLL can match or decrease the localization error by compared to these other DFL methods. Additionally, by reducing missed detection errors by orders of magnitude and reducing the false alarm rate by a factor of two to four, we show that we can track stationary targets despite changing environments.
II Related Work
The ability to locate a person indoors using sensors has changed the way we think about security, home automation and smart homes, and aging in place. Some of these sensing systems include: cameras that detect changes in pixel values caused by a person’s presence [17]; pyroelectric sensors that detect and locate changes in thermal radiation due to a person’s presence [18]; and vibration sensors to localize vibrations from a person walking [19]. Cameras and infrared sensors cannot sense through material opaque to visible light, and vibration sensors must be sensitive enough to detect vibrations on the inside of the home while ignoring ambient vibrations. Our MPL solution, like other RF solutions, is a more appropriate choice for whole-home, through-wall sensing since RF can sense through walls, smoke, and in any lighting condition.
RF sensing systems perform localization in a variety of ways. Ultra-wideband radios can be used in multi-static radar to measure the time-of-flight between pulse transmissions and received reflections caused by moving people [20]. The time-of-flight is proportional to the distance between the reflector and the transmitter and receiver which is used to localize a person. Ultra-wideband radios have also been used measure changes in the line-of-sight power and then perform tomography with those measurements [21]. A person’s presence has also been shown to create significant changes in the amplitude of subcarriers in PHY layer measurements of commodity WiFi cards. These changes have been used in a fingerprint classification method to localize a person [22]. Instead of relying on fingerprinting, systems that use WiFi channel state information could alternatively apply the methods developed in this paper to perform localization.
Our MPL method is complementary to methods that process RSS to perform DFL including particle filters [15, 14], fingerprint classification [6, 12], and RTI [2, 3]. These methods, however, either need a person to stand at several locations, to have the area completely vacant for a short period [2, 3, 23, 10], or to have the person continuously moving in order to perform localization [24, 8]. What sets our work apart is that MPL can perform DFL without fingerprinting, without a vacant area, and can localize stationary people.
DFL methods vary in how RSS measurements are used to estimate location. In fingerprint-based localization, a person stands at many locations in the area of interest while the statistics of the RSS distributions are recorded [12, 6]. During testing, the likelihoods or Bayesian probability of measuring the observed RSS is computed for each fingerprint from which the estimated location is derived. With enough fingerprint locations, fingerprint-based localization captures the hard-to-predict RSS distribution of a link as a function of a person’s location. However, this comes at an unsustainable cost of frequently retraining fingerprints to stay current with changing environments. MPL seeks to provide a highly accurate localization system, like that of fingerprinting, but by doing so with a model that provides more flexibility in changing environments.
In RTI methods, a spatial model is assumed which indicates where a person’s presence will cause a change in RSS [2, 3]. An image of the most likely locations a person was is formed based on the change in RSS observed on the links in the network. A more recent version of RTI has been developed to learn the parameters of the spatial model for each link with unlabelled data [9]. Additionally, the empty room calibration measurements are continuously recalibrated as a person moves inside the area of interest to stay current in changing environments. Furthermore, the change in the RSS on a link is weighted as a function of the excess path length of the person’s location and the link. MPL provides an alternative approach to localization by computing the probability of observing RSS measurements based on a person’s location. Furthermore, our system performs continuous recalibration not only when a person is moving inside the area of interest but also when the area of interest is vacant. Continuous recalibration in both cases is necessary to avoid nuisance alarms when the area of interest is vacant.
Another variation of DFL is particle filtering. As in MPL, particle filters assume RSS distributions, one for when a person is on a link line, and one for when they are off of the link line [15, 16, 14, 5, 4]. Particles are then drawn from a Gaussian distributions and are said to be drawn from the affected RSS distribution when their excess path length to a link are less than some threshold. Otherwise they are drawn from the unaffected RSS distribution. MPL differs from this approach in that we do not place 0 or 1 weights to the affected and unaffected RSS distribution, but soft weights that are a function of the person’s excess path length to a link. This approach inserts some uncertainty in the model to account for the reality that a link may not be affected even when a person is standing on the link line or that a link is affected when the person is far from the link line. As another point of differentiation, our methods, unlike [5, 4] actually implement and validate a method that tracks both a stationary target and a target in motion without using labelled calibration data.
III Methods
In this section, we describe the fundamental components of MPL generally and of MLL and HMML specifically. The components of MPL are shown in the block diagram in Fig. 1 and include: a one-time estimation of the weights of the mixture models that relate RSS to an occupied location; a lightweight online RTI method that runs in tandem with either MLL or HMML to provide a location of a moving person; a continuous recalibration block that continuously re-estimates the parameters of the links’ affected and unaffected distributions; and a block where MLL or HMML is implemented. MLL and HMML compute the probabilities of observing the RSS measurements on the links given the person’s location. We describe each of these components in more detail in the following sections.
III-A Equipment and Measurements
In this paper, our wireless measurements are made using Texas Instruments CC2531 dongles that communicate using IEEE 802.15.4 in the 2.4 GHz ISM band. We deploy nodes around the area of interest. The nodes are programmed to take turns transmitting a packet on a 802.15.4 channel during dedicated time slots using TDMA and a token-ring passing protocol [25]. This protocol is repeated on a predefined set of 802.15.4 channels.
As each node transmits on each channel, a separate node logs the RSS, also called the received power in decibel units, between each pairwise node. We denote the RSS measured on link formed by transmitting node and receiving node on channel as . The RSS is typically a discrete-valued measurement, and we denote its possible values as . also includes , the event that there was a missed packet and as such RSS was not measured. We observe a vector on links.
III-B Mixture Model
As in many model-based DFL methods, MPL adopts the idea that a link is either in an affected state or an unaffected state [13, 15, 16]. However, the novelty in this model is that, given the person’s location, the state of the link is not known a priori. In contrast, some models state that a link deterministically is affected when a person is present in an ellipse whose foci are the node coordinates of the link and is unaffected when the person is outside of the ellipse [15, 2, 7, 3]. Another model states that a person’s presence in a voxel intersected by the link line causes the link to be deterministically affected [26]. However, by virtue of the random nature of the multipath radio channel, any deterministic model for the state of a link as a function of person location is bound to be inaccurate. Further, if pixels are large (to keep computation time low), there may be, within the pixel, positions in which the person affects a link as well as positions in which they do not affect it. We develop a mixture model that places some uncertainty on the whether a link is affected or unaffected by a person’s presence in a pixel.
Our mixture model follows the diagram shown in Fig. 2
First, assume that a person is present at one of grid coordinates for pixel . In one time step, a person can transition from one grid point to any other grid point that can be reached by a person moving at the maximum assumed velocity (we use 3 m/s unless otherwise stated). While a person is located in pixel , a link has a state where is the affected state and is the unaffected state. Our link state probability, given the person’s location, is denoted . The probability a link is affected is an exponentially decaying function of excess path length
[TABLE]
where the excess path length of location with respect to link is , where is the Euclidean norm between and , is the coordinate of link ’s transmitter, is the coordinate of link ’s receiver, and and are parameters we will estimate. The probability that a link is unaffected by a person standing in pixel is .
If a link is affected, the RSS on link , , is generated from the conditional distribution . The probability of observing in the affected state is weighted by , the probability that the link is affected given the person is standing in pixel . If a link is unaffected, is randomly generated from the conditional distribution . The probability of observing in the unaffected state is weighted by . Via Bayes’ Law, we can see that given a person at position is generated from the mixture model
[TABLE]
Assuming link RSS measurements are independent, the likelihood that the person is in pixel given is
[TABLE]
However, this product may not be able to be represented by modern computers when is large. To avoid these issues, we compute log probabilities first and then convert them back into probabilities as where . For MLL, the estimated location of the person is found from
[TABLE]
The HMML solves for the most likely location given a history of observations by inductively computing a forward probability vector, , at time for each grid coordinate . The value of is the joint probability of current state and all link RSS measurements through time [27]. The HMML estimates the current location of the person as
[TABLE]
The probability that the initial pixel of the person is is denoted . The forward algorithm initializes where is the first measured RSS vector, and then computes for each and for where is the probability that a person transitions from pixel to pixel in one time step. For reference, the grid coordinates are evenly distributed. One coordinate represents the out-of-the-area coordinate which we denote . For this out-of-the-area coordinate, we manually set 1\text{\times}{10}^{-3}$$.
III-C Conditional RSS Distributions
In this work, we have adopted the idea that a link is either in an affected or unaffected state. We perform our own experiments to support this claim. In this experiment, a person walks around a room at known times and at known coordinates while we record RSS measurements. We show in Fig. 3 one link’s distribution of RSS when a person is far from the link line and when the person is on or near the link line. While the RSS does not assume these distributions in all cases, we use this link to represent the behavior of the majority of links.
The affected and unaffected RSS conditional distributions can be modeled as skew-Laplace [15], or Ricean [28], but we sacrifice model accuracy by using a Gaussian model for simplicity. A normal distribution for RSS in decibel units has also been adopted in [6, 16]. The mean and variance of the unaffected distribution we denote as and where the subscript specifies unaffected. The mean and variance of the affected distribution we denote as and where the subscript specifies affected.
For link , we estimate the mean and variance of both distributions using RSS measurements when there is evidence that the link is unaffected. We describe in Section III-G how we decide when RSS is measured when the link is unaffected, but for now, we create a FIFO buffer of length for link . When a link is unaffected, we add to the buffer. When a measurement is added to the buffer, we compute both the sample mean and the sample variance of the buffer which we save as and respectively. When there are no changes to objects in the background environment, we anticipate to be about the same as . So, we only perform the update and when dBm.
From Fig. 3, we also observe that the mean of the unaffected histograms is a few dBm greater than the affected histogram’s mean. Also, the variance of the affected histogram is larger than the unaffected variance. In our model, we use these observations to also estimate the mean and variance of the affected distribution by and . We have found that dBm and are appropriate parameters to use for indoor settings. We also note that to estimate , we use the maximum of the sample variance of the buffer and a minimum constant . Due to quantization of RSS, the sample variance may be zero even though the true real-valued received power would have had a positive variance. We impose a minimum variance of to avoid numerical instability. We have found that is an appropriate value for this application.
In reality, the effects of multipath fading would mean each link would have a unique and instead of the fixed value we use. Although fixed in this paper, the values of and for all links captures the general RSS response, which is a drop in RSS and an increase in variance, when a person is nearby the link line. The choice to estimate each link’s and from noisy target location estimates would add another layer of high-dimension estimation which we chose not to explore in this paper.
When the mean and variance of a link’s unaffected and affected distributions have been re-estimated, we recompute their RSS mass functions as
[TABLE]
and
[TABLE]
where is constant such that the pdf (probability distribution function) sums to one, and is a small-valued lower bound on the probability value away from zero. The use of the minimum probability is due to the fact that, in practice, we may observe values far from the mean more often than described by equations (6) and (7) because temporal fading does not always fit the log-normal distribution [29]. Using a small value conveys the model uncertainty and avoids numerical issues with very low probabilities in the likelihood computations. We use in this work.
III-D Spatial Model
The approach with many DFL methods is to say a link is affected only when a person is standing inside an ellipse whose foci are the coordinates of the link’s nodes [2]. Instead of setting a strict elliptical boundary on when the link is affected and unaffected, other models have used a decaying elliptical model where changes in RSS on a link are weighted according to the person’s excess path length to the link [9].
In MPL, we adopt a similar decaying elliptical model that we base off of an experiment that we perform in an empty classroom. In this experiment, a person moves inside many areas for 30 seconds each, during which time RSS for many links are measured and recorded. An additional 30 seconds of RSS is recorded when the person is not in the area of interest. In post-processing, we find the mean RSS for each link and for each location the person occupied, including when the person stood outside the area of interest. In Fig. 4, we show the absolute difference in mean RSS when a person occupies each area and the mean RSS when the area of interest in vacant for link .
We threshold the image so that the absolute differences that are greater than 2 dBm are shown in blue, and smaller differences are shown in red. White squares are never occupied.
What Fig. 4 shows is which areas experience a change in mean RSS when a person occupies the area. In Fig. 4, we observe that, in general, areas near the link line tend to result in a decrease in RSS. Areas that are further away tend to experience small differences in RSS. However, we also observe that some locations show no measured change in RSS even when the person is on the link line. Additionally, when a person is very far from the link line, the link’s RSS can significantly change in mean. A simple elliptical model does not capture the uncertainties due to multipath fading. The spatial model in equation (1) creates some uncertainty in our mixture model so that there is always a small but significant probability that an RSS measurement was drawn from either the affected or unaffected conditional distribution. When the person is near the link line, the affected distribution is weighted more heavily than the unaffected distribution. The choice of and gives us some control over how the weights in the model are selected so that we can adjust to the different fading characteristics of each link.
III-E Estimating Spatial Model Parameters
In this section we describe how we estimate the mixture model parameters and for each link . To accomplish this, our goal is to estimate and such that our mixture model closely matches the distribution of RSS measurements as a function of the excess path length of the person’s location and link . This estimation process refers to the KRTI and parameter estimation block seen in Fig. 1. KRTI is an online DFL method that does not require an empty room calibration period [8]. We choose KRTI because of its relatively low computational complexity and its highly accurate localization capability. KRTI updates a long and short term RSS histogram with every new RSS measurement. The difference between these two histograms is computed using the kernel distance. The differences from all of the links are then used to form an image and estimate the location of a person. During a training period a person walks inside the area of interest. During this time, KRTI provides an estimated location, , for each . We store all tuples where is the excess path length between and link .
After the training period is complete, we first estimate the mean and variance of the unaffected distribution using, respectively, the median and median absolute deviation (MAD) of the RSS during the training period. We use these statistics to estimate the mean and variance of the unaffected RSS distribution. The median and MAD ignore RSS measurements that fall far from the true unaffected mean and robustly estimate the mean and variance. Additionally, we multiply the MAD by and square the value to make it an estimate of the variance for Gaussian data [30]. Once the unaffected mean and variance have been estimated, we apply the same shift to the mean and scale to the variance to get the affected mean and variance as described in Section III-C.
Instead of basing the affected distribution parameters on the unaffected distribution parameters, an algorithm could discriminate between times when a link is in either the affected or unaffected state and then directly estimate the parameters for the affected and unaffected state. However, we choose to not pursue this approach because it would require a long training period to ensure that there were a sufficient number of RSS measurements from each state to estimate the distribution parameters. Additionally, a person may not be physically capable of reaching locations where they would be affecting a link, and therefore, there would be no RSS measurements to estimate the affected distribution parameters.
After the training period is complete and the affected and unaffected RSS distribution parameters are estimated, we turn to the RSS, excess path length tuples previously mentioned. An example of the tuples for one of the links is shown in Fig. 5.
We next divide into bins according to excess path length . We choose to bin all tuples into groups such that their excess path lengths are equal. The possible ordered bin values are in the set where is the total number of bins. The RSS measurements for one group of these tuples are seen in the grey box in Fig. 5 and the histogram of these RSS measurements is shown in Fig. 6. We denote the histogram of the RSS measurements whose excess path length is as where index indexes in the set of all excess path lengths.
We wish to find such that the mixture model most closely matches . To do this, we perform
[TABLE]
where is a set of equally-spaced real valued numbers between and 1 and is the -norm. An example optimal mixture model is shown in in Fig. 6.
By performing this process for all excess path length bins, we get the tuples . We plot these tuples for a link in Fig. 7.
The relationship between and follows our spatial exponential decay function in equation (1). We estimate and from a nonlinear least squares solution. The estimation includes constraining to keep the conditional probabilities between 0 and 1 and so that a link is always more likely to be affected by a person on or near the link line over a person far from the link line. After and are estimated, we do not re-estimate them in this paper and consequently no longer run KRTI. However, re-estimation can be optionally performed at any later time as desired.
III-F Initial and Transition Probabilities for HMML
A hidden Markov model includes a transition matrix which defines the probabilities of transitioning from one state to another in one time step. In our model, we incorporate the physical constraints of walking inside a building, like walking speed and fixed barriers, into our transition probabilities. To do this, we first label each grid coordinate as either an entrance-exit or as a non-entrance-exit coordinate. Entrance-exits are locations in the area of interest where a person can enter or exit the area of interest. Second, for each grid coordinate, the grid coordinates that are m away are labelled as neighbors. For entrance-exit states, we include the out-of-area grid coordinate as a neighbor since the only way to leave the area of interest is via an entrance-exit. For the out-of-area grid coordinate, we label the entrance-exit states as neighbors. However, a grid coordinate cannot be a neighbor if a person must travel through a wall to get to that grid coordinate. Third, we assume that a person is more likely to stay at the current grid coordinate than to transition to another.
For transition probabilities, the probability of remaining in the same grid coordinate after one time step is set to for all states. For all non-neighbor grid coordinate, we assign a probability . We found that was the closest value to 0 we could use without encountering numerical representation issues when computing the forward probabilities. This value also gave some, but very little probability, of a target reaching any other state in one time step. For all neighbor grid coordinate, we assign a equal probability so that the sum of probabilities of transitioning from the current grid coordinate to any other grid coordinate equals 1. We note that wall and entrance-exit information is extra information required to create these transition probabilities. Consequently, we will show in Section V-D how HMML’s localization performance is affected if we ignore wall and entrance-exit information.
A hidden Markov model also includes the probability that the Markov chain starts in grid coordinate . We assume that when the system turns on, the person is located outside of the area of interest with probability . All other initial state probabilities are assigned .
III-G Continuous Recalibration
An important element of MPL is that it does not use an empty room calibration period, nor a fingerprint training period, to estimate the mean and variance of the affected and unaffected RSS distributions. Instead, MPL uses unlabelled training data when a person is moving inside a building, a feature we believe adds convenience in deploying a DFL system. Furthermore, MPL is capable of adapting to non-stationary RSS distributions. We enable these features of MPL by running a light weight companion localization method called VRTI [7]. Using online calibration, VRTI localizes motion by computing the sample variance of a buffer of RSS for each link. The sample variance for each link is used to form an image of the motion, from which we estimate a person’s location. We denote the location estimate from VRTI as .
The purpose of running VRTI in tandem with MPL is that VRTI can localize a moving person in spite of a changing environment. With VRTI’s location estimate, we not only know where the moving person is located but also where they are not located. Here, we are assuming our system is used in a home with a single occupant. If no person is near a link, we can safely update that link’s RSS unaffected distribution parameters. We say that is far from a link if the excess path length of with respect to link , which we denote , is greater than where is the maximum excess path length of any coordinate in for with respect to link . When , we add to the -length FIFO buffer referred to in Section III-C.
In as much as VRTI is unable to distinguish between a stationary person and when the area of interest is vacant, the RSS distribution parameters won’t be re-estimated when the person is stationary or when a person is outside of the area of interest. However, it is important to update the RSS distributions when the area of interest is vacant. To re-estimate the RSS distribution parameters when the area of interest is vacant, we add to the -length buffer, if it has not been added already, when HMML or MLL says the area of interest is empty, i.e. when is the solution to or . The mean and variance of the buffer is then used to periodically re-estimate the distribution parameters for both a link’s unaffected and affected state as described in Section III-C. With both the location estimate of VRTI and HMML or MLL, we are able to perform continuous recalibration without an empty room calibration period. We found that was an appropriate buffer length for our application.
As an example of how we perform continuous recalibration, we show in Fig. 8 the measured RSS on a link before and after a couch nearby is moved 15 cm. After the couch is moved at 2550 s, the unaffected RSS increases by 6 dBm. We also show for the link during this time period as it is re-estimated. After a few minutes, our unaffected mean RSS estimate adjusts to the increase in RSS due to the changing environment.
III-H Method Summary
There are several components to our methods and so we summarize the major points here so that the reader can gain a high level understanding of the algorithm.
The algorithm begins with an unsupervised training period that is performed once. While a person walks around the whole space for several minutes, a history of location estimates and RSS measurements are saved (see Section III-E.) After the training period is complete, the history of location estimates and RSS measurements are used to estimate and for each link (see Section III-E.) The estimated and values are then used to compute and using (1) in Section III-B. Though not part of the unsupervised training, the transition probabilities used in HMML are also computed just once (see Section III-F).
After the unsupervised training has been completed, one of the MPL methods is used to perform location estimation. For every new measurement , the likelihoods are updated using (2) and (3) in Section III-B. The likelihoods are then used to update the MLL or HMML location estimate (see Section III-B). In addition to updating the MPL location estimate, a new measurement is used to get a new VRTI estimate (see Section III-G). Both and location estimates are then used to update , , and which are used in (6) and (7) described in Section III-C.
III-I Baseline DFL Methods
Many DFL methods exist that perform an empty room calibration period or run an online calibration. Empty room calibration is inconvenient for those people who must wait outside of the area of interest. Additionally, DFL methods that require empty room calibration quickly become unreliable estimation methods unless they are frequently recalibrated with empty room snapshots. DFL methods with online calibration lose track of stationary people. Other DFL methods require fingerprint training where a person stands at many locations in the area of interest while RSS measurements are stored in a database. Like DFL methods with empty room calibration, fingerprint DFL becomes unreliable as the real fingerprints diverge from those in the database [12]. In this paper, we compare HMML and MLL, both of which address all of these drawbacks, against well-known DFL methods.
One of these methods is attenuation-based RTI which we refer to as RTI [3]. RTI requires an empty room calibration where the mean RSS for each link is computed and stored. The absolute difference between and the mean RSS is computed and stored as , which is in turn used to compute an image and estimate the person’s location. The second method is kernel-based RTI which we refer to as KRTI [8]. KRTI continuously updates a long and short-term RSS histogram. The kernel distance between these histograms are then computed and stored as , from which the image and the person’s location is estimated. For both RTI and KRTI, we use an elliptical model for the weight matrix [2]. A regularized-least squares solution is then used to estimate the image using the linear relationship where is the noise. The pixels in the image, , for both RTI and KRTI map to the same grid coordinates for mentioned in Section III-B. We use the pixel with the greatest value as the location estimate, which we denote for RTI and for KRTI. However, when the image maximum falls below a threshold, we set the location estimate as the out-of-the-area pixel . We note that MPL also uses KRTI to estimate spatial parameters, but the baseline KRTI mentioned in this section is separate from KRTI used in MPL. After this point, we distinguish between the two when needed.
The last method is a linear discriminant analysis classifier, which we refer to as LDA, that requires RSS fingerprints at many locations [6]. During fingerprinting, a person moves inside of a small area around a known location. The mean RSS of all links is recorded for fingerprint location index and stored as where , is the total number of fingerprints. The covariance of the RSS over all fingerprint locations, , is then estimated using Ledoit-Wolf shrinkage as where and is the number of RSS measurement vectors measured during fingerprinting. Ledoit-Wolf shrinkage is a traditional way to estimate a covariance matrix when the number of samples used for estimation is small but the number of variables to estimate is high. We find ourselves in this situation since the number of measurements we record at each fingerprint tends to be small. Finally, we find the that maximizes which gives us our location estimate .
IV Experimentation
In this section, we describe the three test sites we used to evaluate the localization performance. We also describe the localization metric used for the evaluation.
IV-A Test Sites
In our evaluation, we perform experiments at three different test sites. At each site, we first collect a training data set which we use to perform supervised fingerprint training for LDA and to perform unsupervised estimation of and for each link in MPL. Additional testing data sets are then performed. Both training and testing data sets include the known location of the person moving through the area. Experimentation at each test site was performed differently, so we describe each test site individually. The floorplans for each site are shown in Fig. 9. For each site, the grid coordinates used for KRTI, RTI, and MPL are generated automatically such that the grid points are evenly distributed around the area of interest. Fingerprint locations for LDA are created only for locations in the area of interest where a person walks during testing.
There are differences in the number of frequency channels measured for each site. We programmed the nodes for two of the sites to use four frequency channels. The data for the third site was collected by other experimenters and they chose to measure eight frequency channels. We chose to measure on four to have a higher sampling rate. In our algorithms, all channels measured are used in the DFL methods.
IV-A1 Classroom
Our first test site, which we refer to as site CR, is an empty classroom. We deploy twenty nodes, which measure on four channels, on the inside perimeter of the classroom such that a majority of the links are line of sight. It takes the protocol 0.24 s to get an RSS measurement for each link and channel.
A total of 30 s of RSS are collected for fingerprints at 100 locations spaced apart. At each fingerprint location, the person moved inside a before moving to the next fingerprint location. The total duration of the training experiment was 55 min.
During the testing experiments, the room was vacant for the first minute. A person then entered the room and continuously moved to each fingerprint location at least once. A total of twelve test experiments were performed varying between 3 and 12 min in length. No objects inside the room were intentionally moved at any time during the training and testing data sets.
IV-A2 First Floor
The second test site, which we refer to as site 3F, is the furnished first floor of a home. Thirty nodes are deployed, which measure on eight channels, on the inside perimeter of the house. It takes the protocol 0.82 s to get an RSS measurement for each link and channel. A pair of nodes are attached to a tall stand such that the nodes are 0.3 and 1.3 m above the floor. With the many walls and obstructions in the house, very few of the links are line of sight.
RSS Fingerprints are collected at thirty-two locations in the house. The total duration of the training experiment was 33 min. During the testing experiments, the house was vacant for the first 50 s. A person then entered the house and moved to the first fingerprint location, standing there for 50 s. After the 50 s elapsed, the person moved to the next fingerprint location where the process continued. The same procedure was followed for the test experiments except that the person stands at each location for 20 s. The duration of each of the 15 test experiments was 10 min.
After the training experiment and each testing experiment, an intentional change to the house was made. For example, a couch was moved, a washer lid was shut, or a sink was filled with water. These intentional changes were performed to simulate the passage of time in a typical house where objects are moved, added, or removed from the area of interest. We note that this training and testing data set was originally created and used in [12].
IV-A3 Basement Living
Our last test site, which we refer to as site BL, is a furnished basement. We deploy fifteen nodes, which measure on four channels, on the inside perimeter of the area of interest. It takes the protocol 0.53 s to get an RSS measurement for each link and channel. The floor plan of site BL is shown in Fig. 9.
During the training experiment, a person continuously moved around the basement at known locations at known times. For fingerprinting, we create several reference locations that serve as the fingerprint location since the person was moving for the duration of the training period. The duration of the training experiment was 15 min.
During the testing experiments, the basement was vacant for the first minute. A person then entered and continuously walked around the basement. However, the person also reclined on a bed, and sat in an armchair, on a couch, and in a chair for 2 min each at different points during the experiment. This was done to show how DFL methods with online calibration lose track of a stationary person. RSS measurements were recorded for 24 h for seven days. We divide each day into an individual experiment. Each day, a person’s ground truth location was recorded for 14 min for performance evaluation. During the seven days, the person performed normal day-to-day tasks and activities, including moving furniture and adding, moving or removing other household items in the area.
IV-B Localization Accuracy
The DFL methods we evaluate produce a location estimate for each time . These methods can also indicate that the area of interest is vacant. To evaluate each DFL method, we compute the localization error at time as
[TABLE]
where is the true location coordinate, is the estimated location coordinate from one of the localization methods, and is the Euclidean distance between the true and estimated location. We then compute the median of for all and call it the median Euclidean error .
V Results
In this section, we discuss the localization performance of MLL and HMML and our baseline DFL methods, RTI, KRTI, and LDA. We show how MLL and HMML outperform all of the baseline methods at three different sites, how MLL and HMML robustly localize moving and stationary people, and how MLL and HMML adapt to changing environments. We then make intentional modifications to MLL and HMML and show how their localization performance is affected.
V-A DFL Method Comparison
In this paper, we perform many experiments at three different sites to show how MLL and HMML can accurately localize people in many settings. We show the median error, , for MLL, HMML, and the baseline DFL methods at the three sites in Fig. 10.
For all sites, MLL and HMML outperform or match the baseline methods in localization accuracy. At sites 3F and BL, where there were considerable changes to the environment, MLL and HMML reduce by or greater when compared to RTI and LDA. Since the environment changes often at site 3F, RTI and LDA’s empty room and fingerprint calibration methods become outdated, resulting in poor performance over time. When the environment does not change, like in the CR experiments, RTI and LDA’s localization performance closely matches MLL, HMML and KRTI. However, an unchanging environment, like at site CR, is not likely to exist in most applications.
In contrast, we observe that MLL reduces the median error by up to and HMML by up to compared to KRTI at the three sites. While this reduction in error seems small, it is important to recognize that it becomes more challenging to make significant reductions in error when the errors are already considerably low given the size of the site areas, the number of nodes deployed, and the spatial diversity of the nodes. Additionally, MLL and HMML have the advantage of localizing stationary people, a feature that is missing in KRTI and other online DFL methods.
V-B Tracking Stationary People Evaluation
One of the important features of both MLL and HMML is that they keep track of a stationary person. On the other hand, DFL methods that use online calibration only image motion, and so when a person is stationary, these DFL methods eventually lose track of the person. To evaluate each method’s ability to localize a stationary target, we show the missed detection and false alarm errors incurred by each method for the BL site in Fig. 11. We show just the results for the BL site since we deliberately included times when the person was stationary during the test.
HMML and MLL both achieve lower missed detection rates than LDA and KRTI by two orders of magnitude. A lower missed detection rate is desirable because it means that the method is better able to localize a stationary target. Interestingly, RTI achieved the lowest missed detection rate. However, it also suffered from a false alarm rate which is more than two times as great as MLL and HMML’s rate. Overall, MLL and HMML achieve the best missed detection rate without sacrificing on their false alarm rate.
We note that the false alarm rates for all five DFL methods are very high. One reason for this is because there were few samples when the person was not in the area of interest. As such, falsely detecting even a few of those samples as presence raised the false alarm rate. Had we collected more samples during which the space was vacant, we anticipate that the false alarm percentages would reduce significantly. A second reason why the false alarm rates are high in general for each DFL method is becuase we chose to weight the risk of loosing track of a stationary person higher than falsely detecting a person’s presence. We also desired to have a low localization error. Both of these factors influenced parameter selection and naturally increased the false alarm rate. However, we felt these design choices would be useful in elder care applications when it is more important to keep track of where a person is inside a space while allowing for some false alarms.
V-C Continuous Recalibration Evaluation
Another important feature of MLL and HMML is that it can robustly localize a person even in changing environments. DFL methods that perform an empty room or fingerprint training will gradually suffer in localization performance. As the environment changes, the empty room calibration measurements gradually diverge from those measurements recorded during training. We show an example of localization performance in changing environments in Fig. 12. The median error is shown for RTI, KRTI and HMML for each of the fifteen test experiments at site 3F. Again, MLL’s performance is similar to HMML, and we therefore did not want to clutter the figure by including MLL’s results. We exclude LDA’s results since its large errors make it difficult to see the differences between HMML and KRTI.
HMML, KRTI, and RTI perform equally as well for the first experiment since RTI’s empty room calibration measurements are current. With each successive experiment, intentional changes are made to the environment. As a result, RTI’s localization error increases, even doubling by experiment five. Without frequent empty room calibration, RTI is unable to provide a reliable location estimate. On the other hand, HMML, as well as KRTI, robustly localizes the person in spite of a changing environment. With the addition of LDA, these same observations can be seen in Fig. 13 which shows the median error for each of the seven test experiments at site BL.
V-D MPL Feature Evaluation
In this section, we intentionally modify parts of MLL and HMML to see how localization is affected. We make the following four modifications to HMML and MLL.
- •
First, we fix and for all links instead of estimating them. The values for and are set to achieve the lowest localization error. We call this modification FIXED. We perform this modification for both HMML and MLL.
- •
Second, we use the true location instead of to estimate and in the spatial model parameter estimation block in Fig. 1. We call this modification TRUE and make the modification for both MLL and HMML.
- •
Third, we ignore wall and entrance-exit information when creating the transition probabilities. We call this modification NO WALL but only apply this to HMML since MLL does not use transition probabilities.
The unmodified MLL and HMML we call BASELINE. Only one modification is made to MLL and HMML at a time. For each modification, we perform localization using the data from each site and show the results for MLL in Fig. 14 and for HMML in Fig. 15.
With the FIXED modification, we entirely eliminate the KRTI and parameter estimation blocks, as seen in Fig.1, from MPL. In their place, and are tuned by the user and, consequently, MLL and HMML are ready to run when the system starts. There is no need for any calibration. As seen in Fig. 15, setting all spatial parameters to be the same value for all links increases the median error for HMML by 7 cm at site 3F, reduces the error by 1 cm at site CR, and reduces the error by 9 cm at site BL when compared to BASELINE. From Fig. 14, we observe that setting all spatial parameters to be the same value for all links increases the median error for MLE by 4 cm at site 3F, 5 cm at site CR, and reduces the median error by 4 cm at site BL when compared to BASELINE.
Our first observation is that there are cases when performing a calibration for MLL and HMML actually lead to poorer performance than if a fixed set of parameters were applied. We suspect that there are environments where the estimated location provided by the KRTI block of MPL has a high error which leads to less accurate estimated system parameters. The convenience of the unsupervised calibration may be worth a slight loss in localization accuracy.
With the TRUE modification, we require the user to provide labelled RSS data with their true location during the training phase. We wish to see if having labelled training data would improve the estimation of the spatial parameters, and, in turn, improve localization. From Fig. 15 and Fig. 14, we observe that at all three sites, supplying labelled RSS data matches or decreases localization error for MLL and HMML when compared to BASELINE. The improvement to localization performance can be as great as 6 cm. The user may decide that the performance gains are too small to warrant having to provide labelled RSS data. However, the trade off is the additional computational overhead needed to run KRTI for the location estimates.
Finally, with the NO WALL modification, we eliminate the need for extra wall information to be entered into HMML prior to operation. From Fig. 15, we observe that the localization error increases at most by 0.1 cm and decreases by 2.5 cm when we ignore wall information. This suggests that there is really no significant loss or gain by including wall information into the transition probabilities. As a result, we can save in some overhead cost in computing the transition probabilities without risking loss in localization accuracy.
V-E Complexity and Feature Trade Offs
We have shown how MML and HMML achieve a lower localization error than other DFL methods and can do so in a changing environment and without an empty room or fingerprint calibration period. Other DFL methods do not share all of these same properties. The trade off, however, for using MLL and HMML over other DFL methods is the greater memory and computational complexity required to run them. In Table I, we compare the properties of MLL, HMML and other DFL methods, their calibration requirements, and their memory and computational complexity.
The table shows how each of the DFL methods we compare in this paper use different initial calibration methods. RTI requires a period of time when the area of interest is vacant while LDA requires fingerprint training. Empty room calibration and fingerprint training may be feasible, but for aging in place applications, these calibration methods would cause too much inconvenience by having to frequently recalibrate or retrain them. MPL, on the other hand, is calibrated by a person moving around the area of interest, which is likely something that the person would be doing anyway during the course of a day. The big difference between MPL and RTI and LDA is that MPL is able to achieve constant localization performance in changing environments whereas RTI and LDA cannot do so unless empty room calibration or labelled fingerprint training measurements are frequently performed.
In contrast, KRTI does not require any calibration and achieves constant performance in changing environments. The trade off is that KRTI and other online calibration DFL methods are unable to localize stationary people. Applications like home automation and assisted living are dependent on knowing where a person is, even when they are stationary. MPL is able to localize a stationary person, but the trade off is that MPL must be calibrated by having a person walk around in the area of interest. Unlike [6], this movement does not need to be labelled with location data. Additionally, we showed that by modifying MPL to use tuned values for and instead of estimating them, we would also classify MPL as requiring no calibration like KRTI.
A significant trade off to consider when using MLL or HMML are their relatively higher memory and computational complexity compared to other DFL methods. We observe that, compared to other DFL methods, HMML has an extra memory factor which is used to store the transition probabilities and an extra term in computational complexity which is needed to compute the forward algorithm. The greater memory and computational cost of HMML were used to add a temporal component to localization. We set out to see if the temporal properties of HMML would provide greater localization accuracy than MLL, but we did not observe those gains. HMML is therefore at a disadvantage when is increased when compared to any of the DFL methods we compared.
The alternative to HMML is MLL, which does not include the extra memory and computation like for HMML. We also saw in the previous sections that MLL often performed localization just as well as HMML. Since MLL ignores the temporal component that HMML embraces, it reduces the computational and memory cost by a nontrivial amount. One question to be asked though is, why doesn’t HMML benefit from the addition of transition probabilities? We note that both MLL and HMML use the likelihood probabilities in equation (3) which turn out to be values either very near 0 or very near 1 since is large for all of our experiments. Therefore, the transition probabilities play an insignificant role when inductively computing the joint probabilities . The localization results of MLL and HMML demonstrate that, at least in the experiments we performed, there is no clear advantage for including temporal properties into the localization problem by using HMML. In general, estimating with temporal properties is helpful since it smooths unlikely jumps in the location estimate. However, in the experiments we performed, the measurement dimension was so high that it resulted in likelihoods that overwhelmed any contribution the transition probabilities could make in HMML. Had this not been the case, and had we been able to sample more frequently, HMML may have been able to reduce the number of big jumps in the location estimate.
If we were to consider using another DFL method other than MLL, KRTI would be a smart choice. KRTI has no need of calibration and it is highly accurate. However, MLL, which only adds another of memory and of computation by comparison, buys the advantage to track stationary people while achieving similar localization performance. This advantage is an important feature to have when monitoring an aging, home-bound family member or patient and for enabling smart home features that depend on sensing presence.
VI Conclusion
In this paper, we have presented a new signal strength-based Bayesian device-free localization system called model-based localization (MPL) that can localize stationary people, does not require an empty room calibration period, and achieves constant localization performance in changing environments. We developed a new mixture model where the probability of a person occupying a location is a function of signal strength measurements from a wireless sensor network. Our mixture model allowed for uncertainty in the state of the link as a function of the person’s location. We developed two realizations of MPL including MLL and HMML which compute the probabilities of a person’s location based on the RSS measurements observed. MLL computes the likelihoods of observing RSS measurements given a person’s location while HMML computes the joint probabilities of observing RSS measurements given a person’s location using the forward algorithm of a hidden Markov model. We also developed a method to continuously recalibrate our model to a changing environment.
To validate the performance of MLL and HMML, we performed a series of experiments at three different sites and compute the localization error of MLL, HMML and three other DFL methods. We demonstrated that MLL and HMML outperform the baseline methods in terms of localization accuracy, that MLL and HMML are capable of localizing a stationary person when other baseline methods cannot, and that MLL and HMML achieves constant localization performance even when the environment changes. In addition, we demonstrated that the MLL can perform localization as well HMML but with a fraction of the memory and computational cost. For assisted living and home automation applications, MPL offers an important advantage of constant localization performance and tracking stationary people without significant costs in computational complexity, memory usage, or convenience.
Acknowledgment
This material is based upon work supported in part by the National Science Foundation under grant #1407949 and the Army Research Office under grant #69215CS.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Youssef, M. Mah, and A. Agrawala, “Challenges: Device-free passive localization for wireless environments,” in Proceedings of the 13th Annu. ACM Int. Conf. on Mobile Computing and Networking , ser. Mobi Com ’07, 2007, pp. 222–229.
- 2[2] J. Wilson and N. Patwari, “Radio tomographic imaging with wireless networks,” IEEE Trans. on Mobile Computing , vol. 9, no. 5, pp. 621–632, May 2010.
- 3[3] O. Kaltiokallio, M. Bocca, and N. Patwari, “Enhancing the accuracy of radio tomographic imaging using channel diversity,” in 2012 IEEE 9th Int Conf. on Mobile Ad-Hoc and Sensor Sys. (MASS 2012) , Oct 2012, pp. 254–262.
- 4[4] S. Savazzi, S. Sigg, M. Nicoli, V. Rampa, S. Kianoush, and U. Spagnolini, “Device-free radio vision for assisted living: Leveraging wireless channel quality information for human sensing,” IEEE Signal Processing Magazine , vol. 33, no. 2, pp. 45–58, March 2016.
- 5[5] S. Savazzi, M. Nicoli, F. Carminati, and M. Riva, “A bayesian approach to device-free localization: Modeling and experimental assessment,” IEEE Journal of Selected Topics in Signal Processing , vol. 8, no. 1, pp. 16–29, Feb 2014.
- 6[6] C. Xu, B. Firner, Y. Zhang, R. Howard, J. Li, and X. Lin, “Improving RF-based device-free passive localization in cluttered indoor environments through probabilistic classification methods,” in 2012 ACM/IEEE 11th Int. Conf. on Inform. Process. in Sensor Networks (IPSN) , April 2012, pp. 209–220.
- 7[7] J. Wilson and N. Patwari, “See-through walls: Motion tracking using variance-based radio tomography networks,” IEEE Trans. on Mobile Computing , vol. 10, no. 5, pp. 612–621, May 2011.
- 8[8] Y. Zhao, N. Patwari, J. M. Phillips, and S. Venkatasubramanian, “Radio tomographic imaging and tracking of stationary and moving people via kernel distance,” in 2013 ACM/IEEE Int Conf. on Inform. Process. in Sensor Networks (IPSN) , April 2013, pp. 229–240.
