Detecting Elevated Air Pollution Levels by Monitoring Web Search Queries: Deep Learning-Based Time Series Forecasting

Chen Lin, Safoora Yousefi, Elvis Kahoro, Payam Karisani, Donghai Liang, Jeremy Sarnat, Eugene AgichteinarXiv 2022 · DOI

Abstract

Air quality monitoring is often limited by the high cost and sparse distribution of physical sensors. This study explores the use of "digital exhaust"—specifically Google search queries—as a proxy for real-time air pollution monitoring. By developing a Deep Learning-based Long Short-Term Memory (DL-LSTM) model, researchers demonstrate the ability to "nowcast" spikes in Ozone ($O_3$), Nitrogen Dioxide ($NO_2$), and fine particulate matter ($PM_{2.5}$) across major U.S. metropolitan areas. The model incorporates semantic embeddings to group related search terms, significantly improving prediction accuracy over traditional meteorological models.

Introduction

Air pollution remains a critical global health crisis, yet monitoring capabilities are often restricted to expensive, stationary sensors clustered in urban centers. Researchers at Emory University and Pomona College have proposed a novel solution: leveraging the collective behavior of the public through Google search trends. By treating search queries as a form of "crowd surveillance," this approach provides a scalable alternative for detecting dangerous pollution spikes in real-time, especially in regions lacking physical monitoring infrastructure.

The Monitoring Gap

Traditional air quality sensors measure chemical concentrations but fail to capture the immediate human impact of pollution. Physical monitoring networks are sparse; for individuals living far from a station, local air quality data is often a mere estimate. The authors argue that monitoring what people search for online—such as "difficulty breathing" or "haze"—can act as a valuable proxy for public health effects. This "nowcasting" capability allows for the prediction of the present or very near future in data-sparse regions.

Methodology: The DL-LSTM Architecture

To move beyond simple linear models, the researchers developed the Dictionary Learner-LSTM (DL-LSTM). This architecture is specifically designed to handle the complexities of time-series data and the nuances of human language.

Semantic Embedding and Dictionary Learning

Instead of treating search terms as independent variables, the model utilizes GloVe embeddings (pre-trained on billions of tweets) to understand semantic relationships (e.g., recognizing that "cough" and "wheezing" are related). A "dictionary learner" component fine-tunes these embeddings during training, allowing the model to learn which specific linguistic patterns best correlate with pollution spikes in a given city.

The search interest transformation process, utilizing GloVe embeddings and matrix multiplication to create a refined search signal for the composite model.

Temporal Modeling with LSTMs

The core of the system uses Long Short-Term Memory (LSTM) networks to process sequences of search and meteorological data. This allows the model to capture temporal dependencies, such as the typical 1-day lag between a pollution event and the subsequent surge in health-related searches.

Architecture of the DL-LSTM model showing the integration of temporal sequences through LSTM blocks and fully connected layers to predict pollution levels.

Data and Experimental Setup

The study utilized a 12-year dataset (2007–2018) covering the 10 largest U.S. Metropolitan Statistical Areas. Ground-truth measurements for $O_3$, $NO_2$, and $PM_{2.5}$ were sourced from the EPA’s Air Quality System (AQS), alongside meteorological data (temperature, humidity, dew point) and aggregate search volumes for 152 expanded terms via Google Trends.

Key Results

The DL-LSTM models consistently outperformed traditional baselines like Random Forests and Logistic Regression. Key findings include:

  • High Accuracy: The models reached an accuracy of 0.82 for $O_3$, 0.74 for $NO_2$, and 0.85 for $PM_{2.5}$.
  • The "Search Boost": Incorporating Web search data significantly improved accuracy over models using only meteorological data.
  • Sensor Proxy Capability: In cities like Philadelphia and Houston, the model using only weather and search data performed nearly as well as models using physical sensor data. This suggests that search queries can effectively "fill the gaps" where sensors are missing.

Conclusion and Future Directions

While the model shows great promise, the authors note limitations such as demographic bias—search data primarily reflects populations with internet access. Future work may involve incorporating social media signals from platforms like X (formerly Twitter) to provide an even more real-time data stream. Ultimately, this research moves toward a "human-centered" air quality index that reflects not just chemical concentrations, but the lived experience of the population.

Summary updated

BibTeX
@misc{lin2022detecting,
  author = {Chen Lin and Safoora Yousefi and Elvis Kahoro and Payam Karisani and Donghai Liang and Jeremy Sarnat and Eugene Agichtein},
  title = {{Detecting Elevated Air Pollution Levels by Monitoring Web Search Queries: Deep Learning-Based Time Series Forecasting}},
  year = {2022},
  eprint = {2211.05267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.05267},
}
Figure