January 01, 1970
The rapid growth of industrial Internet of Things (IIoT) systems has created new challenges for anomaly detection in high-dimensional, multivariate time-series, where privacy, scalability, and communication efficiency are critical. Classical federated learning approaches mitigate privacy concerns by enabling decentralized training, but they often struggle with highly non-linear decision boundaries and imbalanced anomaly distributions. To address this gap, we propose a Federated Quantum Kernel Learning (FQKL) framework that integrates quantum feature maps with federated aggregation to enable distributed, privacy-preserving anomaly detection across heterogeneous IoT networks. In our design, quantum edge nodes locally compute compressed kernel statistics using parameterized quantum circuits and share only these summaries with a central server, which constructs a global Gram matrix and trains a decision function (e.g., Fed-QSVM). Experimental results on synthetic IIoT benchmarks demonstrate that FQKL achieves superior generalization in capturing complex temporal correlations compared to classical federated baselines, while significantly reducing communication overhead. This work highlights the promise of quantum kernels in federated settings, advancing the path toward scalable, robust, and quantum-enhanced intelligence for next-generation IoT infrastructures.
Federated Learning, Quantum Kernel Learning, Industrial IoT, Time-Series Analysis, Anomaly Detection
The rapid proliferation of industrial Internet of Things (IIoT) devices [1] has enabled unprecedented levels of automation [2], monitoring [3], and optimization[4] in critical infrastructures. However, the massive volume of time-series data generated by distributed sensors, coupled with the strict requirements for data privacy and low-latency communication, presents significant challenges for centralized machine learning approaches[5]–[7]. Federated learning (FL) has emerged as a promising paradigm to address these constraints by enabling collaborative training across decentralized devices without the need to share raw data [8]. Yet, classical federated models often struggle when confronted with complex, high-dimensional, and highly non-linear decision boundaries, which are characteristic of industrial anomaly detection scenarios[9], [10].
Quantum machine learning (QML) has recently attracted attention as a potential enabler of enhanced learning performance on structured and high-dimensional data [11], [12]. By leveraging Hilbert space embeddings and quantum feature maps, quantum kernels and variational circuits are capable of representing data correlations that are intractable for certain classical methods [11]. Kernel-based quantum models, such as quantum support vector machines (QSVMs)[13]–[18], have shown promise in handling non-linear classification tasks by implicitly projecting data into exponentially large feature spaces. When integrated into federated settings, such models offer a promising avenue for advancing distributed intelligence under communication, privacy, and robustness constraints[19]–[23].
Federated quantum machine learning (FQML) [24]–[26] extends this paradigm by combining quantum-enhanced feature representations with classical federated aggregation strategies. In this hybrid framework [14], [27], clients locally compute quantum kernel matrices or train quantum-enhanced models[25], [26], [28]–[31], which are subsequently aggregated on a central server without exposing sensitive sensor data [31]. This design aligns naturally with IIoT applications [32], [33], where data is inherently distributed, privacy-preserving protocols are essential, and communication bandwidth is limited[34]. Importantly, FQML does not necessitate full-scale quantum networking; rather, clients can operate quantum processors locally or via cloud backends, while the federated protocol ensures scalability and interoperability with classical infrastructure [25], [26], [28]–[31].
Despite its promise, the development of FQML for IIoT anomaly detection remains at an early stage. Key research questions include the design of quantum feature maps suitable for temporal data, the robustness of federated aggregation under client heterogeneity, and the evaluation of performance against well-established classical baselines. Furthermore, anomaly detection in IIoT often involves severe class imbalance, where conventional classifiers may yield high accuracy but poor recall. Exploring how quantum-enhanced kernels behave under such conditions, and whether they provide resilience to imbalance, is crucial for assessing the utility of quantum methods in industrial contexts.
In this work, we present a proof-of-concept study of federated quantum support vector machines (Fed-SVMs) for IIoT time-series anomaly detection. We propose a synthetic parity-phase scenario to emulate complex non-linear dependencies that are challenging for classical models. Our framework employs parameterized quantum feature maps implemented in PennyLane with up to ten qubits, coupled with federated aggregation across multiple clients. We benchmark the approach against centralized classical baselines, including SVM-RBF and Random Forest, to assess comparative performance in terms of recall, precision–recall AUC, and communication cost. The results highlight both the feasibility and the limitations of current FQML implementations, offering insights into future directions for distributed quantum–classical pipelines in industrial environments.
Anomaly detection in univariate time series has been widely studied across domains such as finance, manufacturing, and network monitoring. Traditional statistical approaches include control chart methods (e.g., Shewhart and CUSUM tests) and autoregressive integrated moving average (ARIMA) forecasting, which identify anomalies by modeling temporal dependencies and flagging deviations beyond confidence intervals. While effective for stationary signals with well-defined distributions, these approaches often struggle with non-stationary or irregular patterns common in industrial IoT data.
Machine learning-based techniques have emerged to address such limitations. Classical supervised methods, such as one-class support vector machines (OC-SVM) [35] and isolation forests, operate by learning normality from training data and labeling deviations as anomalies [36]. More recently, deep learning methods–particularly recurrent neural networks (RNNs) and long short-term memory networks (LSTMs) [37], [38]–have been applied for sequence prediction and reconstruction-based anomaly detection. Variants such as LSTM autoencoders [39], [40] and temporal convolutional networks (TCNs) [41]–[43] can capture longer temporal dependencies and adapt to complex dynamics. Despite their improved performance, these models typically require large volumes of training data and are prone to overfitting when anomalies are scarce, a condition frequently encountered in real-world IIoT scenarios.
Multivariate time-series anomaly detection introduces additional challenges due to interdependencies across sensor modalities. Classical multivariate methods extend univariate techniques by incorporating correlation structures, for instance, through vector autoregressive (VAR) models or multivariate Gaussian processes [44]. However, these approaches face scalability issues as the dimensionality of sensor networks grows, and often assume linear dependencies that may not hold in industrial settings.
Machine learning approaches have sought to address these limitations by leveraging representation learning. Principal component analysis (PCA) and its variants (e.g., robust PCA) are widely used for dimensionality reduction, with anomalies detected as deviations in low-rank reconstructions [45]. Deep learning methods further extend this paradigm: LSTM and GRU-based models are employed to capture cross-sensor temporal correlations [46], while graph neural networks (GNNs) [47] and attention-based architectures have been introduced to model sensor interdependencies more explicitly [48]. These models have demonstrated strong performance in complex IIoT systems, yet they remain computationally demanding and may require centralized data aggregation, raising concerns around privacy and communication overhead.
Federated learning [8] has emerged as a promising paradigm to address the privacy and communication challenges inherent in distributed industrial IoT systems. Instead of aggregating raw data from geographically distributed devices, FL enables collaborative model training through parameter sharing under secure protocols. Applied to time-series anomaly detection, FL allows heterogeneous edge devices and industrial sensors to contribute to a global model while keeping sensitive data localized.
Several works have investigated federated LSTM [49], GRU [50], and transformer-based models [51] for anomaly detection in IIoT environments. These methods have demonstrated the ability to capture both temporal dependencies and device-specific patterns, while reducing communication costs through model compression or update sparsification. However, FL also faces challenges such as statistical heterogeneity (non-IID data across clients), system heterogeneity (varying hardware capabilities), and the potential for communication bottlenecks as models scale. Recent research has explored hybrid strategies, combining FL with model personalization [52]–[54] or meta-learning [55], [56], to mitigate performance degradation under non-uniform client distributions. Despite these advances, federated anomaly detection remains largely confined to classical ML and deep learning models, leaving open opportunities for incorporating novel paradigms such as quantum machine learning.
We consider a set of \(K\) IIoT clients (shown in Fig. 1), each equipped with heterogeneous sensors generating multivariate time-series data. The dataset on client \(k \in \{1, \dots, K\}\) is denoted by \[\mathcal{D}_k = \{(x_i^{(k)}, y_i^{(k)})\}_{i=1}^{N_k},\] where \(x_i^{(k)} \in \mathbb{R}^d\) is a \(d\)-dimensional feature vector obtained from a sliding window of raw sensor readings, and \(y_i^{(k)} \in \{0,1\}\) is the corresponding anomaly label. The global dataset is \(\mathcal{D} = \bigcup_{k=1}^K \mathcal{D}_k\), but direct sharing of \(\mathcal{D}_k\) is prohibited due to privacy and bandwidth constraints.
To evaluate federated quantum kernel methods under realistic IIoT-inspired conditions, we adopt synthetic multivariate time-series datasets that allow explicit control of anomaly definitions while capturing the heterogeneous dynamics of industrial sensors. Each client dataset \(\mathcal{D}_k\) is constructed from raw sensor streams by applying a sliding window of length \(w\), yielding feature vectors \(x_i^{(k)} \in \mathbb{R}^d\) with associated binary anomaly labels \(y_i^{(k)} \in \{0,1\}\).
Two complementary dataset constructions are considered:
Periodic dataset: Sensors follow sinusoidal patterns with heterogeneous frequencies, phases, and amplitudes, perturbed by additive noise and linear mixing. Anomalies are introduced as short bursts where selected sensors exhibit abrupt drifts and transient spikes, mimicking unexpected operational faults in IIoT environments. This setup resembles practical industrial conditions such as vibration surges or sensor malfunctions.
Parity-of-Phase dataset: Sensors again generate periodic signals with stochastic phase variations. For each sensor \(j\), we compute a binary phase-change indicator \[Z_{t,j} = \mathbb{1}\big[X_{t,j} - X_{t-\ell,j} > 0 \big],\] where \(\ell\) is a lag parameter and \(\mathbb{1}[\cdot]\) is the indicator function. A subset \(\mathcal{S}\) of \(p\) sensors is selected, and the parity signal is defined as \[P_t = \bigoplus_{j \in \mathcal{S}} Z_{t,j},\] where \(\oplus\) denotes the XOR operation. Anomalies are triggered when \(P_t=1\), and to avoid dense labeling, contiguous bursts of length \(10\)–\(40\) samples are marked as anomalous. This construction yields a high-order, non-linear decision boundary that is challenging for classical kernel methods but naturally aligns with the representational power of entangling quantum feature maps.
Let \(\phi: \mathbb{R}^d \to \mathcal{H}\) denote a parameterized quantum feature map that encodes a classical input \(x \in \mathbb{R}^d\) into an \(n\)-qubit Hilbert space \(\mathcal{H}\). The quantum kernel induced by \(\phi\) is defined as \[\kappa(x, x') = |\langle \phi(x) | \phi(x') \rangle|^2,\] which measures the similarity between two time-series windows \(x\) and \(x'\) via their overlap in Hilbert space. The kernel matrix on client \(k\) is then \[K^{(k)}_{ij} = \kappa(x_i^{(k)}, x_j^{(k)}), \quad 1 \leq i,j \leq N_k.\]
Each client \(k\) trains a local support vector machine (SVM) on \((K^{(k)}, y^{(k)})\) by solving the dual optimization problem \[\begin{align} \max_{\alpha^{(k)}} & \quad \sum_{i=1}^{N_k} \alpha^{(k)}_i - \tfrac{1}{2} \sum_{i,j=1}^{N_k} \alpha^{(k)}_i \alpha^{(k)}_j y_i^{(k)} y_j^{(k)} K^{(k)}_{ij}, \\ \text{s.t.} & \quad 0 \leq \alpha^{(k)}_i \leq C, \quad \sum_{i=1}^{N_k} \alpha^{(k)}_i y_i^{(k)} = 0, \end{align}\] where \(C > 0\) is the regularization parameter. The resulting model is characterized by a set of support vectors \(\mathcal{S}_k = \{x_j^{(k)} : \alpha^{(k)}_j > 0\}\), dual coefficients \(\alpha^{(k)}\), and bias term \(b^{(k)}\).
Since raw data cannot be exchanged, each client transmits only its support vectors, dual coefficients, and bias contribution to the central server. The global decision function is constructed as \[f(x) = \text{sign}\left( \sum_{k=1}^K \sum_{j \in \mathcal{S}_k} \alpha^{(k)}_j y_j^{(k)} \kappa(x_j^{(k)}, x) + b \right),\] where \(b\) is obtained by aggregating client-specific biases, typically via weighted averaging proportional to client data sizes \(N_k\).
Definition 1 (Federated Quantum Kernel Learning). Given a set of \(K\) clients with local datasets \(\{\mathcal{D}_k\}_{k=1}^K\), the problem of federated quantum kernel learning is to construct a global classifier \(f: \mathbb{R}^d \to \{0,1\}\) that:
preserves data privacy by restricting communication to quantum kernel model parameters (support vectors, dual coefficients, bias);
minimizes the empirical risk on the global dataset \(\mathcal{D}\) under class imbalance, i.e., \[\min_{f \in \mathcal{F}_Q} \frac{1}{|\mathcal{D}|} \sum_{(x,y) \in \mathcal{D}} \ell(f(x), y),\] where \(\ell\) is the binary classification loss and \(\mathcal{F}_Q\) is the hypothesis class induced by quantum kernels; and
ensures communication efficiency by bounding the payload size per client as a function of \(|\mathcal{S}_k|\) rather than \(N_k\).
The core challenge is to design federated quantum kernel methods that can (i) capture highly non-linear and temporally entangled structures in IIoT time-series, (ii) remain robust to heterogeneous and imbalanced data distributions across clients, and (iii) operate within the strict bandwidth constraints typical of IIoT networks.
A system of \(N\) qubits is described by the Hilbert space \(\mathcal{H} \cong \mathbb{C}^{2^N}\). Given a classical input \(\mathbf{x} \in \mathbb{R}^d\), a parameterized unitary embedding \[U_E(\mathbf{x}): |0\rangle^{\otimes N} \mapsto |\phi(\mathbf{x})\rangle\] defines a quantum feature state. The corresponding density operator is \[\rho(\mathbf{x}) = |\phi(\mathbf{x})\rangle \langle \phi(\mathbf{x})|,\] which compactly encodes the data in a potentially exponentially large Hilbert space.
The similarity between two inputs \(\mathbf{x}, \mathbf{x}'\) is quantified by the quantum kernel \[K(\mathbf{x}, \mathbf{x}') = \big|\langle \phi(\mathbf{x}) | \phi(\mathbf{x}') \rangle \big|^2 = \mathrm{Tr}\!\left[\rho(\mathbf{x})\,\rho(\mathbf{x}')\right].\] For a dataset \(\{\mathbf{x}_i\}_{i=1}^n\), evaluating pairwise kernels yields the Gram matrix \(K \in \mathbb{R}^{n \times n}\), which is positive semidefinite and suitable for use in kernel methods such as support vector machines (SVMs) or kernel ridge regression.
In kernel SVM, the decision function for a new sample \(\mathbf{x}\) is expressed as \[h(\mathbf{x}) = \mathrm{sign}\!\left( \sum_{i=1}^n \alpha_i\,y_i\,K(\mathbf{x}, \mathbf{x}_i) + b \right),\] where \(\alpha_i\) and \(b\) are determined by solving the dual optimization problem \[\max_{\boldsymbol{\alpha}} \; \mathbf{1}^\top \boldsymbol{\alpha} - \tfrac{1}{2} \boldsymbol{\alpha}^\top \big( Y K Y \big) \boldsymbol{\alpha}, \quad \text{s.t. } \; 0 \leq \alpha_i \leq C,\; \sum_i \alpha_i y_i = 0,\] with \(Y = \mathrm{diag}(y_1, \ldots, y_n)\). Here, the kernel matrix \(K\) may be generated by a quantum device, while the optimization remains classical.
In federated learning, training data are distributed across \(M\) clients \(\{\mathcal{D}_j\}_{j=1}^M\), each holding local samples \(\mathcal{D}_j = \{(\mathbf{x}_i^{(j)}, y_i^{(j)})\}\). Directly pooling raw data may be infeasible due to privacy or communication constraints. Instead, each client computes its local quantum kernel evaluations: \[K_j(\mathbf{x}, \mathbf{x}') = \big|\langle \phi(\mathbf{x}) | \phi(\mathbf{x}') \rangle \big|^2, \quad \mathbf{x},\mathbf{x}' \in \mathcal{D}_j.\]
The clients then share compressed kernel statistics (e.g., support vectors, partial kernel submatrices, or aggregated feature maps) with a central server. The server aggregates the information into a global kernel matrix: \[K_{\mathrm{global}} = \frac{1}{M} \sum_{j=1}^M \Pi_j \, K_j \, \Pi_j^\top,\] where \(\Pi_j\) is an embedding operator aligning the indices of client \(j\) into the global kernel space. This ensures that the global kernel preserves contributions from all clients without requiring raw data exchange.
Finally, the global kernel matrix \(K_{\mathrm{global}}\) is used in the classical optimization step of SVM (or other kernel methods), yielding a decision function: \[h(\mathbf{x}) = \mathrm{sign}\!\left( \sum_{j=1}^M \sum_{\mathbf{x}_i^{(j)} \in \mathcal{D}_j} \alpha_i^{(j)}\,y_i^{(j)}\,K(\mathbf{x}, \mathbf{x}_i^{(j)}) + b \right).\] This formulation integrates quantum kernel embeddings with federated aggregation, enabling distributed and privacy-preserving quantum-enhanced learning across heterogeneous IoT clients.
We propose a federated learning framework for quantum kernel methods, in which multiple clients collaboratively train a global model without sharing raw data. Consider \(M\) clients, each holding a local dataset \(\mathcal{D}_j = \{(\mathbf{x}_i^{(j)}, y_i^{(j)})\}_{i=1}^{n_j}\). Each client is capable of evaluating quantum kernel overlaps using the fixed feature map \(U_E(\cdot)\) defined in Section II. This yields local kernel matrices \(K_j \in \mathbb{R}^{n_j \times n_j}\) associated with its private dataset.
Rather than transmitting local samples, each client compresses its kernel information—either through support vector selection or by reporting submatrices aligned with the global index set—and sends only these compressed statistics to the server. This strategy ensures that sensitive local data remain private, while still contributing to the global learning task.
At the server, local contributions are assembled into a global Gram matrix via index-alignment operators \(\Pi_j\): \[K_{\text{global}} = \frac{1}{M} \sum_{j=1}^M \Pi_j K_j \Pi_j^\top.\] The server then solves the standard support vector machine dual problem over \(K_{\text{global}}\): \[\max_{\boldsymbol{\alpha}} \quad \mathbf{1}^\top \boldsymbol{\alpha} - \tfrac{1}{2}\boldsymbol{\alpha}^\top (Y K_{\text{global}} Y)\boldsymbol{\alpha}, \quad \text{s.t. } 0 \leq \alpha_i \leq C,\; \sum_i \alpha_i y_i = 0,\] where \(Y = \mathrm{diag}(y_1,\ldots,y_n)\) encodes labels from all clients. Solving this optimization yields the global dual coefficients \(\{\alpha_i\}\) and bias \(b\).
The resulting global decision function \[h(\mathbf{x}) = \mathrm{sign}\!\left(\sum_{i=1}^n \alpha_i y_i K(\mathbf{x}, \mathbf{x}_i) + b\right)\] is then broadcast to all clients. Each client can apply \(h(\cdot)\) locally for inference without requiring access to other clients’ data. This architecture provides communication efficiency and privacy guarantees, making it particularly suited to federated IoT deployments where both quantum resources and communication bandwidth are constrained.
Figure 4: Benchmarking of federated quantum SVM (Fed-QSVM) against classical baselines (Fed-SVM, Fed-RF). (a) Fed-QSVM sustains accuracy under increasing parity order, unlike classical models that degrade with higher feature interactions. (b) Fed-QSVM remains robust with growing client numbers, whereas Fed-RF shows higher variance and Fed-SVM degrades moderately. (c) While requiring more samples in the low-data regime, Fed-QSVM surpasses classical baselines with larger datasets, demonstrating superior scalability in distributed IoT anomaly detection.. a — Impact of parity order on accuracy., b — Scalability with number of clients., c — Effect of training data size.
Algorithm 5 summarizes the FQKL procedure. Each client computes its local kernel information, compresses and transmits it to the server, where aggregation and global optimization are performed. The global model is then redistributed for inference. This workflow decouples expensive quantum kernel evaluation (executed in parallel across clients) from the centralized classical optimization (executed once at the server), thereby balancing resource usage across the federation.
The results obtained from the parity order experiments (Fig. 4 (a)) clearly highlight the trade-off between problem complexity and classification accuracy across federated models. As expected, increasing the parity order, which imposes a higher non-linear dependency among the input features, leads to a general decline in accuracy across all methods. Notably, Fed-QSVM demonstrates strong resilience when compared with its classical counterparts, maintaining stable accuracy even as parity order increases from 3 to 7. By contrast, Fed-SVM exhibits more pronounced performance fluctuations, while Fed-RF, although competitive at lower orders, suffers from instability at higher complexities. This indicates that quantum-enhanced kernels provide superior generalization in high-dimensional feature interactions, which is critical for anomaly detection in IoT sensor networks where signal correlations are inherently complex.
The analysis of client scalability (Fig. 4 (b)) reveals another important dimension of federated learning in distributed IoT environments. Fed-QSVM achieves consistently high performance regardless of the number of participating clients, suggesting robustness against data fragmentation and heterogeneous distributions. Classical baselines, in particular Fed-RF, exhibit larger variance as the number of clients increases, highlighting their sensitivity to partitioned training data. Fed-SVM remains competitive but shows slight degradation when scaling beyond moderate client counts. The stability of Fed-QSVM in this federated setting emphasizes the advantage of leveraging quantum kernel methods, which are less reliant on centralized data aggregation and more effective in extracting non-local correlations across distributed clients — a key advantage for large-scale IoT infrastructures.
Finally, varying the number of training samples (Fig. 4 (c)) demonstrates the asymptotic behavior of the models with respect to data availability. In the low-data regime (15k–20k samples), Fed-QSVM initially underperforms classical baselines, reflecting the higher sample complexity often required by quantum kernel models. However, as the dataset size increases, Fed-QSVM rapidly closes the gap and converges to comparable or superior accuracy at 40k–50k samples. This observation suggests that while quantum-enhanced methods may incur an initial overhead in data requirements, they exhibit stronger scalability and improved generalization with sufficient training samples. For IoT applications where data collection can be continuous and abundant, this property positions Fed-QSVM as a promising candidate for future quantum-classical hybrid pipelines, offering long-term advantages in accuracy and resilience over purely classical federated models.
The relationship between communication overhead and model accuracy is critical in federated IoT environments, where bandwidth and latency constraints are often dominant bottlenecks. Fig. 6 illustrates this trade-off by comparing Fed-QSVM against classical baselines (Fed-SVM and Fed-RF) under both parity and periodic scenarios.
In the parity scenario, Fed-QSVM and Fed-SVM achieve competitive accuracy while requiring only a few kilobytes of communication, in stark contrast to Fed-RF, which incurs orders of magnitude greater communication cost to reach similar or slightly higher accuracy. This clearly highlights the communication efficiency of kernel-based federated models, with Fed-QSVM demonstrating robustness in capturing high-order feature interactions without incurring excessive exchange overhead. By contrast, Fed-RF’s reliance on ensemble aggregation significantly amplifies its communication demand, making it less suited for bandwidth-limited IoT deployments.
The periodic scenario presents a more nuanced picture. All three methods achieve high accuracy (exceeding 0.9), and the communication costs, while different, show partial overlap. In this case, the advantage of Fed-QSVM is less pronounced, as the simpler periodic patterns are sufficiently captured by classical baselines. These results suggest that the primary benefit of quantum kernels emerges in tasks characterized by complex, non-linear correlations (e.g., parity anomalies), where they offer a superior balance between communication cost and learning performance.
In summary, this work presented the FQKL framework for anomaly detection in multivariate IoT time-series data, integrating quantum kernel methods within a federated learning architecture to enable collaborative model training without compromising data privacy. Systematic experiments across diverse data scales, client configurations, and quantum resource settings demonstrated that FQKL achieves competitive or superior performance relative to classical federated baselines such as SVM and Random Forest, benefiting from the enhanced representational capacity of quantum feature maps in capturing complex temporal correlations. The framework further proved scalable and communication-efficient, leveraging compressed kernel statistics to minimize overhead in resource-constrained IoT environments. By aligning with the emerging paradigm of distributed quantum–classical hybrid systems, FQKL establishes a foundation for future exploration in quantum-enhanced federated learning, including adaptive quantum feature design, efficient support vector selection, and implementation on near-term quantum hardware—advancing the realization of scalable, privacy-preserving, and intelligent IoT networks.
This work was supported by the Engineering and Physical Sciences Research Council (EPSRC) under grant number EP/W032643/1.
Corresponding Author: kuan-cheng.chen17@imperial.ac.uk↩︎
The views expressed in this article are those of the authors and do not represent the views of Wells Fargo. This article is for informational purposes only. Nothing contained in this article should be construed as investment advice. Wells Fargo makes no express or implied warranties and expressly disclaims all legal, tax, and accounting implications related to this article.↩︎