An On-Device Edge AI Agent for Reference-Free Self-Diagnosis of Low-Cost Multi-Pollutant Sensors
Open Access
Abstract
Low-cost multi-pollutant sensors make personal exposure monitoring affordable, but assuring their data quality in the field is the bottleneck, while current devices leave it to remote servers: the field unit is a passive terminal that cannot self-check its sensors, takes days to accept a new one, and loses quality control whenever connectivity drops. We develop Zhiwei, an on-device edge AI agent for personal exposure monitoring that brings the reasoning loop onto the device, so it can diagnose its own sensors without a reference, onboard new ones through a declarative skill package with a capability-association graph, and keep working offline through a three-tier cloud-to-rule-engine fallback. We validate these capabilities, rather than field exposure tracking, in a 30-day fixed indoor deployment in Beijing of 1,896,789 records at 99.9% completeness. The agent decided on its own, without a reference, which channels to trust, identifying that the nominal ozone channel measures total oxidizing gas rather than ozone alone, a conclusion the manufacturer’s datasheet independently confirms, while the PM2.5 and NO2 channels were separately corroborated as relatively usable against a nearby station (r = 0.90 and 0.86). Under a simulated cloud outage, it kept data collection uninterrupted by handing inference to the on-device local model. This is a single fixed indoor site and a design-and-functional validation; evaluation under mobile, rapidly changing microenvironments is future field work. Zhiwei shows that an environmental sensing device can manage its own data quality autonomously on-device, a prerequisite for trustworthy personal exposure monitoring.Keywords
Funding Information
- Jing-jin-ji Regional Integrated Environmental Improvement National Science and Technology Major Project (2025ZD1204800)
This publication has 40 references indexed in Scilit:
- A survey on large language model based autonomous agentsFrontiers of Computer Science, 2024
- The M4 Competition: 100,000 time series and 61 forecasting methodsInternational Journal of Forecasting, 2020
- Applications of low-cost sensing technologies for air quality monitoring and exposure assessment: How far have they gone?Environment International, 2018
- Field calibration of a cluster of low-cost available sensors for air quality monitoring. Part A: Ozone and nitrogen dioxideSensors and Actuators B: Chemical, 2015
- The use of electrochemical sensors for monitoring urban air quality in low-cost, high-density networksAtmospheric Environment, 2013
- Chemical gas sensor drift compensation using classifier ensemblesSensors and Actuators B: Chemical, 2012
- Drift compensation of gas sensor array data by common principal component analysisSensors and Actuators B: Chemical, 2010
- On field calibration of an electronic nose for benzene estimation in an urban pollution monitoring scenarioSensors and Actuators B: Chemical, 2008
- Air pollution and healthThe Lancet, 2002
- Lung Cancer, Cardiopulmonary Mortality, and Long-term Exposure to Fine Particulate Air PollutionJAMA, 2002