Submitted:
08 October 2024
Posted:
09 October 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Machine Learning and the Need for Causality
2. Materials and Methods
2.1. Proposed Feature Selection Mechanism
- 1:
-
For each in , the causation criteria set by CCM for is evaluated. For the current study, the causal-ccm package [41] was used for this purpose.In evaluating the causal relationship from to Y, it is essential to select a sufficiently long time series for both variables in order to ascertain that the criterion of convergence is met and that the cross-map skill does not deteriorate significantly over time.
- 2:
- 3:
- Next, the remaining features are ranked according to the strength of the causal relationship , from most causally related to Y to the least.
- 4:
-
An appropriate threshold value is established for the strength of causality and the features exceeding this threshold are selected. The machine learning models are then constructed and trained for all possible subsets of the selected features as input variables to the model. After training, for each instance, the efficacy is tested using an independent validation data set to assess how well it performs when presented with data that the algorithm has not previously seen; i.e., test its generalizability.By exploring various subsets of the most causally related features, as opposed to simply selecting the top-ranked ones, we aim to refine the selection process to retain to the most possible extent only the most direct causal influences. This approach seeks to enhance the generalizability of models by utilizing direct causal parents for predictions, as discussed in studies such as [31].A reasonable choice of threshold for most cases would be , since any feature with a retained for an appropriate duration of time would have established a causation guaranteed above chance and thus beyond being wholly attributed to noise, systematic error, or biases in the observational data. However, depending on the complexity of the system being modelled, the threshold may need to be adjusted to accommodate features with comparatively lower values representing weak couplings that might offer important information to the model. Especially in climate systems, weakly coupled interactions are ubiquitous. An example of weakly coupled interactions can be found in the relationship between soil moisture and precipitation patterns. While soil moisture levels can influence local precipitation through mechanisms like evapotranspiration and land-atmosphere interactions, the coupling between soil moisture and precipitation is often not straightforward. However, understanding these weakly coupled interactions is crucial for accurate hydrological and climate modeling. By incorporating the nuanced effects of soil moisture on precipitation, models can better simulate regional water cycles, drought patterns, and the impacts of land surface changes on local climate conditions.
- 5:
- The model that demonstrates the best predictive performance is selected as the final calibration model. Performance metrics are compared with the full model to assess any improvement in generalizability. If no improvement is observed, the process in Step 4 is repeated using a lower threshold.
2.2. Experimental Test Cases
2.2.1. Experimental Setup and Datasets Used

PM1
PM2.5


