Drift-Robust Lightweight Deep Learning on Open Gas Sensor Benchmarks: A Reproducible Architecture Study with CBRN Applicability Mapping
Abstract
1. Introduction
- LiteSensor-Net: A custom 1D–CNN employing depth-wise separable convolutions (DSConv), batch normalization (BN), and global average pooling, designed from first principles for sub-6 kB INT8 deployment. Unlike prior 1D-CNN gas-sensing classifiers [9,10,11], LiteSensor-Net is jointly optimized with a drift-compensation module and evaluated under a six-metric edge-deployment benchmark.
- Multi-stage compression pipeline: Sequential INT8 post-training quantization (PTQ) and structured magnitude pruning achieving 78.64% total model size reduction (28.04 kB → 5.99 kB INT8; 73.7% from INT8 precision scaling, ~5% from structural pruning) with < 0.5% accuracy loss (see Section 2.5).
- Knowledge-distillation (KD)-based drift-compensation module (KD–DM): A teacher–student domain-adaptation layer that suppresses feature-space drift via KL-divergence regularization, enabling offline server-side adaptation with over-the-air weight updates—without on-device retraining (see Section 2.6).
- Standardized benchmark framework: A six-metric evaluation protocol enabling transparent, reproducible cross-architecture comparisons (see Section 2.8).
2. Materials and Methods
2.1. Datasets
UCI Gas Sensor Array Drift Dataset (Primary)
2.2. CBRN Simulant Re-Labeling Protocol
2.3. Preprocessing Pipeline
- Batch baseline correction: Per-sensor median subtraction within each temporal batch removes slow drift components independent of analyte identity [12].
- L2 normalization: Each 128-dimensional sample vector is normalized to unit Euclidean length to reduce inter-sensor gain disparities.
- Feature selection via Gini importance: Random Forest feature importance (scikit-learn ≥ 1.4; 300 trees, Batch 1) ranked all 128 features. The top–k = 64 subset was selected after validating that it yields no statistically significant accuracy loss versus k = 128 (5-fold cross-validation, p = 1.00, Wilcoxon signed-rank test; Figure 1).
- Standardization: Within-split Z-score normalization (zero-mean, unit-variance) using training-set statistics only.
2.4. LiteSensor-Net Architecture
2.5. Multi-Stage Compression
2.5.1. INT8 Post-Training Quantization
2.5.2. Structured Magnitude Pruning
2.6. Knowledge-Distillation Drift-Compensation Module
2.7. Domain–Adaptation Task Definitions
- Task A (laboratory re-calibration): Batch 1 trains the model; Batches 2–10 are successive target domains.
- Task B (online continual adaptation): Batches 1, …, n − 1 cumulatively train the model; Batch n is the target domain.
2.8. Evaluation Benchmark Framework
3. Results
3.1. Processing and Feature Selection
3.2. Baseline Classification Performance
3.3. CBRN Simulant Classification Performance
3.4. Sensor Drift Compensation
3.4.1. Task A: Laboratory Re-Calibration Scenario
3.4.2. Task B: Online Continual-Adaptation Scenario
4. Discussion
4.1. Architecture Efficiency and Edge Deployability
4.2. Drift Compensation: Mechanisms and Limitations
4.3. Benchmark Framework Significance
4.4. Reliability for Operational Deployment
4.5. CBRN Applicability
4.6. CBRN Simulant Mapping
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| ARM | Advanced RISC Machine |
| BN | Batch Normalization |
| CBRN | Chemical, Biological, Radiological, and Nuclear |
| CNN | Convolutional Neural Network |
| CWA | Chemical Warfare Agent |
| DRCA | Drift-Robust Classification and Adaptation |
| DSConv | Depth-Wise Separable Convolution |
| E-nose | Electronic Nose |
| FC | Fully Connected (layer) |
| FLOPs | Floating Point Operations Per Second |
| GAP | Global Average Pooling |
| INT8 | 8-bit Integer (quantization format) |
| KD | Knowledge Distillation |
| KD-DM | Knowledge-Distillation Domain-Adaptation Module |
| LCE | Cross-Entropy Loss |
| LKL | Kullback–Leibler Divergence Loss |
| LSTM | Long Short-Term Memory |
| MOS | Metal-Oxide Semiconductor |
| MCU | Microcontroller Unit |
| NC | No Compensation |
| pp | Percentage Points |
| QAT | Quantization-Aware Training |
| RAM | Random Access Memory |
| ReLU | Rectified Linear Unit |
| PCA | Principal Component Analysis |
| ppm | Parts Per Million |
| PTQ | Post-Training Quantization |
| SD | Standard Deviation |
| SRAM | Static Random Access Memory |
| SVM | Support Vector Machine |
| TinyML | Tiny Machine Learning |
| UAV | Unmanned Aerial Vehicle |
| UCI | University of California, Irvine |
| 1D-CNN | One-Dimensional Convolutional Neural Network |
References
- Gawlik-Kobylińska, M.; Gudzbeler, G.; Szklarski, Ł.; Kopp, N.; Koch-Eschweiler, H.; Urban, M. The EU–SENSE System for Chemical Hazards Detection, Identification, and Monitoring. Appl. Sci. 2021, 11, 10308. [Google Scholar] [CrossRef] [Scilit]
- NATO Science & Technology Organization. Science & Technology Trends 2020–2040: Exploring the S&T Edge; STO-TRENDS-20; NATO Science & Technology Organization: Brussels, Belgium, 2020; Available online: https://www.sto.nato.int (accessed on 24 May 2026).
- Koblentz, G.D. Emerging Technologies and the Future of CBRN Terrorism. Wash. Q. 2020, 43, 177–196. [Google Scholar] [CrossRef] [Scilit]
- Noh, D.; Oh, E. Chemical Detection Using Mobile Platforms and AI–Based Data Processing Technologies. J. Sens. Actuator Netw. 2025, 14, 6. [Google Scholar] [CrossRef] [Scilit]
- Raza, W.; Osman, A.; Ferrini, F.; De Natale, F. Energy-Efficient Inference on the Edge Exploiting TinyML Capabilities for UAVs. Drones 2021, 5, 127. [Google Scholar] [CrossRef] [Scilit]
- Mei, H.; Peng, J.; Wang, T.; Zhou, T.; Zhao, H.; Zhang, T.; Yang, Z. Overcoming the Limits of Cross–Sensitivity: Pattern Recognition Methods for Chemiresistive Gas Sensor Array. Nano-Micro Lett. 2024, 16, 269. [Google Scholar] [CrossRef] [Scilit]
- Han, J.; Li, H.; Cheng, J.; Ma, X.; Fu, Y. Advances in Metal Oxide Semiconductor Gas Sensor Arrays Based on Machine Learning Algorithms. J. Mater. Chem. C 2025, 13, 4285–4303. [Google Scholar] [CrossRef] [Scilit]
- Covington, J.A.; Marco, S.; Persaud, K.C.; Schiffman, S.S.; Nagle, H.T. Artificial Olfaction in the 21st Century. IEEE Sens. J. 2021, 21, 12969–12990. [Google Scholar] [CrossRef] [Scilit]
- Abadade, Y.; Temouden, A.; Bamoumen, H.; El Khtabi, N.; Chtouki, Y.; Asrih, Z. A Comprehensive Survey on TinyML. IEEE Access 2023, 11, 96892–96922. [Google Scholar] [CrossRef] [Scilit]
- Ray, P.P. A Review on TinyML: State–of–the–Art and Prospects. J. King Saud Univ. Comput. Inf. Sci. 2022, 34, 1595–1623. [Google Scholar] [CrossRef] [Scilit]
- Yaqoob, U.; Younis, M.I. Chemical Gas Sensors: Recent Developments, Challenges, and the Potential of Machine Learning—A Review. Sensors 2021, 21, 2877. [Google Scholar] [CrossRef] [Scilit]
- Vergara, A.; Vembu, S.; Ayhan, T.; Ryan, M.A.; Homer, M.L.; Huerta, R. Chemical gas sensor drift compensation using classifier ensembles. Sens. Actuators B Chem. 2012, 166–167, 320–329. [Google Scholar] [CrossRef] [Scilit]
- Dennler, N.; Rastogi, S.; Fonollosa, J.; van Schaik, A.; Schmuker, M. Drift in a popular metal oxide sensor dataset reveals limitations for gas classification benchmarks. Sens. Actuators B Chem. 2022, 361, 131668. [Google Scholar] [CrossRef] [Scilit]
- Chang, I.S.; Byun, S.W.; Lim, T.B.; Park, G.M. A Study of Drift Effect in a Popular Metal Oxide Sensor and Gas Recognition Using Public Gas Datasets. IEEE Access 2023, 11, 26383–26392. [Google Scholar] [CrossRef] [Scilit]
- Howard, A.G.; Sandler, M.; Chu, G.; Chen, L.C.; Chen, B.; Tan, M.; Wang, W.; Zhu, Y.; Pang, R.; Vasudevan, V.; et al. Searching for MobileNetV3. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea, 27 October–2 November 2019; pp. 1314–1324. [Google Scholar] [CrossRef] [Scilit]
- TensorFlow Team. TensorFlow Lite: Model Optimization Guide. 2024. Available online: https://www.tensorflow.org/lite/performance/model_optimization (accessed on 24 May 2026).
- Lin, J.; Zhan, X. Sensor–Drift Compensation in Electronic–Nose–Based Gas Recognition Using Knowledge Distillation. Informatics 2026, 13, 15. [Google Scholar] [CrossRef] [Scilit]
- Rehman, A.U.; Belhaouari, S.B.; Ijaz, M.; Bermak, A.; Hamdi, M. Multi–Classifier Tree with 327 Transient Features for Drift Compensation in Electronic Nose. IEEE Sens. J. 2021, 21, 6564–6574. [Google Scholar] [CrossRef] [Scilit]
- Oh, Y.; Lim, C.; Lee, J.; Kim, S.; Kim, S. Sensor Drift Compensation for Gas Mixture Classification in Batch Experiments. Qual. Reliab. Eng. Int. 2023, 39, 2422–2437. [Google Scholar] [CrossRef] [Scilit]
- Howard, A.G.; Zhu, M.; Chen, B.; Kalenichenko, D.; Wang, W.; Weyand, T.; Andreetto, M.; Adam, H. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv 2017, arXiv:1704.04861. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Xie, G.; Dai, L.; Yang, M.; Su, Y. Detection and Pattern Recognition of Chemical Warfare Agents by MOS–Based MEMS Gas Sensor Array. Sensors 2025, 25, 2633. [Google Scholar] [CrossRef] [Scilit]
- Witkiewicz, Z.; Jasek, K.; Grabka, M. Semiconductor Gas Sensors for Detecting Chemical Warfare Agents and Their Simulants. Sensors 2023, 23, 3272. [Google Scholar] [CrossRef] [Scilit]
- Vergara, A. Gas Sensor Array Drift Dataset. In UCI Machine Learning Repository; Center for Machine Learning and Intelligent Systems: Irvine, CA, USA, 2012. [Google Scholar] [CrossRef]
- Baş, K.; Karakurt, S. Decontamination Solutions and Techniques for Chemical, Biological, Radiological and Nuclear (CBRN) Incidents. J. Def. Sci. 2024, 20, 1–25. [Google Scholar] [CrossRef] [Scilit]
- Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. MobileNetV2: Inverted Residuals and Linear Bottlenecks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA, 18–23 June 2018; pp. 4510–4520. [Google Scholar] [CrossRef] [Scilit]
- Zhu, M.H.; Gupta, S. To Prune, or Not to Prune: Exploring the Efficacy of Pruning for Model Compression. arXiv 2018, arXiv:1710.01878v2. [Google Scholar]
- Hinton, G.; Vinyals, O.; Dean, J. Distilling the Knowledge in a Neural Network. arXiv 2015, arXiv:1503.02531. [Google Scholar] [CrossRef] [Scilit]
- Courty, B.; Schmidt, V.; Goyal-Kamal; Coutarel, M.; Feld, B.; Lecourt, J.; Connell, L.; Amine, S.; Inimaz; Supatomic; et al. mlco2/Codecarbon: V2.4.1; Zenodo: Geneva, Switzerland, 2024. [Google Scholar] [CrossRef]
- Jiang, K.; Zeng, M.; Wang, T.; Wu, Y.; Ni, W.; Chen, L.; Yang, J.; Hu, N.; Zhang, B.; Xuan, F.; et al. Gas Sensor Drift Compensation Using Semi–Supervised Ensemble Classifiers with Multi–Level Features and Center Loss. ACS Sens. 2025, 10, 2906–2918. [Google Scholar] [CrossRef] [Scilit]
- Reddi, V.J.; Cheng, C.; Kanter, D.; Mattson, P.; Schmuelling, G.; Wu, C.-J.; Anderson, B.; Breughe, M.; Charlebois, M.; Chou, W.; et al. MLPerf Inference Benchmark. In Proceedings of the ACM/IEEE 47th Annual International Symposium on Computer Architecture (ISCA), Valencia, Spain, 30 May–June 2020; pp. 446–459. [Google Scholar] [CrossRef] [Scilit]
- Banbury, C.; Reddi, V.J.; Torelli, P.; Holleman, J.; Jeffries, N.; Király, C.; Montino, P.; Kanter, D.; Ahmed, S.A.; Pau, D.; et al. MLPerf Tiny Benchmark. arXiv 2021, arXiv:2106.07597. [Google Scholar] [CrossRef] [Scilit]
- Angelopoulos, A.N.; Bates, S. A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification. Found. Trends Mach. Learn. 2023, 16, 494–591. [Google Scholar] [CrossRef] [Scilit]
- Wörner, J.; Eimler, J.; Pein–Hackelbusch, M. Long–term drift behavior in metal oxide gas sensor arrays: A one–year dataset from an electronic nose. Sci. Data 2025, 12, 1628. [Google Scholar] [CrossRef] [Scilit] [PubMed]






