skip to main content
10.1145/3631461.3631956acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicdcnConference Proceedingsconference-collections
research-article

Efficient Air Quality Index Prediction on Resource-Constrained Devices using TinyML: Design, Implementation, and Evaluation

Authors Info & Claims
Published:22 January 2024Publication History

ABSTRACT

These days, mobile/handheld air quality monitoring devices primarily sense pollutants and send them to the cloud without performing intelligent processing, such as soft calibration, sensor fault detection, or any onboard predictions. This paper explores the feasibility of harnessing Tiny Machine Learning (TinyML) to develop a compact system for inferring environmental pollution levels at a device’s location. Our primary challenge lies in fitting a trained machine-learning model within the device’s limited memory without compromising its accuracy or inference speed. Building upon the correlation between the Air Quality Index (AQI) and various meteorological factors, we propose a TinyML-based framework that predicts AQI using temperature, humidity, internet-sourced meteorological data, and temporal information collected through a web crawler. Our contributions encompass sensor activation, system design on a Raspberry Pi Pico W board, and hyperparameter tuning of machine learning models, culminating in an efficient XGBoost implementation within the 2MB memory constraint, achieving 75.2% accuracy with a 1615μs latency. Moreover, an accuracy of 60% was observed when a real-time validation was carried out. As per our knowledge, this system is the first-of-its-kind device that tries to embed some intelligence into a mobile air quality sensing device.

References

  1. Pedro Andrade, Ivanovitch Silva, Marianne Silva, Thommas Flores, Jordão Cassiano, and Daniel G. Costa. 2022. A TinyML Soft-Sensor Approach for Low-Cost Detection and Monitoring of Vehicular Emissions. Sensors 22, 10 (May 2022), 3838.Google ScholarGoogle ScholarCross RefCross Ref
  2. Mattia Antonini, Miguel Pincheira, Massimo Vecchio, and Fabio Antonelli. 2023. An Adaptable and Unsupervised TinyML Anomaly Detection System for Extreme Industrial Environments. Sensors 23, 4 (Feb. 2023), 2344.Google ScholarGoogle ScholarCross RefCross Ref
  3. Prithviraj Pramanik, Prasenjit Karmakar, Praveen Kumar Sharma, Soumyajit Chatterjee, Abhijit Roy, Santanu Mandal, Subrata Nandi, Sandip Chakraborty, Mousumi Saha, and Sujoy Saha. 2023. AQuaMoHo: Localized Low-cost Outdoor Air Quality Sensing over a Thermo-hygrometer. ACM Transactions on Sensor Networks 19, 3 (March 2023), 1–30.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Partha Pratim Ray. 2022. A review on TinyML: State-of-the-art and prospects. Journal of King Saud University - Computer and Information Sciences 34, 4 (April 2022), 1595–1623.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Praveen Kumar Sharma, Prasenjit Karmakar, Soumyajit Chatterjee, Abhijit Roy, Santanu Mandal, Sandip Chakraborty, Subrata Nandi, and Sujoy Saha. 2021. Can I go for a roof walk today?. In Proceedings of the 8th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation. ACM.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Vasileios Tsoukas, Eleni Boumpa, Georgios Giannakas, and Athanasios Kakarountas. 2021. A Review of Machine Learning and TinyML in Healthcare. In 25th Pan-Hellenic Conference on Informatics. ACM.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Vasileios Tsoukas, Anargyros Gkogkidis, and Athanasios Kakarountas. 2022. A TinyML-based System For Smart Agriculture. In Proceedings of the 26th Pan-Hellenic Conference on Informatics. ACM.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Efficient Air Quality Index Prediction on Resource-Constrained Devices using TinyML: Design, Implementation, and Evaluation

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        ICDCN '24: Proceedings of the 25th International Conference on Distributed Computing and Networking
        January 2024
        423 pages
        ISBN:9798400716737
        DOI:10.1145/3631461

        Copyright © 2024 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 22 January 2024

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited
      • Article Metrics

        • Downloads (Last 12 months)36
        • Downloads (Last 6 weeks)19

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      HTML Format

      View this article in HTML Format .

      View HTML Format