DeepMEND relies on the same input as traditional Voronoi decompositions, but provides a richer and more accurate rendering of where users are located. For more details, please refer to our paper 'DeepMEND: Reliable and Scalable Network Metadata Geolocation from Base Station Positions' published in IEEE Communications Society Conference on Sensor and Ad Hoc Communications and Networks (SECON) 2024 Conference proceeding. The author version is available at https://dspace.networks.imdea.org/handle/20.500.12761/1868.
Metadata geolocation, i.e., mapping information collected at a cellular Base Station (BS) to the geographical area it covers, is a central operation in the production of statistics from mobile network measurements. This task requires modeling the probability that a device attached to a BS is at a specific location, and is presently addressed with simplistic approximations based on Voronoi tessellations. As we show, Voronoi cells exhibit poor accuracy compared to real-world geolocation data, which can, in turn, reduce the reliability of research results. We propose a new approach for data-driven metadata geolocation based on a teacher-student paradigm that combines probabilistic inference and deep learning. Our DeepMEND model: (i) only needs BS positions as input, exactly like Voronoi tessellations; (ii) pro-duces geolocation maps that are 56% and 33% more accurate than legacy Voronoi and their state-of-the-art VoronoiBoost calibration, respectively; and, (iii) generates geolocation data for thousands of BSs in minutes. We assess its accuracy against real-world multi-city geolocation data of 5, 947 BSs provided by a network operator, and demonstrate the impact of its enhanced metadata geolocation on two applications use cases.
Some of the studies that rely on Voronoi tessellation includes:
- Second-level Digital Divide: A Longitudinal Study of Mobile Traffic Consumption Imbalance in France.
- News or social media? Socio-economic divide of mobile service consumption.
- Impact of Later-Stages COVID-19 Response Measures on Spatiotemporal Mobile Service Usage.
- Jane Jacobs in the Sky: Predicting Urban Vitality with Open Satellite Data.
- On the estimation of spatial density from mobile network operator data.
- COVID-19 Flow-Maps an open geographic information system on COVID-19 and human mobility for Spain.
- Detecting Areas of Potential High Prevalence of Chagas in Argentina.
- Inferring dynamic origin-destination flows by transport mode using mobile phone data.
- Joint spatial and temporal classification of mobile traffic demands.
- The Death and Life of Great Italian Cities: A Mobile Phone Data Perspective.
- Linking Users Across Domains with Location Data: Theory and Validation.
- Understanding individual human mobility patterns.
In fact, and as we show in our work, Voronoi cells exhibit poor accuracy when compared to real-word diffusion data, and their use can curb the reliability of research results. Motivated by this observation, we propose a new approach to data-driven coverage modelling based on a teacher-student paradigm that combines probabilistic inference and deep learning. Our solution is
- Expedient, as it solely relies on BS positions exactly like legacy Voronoi tessellation,
- Credible, as it yields a 51% improvement in the coverage quality over Voronoi,
- Scalable, as it can produce coverage data for thousands of BSs in minutes.
Our framework lets any researcher immediately and substantially improve the spatial mapping of mobile network metadata, and is aptly named DeepMEND.
The following figure shows some predictions of DeepMEND. The left column shows real-word diffusion data, the middle column the Voronoi tessellation, and the right column shows the DeepMEND approach.
Operator coverage | Voronoi | DeepMEND |
---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Clone this repository and install the requirements:
# clone the repository
git clone https://github.com/nds-group/DeepMEND.git
# go to the DeepMEND folder
cd DeepMEND
# install the requirements
pip install -r requirements.txt
# unzip the model
unzip DeepMEND_SDUnet_ks2_015.zip
First is need to import the DeepMEND class from the DeepMEND.py file:
# we are developing a python library,
# in the meantime we need to add the DeepMEND folder to the python path
#import sys
#sys.path.append('<path_to_DeepMEND_folder>')
from DeepMEND import DeepMEND
DeepMEND use the same input as a standard voronoi tesselation,
- site: set of points, i.e: base stations locations (latitude, longitude)
- region: the region of interest, i.e: France, Paris
- meter_projection: the projection of the region, i.e: epsg:2154
- model_path: the path to the model to use for the spatial diffusion estimation.
- compute_voronoi_tessellation: flag to compute the voronoi tessellation or not.
deepMEND = DeepMEND(sites,
france_region,
'epsg:2154',
model_path='DeepMEND_SDUnet_ks2_015',
compute_voronoi_tessellation = True)
The main method of the DeepMEND class is get_prediction, which return the spatial diffusion estimation and the voronoi tessellation.
prediction, _ = deepMEND.get_prediction(site_index)
Also, the DeepMEND class has two methods to access the voronoi tessellation get_voronoi, and get_all to get all the distance matrices, the prediction and the mask of area where the prediction is not available (i.e: outside the region of interest, sea, etc).
voronoi_cell_matrix = deepMEND.get_voronoi(site_index)
distance_matrix, prediction, mask = deepMEND.get_all(site_index)
A fully working example is provided in the How_to.ipynb
python notebook.