| UCI Gas | CBRN Category | Analogy Basis | Label |
|---|---|---|---|
| Ammonia (NH3) | Nitrogen choking agent | Reactive N–H; high volatility | CWA-N |
| Acetaldehyde (CH3CHO) | Lachrymatory agent | Carbonyl reactivity; low MW | CWA-L |
| Acetone ((CH3)2CO) | Incapacitating carrier | Ketone; CNS vapor penetration | CWA-I |
| Ethylene (C2H4) | Vesicant precursor | Unsaturated C=C; skin reactive | CWA-V |
| Ethanol (C2H5OH) | Decontaminant; Disinfectant; bactericidal effect | Hydroxyl; reference baseline | REF [24] |
| Toluene (C6H5CH3) | Blister simulant | Aromatic; similar MOS to HD | CWA-B |
| Metric | Symbol | Unit | Method |
|---|---|---|---|
| Top-1 accuracy | ACC | % | Mean over 30 splits |
| Macro-F1 | F1 | — | Mean over 30 splits |
| Model size (INT8) | Smodel | kB | TFLite flatbuffer |
| Inference latency | tinf | ms | Median of 1000 runs |
| RAM footprint | MRAM | kB | TFLite heap peak |
| Energy per inference | Einf | mJ | CodeCarbon [28] |
| Architecture | ACC (%) | F1 | Smodel (kB) | tinf (ms) | MRAM (kB) | Einf (mJ) |
|---|---|---|---|---|---|---|
| SVM (RBF) | 100.0 ± 0.0 | 1.000 | 2.1 † | 31.2 | 4.1 | 0.18 |
| Random Forest | 99.53 ± 0.97 | 0.994 | 8400 † | 18.7 | 210.3 | 0.11 |
| ResNet-1D (large) | 99.03 ± 2.08 | 0.990 | 2180.0 † | 30.8 | 512.4 | 0.19 |
| LiteSensor-Net (float32) | 98.56 ± 1.76 | 0.984 | 185.0 † | 18.1 | 96.2 | 0.11 |
| ShuffleNet-1D | 93.98 ± 2.19 | 0.913 | 11.40 | 5.74 | N/A ‡ | N/A ‡ |
| MobileNet-1D | 95.19 ± 1.46 | 0.930 | 196.56 | 3.48 | N/A ‡ | N/A ‡ |
| InceptionTime-1D | 95.79 ± 2.53 | 0.944 | 21.57 | 0.94 | N/A ‡ | N/A ‡ |
| LiteSensor-Net (INT8, pruned) | 92.63 ± 2.02 | 0.898 | 5.99 | 6.3 | 31.7 | 0.04 |
| (a) Compression Ablation—LiteSensor-Net (5 Seeds, Batch 1) | ||||||
|---|---|---|---|---|---|---|
| Stage | Configuration | ACC (%) | Smodel (kB) | % | ||
| 1 | FP32 baseline | 91.43 ± 1.62 | 28.04 kB | — | ||
| 2 | + INT8 PTQ | 91.43 ± 1.62 | 7.37 kB | −73.7 | ||
| 3 | + structured pruning + fine-tuning | 92.63 ± 2.02 | 5.99 kB | −78.6 | ||
| (b) KD-DM Ablation—labeled calibration fraction (Task A, Batches 2–10) | ||||||
| Condition | Labeled fraction (%) | ACC (%) | ||||
| NC | 0 | 38.66 ± 14.50 | ||||
| KD-DM-unsup | 0 (pseudo-label) | 37.52 ± 13.92 | ||||
| KD-DM-05 | 5 | 39.48 ± 17.09 | ||||
| KD-DM-10 | 10 | 42.21 ± 18.38 | ||||
| KD-DM-20 | 20 | 47.91 ± 18.79 | ||||
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. |
© 2026 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.
Share and Cite
Kim, S.; Shin, M.; Kang, K.; Lee, D.-H.; Churchill, D.G.; Jang, Y.J. Drift-Robust Lightweight Deep Learning on Open Gas Sensor Benchmarks: A Reproducible Architecture Study with CBRN Applicability Mapping. Molecules 2026, 31, 1884. https://doi.org/10.3390/molecules31111884
Kim S, Shin M, Kang K, Lee D-H, Churchill DG, Jang YJ. Drift-Robust Lightweight Deep Learning on Open Gas Sensor Benchmarks: A Reproducible Architecture Study with CBRN Applicability Mapping. Molecules. 2026; 31(11):1884. https://doi.org/10.3390/molecules31111884
Chicago/Turabian StyleKim, Soohwan, Myeongsik Shin, Ku Kang, Doo-Hee Lee, David G. Churchill, and Yoon Jeong Jang. 2026. "Drift-Robust Lightweight Deep Learning on Open Gas Sensor Benchmarks: A Reproducible Architecture Study with CBRN Applicability Mapping" Molecules 31, no. 11: 1884. https://doi.org/10.3390/molecules31111884
APA StyleKim, S., Shin, M., Kang, K., Lee, D.-H., Churchill, D. G., & Jang, Y. J. (2026). Drift-Robust Lightweight Deep Learning on Open Gas Sensor Benchmarks: A Reproducible Architecture Study with CBRN Applicability Mapping. Molecules, 31(11), 1884. https://doi.org/10.3390/molecules31111884