3. Results
PM1
PM2.5
| Feature Selection Approach | Features used as Predictors | Number of Predictors | MSE | |
|---|---|---|---|---|
| No feature selection | All 42 outputs from the LCS | 42 | 0.41 | 0.977 |
| SHAP value-based | Bin 0, | 9 | 0.286 | 0.984 |
| Reject Count Ratio, | ||||
| Reject Count Glitch, | ||||
| Bin 3, | ||||
| PM1 from OPCN3, | ||||
| PM2.5 from OPCN3, | ||||
| OPCN3 Interior Temperature, | ||||
| OPCN3 Interior Humidity, | ||||
| Bin 1 | ||||
| Causality-based | Bin 0, | 7 | 0.274 | 0.985 |
| PM1 from OPCN3, | ||||
| PM2.5 from OPCN3, | ||||
| Reject Count Ratio, | ||||
| Ambient Temperature, | ||||
| Ambient Pressure, | ||||
| Ambient Humidity |
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| PM | Particulate matter |
| IoT | Internet of Things |
| LCS | Low-cost air quality sensor systems |
| ML | Machine learning |
| CCM | Convergent cross mapping |
| OPC | Optical particle counter |
| MSE | Mean Squared Error |
References
- Intergovernmental Panel on Climate Change. Climate Change 2021: The Physical Science Basis. Contribution of Working Group I to the Sixth Assessment Report of the Intergovernmental Panel on Climate Change; Cambridge University Press: Cambridge, United Kingdom and New York, NY, USA, 2021. In press, . [CrossRef]
- Orru, H.; Ebi, K.; Forsberg, B. The interplay of climate change and air pollution on health. Current environmental health reports 2017, 4, 504–513. [CrossRef]
- Arshad, K.; Hussain, N.; Ashraf, M.H.; Saleem, M.Z.; others. Air pollution and climate change as grand challenges to sustainability. Science of The Total Environment 2024, p. 172370. [CrossRef]
- Shaddick, G.; Thomas, M.L.; Mudu, P.; Ruggeri, G.; Gumy, S. Half the world’s population are exposed to increasing air pollution. NPJ Climate and Atmospheric Science 2020, 3, 1–5. [CrossRef]
- Li, Y.; Xu, L.; Shan, Z.; Teng, W.; Han, C. Association between air pollution and type 2 diabetes: an updated review of the literature. Therapeutic advances in endocrinology and metabolism 2019, 10, 2042018819897046. [CrossRef]
- Nolte, C.; others. Air quality. In Impacts, risks, and adaptation in the United States: Fourth national climate assessment, volume II; U.S. Global Change Research Program: Washington, DC, 2018; chapter 13, p. 516.
- Organization, W.M.; Programme, U.N.E.; project, I.G.A.C. Low-cost air quality sensor systems (LCS) for policy-relevant air quality analysis. Gaw report no. 293, World Meteorological Organization, Geneva, 2024. Lead coordinating author: Carl Malings. Contributing authors: Jan-Michael Archer, África Barreto, Jianzhao Bi, and others.
- Okafor, N.U.; Alghorani, Y.; Delaney, D.T. Improving data quality of low-cost IoT sensors in environmental monitoring networks using data fusion and machine learning approach. ICT Express 2020, 6, 220–228. [CrossRef]
- DeSouza, P.; Kahn, R.; Stockman, T.; Obermann, W.; Crawford, B.; Wang, A.; Crooks, J.; Li, J.; Kinney, P. Calibrating networks of low-cost air quality sensors. Atmospheric Measurement Techniques 2022, 15, 6309–6328. [CrossRef]
- Wijeratne, L.O.; Kiv, D.R.; Aker, A.R.; Talebi, S.; Lary, D.J. Using machine learning for the calibration of airborne particulate sensors. Sensors 2019, 20, 99. [CrossRef]
- Zhang, Y.; Wijeratne, L.O.; Talebi, S.; Lary, D.J. Machine learning for light sensor calibration. Sensors 2021, 21, 6259. [CrossRef]
- Wang, A.; Machida, Y.; deSouza, P.; Mora, S.; Duhl, T.; Hudda, N.; Durant, J.L.; Duarte, F.; Ratti, C. Leveraging machine learning algorithms to advance low-cost air sensor calibration in stationary and mobile settings. Atmospheric Environment 2023, 301, 119692. [CrossRef]
- Kelly, B.; Xiu, D.; others. Financial machine learning. Foundations and Trends® in Finance 2023, 13, 205–363. [CrossRef]
- Mariani, M.M.; Borghi, M. Artificial intelligence in service industries: customers’ assessment of service production and resilient service operations. International Journal of Production Research 2024, 62, 5400–5416. [CrossRef]
- Rajkomar, A.; Dean, J.; Kohane, I. Machine learning in medicine. New England Journal of Medicine 2019, 380, 1347–1358. [CrossRef]
- Kang, Z.; Catal, C.; Tekinerdogan, B. Machine learning applications in production lines: A systematic literature review. Computers & Industrial Engineering 2020, 149, 106773. [CrossRef]
- Lary, D.J.; Zewdie, G.K.; Liu, X.; Wu, D.; Levetin, E.; Allee, R.J.; Malakar, N.; Walker, A.; Mussa, H.; Mannino, A.; others. Machine learning applications for earth observation. Earth observation open science and innovation 2018, 165. [CrossRef]
- Malakar, N.K.; Lary, D.J.; Moore, A.; Gencaga, D.; Roscoe, B.; Albayrak, A.; Wei, J. Estimation and bias correction of aerosol abundance using data-driven machine learning and remote sensing. 2012 Conference on Intelligent Data Understanding. IEEE, 2012, pp. 24–30.
- Albayrak, A.; Wei, J.; Petrenko, M.; Lary, D.; Leptoukh, G. Modis aerosol optical depth bias adjustment using machine learning algorithms. AGU Fall Meeting Abstracts, 2011, Vol. 2011, pp. A53C–0371.
- Rudner, T.G.J.; Toner, H. Key Concepts in AI Safety: Interpretability in Machine Learning. 2021.
- Doshi-Velez, F.; Kim, B. Towards A Rigorous Science of Interpretable Machine Learning. arXiv: Machine Learning 2017.
- Lipton, Z.C. The mythos of model interpretability: In machine learning, the concept of interpretability is both important and slippery. Queue 2018, 16, 31–57. [CrossRef]
- Lundberg, S. A unified approach to interpreting model predictions. arXiv preprint arXiv:1705.07874 2017.
- Li, K.; DeCost, B.; Choudhary, K.; Greenwood, M.; Hattrick-Simpers, J. A critical examination of robustness and generalizability of machine learning prediction of materials properties. npj Computational Materials 2023, 9, 55. [CrossRef]
- Schölkopf, B. Causality for machine learning. In Probabilistic and causal inference: The works of Judea Pearl; 2022; pp. 765–804.
- Cloudera Fast Forward Labs. Causality for Machine Learning: Applied Research Report. https://ff13.fastforwardlabs.com/, 2020.
- Beery, S.; Van Horn, G.; Perona, P. Recognition in terra incognita. Proceedings of the European conference on computer vision (ECCV), 2018, pp. 456–473.
- Ye, W.; Zheng, G.; Cao, X.; Ma, Y.; Hu, X.; Zhang, A. Spurious correlations in machine learning: A survey. arXiv preprint arXiv:2402.12715 2024.
- Ilyas, A.; Santurkar, S.; Tsipras, D.; Engstrom, L.; Tran, B.; Madry, A. Adversarial examples are not bugs, they are features. Advances in neural information processing systems 2019, 32.
- Haavelmo, T. The probability approach in econometrics. Econometrica 1944, 12, S1–S115 (supplement). [CrossRef]
- Bühlmann, P. Invariance, causality and robustness. Statistical Science 2020, 35, 404–426.
- Peters, J.; Bühlmann, P.; Meinshausen, N. Causal inference by using invariant prediction: identification and confidence intervals. Journal of the Royal Statistical Society Series B: Statistical Methodology 2016, 78, 947–1012. [CrossRef]
- Ribeiro, M.T.; Singh, S.; Guestrin, C. " Why should i trust you?" Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, 2016, pp. 1135–1144.
- Sugihara, G.; May, R.; Ye, H.; Hsieh, C.h.; Deyle, E.; Fogarty, M.; Munch, S. Detecting causality in complex ecosystems. science 2012, 338, 496–500. [CrossRef]
- Tsonis, A.A.; Deyle, E.R.; May, R.M.; Sugihara, G.; Swanson, K.; Verbeten, J.D.; Wang, G. Dynamical evidence for causality between galactic cosmic rays and interannual variation in global temperature. Proceedings of the National Academy of Sciences 2015, 112, 3253–3256. [CrossRef]
- Takens, F. Detecting strange attractors in turbulence. Dynamical Systems and Turbulence, Warwick 1980: proceedings of a symposium held at the University of Warwick 1979/80. Springer, 2006, pp. 366–381.
- Sun, Y.N.; Qin, W.; Hu, J.H.; Xu, H.W.; Sun, P.Z. A causal model-inspired automatic feature-selection method for developing data-driven soft sensors in complex industrial processes. Engineering 2023, 22, 82–93. [CrossRef]
- Chen, Z.; Cai, J.; Gao, B.; Xu, B.; Dai, S.; He, B.; Xie, X. Detecting the causality influence of individual meteorological factors on local PM2. 5 concentration in the Jing-Jin-Ji region. Scientific Reports 2017, 7, 40735. [CrossRef]
- Rybarczyk, Y.; Zalakeviciute, R.; Ortiz-Prado, E. Causal effect of air pollution and meteorology on the COVID-19 pandemic: A convergent cross mapping approach. Heliyon 2024, 10. [CrossRef]
- Ye, H.; Deyle, E.R.; Gilarranz, L.J.; Sugihara, G. Distinguishing time-delayed causal interactions using convergent cross mapping. Scientific reports 2015, 5, 14750. [CrossRef]
- Javier, P.J.E. causal-ccm: A Python implementation of Convergent Cross Mapping (Version 0.3.3). https://github.com/javier/causal-ccm, 2021. Computer software.
- Edwards, A.W. RA Fischer, statistical methods for research workers, (1925). In Landmark writings in western mathematics 1640-1940; Elsevier, 2005; pp. 856–870.
- Wasserstein, R.L.; Lazar, N.A. The ASA statement on p-values: context, process, and purpose, 2016.
- Alphasense. Alphasense User Manual OPC-N3 Optical Particle Counter. Great Notley, UK, 2018.
- Broich, A.V.; Gerharz, L.E.; Klemm, O. Personal monitoring of exposure to particulate matter with a high temporal resolution. Environmental Science and Pollution Research 2012, 19, 2959–2972. [CrossRef]
- Sugihara, G.; May, R.M. Nonlinear forecasting as a way of distinguishing chaos from measurement error in time series. Nature 1990, 344, 734–741. [CrossRef]
- Marcílio, W.E.; Eler, D.M. From explanations to feature selection: assessing SHAP values as feature selection mechanism. 2020 33rd SIBGRAPI conference on Graphics, Patterns and Images (SIBGRAPI). Ieee, 2020, pp. 340–347.
- Kirešová, S.; Guzan, M. Determining the correlation between particulate matter PM10 and meteorological factors. Eng 2022, 3, 343–363. [CrossRef]
- Yang, H.; Peng, Q.; Zhou, J.; Song, G.; Gong, X. The unidirectional causality influence of factors on PM2. 5 in Shenyang city of China. Sci Rep 10: 8403, 2020. [CrossRef]
- Fu, H.; Zhang, Y.; Liao, C.; Mao, L.; Wang, Z.; Hong, N. Investigating PM2. 5 responses to other air pollutants and meteorological factors across multiple temporal scales. Scientific reports 2020, 10, 15639. [CrossRef]
- Vaishali.; Verma, G.; Das, R.M. Influence of temperature and relative humidity on PM2. 5 concentration over Delhi. MAPAN 2023, 38, 759–769. [CrossRef]
- Hernandez, G.; Berry, T.A.; Wallis, S.L.; Poyner, D. Temperature and humidity effects on particulate matter concentrations in a sub-tropical climate during winter. International proceedings of chemical, biological and environmental engineering 2017, 102, 41–49.
- Kim, M.; Jeong, S.G.; Park, J.; Kim, S.; Lee, J.H. Investigating the impact of relative humidity and air tightness on PM sedimentation and concentration reduction. Building and Environment 2023, 241, 110270. [CrossRef]
- Zhang, M.; Chen, S.; Zhang, X.; Guo, S.; Wang, Y.; Zhao, F.; Chen, J.; Qi, P.; Lu, F.; Chen, M.; others. Characters of particulate matter and their relationship with meteorological factors during winter Nanyang 2021–2022. Atmosphere 2023, 14, 137. [CrossRef]
- Zhang, S.; Xing, J.; Sarwar, G.; Ge, Y.; He, H.; Duan, F.; Zhao, Y.; He, K.; Zhu, L.; Chu, B. Parameterization of heterogeneous reaction of SO2 to sulfate on dust with coexistence of NH3 and NO2 under different humidity conditions. Atmospheric Environment 2019, 208, 133–140. [CrossRef]
- Raysoni, A.U.; Pinakana, S.D.; Mendez, E.; Wladyka, D.; Sepielak, K.; Temby, O. A Review of Literature on the Usage of Low-Cost Sensors to Measure Particulate Matter. Earth 2023, 4, 168–186. [CrossRef]
| 1 | While p-values are used to quantify the statistical significance of a result, a higher p-value alone may be insufficient grounds to dismiss a result [43]. Therefore, we recommend due caution when implementing the elimination outlined in Step 2. For the test cases presented in the current study, all with p-value were observed to have negligibly small values and therefore unlikely to impart useful information to the model. As an additional verification, the performance of the model after elimination was compared to that of the full model, and it was observed that the performance improved, thus validating the removal of the features. |






| Feature Selection Approach | Features used as Predictors | Number of Predictors | MSE | |
|---|---|---|---|---|
| No feature selection | All 42 outputs from the LCS | 42 | 0.213 | 0.987 |
| SHAP value-based | Reject Count Ratio, | 6 | 0.150 | 0.991 |
| PM1 from OPCN3, | ||||
| Reject Count Glitch, | ||||
| OPCN3 Interior Temperature, | ||||
| Ambient Temperature, | ||||
| OPCN3 Interior Humidity | ||||
| Causality-based | Bin 0, | 5 | 0.121 | 0.993 |
| Reject Count Ratio, | ||||
| Ambient Pressure, | ||||
| Ambient Temperature, | ||||
| Ambient Humidity |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).