{"title":"PTADA: An unsupervised domain-adversarial regression algorithm for sensor drift in mixed gas scenarios","authors":"Xinpeng Cui, Xiaoran Huang, Xinyu Zhang, Peter Feng, Lidan Wang, Shukai Duan, Xiaoyan Peng","doi":"10.1016/j.snb.2025.138855","DOIUrl":null,"url":null,"abstract":"Compared to single-gas detection, regression prediction for mixed gas is more challenging, due to the feature diversity among different gas components and distribution discrepancy between source and target domains that caused by sensor drift effect. To address these challenges, we propose an unsupervised adversarial domain adaptation neural network called Progressive dual-stream Temporal network with Attention for Domain Adaptation (PTADA), offering an effective drift compensation solution for mixed gas regression tasks through adversarial learning. PTADA employs a multi-scale modeling approach to progressively extract local and global dependencies from temporal gas data, constructing a hierarchical temporal dependency structure and enhancing feature representation. Additionally, PTADA employs Multi-Kernel Maximum Mean Discrepancy (MK-MMD) for regularization to boost domain adaptation. Furthermore, to address the issue of sample imbalance in the concentration data, we designed a hybrid compressed focal loss function (H-Focal Loss) that combines linear error and logarithmic error. We evaluated PTADA on a self-collected H₂S–SO₂ mixed gas drift dataset, focusing on the novel and challenging task of regression-based drift compensation for mixed gases. The experimental results show that PTADA achieved R² values of 0.924 and 0.937 for H₂S and SO₂, respectively, outperforming traditional models and other drift compensation methods (such as Informer, SWD, and ADDA), which highlights its significant advantages in regression tasks under mixed gas drift conditions. Furthermore, noise resistance and sensor failure experiments verified the robustness of PTADA, and additional tests on public dataset and other mixed gas dataset demonstrated its strong generalization capability.","PeriodicalId":425,"journal":{"name":"Sensors and Actuators B: Chemical","volume":"65 1","pages":""},"PeriodicalIF":3.7000,"publicationDate":"2025-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sensors and Actuators B: Chemical","FirstCategoryId":"92","ListUrlMain":"https://doi.org/10.1016/j.snb.2025.138855","RegionNum":1,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, ANALYTICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Compared to single-gas detection, regression prediction for mixed gas is more challenging, due to the feature diversity among different gas components and distribution discrepancy between source and target domains that caused by sensor drift effect. To address these challenges, we propose an unsupervised adversarial domain adaptation neural network called Progressive dual-stream Temporal network with Attention for Domain Adaptation (PTADA), offering an effective drift compensation solution for mixed gas regression tasks through adversarial learning. PTADA employs a multi-scale modeling approach to progressively extract local and global dependencies from temporal gas data, constructing a hierarchical temporal dependency structure and enhancing feature representation. Additionally, PTADA employs Multi-Kernel Maximum Mean Discrepancy (MK-MMD) for regularization to boost domain adaptation. Furthermore, to address the issue of sample imbalance in the concentration data, we designed a hybrid compressed focal loss function (H-Focal Loss) that combines linear error and logarithmic error. We evaluated PTADA on a self-collected H₂S–SO₂ mixed gas drift dataset, focusing on the novel and challenging task of regression-based drift compensation for mixed gases. The experimental results show that PTADA achieved R² values of 0.924 and 0.937 for H₂S and SO₂, respectively, outperforming traditional models and other drift compensation methods (such as Informer, SWD, and ADDA), which highlights its significant advantages in regression tasks under mixed gas drift conditions. Furthermore, noise resistance and sensor failure experiments verified the robustness of PTADA, and additional tests on public dataset and other mixed gas dataset demonstrated its strong generalization capability.
期刊介绍:
Sensors & Actuators, B: Chemical is an international journal focused on the research and development of chemical transducers. It covers chemical sensors and biosensors, chemical actuators, and analytical microsystems. The journal is interdisciplinary, aiming to publish original works showcasing substantial advancements beyond the current state of the art in these fields, with practical applicability to solving meaningful analytical problems. Review articles are accepted by invitation from an Editor of the journal.