Abstract
Crowdsensing leverages a subset of noisy, third-party sensors to monitor large-scale dynamical systems, such as city-wide traffic. This paper introduces a scalable framework that combines Thompson sampling with a novel online variational inference algorithm. The system simultaneously learns sensor reliability and selects the optimal subset of sensors to minimize estimation error in real-time. Experimental results on Dublin traffic data demonstrate that the proposed online methods are orders of magnitude faster than traditional batch alternatives while achieving near-oracle accuracy.
Introduction
In modern "smart cities," monitoring dynamical systems like traffic flow or air quality often relies on crowdsourced data (e.g., GPS traces from smartphones). However, two major hurdles exist: unknown sensor reliability and resource constraints. Crowdsourced sensors have varying noise levels that are not known a priori, and bandwidth or acquisition costs limit the number of sensors that can be queried at any given time step. This creates a classic exploration-exploitation trade-off: querying known reliable sensors versus exploring new ones to discover higher-quality data sources.
Methodology
The proposed framework addresses these challenges through a two-step meta-algorithm executed at each time step:
- Parameter Estimation (The Learning Step): The system maintains a posterior distribution regarding the noise variance of every sensor. To ensure scalability, the authors introduce an Online Variational Inference (VB) algorithm. Unlike batch methods like Gibbs sampling, this approach uses stochastic approximation to update noise estimates instantly as new data arrives. Thompson Sampling is then used to draw random samples from these beliefs, naturally encouraging the exploration of sensors with high uncertainty.
- Sensor Selection (The Acting Step): Based on the sampled noise levels, the algorithm selects the best $K$ sensors. This is framed as a submodular optimization problem. While finding the absolute optimal subset is NP-hard, the submodular nature of the objective function allows for a greedy approach that is mathematically guaranteed to be near-optimal.
Experimental Evaluation
The researchers evaluated their approach across three setups: a 1D Brownian motion toy problem, a complex synthetic network with 325 sensors, and real-world Dublin traffic data from the SCATS system. In the Dublin scenario, they simulated a crowdsensing layer by adding artificial noise to 2,350 potential sensor inputs across 470 road lanes.
Key Results
- Computational Efficiency: The online methods (EMo and VB) proved to be orders of magnitude faster than batch methods. For 100 time steps, the batch Gibbs sampler required 97 seconds, whereas the online VB approach took only 0.22 seconds.
- Estimation Accuracy: In the Dublin traffic simulations, the proposed algorithms achieved significantly lower estimation errors compared to "Random Selection" or "Mean Noise" baselines, which assume uniform sensor quality.
- Convergence and Robustness: On synthetic models, the online VB error rate converged to the "Oracle" rate (which knows true noise levels) over time. Notably, the adaptive Bayesian model outperformed the Oracle when sensors became faulty, as the VB model dynamically "learned" to stop trusting haywire sensors.
Conclusion
Scalability is the primary requirement for city-scale crowdsensing. By shifting from batch to online variational inference, this framework makes real-time monitoring practical. Future work may involve learning the underlying physical dynamics of the system on the fly and incorporating complex economic constraints on sensor acquisition.
Summary updated