Hybrid Quantum-inspired Kolmogorov-Arnold Networks for Privacy-Aware Federated Biosignal LearningExplained for Beginners
Chun-Hua Lin, Samuel Yen-Chi Chen, Yu-Chao Hsu +7 more
Abstract
Electrocardiogram (ECG) recordings are sensitive biomedical data, limiting the ability of hospitals and wearable devices to share raw signals for centralized model training. Federated learning addresses this practical privacy constraint by enabling collaborative model training while keeping raw biosignal data at their respective sources. However, federated ECG classification remains challenging due to limited client-side samples, imbalanced arrhythmia labels, and non-independent and identically distributed (non-IID) data across clients. These constraints require classifiers that are both communication-efficient and robust to cross-client distribution shifts. In this work, we evaluate a hybrid quantum-inspired Kolmogorov-Arnold network (HQKAN) against a multilayer perceptron (MLP) for five-class arrhythmia classification on the MIT-BIH dataset and three-class classification on the INCART dataset under federated averaging (FedAvg). Across multiple client configurations, HQKAN improves most aggregate and minority-class metrics while using 37.35% fewer trainable parameters and reducing communication cost by 24.89% on MIT-BIH; on INCART, it achieves corresponding reductions of 44.81% and 36.41%. These results indicate that HQKAN offers a compact, communication-efficient and robust alternative to the MLP baseline for privacy-aware federated learning on biosignal data.
The Problem
Imagine you’re a hospital system that wants to build a better arrhythmia detector. To do that, you need a model trained on thousands of electrocardiogram (ECG) recordings. But ECGs are deeply personal—they contain intimate health details. Sharing raw signals across institutions isn’t just a paperwork hurdle; it’s a compliance nightmare under regulations like HIPAA or GDPR. Patients wouldn’t expect their heart data floating around in a global cloud.
Federated learning (FL) was invented for exactly this kind of scenario. Instead of moving the data, you move the model. Each hospital keeps its ECG recordings on-premises, trains a local model on its own patients, and then only shares the “updates” (the mathematical changes to the model) with a central server. The server aggregates these updates into a global model, sends it back, and the process repeats.
But FL isn’t a magic wand. When you try to train a model on ECG data across many hospitals or wearable devices, three things go wrong:
- Scarce data per client: A single hospital or wearable patch might only have a few hundred ECG beats. That’s not nearly enough to train a robust deep learning model.
- Imbalanced labels: Not all heart rhythms are created equal. Some are common (normal beats), while others, like certain ventricular ectopies, are rare. A standard model will simply learn to predict "normal" and ignore the rare but critical conditions.
- Non-IID data: This is the killer. "Independent and identically distributed" means every participant’s data looks roughly the same. In reality, Hospital A might have mostly older patients with different baseline rhythms than Hospital B’s younger wearer population. The data distributions shift across clients. A model trained on one hospital’s "normal" might look at another hospital’s data and cry "arrhythmia" just because the baseline is different.
The paper tackles these exact problems. It asks: Can we build a federated model that is communication-efficient (so we don’t overwhelm the network sending those model updates), robust to those distribution shifts, and lightweight enough to train on edge devices?
How It Works (The Technical Mechanics)
The authors pit a standard Multilayer Perceptron (MLP) against their secret weapon: a Hybrid Quantum-inspired Kolmogorov–Arnold Network (HQKAN).
To understand the HQKAN, you first need to understand the Kolmogorov–Arnold Network (KAN). A standard neural network uses fixed activation functions—like ReLU or Sigmoid—at each node. A KAN flips this: the weights are fixed, and the activation functions are learnable. Think of it like having a flexible dial at every node instead of a light switch that’s either on or off.
Now, add the "Quantum-inspired" twist. The HQKAN uses something called Data Re-Uploading Activation Networks (DARUAN). Here is the analogy:
Imagine you have a black-and-white photo (your ECG signal) that you want to describe in words. A normal network just looks at the pixels. The HQKAN, however, takes those pixel values and "re-uploads" them repeatedly into a simulated quantum circuit. It’s like taking the same handful of data points and feeding them through a loop multiple times, each time letting the system evolve slightly differently. This process encodes the structure of the ECG into a "quantum-like" feature space.
The "hybrid" part means the HQKAN has a standard encoder and decoder (like an autoencoder) wrapping around this quantum-inspired processor. It learns to compress the ECG signal into a compact representation and then reconstruct it, all while classifying the heartbeat type.
Why does this matter for FL?
Standard MLPs have millions of parameters. In federated learning, every round of training requires every client to send their model parameters to the server. If the model is huge, the "upload" takes a long time and eats up bandwidth. Because the HQKAN leverages the KAN structure and the efficient DARUAN activations, it is dramatically leaner. On the MIT-BIH dataset, the HQKAN has 11,581 parameters; the MLP baseline has 18,485. That’s a 37% reduction in data that needs to be transmitted every single round.
Key Results & Benchmarks
The results are compelling across two real-world ECG datasets.
-
MIT-BIH (5-class classification):
- Parameters: HQKAN uses 37.35% fewer trainable parameters than the MLP.
- Communication: Because FedAvg sends the full model state, the communication cost drops by 24.89%.
- Accuracy: Across the board, HQKAN wins. In the most distributed setting (32 clients, Non-IID data), HQKAN achieves a macro-F1 score of 0.761, compared to the MLP’s 0.698. That’s a meaningful jump in classification quality.
-
INCART (3-class classification):
- Parameters: HQKAN uses 44.81% fewer parameters.
- Communication: Cost drops by 36.41%.
- Accuracy: HQKAN achieves a macro-F1 of 0.850 vs. the MLP’s 0.838. While the gap seems smaller percentage-wise, on a three-class problem with limited data, consistent superiority is significant.
Perhaps the most impressive feat is robustness. As the number of clients increased (meaning each client had less data), the MLP’s performance tanked. HQKAN’s performance stayed stable. In the 32-client Non-IID setting, the MLP’s Brier score (a measure of prediction confidence/error) was 0.121, while HQKAN’s was a much tighter 0.094. This means HQKAN’s predictions were notably more confident and correct, even when data was sparse and skewed.
Why It Matters (Key Takeaways)
- Privacy with Performance: You no longer have to sacrifice model accuracy to keep patient data local. HQKAN proves you can have a privacy-preserving setup that outperforms traditional models.
- The Communication Savings: In resource-constrained environments (like wearable devices with spotty internet), reducing communication costs by a quarter or a third is huge. It means models can be updated more frequently without draining battery or exceeding data caps.
- Fewer Parameters, Same (or Better) Results: The HQKAN achieves this with roughly half the "brain cells" (parameters) of an MLP. This is a win for edge computing—devices with limited RAM and CPU can run this model.
- Robustness to the "Real World": The paper shows HQKAN handles the chaos of real-world data better. As data becomes more non-IID (more skewed across clients), the MLP struggles, but HQKAN maintains its grip on performance. This suggests it’s better at learning the underlying physics of the heartbeat rather than memorizing specific hospital quirks.
What to Watch For
- The "Quantum" Hype: While the authors use "quantum-inspired," they aren't running this on actual quantum hardware. They are using classical simulators that mimic quantum features. It’s a clever hack, but it’s not "quantum computing" in the strict sense yet.
- Scalability: The results are promising on two benchmark datasets, but real-world deployment might involve thousands of clients with varying device capabilities. How the DARUAN activation scales when the circuit depth increases is an area to monitor.
- Minority Class Trade-offs: The paper notes some interesting trade-offs. For certain rare arrhythmia classes, HQKAN might have higher specificity (correctly identifying negatives) but slightly lower sensitivity (missing some true positives). In a clinical setting, you generally want high sensitivity (don't miss a sick patient), so clinicians will need to tune the decision threshold based on the specific risk profile they are chasing.
Want to understand AI papers like this from scratch?
Follow the free AI Learning Roadmap →