Understanding when people have been near one another can help researchers study how infectious diseases spread. Digital traces from mobile devices offer a way to estimate these encounters and could support personalised exposure alerts. This research explores how smartphone sensors can detect proximity without needing to know each person's exact location.
A smartphone can act as a proxy for its owner when studying proximity. Its sensors record aspects of the surrounding environment, allowing us to investigate whether two devices were in the same place at the same time.
Our approaches compare time-stamped sensor readings from different phones. Similar readings can provide evidence of co-location, although they do not by themselves prove that the owners were close enough for infection to occur.
In 2014, we investigated the use of outdoor WiFi signals from public access points to identify encounters retrospectively. The method does not require a map or precise location coordinates. A key challenge is that different phones can report different signal strengths and available networks, even at the same position, because their antennas have different sensitivities. The video below demonstrates our matching-rate measure.
In 2017, we explored another source of evidence: the smartphone magnetometer. Metal structures, reinforced concrete and electrical wiring distort the Earth's magnetic field, creating distinctive patterns that vary from place to place, as shown in the figure.
Passengers travelling together experience similar sequences of these magnetic variations. Journeys between consecutive stops, sometimes lasting up to ten minutes, provide a window in which to compare their phones' readings and assess whether they are travelling together.