Matrix Completion with Variational Graph Autoencoders: Application in Hyperlocal Air Quality Inference

Tien Huu Do, Duc Minh Nguyen, Evaggelia Tsiligianni, Angel Lopez Aguirre, Valerio Panzica La Manna, Frank J. Pasveer, Wilfried Philips, Nikos Deligiannis

TL;DR

This paper tackles the challenge of inferring hyperlocal air quality by leveraging data from mobile sensors. They propose a novel Variational Graph Autoencoder (AVGAE) model that effectively captures spatio-temporal correlations using only street network topology, outperforming existing methods on real-world data.

What Problem Does This Paper Address?

Accurate and high-resolution air quality monitoring is crucial for public health and environmental management. Traditional methods rely on fixed monitoring stations, which offer limited spatial coverage. While mobile sensors (e.g., on vehicles) can provide denser data, they suffer from low temporal resolution at any given location and still leave many areas unmonituted. This creates a significant gap in understanding air quality at the street level. Existing inference methods often require additional data like weather or traffic information, or they struggle to capture the complex spatio-temporal dynamics of air pollution. This paper aims to bridge this gap by developing a method that can infer air quality in unmeasured locations and times using only mobile sensor data and the underlying street network structure.

Methods

The core of this paper is the proposed AVGAE (Air Quality Variational Graph Autoencoder) model. The authors frame the problem as a graph-based matrix completion task.

Here's a breakdown of their approach:

  • Graph Representation: The street network of the urban area is represented as a graph. Nodes in the graph correspond to discretized locations on the street network. Edges connect nodes that are either within a certain geodesic distance or share a road segment. The edge weights are inversely proportional to the geodesic distance.
  • Data Aggregation: Raw mobile sensor data is aggregated into a measurement matrix $X$. This involves dividing time into discrete slots (e.g., hourly) and spatial locations into bins. For each location and time slot, the median of measurements within a defined radius is taken. This aggregation is non-uniform, adapting to the street network.
  • Variational Graph Autoencoder (VGAE): The AVGAE builds upon the Variational Autoencoder (VAE) framework, which learns a latent representation of data. In this case, it uses Graph Convolutional Networks (GCNs) as the building blocks for the encoder and decoder.
  • Encoder: Takes the incomplete measurement matrix $X$ and the geocoordinate matrix $S$ as input. It uses GCN layers to learn the parameters ($\mu$ and $\sigma$) of a Gaussian distribution in the latent space.
  • Latent Space: A latent vector $Z$ is sampled from this Gaussian distribution.
  • Decoder: Uses another GCN to reconstruct the input matrix $X$ from the latent representation $Z$.
  • Loss Function: The model is trained by minimizing a loss function that combines:
  • Reconstruction Error: Measured using Mean Absolute Error (MAE) between the original and reconstructed known entries.
  • Regularization: A Kullback-Leibler (KL) divergence term to ensure the latent distribution matches a prior (standard for VAEs).
  • Temporal Smoothness Constraint: An additional term that penalizes large differences in inferred values between adjacent time steps, capturing the temporal correlation.
  • Key Novelty: The AVGAE uniquely combines graph convolutional operations with variational inference, allowing it to effectively model both spatial dependencies (via the graph structure) and temporal dependencies (via the temporal smoothness constraint and the autoencoder structure) without relying on external data like weather or traffic.

Datasets

The paper uses a real-world air quality dataset collected using the City-of-Things platform in Antwerp, Belgium.

  • Data Source: 24 cars equipped with mobile monitoring devices.
  • Pollutants Measured: NO2 and PM2.5.
  • Data Collection Period: May 2018.
  • Preprocessing: The data was aggregated into discrete time slots (1 hour) and spatial bins (100 meters radius).
  • Dataset Size: After aggregation, the dataset comprised 3630 locations for NO2 and 4086 locations for PM2.5, with 720 time slots per location.

Key Insights and Ideas

  • Street Network as a Powerful Prior: The study demonstrates that the street network topology alone, when integrated into a graph-based model, is a highly effective feature for inferring air quality. This is significant because it reduces reliance on external, often unavailable or complex-to-integrate, data sources.
  • Spatio-Temporal Fusion: The AVGAE's ability to jointly model spatial and temporal correlations is a key advantage. Air pollution is inherently a spatio-temporal phenomenon, and capturing these intertwined dynamics is crucial for accurate inference.
  • Matrix Completion on Graphs: Framing air quality inference as a graph-based matrix completion problem provides a robust mathematical framework. This allows leveraging existing matrix completion techniques while adapting them to the specific challenges of spatial data.
  • Variational Approach for Uncertainty: The variational aspect of the autoencoder allows for probabilistic inference, potentially providing estimates of uncertainty in the predictions, although this is not explicitly detailed as a primary result in the paper.

Key Results

The AVGAE model demonstrated superior performance compared to several baseline methods:

  • Performance Metrics: The paper reports results using Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE) for both NO2 and PM2.5.
  • Outperformance: The AVGAE consistently achieved the best performance (lowest MAE and RMSE) for both pollutants across all tested metrics.
  • Comparison: It outperformed:
  • Kriging-based models (linear and exponential).
  • Standard matrix completion methods (KNN, SVD, NMF, NMC).
  • A graph-based matrix completion method (RGCNN).
  • Specific Numbers: For NO2, the AVGAE achieved an MAE of 14.92 and RMSE of 24.33. For PM2.5, it achieved an MAE of 2.56 and RMSE of 6.42. These are the lowest among all tested methods.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the temporal resolution per location is low due to the mobile nature of the sensors.
  • While the model doesn't require external data, its performance is tied to the quality and coverage of the mobile sensor data and the accuracy of the street network topology.
  • The MAE loss function is not everywhere differentiable, though the authors state that using its sub-gradient is sufficient.
  • Future Work:
    • The authors suggest that parameters like aggregation time ($\tau$) and radius ($r$) can be made smaller to achieve near real-time inference with finer spatial resolution.
  • The paper focuses on two pollutants (NO2 and PM2.5); extending the model to infer multiple pollutants simultaneously could be a future direction.
  • Exploring different graph convolutional architectures or regularization techniques might further improve performance.

Summary updated

BibTeX
@inproceedings{do2019matrix,
  author = {Tien Huu Do and Duc Minh Nguyen and Evaggelia Tsiligianni and Angel Lopez Aguirre and Valerio Panzica La Manna and Frank J. Pasveer and Wilfried Philips and Nikos Deligiannis},
  title = {{Matrix Completion with Variational Graph Autoencoders: Application in Hyperlocal Air Quality Inference}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2019},
  doi = {10.1109/icassp.2019.8683787},
}
Figure