<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Interpersonal Proximity Detection Using RSSI-Based Techniques</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Fatemeh Mirzaei</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Roberto Manduchi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of California</institution>
          ,
          <addr-line>Santa Cruz, 1156 High St, Santa Cruz, CA 95064</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>2</volume>
      <issue>2021</issue>
      <fpage>0000</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>We present an experimental study assessing the ability of two RSSI-based methods at detecting interpersonal distances shorter than 1 meter or 2 meters. The first method uses the power received from the smartphone carried by another person, while the second one measures the disparity in the power received by the two smartphones from one or more fixed BLE beacons. Our results show that use of the RSSI disparity enables discrimination results that are as good or better than using the RSSI received from another smartphone.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Proximity detection</kwd>
        <kwd>interpersonal distance detection</kwd>
        <kwd>contact tracing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Interpersonal proximity detection techniques, once confined to applications such as crowd
monitoring [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and social interaction analysis [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], have received substantial recent attention
due to their potential for COVID-19 contagion tracing. Contact tracing may help understand
the genesis of a local outbreak of the disease, and could be used to warn subscribers about a
potential contagion event due to proximity with an infected person [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        The most common approach for interpersonal proximity detection relies on measurement of
the received signal (RSSI) from a radio source, such as a Wi-Fi transmitter [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] or a Bluetooth
Low Energy (BLE) beacon [
        <xref ref-type="bibr" rid="ref4 ref5 ref6 ref7 ref8">4, 5, 6, 7, 8</xref>
        ]. Since all modern smartphones contain a BLE transceiver,
this approach has enabled widespread adoption without the need for expensive external
infrastructure (e.g. cameras equipped with embedded computers for visual people tracking.) The
power of the received signal decreases quadratically with the distance  to the source, and thus
the received strength could, in principle, be used to estimate  when the emission power is
known. For example, the Exposure Notification (EN) API produced by Google and Apple [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
uses this mechanism to support contact tracing.
      </p>
      <p>
        A diferent approach to proximity detection is based on the disparity of a measured signal,
typically an electromagnetic field generated by a transmitted (e.g., a Wi-Fi [
        <xref ref-type="bibr" rid="ref10 ref11 ref12">10, 11, 12</xref>
        ] or BLE
[
        <xref ref-type="bibr" rid="ref13">13, 14</xref>
        ]), although magnetic field measurements have also been considered [ 15, 16]. When two
identical receivers are placed in the same or similar location, measurements are expected to
be similar (i.e., their disparity, as defined, for example, by the magnitude of their diference, is
expected to be small).
      </p>
      <p>
        In this article, we present an experimental comparative analysis of mechanisms that use
measurement disparity (of the RSSI from fixed BLE beacons) for proximity detection, viz-a-viz
the direct measurement of RSSI from another nearby smartphone. In particular, we address the
specific problem of detecting the presence of another individual within distance thresholds of
1 meter and of 2 meters, since these are the interpersonal distances usually considered when
establishing the risk of contagion [17, 18]. Unlike other work on proximity detection, where
traces of moving individuals are analyzed to identify possible overlaps, we consider the case in
which two individuals are standing or sitting at certain distance from each other for a period of
time. This is representative of typical contagion scenarios, such as sitting at nearby tables at a
restaurant, or in nearby seats in a bus vehicle. We focus solely on RSSI data here. Although data
from other sensors (e.g. inertial [
        <xref ref-type="bibr" rid="ref13">13, 14</xref>
        ]) can be leveraged to reduce false positives, we believe
that it is important to precisely assess the contribution of each modality.
      </p>
      <p>These are the principal contributions of our work:
1. We collected representative data sets from two diferent environments: a living room,
instrumented with three BLE beacons, and a campus shuttle bus with four BLE beacons. Within
each environment, multiple data collection sessions separated by long periods of time were
conducted in order to assess repeatability.
2. We present an in-depth statistical analysis of the data collected, and of its ability to discriminate
interpersonal distance using a threshold of 1 meter and of 2 meters.
3. We compare the system performance using diferent features (including RSSI from another
phone, individual and average RSSI disparities from multiple BLE beacons), as well as of a
simple additive combination of RSSI received from another phone and of mean RSSI disparity.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Two approaches for contact tracing systems have been proposed in literature. 1) Network-based
sensing approach that requires no client-side involvement and uses WiFi infrastructure to
passively monitor the flow and mobility of people in a region equipped with WiFi Access Points
(AP). WiFi networks log the connections of mobile devices to APs and infers crowd movement
patterns across a region along with occupancy levels in diferent buildings by analyzing the
number of smartphones connecting to each AP [
        <xref ref-type="bibr" rid="ref1 ref10">19, 1, 20, 10</xref>
        ]. However, there are some issues
associated with network-based systems. First, one generally has no control on the actual
density of AP placements that results in lack of coverage for some areas of interest. Second,
the long range coverage of WiFi APs are not helpful for contact tracing purposes when higher
positional resolution is required [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Lohan et al.[21] reported that the short operating range
technologies such as BLE typically provides better performance than WiFi positioning in terms of
the estimated distance/ranging error. 2) Client-based sensing that requires users to install an app
and uses smartphone sensors and BLE data to perform sensing measurements. BLE technology
is well justified to be used in contact tracing systems due to its availability on most smartphones,
low cost, and energy eficient [ 22]. In the context of social interaction measurement previous
studies [
        <xref ref-type="bibr" rid="ref13 ref4 ref6">13, 23, 6, 4</xref>
        ] used Bluetooth RSSI either from smartphones or wearable sensors (such as
smartwatches or coin beacons) by mapping RSSI to distance via propagation model. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and [22]
employed wearable devices to simulate smartphone BLE measurements in order to circumvent
the iOS limitations in BLE scanning when the app is in background mode.
      </p>
      <p>
        In principle, it could be possible to use power decay models (a.k.a. propagation models)
[24, 25] to estimate the interpersonal distance from the measured RSSI received from the other
device. However, in practice, this is extremely challenging [26] due to issues such as multipath
fading – an efect of signal reflection from nearby surfaces, time dependent signal power
variations, and diversity of smartphones/environment in the contact tracing context. Power
decay models require calibration for each environment to identify a path loss coeficient for
each device. This is not practical in contact tracing systems. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] studied face-to-face proximity
estimation using power decay models based on Bluetooth in smartphones. They showed that
even in ideal situations (indoors, same antenna orientation), the RSSI signals measured within
1.5 meters to 3.5 meters are practically indistinguishable.
      </p>
      <p>Some studies proposed learning the power decay model parameters using deep learning
models to improve the interpersonal distance estimation. Shankar et al.[14] used BLE RSSI,
IMU data, magnetic field intensity measurements and compared multiple deep learning models
such as Conv 1d , support vector machines, and decision tree-based algorithms. They observed
lack of generalization of the models trained on the MITRE dataset [27] when tested against the
National Institute of Standards and Technology (NIST) dataset [28]. The disadvantage of these
models are data ineficiency, high computational costs, and hence higher power consumption.</p>
      <p>
        [
        <xref ref-type="bibr" rid="ref11 ref13">29, 30, 11, 13</xref>
        ] combined diferent modalities such as Ultrasound, Radio-frequency
identification (RFID), Quick Response (QR) codes, short range Wifi APs, and external BLE beacons to
improve the accuracy of the inter-personal distance detection. Along the same lines, Shankar et
al. and Trivedi et al.[14, 19] leveraged BLE beacons, WiFi, and Ultrasound co-location
technologies, but in the context of social interaction detection.
      </p>
      <p>To the best of our knowledge no one has studied the use of external beacons along with
smartphone BLE RSSI data in the context of interpersonal distance estimation for contact tracing
purposes in a bus. Leith et al.[31] ran experiments on a commuter bus and analysed the phone
BLE signals provide by EN API. They observed that increasing the exposure duration improves
the accuracy of their model at the cost of reducing the time resolution of the distance detection
system. They hypothesised that the sample rate provided by EN API is not suficient for a
practical interpersonal distance detection in the bus where the signal propagation is under the
influence of disturbances that arise from metal-rich environments. Hence, further studying the
problem in this challenging environment by considering higher phone BLE sample rates as well
as combining that with other modalities such as external BLE beacons will get us closer to a
practical solution.
3. Interpersonal Proximity Detection Techniques
In our experiment, we considered two approaches to interpersonal proximity detection. Phone
RSSI uses the strength of the BLE signal received from another persons’ smartphone. RSSI
disparity compares the signal strength received at the same time and from the same BLE beacon
by the smartphone carried by two individuals.</p>
      <sec id="sec-2-1">
        <title>3.1. Phone RSSI</title>
        <p>
          In principle, one could use power decay models to measure the distance to a transmitter from
the measured RSSI [24, 25]. For example, a distance–dependent threshold could be devised as
a function of the transmitter’s characteristics. In practice multiple factors (including signal
absorption from human bodies, reflection from walls and other obstacles and the orientation of
the receiving antenna) cause substantial deviations from the model. This especially the case for
indoor environments [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ].
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>3.2. RSSI Disparity</title>
        <p>
          BLE beacons are often installed in public spaces such as airports and shopping malls, for
applications such as mobile advertising or to enable self-localization [32, 33, 34]. This existing
infrastructure can be leveraged for proximity detection. One approach could be to use the RSSI
from multiple beacons to localize the user via fingerprinting techniques [ 35, 36, 37, 38, 39], then
using this data to verify whether two users where in nearby locations at the same time. However,
ifngerprinting information is not normally available, and accuracy of localization may be poor.
A simpler approach can be used based on the notion that if two persons are co-located, the
power received from a beacon should be similar for both users [
          <xref ref-type="bibr" rid="ref10 ref11 ref12">10, 11, 12</xref>
          ]. Thus, by comparing
the RSSI from multiple beacons for two (or more) users, one could devise a disparity index that
measures the pairwise diference in received RSSI. This disparity index could be associated with
the likelihood of these individuals being within a certain distance to each other.
        </p>
        <p>It is important to note, though, that a small value of disparity does not necessarily mean that
the individuals are co-located. Ambiguity may arise when the same signal power is measured
in diferent locations. In order to illustrate how this can happen, consider the ideal case of
isotropic signal loss, whereby the measured signal power is only a function of the distance to
the beacon. Two diferent locations may result in the same measured power from a beacon
when they are at the same distance to the beacon. In the case of a single beacon, all locations
within the same circle around the beacon are ambiguous (Fig.1 (a)). Ambiguity can be reduced
or eliminated by using more beacons. In the case of two beacons, for a given the location of
one person, there is exactly one other location from which the same signal strength is received
(i.e., that is whose distance to each beacon is the same as for the first person; Fig.1 (b)). Using
more beacons, the ambiguity is resolved (i.e., two persons in diferent locations will receive a
diferent signal strength from at least one beacon; Fig.1 (c)), unless the beacons’ locations are
collinear (Fig.1 (d)). In practice, the relationship between distance to a beacon and received
signal strength is afected by the same factors mentioned in Sec. 3.1, which may contributes to
the inherent ambiguity of this method for proximity detection.</p>
        <p>
          In our experiments, we use as disparity index the absolute value of the diference  =
| (1)−  (2)| of the received strength from the -the beacon by the two smartphones.
In the case of signal received from multiple beacons, we simply consider a one-dimensional
feature formed by the average value the individual disparity (akin to the Manhattan distance
considered in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]). This is a reasonable choice, considering that all individual disparity values
(and thus their mean) are expected to be small at small interpersonal distances. Other choices
(e.g., taking the max value of the disparities) did not give good results in our preliminary tests.
(a)
(c)
(b)
(d)
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>4. Experiments</title>
      <sec id="sec-3-1">
        <title>4.1. A Toy Case: Instrumented Living Room</title>
        <p>In order to evaluate the considered proximity detection techniques in a simple, controlled
