Manuscript Offprint

arXiv:2610.40848

Predictive Maintenance at the Edge: An Embedded Anomaly Detection Pipeline Trained with Quantum Optimization

Filipe Chagas Ferraz

Filipe Chagas Ferraz

Department of Computing, Federal University of São Carlos, São Carlos, SP, Brazil

This article presents a predictive-maintenance pipeline that detects anomalies in bearings from vibration signals, adapted for deployment at the edge on low-cost microcontrollers, and that uses quantum optimization in two steps of its training. The pipeline consists of a step of vibration feature extraction and a step of classification with a one-class support vector machine (OCSVM). The features are selected by minimum redundancy and maximum relevance (mRMR) with the variational quantum eigensolver (VQE), under a limit on computing time. The OCSVM is adapted for inference at the edge without floating-point operations and is trained by a variational quantum algorithm with Pauli-correlation encoding (PCE). In small-scale tests on a simulator, with the Paderborn bearing dataset, the VQE found the optimal selection in 36% of the runs with Adam, and PCE chose better support vectors than chance, until a classical local search made the two equal. A classical baseline, the usual OCSVM trained by SMO with its weights rounded, matched them without any search.

Industry depends on machines that wear out and can fail unexpectedly if the proper maintenance is not carried out. Maintenance can be preventive, done periodically; corrective, done after a breakdown; or predictive, done when a condition-monitoring system flags an anomaly early, possibly before it turns into a breakdown. The development of technologies that detect anomalies in machines from sensor data is an active topic called predictive maintenance (PdM).¹ In rotating machines, and in bearings in particular, an effective approach to detecting anomalies is to use machine-learning pipelines that classify vibration signals, because the characteristics of the vibration change when there are defects.

From a data-engineering point of view, a conventional way of deploying a PdM pipeline is to install the sensor on the machine, send the recorded data to the cloud, run the machine-learning pipeline in the cloud, and show the output on a dashboard. Another way, which can be cheaper, is to run the pipeline at the edge, that is, on an embedded system physically close to the sensor, with no processing in the cloud. This second approach becomes even more attractive when the prediction must be made in real time, under hard latency limits. In this case, however, the pipeline must be optimized for the limitations of the embedded hardware used. One such limitation is the high cost of floating-point operations. Low-cost microcontrollers, such as the ESP32-C6 and the STM32F103, have no floating-point unit (FPU), and floating-point operations take more clock cycles than integer or fixed-point ones. In FP-

GAs, which can serve as powerful prediction accelerators at the edge, floating-point operations take up more configurable logic blocks than integer and fixed-point ones.

This article lies at the intersection of predictive maintenance, machine learning, and quantum computing. We present a working pipeline for anomaly detection at the edge based on vibration analysis with the one-class support vector machine (one-class SVM, OCSVM) (Figure 1a) and adopt quantum computing as the “trainer” of the pipeline. We evaluate the pipeline and the quantum algorithms on the public bearing dataset of Paderborn University.

The pipeline we developed takes as input a vibration signal with a high sampling rate and a duration of 1 s, and gives a binary classification as output, indicating whether the characteristics of the vibration are abnormal. The sampling rate of the dataset used in the tests is 64 kHz. The first step of the pipeline is feature extraction, which summarizes the signal of 64,000 samples in 5 numbers, and the second is classification with the OCSVM. As adaptations for the edge, we use a feature-selection process, in which a quantum optimizer chooses the 5 most suitable features out of a total of 16 known ones (which is necessary because computing each feature takes time), and we configure the OCSVM so that classification needs no floating-point operations. The quantum methods used are the variational quantum eigensolver for feature selection and variational quantum optimization with Pauli-correlation encoding for training the OCSVM.

The application of quantum computing to machine-learning and optimization problems is a relevant and challenging research topic. In recent years, major advances have started the noisy intermediate-scale quantum (NISQ) era,² marked by working commercial quantum computers that are limited in the number and quality of their qubits. These limitations rule out the practical application of quantum algorithms with theoretically proven speedups, such as the algorithms of Shor³ and Grover.⁴ In machine learning and optimization, moreover, obtaining and demonstrating quantum advantage is hard even from a theoretical point of view, and many researchers regard the question as still open.⁵

In our project, feature selection and the training of the OCSVM are modeled as quadratic unconstrained binary optimization (QUBO) problems, which are the specialty of quantum optimizers. The use of quantum optimization is justified by the adaptations for the edge: with binary weights, training the OCSVM, which is convex and solved in polynomial time in the usual case, becomes combinatorial, as does feature selection under a budget. The tests were run with few qubits on quantum simulators and with small instances of the problems (easy for classical computers), for demonstration purposes only, and random solutions are used as the baseline. The goal is not to demonstrate quantum advantage.

THE PARTS OF THE PIPELINE

References (23)