设备端故障检测无需依赖云端即可实现实时诊断,但在资源受限硬件上部署机器学习模型需要在准确性、延迟和模型大小之间进行仔细权衡。我们提出了一个基准测试,比较传统机器学习方法(随机森林、XGBoost、SVM、逻辑回归)与轻量级Transformer架构(DistilBERT、TinyBERT-6L、TinyBERT-4L、MobileBERT)在三个公开数据集上的二分类故障检测性能:NASA C-MAPSS涡扇退化、SECOM半导体制造和UCI AI4I 2020预测维护。我们评估了分类性能(F1分数、AUC)、模型大小和CPU推理延迟,并进一步评估了INT8动态量化和两阶段自适应推理流水线。我们的结果表明,在分离良好的传感器数据(C-MAPSS)上,轻量级Transformer在F1达到87.8%时与传统ML相当,但模型大小增加100倍,延迟增加9000倍。TinyBERT-4L以55 MB和18 ms CPU延迟成为最易于部署的Transformer。INT8量化将模型大小减少25%,同时保持86.9%的F1分数。我们的自适应流水线通过量化分诊模型路由97.9%的预测,仅2.1%的预测交由更大的专家模型处理,实现了平均延迟19.5 ms下的87.6% F1分数。在严重不平衡的数据集(SECOM、UCI-PM)上,传统方法和Transformer方法均表现不佳,突显了当前方法在故障检测中处理极端类别不平衡的根本局限性。所有代码均已公开。
英文摘要:
On-device fault detection enables real-time diagnostics without cloud dependency, but deploying machine learning models on resource-constrained hardware demands careful tradeoffs between accuracy, latency, and model size. We present a benchmark comparing traditional ML methods (Random Forest, XGBoost, SVM, Logistic Regression) against lightweight transformer architectures (DistilBERT, TinyBERT-6L, TinyBERT-4L, MobileBERT) for binary fault detection across three public datasets: NASA C-MAPSS turbofan degradation, SECOM semiconductor manufacturing, and UCI AI4I 2020 predictive maintenance. We evaluate classification performance (F1-score, AUC), model size, and CPU inference latency, and further assess INT8 dynamic quantization and a two-stage adaptive inference pipeline. Our results reveal that on well-separated sensor data (C-MAPSS), lightweight transformers match traditional ML at 87.8% F1 but at 100x the model size and 9000x the latency. TinyBERT-4L emerges as the most deployment-friendly transformer at 55 MB and 18 ms CPU latency. INT8 quantization reduces size by 25% while preserving 86.9% F1. Our adaptive pipeline, routing 97.9% of predictions through a quantized triage model and only 2.1% to a larger expert, achieves 87.6% F1 at 19.5 ms average latency. On severely imbalanced datasets (SECOM, UCI-PM), both traditional and transformer methods struggle significantly, highlighting fundamental limitations of current approaches for extreme class imbalance in fault detection. All code is publicly available.
LiteInception: A Lightweight and Interpretable Deep Learning Framework for General Aviation Fault Diagnosis
Hangzhou International Innovation Institute, Beihang University(北京航空航天大学杭州国际创新研究院);Science and Technology on Complex Aviation System Simulation Laboratory(复杂航空系统仿真重点实验室);The First Aircraft Institute of Aviation Industry Corporation of China(中国航空工业集团公司第一飞机设计研究院);School of Reliability and Systems Engineering, Beihang University(北京航空航天大学可靠性与系统工程学院)
BearingPGA-Net: A Lightweight and Deployable Bearing Fault Diagnosis Network via Decoupled Knowledge Distillation and FPGA Acceleration
Harbin Institute of Technology(哈尔滨工业大学);The Hong Kong Polytechnic University(香港理工大学);Analog Devices, Inc.(亚德诺公司);The Chinese University of Hong Kong(香港中文大学)
Lightweight CNN-Based Anomaly Detection for High Voltage Converter Modulators in the Spallation Neutron Source
Andalusian Research Institute in Data Science and Computational Intelligence (DaSCI)(安达卢西亚数据科学与计算智能研究院);Department of Computer Science and Artificial Intelligence (DECSAI), University of Granada(格拉纳达大学计算机科学与人工智能系)
Link-Aware Energy-Frugal Continual Learning for Fault Detection in IoT Networks
Department of Electronic Systems, Aalborg University(电子系统系,奥尔堡大学);Department of Electrical and Computer Engineering, Aarhus University(电气与计算机工程系,阿arhus大学)
Analysis of Hyperparameter Optimization Effects on Lightweight Deep Models for Real-Time Image Classification
Homi Bhabha National Institute(霍米·巴巴国家研究所);Variable Energy Cyclotron Centre(可变能量回旋加速器中心);Gargi Memorial Institute of Technology(加尔吉纪念技术学院);Jadavpur University(贾达普大学)
Lightweight Image Classification of Raptor Species for Edge Devices: Rare-Species Dataset Expansion via Video Frame Extraction, Knowledge Distillation, and TensorRT Deployment
Fault Detection via Occupation Kernel Principal Component Analysis
School of Mechanical and Aerospace Engineering, Oklahoma State University(俄克拉荷马州立大学机械与航空航天工程学院);Computer Science and Mathematics Division, Oak Ridge National Laboratory(橡树岭国家实验室计算机科学与数学分部);Automatic Laboratory, Ecole Polytechnique Federale de Lausanne(洛桑联邦理工学院自动实验室)