scenario, we instrumented a living room with three BLE beacons (Kontakt Tough Beacon
TB15-1) configured as iBeacons and set to the power level 2 (RSSI of -81 dBm at 1 meter) and
advertisement interval of 350 ms. The beacons were placed at a height of 2.5 meters, at the
locations shown in Fig. 2. One iPhone 7 and one iPhone 8 were used in the study. An app was
installed in each phone, designed to record time stamped RSSI data from the other phone’s
BLE beacons, as well as from the external BLE beacons. Phone RSSI and BLE beacons reading
rate were 40 and 3 samples per second respectively. We scanned Phone RSSI and BLE beacons
measurements using Core Bluetooth and Core Location frameworks respectively. Data was
collected while two experimenters, carrying one iPhone each, stood at diferent locations as
shown in Fig.2, with interpersonal distance of 1, 2, 3, and 4 meters. For each location pair, the
experimenters first collected data for two minutes while holding the smartphones in their hand;
then they placed their iPhones in their front pants pocket and collected data for two more
minutes. The experimenters faced each other at all times. This data collection was repeated
three times: in May of 2020 (Set 1), in December of 2020 (Set 2), and in April of 2021 (Set 3). Data
sets from each location pair and each phone placement were compiled together into a single
sequence (Combined set).</p>
        <p>The data collected at each location pair and for each phone placement was pre-processed
