Quantum Federated Learning with Quantum Networks

Tyler Wang, Huan-Hsin Tseng, Shinjae Yoo

TL;DR

This paper introduces a decentralized Quantum Federated Learning (QFL) framework that replaces traditional hub-and-spoke server architectures with a secure ring topology. By utilizing quantum weights transmitted via simulated quantum teleportation, the proposed method eliminates the efficiency bottleneck of classical-quantum data conversion and enhances data privacy through the quantum no-cloning theorem.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple clients to collaboratively train a machine learning model without sharing their raw, sensitive data. Instead, they train local models and send updates to a central server. However, classical FL still faces risks: a compromised central hub can leak information, and malicious actors can intercept model weights.

While Quantum Federated Learning (QFL) has been proposed to leverage the security of the quantum internet (specifically the no-cloning theorem, which prevents unauthorized copying of quantum states), existing QFL architectures rely on a centralized hub-and-spoke topology. This setup is highly inefficient for quantum systems because, without advanced quantum memory, a central hub cannot easily copy and distribute quantum states to multiple clients simultaneously. Furthermore, existing frameworks still pass classical weights between nodes, creating a massive computational overhead due to constant conversion between classical and quantum bases.

Methods

The authors address these limitations by redesigning the QFL architecture from the ground up using two core innovations:

  1. Decentralized Ring Topology: Instead of communicating with a central server, clients are arranged in a sequential ring network. Each client trains a Variational Quantum Circuit (VQC) on its local dataset portion and passes the updated parameters directly to the next client in the ring.
  2. Quantum Weights via Teleportation: Instead of converting quantum parameters back into classical numbers for transmission, the weights are kept as quantum states. The authors simulate quantum teleportation to securely transmit these quantum weights from one client to the next, achieving a purely quantum training pipeline.
Decentralized QFL framework using a ring network

The underlying model uses a VQC consisting of an $R_x$ gate quantum encoder to transform classical data into quantum states, followed by a variational layer composed of CNOT gates and parameterized single-qubit unitary gates $R(\phi, \theta, \omega)$ to serve as the learnable weights. Gradients are calculated using the standard parameter-shift rule.

Comparison of Ring Topology vs Hub-Spoke Topology

Datasets

The framework was evaluated using the make-circles dataset, a standard machine learning toy benchmark ideal for visualizing binary classification boundaries.

  • Total Data Points: 1,200 (960 for training, 240 for testing).
  • The training data was distributed among the decentralized clients in the ring network.

Key Insights and Ideas

  • Bypassing the Quantum Memory Bottleneck: By adopting a ring topology, the network entirely avoids the need to duplicate or broadcast quantum states, making QFL viable on near-term quantum hardware that lacks robust quantum memory.
  • Mitigating NISQ Errors: In the Noisy Intermediate-Scale Quantum (NISQ) era, error rates skyrocket as more qubits are added to a single device. Distributing the workload across a decentralized network of multiple smaller quantum devices effectively spreads out and reduces the overall impact of physical qubit errors.
  • Eliminating Hybrid Overhead: Keeping model weights entirely within the quantum realm removes the significant time and processing overhead required to translate parameters back and forth between classical and quantum computational bases.

Key Results

The authors compared three architectures over 100 training rounds (with 5 local epochs per client): Classical Federated Learning (CFL), QFL with classical weights, and QFL with quantum weights.

  • Feasibility Proven: The QFL model utilizing pure quantum weights successfully converged and achieved high classification accuracy on the benchmark dataset.
  • Convergence Rates: While the CFL model and the QFL model with classical weights converged slightly faster (around rounds 25 and 20, respectively), the purely quantum-weighted QFL model successfully converged around round 40, proving that training entirely within a quantum network is mathematically viable.

Limitations and Future Work

  • Simulated Teleportation: The current study only mimics the mathematical behavior of quantum teleportation. The authors note that future work must transition this architecture into a true quantum internet simulation framework (such as using Bell states as physical quantum channels) to demonstrate actual quantum state teleportation between distinct clients.
  • Simplicity of Benchmark: The make-circles dataset is highly simplified, making it difficult to demonstrate a definitive "quantum advantage" over classical models. The authors plan to scale the framework to more complex image classification datasets like MNIST, CIFAR-10, and the "cats and dogs" dataset.
  • Privacy Extensions: Future iterations aim to integrate differential privacy techniques directly into the VQC pipeline to provide mathematical guarantees against data leakage during weight transfers.

Summary updated

BibTeX
@inproceedings{wang2024quantum,
  author = {Tyler Wang and Huan-Hsin Tseng and Shinjae Yoo},
  title = {{Quantum Federated Learning with Quantum Networks}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=hl32RcK9P1},
}
Figure