Modulo: Drive-by Sensing at City-scale on the Cheap

D. P. Agarwal, Srinivasan Iyengar, Manohar Swaminathan · DOI

Abstract

Drive-by sensing is gaining popularity as an inexpensive way to perform fine-grained, city-scale, spatiotemporal monitoring of physical phenomena. Prior work explores several challenges in the design of low-cost sensors, the reliability of these sensors, and their application for specific use-cases like pothole detection and pollution monitoring. However, the process of deployment of a drive-by sensing network at a city-scale is still unexplored. Despite the rise of ride-sharing services, there is still no way to optimally select vehicles from a fleet that can accomplish the sensing task by providing enough coverage of the city. In this paper, we propose Modulo -- a system to bootstrap drive-by sensing deployment by taking into consideration a variety of aspects such as spatiotemporal coverage, budget constraints. Further, Modulo is well-suited to satisfy unique deployment constraints such as colocations with other sensors (needed for gas and PM sensor calibration), etc. We compare Modulo with two baseline algorithms on real-world taxi and bus datasets. We find that Modulo marginally outperforms the two baselines for datasets with just random-routes vehicles such as taxis. However, it significantly outperforms the baselines when a fleet comprises of both taxis and fixed-route vehicles such as public transport buses. Finally, we present a real-deployment that uses Modulo to select vehicles for an air pollution sensing application.

Introduction

Traditional urban monitoring relies on static sensing stations. While highly accurate, these are prohibitively expensive to deploy at the density required to capture "hyper-local" urban phenomena—such as street-level air pollution variance. "Drive-by sensing"—mounting sensors on existing vehicle fleets like taxis and buses—offers a cost-effective alternative.

However, a major logistical hurdle remains: optimal vehicle selection. With a limited budget for sensors and a massive fleet of potential vehicles, random selection often leads to redundant data in city centers and "blind spots" elsewhere. Furthermore, different applications have vastly different requirements for spatial and temporal granularity, as shown in the table below.

Requirements for various drive-by sensing applications

The Modulo Framework

Modulo is an optimization framework designed to bootstrap these networks by treating vehicle selection as a maximum coverage problem. It identifies the most efficient subset of a fleet to equip with sensors, maximizing coverage while ensuring low-cost sensors stay calibrated through scheduled "rendezvous" with reference stations.

As illustrated in the system architecture, the Modulo pipeline consists of three main stages:

  1. Stratification: Partitioning the city into "strata" (grids or road segments) using tools like GeoJSON.
  2. Spatio-temporal Query Execution: Processing historical mobility data (GPS traces) to determine vehicle-strata intersections using Geohashing.
  3. Vehicle Selection: Using a greedy approximation algorithm to select vehicles that maximize new coverage while respecting budget and calibration constraints.
The Modulo system pipeline

Methodology

The authors formulate vehicle selection as an Integer Linear Program (ILP). Specifically, it maps to the classical Maximum Coverage Problem. Since this is NP-hard, Modulo employs a greedy approximation algorithm mathematically guaranteed to provide a solution within a factor of $(1 - 1/e)$ of the optimal. This approach allows the system to respect budget constraints and "colocation" requirements—ensuring mobile sensors pass near high-grade reference sensors for necessary calibration.

Evaluation and Key Insights

The system was evaluated using mobility data from San Francisco (taxis and buses), Rome (taxis), and a real-world deployment in a Southern Indian city. Key findings include:

  • Predictability Matters: Modulo performs significantly better on bus datasets than taxi datasets. Fixed routes make historical patterns excellent predictors of future coverage.
  • The Mixed Fleet Advantage: Modulo excels when managing a mix of fixed-route (buses) and random-route (taxis) vehicles, using buses as a reliable "backbone" and taxis to fill specific gaps.
  • Efficiency Gains: In San Francisco, Modulo achieved 40% coverage using only 39 buses, compared to 55 for random selection (~41% more) and 92 for a "busiest-vehicle" heuristic (~136% more).
  • Diminishing Returns: The research identifies an "elbow" in the coverage curve, where adding more sensors yields negligible increases in city-wide coverage.

Real-world Deployment and Future Work

In a pilot deployment in India, Modulo selected 14 out of 25 available cabs for PM2.5 monitoring, successfully collecting over 2 million data points over four months.

Future work aims to address taxi stochasticity through advanced mobility models and explore "sensor overloading," where a single vehicle carries multiple sensor types with differing optimal coverage requirements. While Modulo currently handles fleet "churn" through periodic re-runs, a more dynamic, real-time selection approach remains an area for exploration.

Summary updated

BibTeX
@misc{agarwal2019modulo,
  author = {D. P. Agarwal and Srinivasan Iyengar and Manohar Swaminathan},
  title = {{Modulo: Drive-by Sensing at City-scale on the Cheap}},
  year = {2019},
  eprint = {1910.09155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.09155},
}
Figure