as following. Missing RSSI measurements were replaced with a small value (-100 dBm). The
resulting sequence was run through median filter of length 15, in order to reduce the variance
of noise.</p>
        <p>In order to analyze the statistical characteristics of the various indicators considered, we
plotted the probability density function (pdf) of the associated measurements conditioned on
the interpersonal distance in Figs. 3–4 (Combined set). We used Matlab’s ksdensity function
to generate these plots. In the case of the Phone RSSI indicator, one would expect the mode
of the conditional pdf to move leftwards (smaller RSSI values) for larger distances. From the
plots in Fig. 3, it can be seen that the distributions of the Phone RSSI indicator at each distance
are actually multimodal. As expected, the distributions allocate more mass towards lower RSSI
values as the interpersonal distance increases, although a large overlap can be noticed for the
pdf conditioned on distances of 2 and 3 meters.</p>
        <p>In the case of individual RSSI disparity indices (Fig. 4), one can notice that the conditional pdf
are relatively narrow and centered around small values for distances of 1 and 2 meters, while
20
25
20
25
20
25
20
25
they become broader (larger variance) for distances of 3 and 4 meters. Indeed, only the disparity
from Beacon 2 appears to be useful for discrimination between distances of 1 and 2 meters. The
mean RSSI disparity index reflects this overall behavior, with the pdf conditioned on distances
at 1 and 2 meters fairly well separated from those at 3 and 4 meters.</p>
        <p>Given that both the phone RSSI index and the RSSI disparity index have distributions that
correlate, to some extent, with interpersonal distances, it can be of interest to analyze the joint
statistics of these two features. Specifically, we consider the vector formed by phone RSSI and
mean RSSI disparity, and study how the distribution of this vector conditioned on distances
larger or smaller than a given threshold 0. Fig. 5 displays the logarithm of the ratio of the
joint pdf of this vector, conditioned on  ≤ 0 and on  &gt; 0, respectively with 0 equal
to 1 or 2 meters. Region with large positive or negative values of this quantity indicate good
discriminability. These figures suggest that discrimination using individual indicators may
be challenging, and that a 2-D classifier with non-separable boundaries may be called for. In
this study, we considered a very simple linear classifier that assigns equal weights to the two
features. In other words, this classifier applies a threshold to an index equal to the mean RSSI
disparity minus the phone RSSI index (indicated as Phone + RSSI disp. in the figures). Large
values of this index are likely to indicate large interpersonal distance.</p>
        <p>ROC curves (plotting true positive rate, TPR, against false positive rate, FPR) are shown in
)
m
B15
d
(
.
p
s
iId10
S
S
R
n5
a
e
M
0
)16
m
B14
d
(
.12
p
s
id10
IS8
S
nR6
a
e4
M
2
0
-80
-75
-50</p>
        <p>-45
-70 -65 -60 -55</p>
        <p>Phone RSSI (dBm)
Log likelihood ratio - Distance threshold = 2 m</p>
        <p>Fig. 6. Each curve is obtained by varying a threshold on the considered measurements, where
a value larger than the thresholds (or smaller, in the case of phone RSSI) indicates a distance
 &gt; 0, for 0 equal to 1 or 2 meters. The values of the area under the curve (AUC) for the
relevant features are shown in Tab. 3, 4.</p>
        <p>From Fig. 6, it is seen that the mean RSSI disparity performs better than individual RSSI
disparities, at least for small values of FPR. The mean RSSI disparity index proved largely
superior to the phone RSSI index in terms of distance discrimination for this data set. Depending
on the distance threshold, the best results (in terms of AUC) are obtained by either by the mean
RSSI disparity or by the phone+RSSI disparity feature. The efect of the distance threshold
0 was relatively minor, with the best value at 0= 1 meter obtained with the phone + RSSI
disparity feature (AUC=0.86), and the best value at 0= 2 meter obtained with the mean RSSI
disparity feature (AUC=0.886).</p>
        <p>It is important to note that we observed a large variance across data sets, even though all
three data sets were acquired using similar modalities. For example, as shown in Tab. 4, data
from Set 1 gave substantially worse discrimination results than for the other sets, especially
when the distance threshold was set to 0= 2 meters.
Phone RSSI
RSSI disp. B1
RSSI disp. B2
RSSI disp. B3
Mean RSSI disp.</p>
        <p>Phone + RSSI disp.
00 0.1 0.2 0.3 0.4 F0P.5R 0.6 0.7 0.8 0.9 1
Phone RSSI
RSSI disp. B1
RSSI disp. B2
RSSI disp. B3
Mean RSSI disp.</p>
        <p>Phone + RSSI disp.
00 0.1 0.2 0.3 0.4 F0P.5R 0.6 0.7 0.8 0.9 1</p>
      </sec>
      <sec id="sec-3-2">
        <title>4.2. A Realistic Case: Campus Shuttle Bus</title>
        <p>Public transit is arguably one of the most appealing application scenarios for proximity detection.
Social distancing may be dificult to observe inside a bus vehicle or a train car, which calls
for mitigation measures based, among other things, on contact tracing. In addition, proximity
measurements may be used to generate a crowdedness index, which could be broadcast to
passengers waiting at bus stops or train stations. Passengers can then decide whether to board
that bus vehicle or wait for the next one, or board a less crowded train car.</p>
        <p>In order to evaluate the diferent considered features for proximity detection, we instrumented
a bus shuttle vehicle in our campus with four BLE beacons, of the same type and with the
same advertisement rate as in the previous case (see Fig. 7). Signal propagation is known to
be complex in buses due to the existence of a strong radio signal reflector such as metal [ 31].
We conducted two data collection exercises, the first with the Power level of the beacons set
to 1 (October 2020), the second, with power level set to 2 (February 2020). Power level is the
strength of the signal that a beacon broadcasts. Signal strength (RSSI) is in decibels relative to
a milliwatt (dBm). The maximum power that is available in iBeacons is 7 (4 dBm) that can be
ranged up to 70 m. We set the power level to 1 (-20 dBm) and 2 (-16 dBm) that can be ranged
approximately up to 4 m and 10 m. Note that while a higher emission power enables longer
transmission distances, it also reduces the life time of a battery-operated beacon. With default
power settings (power level equal to 3 or -20 dBM and advertisement interval set to 350 )
the battery can last up to 2 years. Two experimenters used an iPhone 7 and an iPhone 8 for
data collection from the sequence of seat pairs described in Tab. 1 and 2. Note that these sets
contain a larger variety of interpersonal distances than for the Home data set, and that data for
the same distance could come from multiple location pairs.</p>
        <p>For each seat pair, both experimenters first collected data for two minutes while holding their
phone in their hand, then for two minutes while keeping their phone in their front pants pocket.
Data was collected while the vehicle was driven along its route, with passengers occasionally
boarding and leaving the bus. At most three passengers were in the bus at the same time during
data collection (note that, due to social distancing restrictions, at most six passengers were
allowed in the vehicle at the same time.)</p>
        <p>The log ratio of the joint pdf of the vector formed by phone RSSI and mean RSSI disparity,
conditioned on distances larger and smaller, respectively, of a threshold 0, are shown shown
in Fig. 8 for 0=1 meter and 2 meters. As in the Home data collection case, we compiled data at
identical interpersonal distance into the same set (Combined). We should note that, unlike the
House data collection, various occluding surfaces (such as the backs of the vehicle seats) afected
signal transmission even for small interpersonal distances (except when the participants were
sitting next to each other.) This may be one of the reasons for the broad distribution of the
phone RSSI values when  ≤ 0 (ranging from -80 dBm to -35 dBm).</p>
        <p>ROC curves for the considered features are shown in Fig. 9 for the Combined set and 0=1
meter and 2 meters. AUC values for the individuals sets (at diferent BLE power level) as well for
the combined case are shown in Tab. 5 and 6. Performances were substantially inferior to the
those obtained with the Home data set, especially for 0 = 1 meter. In all cases, the best results
were seen using either mean RSSI disparity, or the phone + RSSI disparity feature. However, the
improvement with respect to the phone RSSI was relatively marginal.</p>
        <p>As in the case of the Home data collection, we observed a large variation of performance
using phone RSSI for the two individual sets at diferent BLE power levels. This is somewhat
bafling, considering that the BLE power from the beacons level should not afect the received
RSSI from another phone. It may be that other uncontrolled factors (e.g., the presence of other
passengers) may have contributed to this discrepancy. Interestingly, better results were obtained
for the mean RSSI disparity feature using power level 1 than for power level 2 (see also the
ROCs shown in Fig. 10.)</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>5. Discussion and Conclusions</title>
      <p>We have presented a comparative analysis of RSSI–based techniques for proximity detection
in diferent environments. Our goal was to assess how well diferent types of measurements</p>
      <p>Seat pairs
(4, 3), (7a, 8), (19b, 19a), (18, 19a)</p>
      <p>(4, 2)
(7a, 19a), (4, 21)
(4, 20a), (4, 25), (5a, 19a)
(7a, 15)
(4, 19a)
Distance (m)
)
15
m
B
d
.(
p
is10
d
I
S
S
R5
n
a
e
M0
-80
-75
-40</p>
      <p>-35
-70 -65 -60 -55 -50 -45</p>
      <p>Phone RSSI (dBm)
Log likelihood ratio - Distance threshold = 2 m
(namely, direct RSSI measurement from another user’s phone, and disparity of RSSI signals
received from multiple BLE beacons) can discriminate between interpersonal distances of 1
meter and 2 meters. The results show that the mean RSSI disparity index performs as well or
better than the direct phone RSSI index for these tasks, and that a simple combination of the
two indices often produces the best results.</p>
      <p>While our experimental setups were efective for data collection (and, in the case of the
Shuttle data set, representative of real-world conditions), our study has a number of limitations.
Power level 1</p>
      <p>Power level 2
00 0.1 0.2 0.3 0.4 F0P.5R 0.6 0.7 0.8 0.9 1
Power level 1</p>
      <p>
        Power level 2
00 0.1 0.2 0.3 0.4 F0P.5R 0.6 0.7 0.8 0.9 1
We only used two models of one smartphone brand (iPhone). It is well known [40] that diferent
smartphones have diferent characteristics in terms of the received signals from a BLE beacon,
and a more exhaustive study with multiple smartphone brands would be necessary before
these results can be generalized. Our “toy case" of an instrumented living room may not be
representative of a more complex and crowded environment such as a shopping mall or an
ofice building. It is likely that diferent BLE beacon placements would result in widely diferent
performances, and we plan to experiment with diferent placement layouts in the future. Only
few passengers were present during the study, and we are planning for a more extensive data
gathering once social distancing rules are relaxed and more students will be using our campus
transportation system. The use of more sophisticated mechanisms than the linear classifier
used in our tests (see e.g. [
        <xref ref-type="bibr" rid="ref13">20, 13</xref>
        ]) could be considered, provided that enough data is collected
to enable good generalization.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This material is based upon work supported by the National Science Foundation under Grant
No. NSF IIP-1632158. Any opinions, findings, and conclusions or recommendations expressed in
this material are those of the author(s) and do not necessarily reflect the views of the National
Science Foundation.
the crowd: Detecting social interactions using multi-modal mobile sensing, in: Proceedings
of the 1st Workshop on Machine Learning on Edge in Sensor Systems, 2019, pp. 37–42.
[14] S. Shankar, R. Kanaparti, A. Chopra, R. Sukumaran, P. Patwa, M. Kang, A. Singh, K. P.</p>
      <p>McPherson, R. Raskar, Proximity sensing: Modeling and understanding noisy
RSSIBLE signals and other mobile sensor data for digital contact tracing, arXiv preprint
arXiv:2009.04991 (2020).
[15] S. Jeong, S. Kuk, H. Kim, A smartphone magnetometer-based diagnostic test for automatic
contact tracing in infectious disease epidemics, IEEE Access 7 (2019) 20734–20747.
[16] S. Kuk, Y. Jeon, H. Kim, Detecting outdoor coexistence as a proxy of infectious contact
through magnetometer traces, Electronics Letters 53 (2017) 1293–1294.
[17] N. R. Jones, Z. U. Qureshi, R. J. Temple, J. P. Larwood, T. Greenhalgh, L. Bourouiba, Two
metres or one: what is the evidence for physical distancing in COVID-19?, bmj 370 (2020).
[18] P. Bahl, C. Doolan, C. De Silva, A. A. Chughtai, L. Bourouiba, C. R. MacIntyre, Airborne
or droplet precautions for health workers treating COVID-19?, The Journal of infectious
diseases (2020).
[19] A. Trivedi, C. Zakaria, R. Balan, A. Becker, G. Corey, P. Shenoy, WiFiTrace: Network-based
contact tracing for infectious diseases using passive WiFi sensing, Proceedings of the
ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies 5 (2021) 1–26.
[20] M. Dmitrienko, A. Singh, P. Erichsen, R. Raskar, Proximity inference with WiFi-colocation
during the COVID-19 pandemic, arXiv preprint arXiv:2009.12699 (2020).
[21] E. S. Lohan, J. Talvitie, P. F. e Silva, H. Nurminen, S. Ali-Löytty, R. Piché, Received signal
strength models for WLAN and BLE-based indoor positioning in multi-floor buildings, in:
2015 International Conference on Localization and GNSS (ICL-GNSS), IEEE, 2015, pp. 1–6.
[22] M. Cunche, A. Boutet, C. Castelluccia, C. Lauradoux, D. Le Métayer, V. Roca, On using
Bluetooth-Low-Energy for contact tracing, Ph.D. thesis, Inria Grenoble Rhône-Alpes; INSA
de Lyon, 2020.
[23] A. Montanari, S. Nawaz, C. Mascolo, K. Sailer, A study of Bluetooth Low Energy
performance for human proximity detection in the workplace, in: 2017 IEEE International
Conference on Pervasive Computing and Communications (PerCom), IEEE, 2017, pp.
90–99.
[24] Y. Gwon, R. Jain, Error characteristics and calibration-free techniques for wireless
lanbased location estimation, in: Proceedings of the second international workshop on
Mobility management &amp; wireless access protocols, ACM, 2004, pp. 2–9.
[25] K. Chintalapudi, A. Padmanabha Iyer, V. N. Padmanabhan, Indoor localization without
the pain, in: Proceedings of the sixteenth annual international conference on Mobile
computing and networking, ACM, 2010, pp. 173–184.
[26] J. Paek, J. Ko, H. Shin, A measurement study of BLE iBeacon and geometric adjustment
scheme for indoor location-based mobile applications, Mobile Information Systems 2016
(2016).
[27] M. L. . Laboratory, Structured contact tracing protocol, 2020. URL: https://mitll.github.io/</p>
      <p>PACT/files/Structured%20Contact%20Tracing%20Protocol,%20V.%202.0%20(1.5).pdf.
[28] N. . TC4TL, NIST pilot too close for too long (tc4tl) challenge evaluation plan, 2020.</p>
      <p>URL: https://www.nist.gov/system/files/documents/2020/07/01/2020_NIST_Pilot_TC4TL_
Challenge_Evaluation_Plan_v1p3.pdf/.
[29] S. Sareen, S. K. Sood, S. K. Gupta, IoT-based cloud framework to control Ebola virus
outbreak, Journal of Ambient Intelligence and Humanized Computing 9 (2018) 459–476.
[30] I. Nakamoto, S. Wang, Y. Guo, W. Zhuang, A QR Code–Based contact tracing framework
for sustainable containment of COVID-19: Evaluation of an approach to assist the return
to normal activity, JMIR mHealth and uHealth 8 (2020) e22321.
[31] D. J. Leith, S. Farrell, Measurement-based evaluation of Google/Apple exposure notification</p>
      <p>API for proximity detection in a commuter bus, Plos one 16 (2021) e0250826.
[32] D. Sato, U. Oh, J. Guerreiro, D. Ahmetovic, K. Naito, H. Takagi, K. M. Kitani, C. Asakawa,
Navcog3 in the wild: Large-scale blind indoor navigation assistant with semantic features,
ACM Transactions on Accessible Computing (TACCESS) 12 (2019) 1–30.
[33] M. Murata, D. Ahmetovic, D. Sato, H. Takagi, K. M. Kitani, C. Asakawa,
Smartphonebased indoor localization for blind navigation across building complexes, in: 2018 IEEE
International Conference on Pervasive Computing and Communications (PerCom), IEEE,
2018, pp. 1–10.
[34] F. Zafari, I. Papapanagiotou, M. Devetsikiotis, T. Hacker, An iBeacon based proximity and
indoor localization system, arXiv preprint arXiv:1703.07876 (2017).
[35] R. Faragher, R. Harle, Location fingerprinting with Bluetooth low energy beacons, IEEE
journal on Selected Areas in Communications 33 (2015) 2418–2428.
[36] S. Hilsenbeck, D. Bobkov, G. Schroth, R. Huitl, E. Steinbach, Graph-based data fusion of
pedometer and WiFi measurements for mobile indoor positioning, in: Proceedings of the
2014 ACM international joint conference on pervasive and ubiquitous computing, ACM,
2014, pp. 147–158.
[37] P. Bahl, V. N. Padmanabhan, Radar: An in-building RF-based user location and tracking
system, in: Proceedings IEEE INFOCOM 2000. Conference on computer communications.
Nineteenth annual joint conference of the IEEE computer and communications societies
(Cat. No. 00CH37064), volume 2, IEEE, 2000, pp. 775–784.
[38] B. F. D. Hähnel, D. Fox, Gaussian processes for signal strength-based location estimation,
in: Proceeding of robotics: science and systems, 2006.
[39] T. Roos, P. Myllymäki, H. Tirri, P. Misikangas, J. Sievänen, A probabilistic approach to
wlan user location estimation, International Journal of Wireless Information Networks 9
(2002) 155–164.
[40] C. Gentner, D. Günther, P. H. Kindt, Identifying the BLE advertising channel for reliable
distance estimation on smartphones, arXiv preprint arXiv:2006.09099 (2020).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Zakaria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Trivedi</surname>
          </string-name>
          , E. Cecchet,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Shenoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Balan</surname>
          </string-name>
          ,
          <article-title>Analyzing the impact of COVID-19 control policies on campus occupancy and mobility via passive WiFi sensing</article-title>
          , arXiv preprint arXiv:
          <year>2005</year>
          .
          <volume>12050</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.</given-names>
            <surname>Osmani</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Carreras</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Matic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Saar</surname>
          </string-name>
          ,
          <article-title>An analysis of distance estimation to detect proximity in social interactions</article-title>
          ,
          <source>Journal of Ambient Intelligence and Humanized Computing</source>
          <volume>5</volume>
          (
          <year>2014</year>
          )
          <fpage>297</fpage>
          -
          <lpage>306</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>W. J.</given-names>
            <surname>Bradshaw</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Alley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Huggins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. L.</given-names>
            <surname>Lloyd</surname>
          </string-name>
          ,
          <string-name>
            <surname>K. M. Esvelt</surname>
          </string-name>
          ,
          <article-title>Bidirectional contact tracing could dramatically improve COVID-19 control</article-title>
          ,
          <source>Nature communications 12</source>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>9</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Striegel</surname>
          </string-name>
          ,
          <article-title>Face-to-face proximity estimationusing Bluetooth on smartphones</article-title>
          ,
          <source>IEEE Transactions on Mobile Computing</source>
          <volume>13</volume>
          (
          <year>2013</year>
          )
          <fpage>811</fpage>
          -
          <lpage>823</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Katevas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Haddadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Tokarchuk</surname>
          </string-name>
          , R. G. Clegg,
          <article-title>Detecting group formations using iBeacon technology</article-title>
          ,
          <source>in: Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing: Adjunct</source>
          ,
          <year>2016</year>
          , pp.
          <fpage>742</fpage>
          -
          <lpage>752</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>N.</given-names>
            <surname>Palaghias</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Hoseinitabatabaei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gluhak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Moessner</surname>
          </string-name>
          ,
          <article-title>Accurate detection of real-world social interactions with smartphones</article-title>
          ,
          <source>in: 2015 IEEE International Conference on Communications (ICC)</source>
          , IEEE,
          <year>2015</year>
          , pp.
          <fpage>579</fpage>
          -
          <lpage>585</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Leith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Farrell</surname>
          </string-name>
          ,
          <article-title>Coronavirus contact tracing: Evaluating the potential of using Bluetooth received signal strength for proximity detection</article-title>
          ,
          <source>ACM SIGCOMM Computer Communication Review</source>
          <volume>50</volume>
          (
          <year>2020</year>
          )
          <fpage>66</fpage>
          -
          <lpage>74</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Pahlavan</surname>
          </string-name>
          , E. Agu,
          <article-title>Performance evaluation of COVID-19 proximity detection using Bluetooth le signal</article-title>
          ,
          <source>IEEE Access 9</source>
          (
          <year>2021</year>
          )
          <fpage>38891</fpage>
          -
          <lpage>38906</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Google</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2020</year>
          ., Exposure notification: Bluetooth specification,
          <year>2020</year>
          . URL: https://blog. google/documents/70/Exposure_Notification_-_
          <source>Bluetooth_Specification_v1.2</source>
          .2.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>P.</given-names>
            <surname>Sapiezynski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Stopczynski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. K.</given-names>
            <surname>Wind</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Leskovec</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lehmann</surname>
          </string-name>
          ,
          <article-title>Inferring personto-person proximity using WiFi signals</article-title>
          ,
          <source>Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies</source>
          <volume>1</volume>
          (
          <year>2017</year>
          )
          <fpage>1</fpage>
          -
          <lpage>20</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>T.</given-names>
            <surname>Altuwaiyan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hadian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Liang</surname>
          </string-name>
          ,
          <article-title>Epic: eficient privacy-preserving contact tracing for infection detection</article-title>
          ,
          <source>in: 2018 IEEE International Conference on Communications (ICC)</source>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Das</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chatterjee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chakraborty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Mitra</surname>
          </string-name>
          ,
          <article-title>An unsupervised model for detecting passively encountering groups from WiFi signals</article-title>
          ,
          <source>in: 2018 IEEE Global Communications Conference (GLOBECOM)</source>
          , IEEE,
          <year>2018</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>7</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>K.</given-names>
            <surname>Katevas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Hänsel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Clegg</surname>
          </string-name>
          , I. Leontiadis,
          <string-name>
            <given-names>H.</given-names>
            <surname>Haddadi</surname>
          </string-name>
          , L. Tokarchuk, Finding Dory in
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>