A Drift Stable Quantum Federated Learning for Intelligent Services

arXiv cs.LG Papers

Summary

This paper proposes DUQFL-Prox, a drift-stable quantum federated learning framework that uses deep-unfolded local optimization with adaptive SPSA updates and a proximal term to improve stability, generalization, and client fairness in heterogeneous distributed environments.

arXiv:2607.21647v1 Announce Type: new Abstract: Quantum federated learning enables distributed clients to train quantum neural networks without sharing local data, making it promising for privacy-aware intelligent services. Intelligent services in this context refer to privacy-sensitive distributed decision systems, such as fraud detection and genomic classification, where reliable and fair client-level learning is as important as the accuracy of the aggregate model. However, heterogeneous client data and noisy quantum optimization often cause unstable local updates, client drift, and unfair performance between clients. This paper proposes DUQFL-Prox, a drift-stable quantum federated learning framework based on deep-unfolded local optimization. Instead of using a fixed local optimizer, each client performs adaptive unfolded SPSA updates, while a proximal term keeps the local model close to the global model. A lightweight controller learns step-specific optimization parameters to improve post-aggregation performance. Experiments on financial fraud and genomic classification tasks show that DUQFL-Prox improves stability, generalization, and client fairness compared with standard QFL baselines. The results suggest that deep-unfolded quantum federated learning can support more reliable and fair intelligent services in heterogeneous distributed environments.
Original Article
View Cached Full Text

Cached at: 07/27/26, 07:40 AM

# A Drift-Stable Quantum Federated Learning for Intelligent Services
Source: [https://arxiv.org/html/2607.21647](https://arxiv.org/html/2607.21647)
Shanika Iroshi Nanayakkara and Shiva Raj PokhrelShanika Iroshi Nanayakkara is with School of IT, Deakin University, VIC 3125, Burwood, Australia, \(e\-mail: s222112938@deakin\.edu\.au\)\. Shiva Raj Pokhrel is with School of IT, Deakin University, VIC 3125, Burwood, Australia, \(e\-mail: shiva\.pokhrel@deakin\.edu\.au\)\.

###### Abstract

Quantum federated learning enables distributed clients to train quantum neural networks without sharing local data, making it promising for privacy\-aware intelligent services\. Intelligent services in this context refer to privacy\-sensitive distributed decision systems, such as fraud detection and genomic classification, where reliable and fair client\-level learning is as important as the accuracy of the aggregate model\. However, heterogeneous client data and noisy quantum optimization often cause unstable local updates, client drift, and unfair performance between clients\. This paper proposes DUQFL\-Prox, a drift\-stable quantum federated learning framework based on deep\-unfolded local optimization\. Instead of using a fixed local optimizer, each client performs adaptive unfolded SPSA updates, while a proximal term keeps the local model close to the global model\. A lightweight controller learns step\-specific optimization parameters to improve post\-aggregation performance\. Experiments on financial fraud and genomic classification tasks show that DUQFL\-Prox improves stability, generalization, and client fairness compared with standard QFL baselines\. The results suggest that deep\-unfolded quantum federated learning can support more reliable and fair intelligent services in heterogeneous distributed environments\.

## IIntroduction

Federated learning \(FL\) has emerged as a promising framework for collaborative model training, where multiple clients optimize a shared model without centralizing raw local data\. By allowing clients to train locally and communicate only model updates to a coordinating server, FL provides an attractive paradigm for privacy\-aware and communication\-efficient intelligence\[[16](https://arxiv.org/html/2607.21647#bib.bib51)\]\. As quantum machine learning continues to develop, this distributed setting becomes increasingly relevant in quantum contexts as well, giving rise to quantum federated learning \(QFL\), in which multiple clients collaboratively train quantum or quantum\-enhanced models while keeping local data decentralized\[[36](https://arxiv.org/html/2607.21647#bib.bib26),[7](https://arxiv.org/html/2607.21647#bib.bib28),[23](https://arxiv.org/html/2607.21647#bib.bib46)\]\. In this setting, however, optimization becomes substantially more challenging than in conventional classical FL, because local training of quantum neural networks \(QNNs\) is often noisy, nonconvex, shot\-sensitive, and highly dependent on optimizer configuration\[[10](https://arxiv.org/html/2607.21647#bib.bib1),[36](https://arxiv.org/html/2607.21647#bib.bib26)\]\.

In this work, the phrase “intelligent services” refers to distributed AI\-enabled service environments in which data\-driven decisions must be learned from decentralized, privacy\-sensitive, and heterogeneous client data\. Such services include financial fraud detection, genomic classification, healthcare analytics, cyber\-physical monitoring\[[34](https://arxiv.org/html/2607.21647#bib.bib3)\], and edge intelligence, where data are naturally distributed across institutions, devices, or service providers and cannot be freely centralized due to privacy, regulatory, or ownership constraints\[[5](https://arxiv.org/html/2607.21647#bib.bib4)\]\. These settings require not only high aggregate accuracy, but also stable optimization, fair client\-level performance, and reliable generalization across heterogeneous participants\[[22](https://arxiv.org/html/2607.21647#bib.bib2)\]\.

![Refer to caption](https://arxiv.org/html/2607.21647v1/DUQFL_Process.png)Figure 1:High\-level DUQFL setup with adaptive local QNN training, selected\-model aggregation, and controller\-guided global optimization\.In heterogeneous federated environments, one common strategy for improving training efficiency is to exclude, down\-weight, delay, or selectively sample slow clients, often referred to as stragglers\. Previous FL studies have shown that system heterogeneity, including differences in computation and communication capabilities, can substantially slow synchronous federated training\[[16](https://arxiv.org/html/2607.21647#bib.bib51),[12](https://arxiv.org/html/2607.21647#bib.bib56),[28](https://arxiv.org/html/2607.21647#bib.bib62)\]\. Client\-selection methods such as Oort therefore improve time\-to\-accuracy by prioritizing clients with favorable statistical and system utility\[[15](https://arxiv.org/html/2607.21647#bib.bib57)\]\. However, selection or straggler\-mitigation strategies can also create a representativeness issue when slow, resource\-limited, or statistically distinctive clients are repeatedly underrepresented\. Recent work on biased client selection and participation imbalance shows that non\-uniform client participation can bias the learned global model and affect fairness or client\-level performance\[[2](https://arxiv.org/html/2607.21647#bib.bib55),[29](https://arxiv.org/html/2607.21647#bib.bib54)\]\. In practical QFL settings, this issue is undesirable because heterogeneous clients may contain rare, domain\-specific, or clinically important data distributions\. Rather than excluding such clients, DUQFL\-Prox aims to stabilize their local QNN optimization trajectories so that their updates remain useful for global aggregation\.

A central limitation in existing QFL pipelines is that local optimization is often treated as a fixed procedure\. In a typical setting, each client receives the broadcast global model, performs a predetermined number of local optimization steps using a fixed optimizer schedule, and returns the resulting parameters to the server\. This design implicitly assumes that the same local training rule is suitable for all clients, data distributions, and communication rounds\. Such an assumption is restrictive in QFL, where QNN optimization is sensitive to learning rate, perturbation scale, measurement noise, and the non\-convex geometry of variational quantum loss landscapes\. In non\-IID data, fixed local optimization can therefore produce uneven client updates, excessive client drift, and unstable post\-aggregation behavior\.

SPSA is attractive for QNN training because it estimates an update direction using only two objective\-function evaluations, independent of the number of trainable parameters\[[32](https://arxiv.org/html/2607.21647#bib.bib58)\]\. This property makes SPSA practical for variational quantum models, particularly when analytic gradients are costly, unavailable, or noisy\[[8](https://arxiv.org/html/2607.21647#bib.bib59)\]\. However, in federated QNN training, a fixed SPSA schedule can be too rigid\. Conservative settings may slow local improvement, whereas aggressive settings may amplify client drift and reduce the compatibility of local updates during aggregation\. Therefore, the central challenge is not merely to use SPSA, but to make local SPSA\-based QNN optimization adaptive while keeping client updates aligned with the global federated objective\.

To address this challenge, we propose*Deep\-Unfolded Quantum Federated Learning with Proximal Regularization \(DUQFL\-Prox\)*, a drift\-stable QFL framework for heterogeneous intelligent services\. DUQFL\-Prox decomposes local SPSA\-based QNN training intoKKunfolded optimization blocks\. At each unfold step, a lightweight shared controller generates step\-specific SPSA learning rates and perturbation scales from optimization\-state features, including unfold progress, recent loss behavior, parameter displacement, and client context\. This enables local QNN optimization to adapt across clients, unfold steps, and communication rounds, rather than relying on a fixed optimizer schedule\.

However, adaptive local optimization alone can amplify client drift under non\-IID federated data\. DUQFL\-Prox therefore introduces proximal regularization into the client objective to penalize excessive deviation from the broadcast global model\. This encourages each client to improve their local QNN objective while maintaining aggregation\-compatible updates\. In addition, each client uploads the validation\-preferred unfolded checkpoint rather than necessarily returning the final unfolded state, preventing over\-aggressive later updates from degrading global aggregation\.

DUQFL\-Prox follows a bilevel learning structure\. At the inner level, each client performs deep\-unfolded proximal SPSA optimization of its local QNN parameters\. At the outer level, the shared controller is periodically refined using a meta\-objective defined on post\-aggregation validation behaviour\. Thus, DUQFL\-Prox learns not only the QNN parameters but also how local QNN optimization should evolve so that client updates become more stable, fair, and useful after aggregation\.

The main contributions of this work are summarized as follows:

- •We propose DUQFL\-Prox, a drift\-stable deep\-unfolded QFL framework for heterogeneous intelligent services, where local QNN training is modeled as an adaptive multi\-step optimization process rather than a fixed optimizer routine\.
- •We design a controller\-driven SPSA mechanism that generates unfold\-specific learning rates and perturbation scales from local optimization\-state features, enabling adaptive QNN training across clients, communication rounds, and unfolded steps\.
- •We incorporate proximal regularization and validation\-based best\-unfold selection to reduce client drift, prevent over\-specialized local updates, and improve aggregation compatibility\.

Importantly, we introduce an outer meta\-loss\-guided controller adaptation mechanism that aligns local optimization behavior with post\-aggregation global performance\. We evaluate DUQFL\-Prox across financial fraud detection and genomic classification tasks using global accuracy, client\-level generalization, train–test gap, fairness gap, and imbalance\-aware classification metrics\.

The remainder of this paper is organized as follows\. Section[II](https://arxiv.org/html/2607.21647#S2)reviews related work on QFL, QNN optimization, federated heterogeneity, and deep unfolding\. Section[III](https://arxiv.org/html/2607.21647#S3)presents the problem formulation and the DUQFL\-Prox methodology\. Section[IV](https://arxiv.org/html/2607.21647#S4)describes the experimental setup and reproducibility protocol\. Section[V](https://arxiv.org/html/2607.21647#S5)presents the empirical results and ablation analysis\. SectionLABEL:sec:discussiondiscusses implications, limitations, and future research directions, and Section[VI](https://arxiv.org/html/2607.21647#S6)concludes the paper\.

## IIRelated Work

TABLE I:Research gap\.✓\\checkmarkindicatesexplicit support,△\\triangleindicatespartial support, and×\\timesindicateslimited or no support\.Table[I](https://arxiv.org/html/2607.21647#S2.T1)demonstrates that prior QFL studies have mainly focused on secure quantum communication, privacy\-preserving learning, application\-specific QFL implementations, and server\-side aggregation mechanisms\[[17](https://arxiv.org/html/2607.21647#bib.bib72),[3](https://arxiv.org/html/2607.21647#bib.bib8),[37](https://arxiv.org/html/2607.21647#bib.bib31),[6](https://arxiv.org/html/2607.21647#bib.bib5),[7](https://arxiv.org/html/2607.21647#bib.bib28),[25](https://arxiv.org/html/2607.21647#bib.bib35),[39](https://arxiv.org/html/2607.21647#bib.bib23),[26](https://arxiv.org/html/2607.21647#bib.bib74),[1](https://arxiv.org/html/2607.21647#bib.bib20),[33](https://arxiv.org/html/2607.21647#bib.bib66)\]\. While these studies establish the feasibility of QFL\. However, local QNN optimization is typically treated as a fixed inner routine\. This assumption becomes restrictive when client data are non\-independent and identically distributed \(non\-IID\) and quantum measurements are stochastic\. In such cases, local updates may become unstable, diverge from the global model, and reduce client\-level generalization\.

QNN training commonly relies on optimizers such as gradient descent, Adam, COBYLA, and SPSA\. SPSA is particularly suitable for variational quantum models because it estimates a stochastic update direction using only two objective function evaluations, independent of the number of trainable parameters\[[27](https://arxiv.org/html/2607.21647#bib.bib49),[31](https://arxiv.org/html/2607.21647#bib.bib50)\]\. However, in federated QNN training, a fixed SPSA schedule may be inadequate: conservative settings can slow local improvement, whereas aggressive settings can amplify client drift and reduce aggregation compatibility\. Therefore, the key challenge is not merely to use SPSA, but to adapt SPSA\-based local QNN optimization while preserving global federated consistency\.

Deep unfolding provides a principled way to convert iterative optimization into a structured and learnable update process\[[30](https://arxiv.org/html/2607.21647#bib.bib48)\]\. In parallel, classical FL methods such as FedProx and SCAFFOLD show that client drift is a central obstacle under heterogeneous data and that proximal or correction\-based mechanisms can improve stability\[[16](https://arxiv.org/html/2607.21647#bib.bib51),[13](https://arxiv.org/html/2607.21647#bib.bib52)\]\. Although these methods are not quantum\-specific, they motivate the development of adaptive and drift\-aware local optimization strategies for QFL\.

Motivated by these gaps, we propose*Deep\-Unfolded Quantum Federated Learning with Proximal Regularization \(DUQFL\-Prox\)*\. DUQFL\-Prox unfolds local SPSA\-based QNN training into multiple controller\-guided optimization blocks\. The controller generates step\-specific learning rates and perturbation scales from local optimization\-state features, while a proximal term penalizes excessive deviation from the broadcast global model\. The controller is further refined using a post\-aggregation meta\-objective, linking local optimization behaviour to global validation performance\.

The proposed framework differs from prior QFL work in three aspects\. First, local QNN optimization is modeled as a controller\-driven unfolded process rather than a fixed client routine\. Second, proximal regularization is incorporated to improve aggregation compatibility under client drift\. Third, the controller is updated using post\-aggregation validation behaviour, rather than relying only on local training signals\. To the best of our knowledge, this combination of unfolded SPSA\-based QNN optimization, proximal client\-drift control, and outer meta\-loss\-guided controller adaptation has not been explicitly developed in existing QFL literature\.

Unlike client\-filtering or straggler\-removal strategies, DUQFL\-Prox does not discard heterogeneous clients\. Instead, it stabilizes their local optimization trajectories so that their updates remain useful for aggregation\. This is important in biomedical, genomic, fraud\-detection, and remote\-sensing settings, where difficult clients may contain rare but important patterns\. Accordingly, our evaluation reports global accuracy together with mean client test accuracy, train–test gap, client fairness gap, and imbalance\-aware metrics such as F1\-score, precision, recall, ROC\-AUC, PR\-AUC, and MCC\.

## IIIProblem Formulation and Methodology

### III\-AProblem Statement

The objective of this work is to improve the stability, generalization, and client\-level reliability of QFL under heterogeneous client participation\. In conventional QFL, each client receives the broadcast global QNN parameters, performs local optimization, and returns the updated parameters for server aggregation\. However, under non\-IID data and stochastic quantum measurements, fixed local optimization can produce unstable client trajectories and excessive drift from the global model\. Consequently, the aggregated model may achieve reasonable global accuracy while still exhibiting poor client\-level generalization or imbalanced performance across clients\.

Although adaptive optimizers such as Adam can adjust local parameter updates, they are not designed to explicitly account for federated client heterogeneity, quantum measurement noise, post\-aggregation behaviour, or drift from the broadcast global model\[[14](https://arxiv.org/html/2607.21647#bib.bib63)\]\. Similarly, straggler removal or client down\-weighting can improve training efficiency, but may reduce representativeness by underutilizing clients with limited resources or statistically distinctive data\[[16](https://arxiv.org/html/2607.21647#bib.bib51),[12](https://arxiv.org/html/2607.21647#bib.bib56),[28](https://arxiv.org/html/2607.21647#bib.bib62)\]\. This is undesirable in QFL applications such as genomics, biomedical analysis, fraud detection, and remote sensing, where difficult clients may contain rare but important data patterns\.

DUQFL\-Prox addresses this problem by regulating local QNN optimization rather than excluding heterogeneous clients\. The proposed method seeks a QFL training procedure in which:

1. 1\.local SPSA\-based QNN updates adapt across unfolded optimization steps;
2. 2\.local trajectories remain sufficiently close to the broadcast global model to remain aggregation\-compatible; and
3. 3\.the hyperparameter\-generation policy is refined using post\-aggregation validation performance\.

Thus, the central problem is to jointly control client\-side unfolded QNN optimization and server\-side controller adaptation so that the global model achieves stable post\-aggregation performance, reduced client drift, and improved client\-level generalization under heterogeneous federated data\.

### III\-BQFL Setting and Notation

We consider a QFL system consisting ofNNdistributed clients and one coordinating server\. The clients collaboratively train a shared QNN model without exchanging raw local data\. Let the client set be

𝒞=\{1,2,…,N\}\.\\mathcal\{C\}=\\\{1,2,\\ldots,N\\\}\.\(1\)Training proceeds overTTcommunication rounds indexed by

t∈\{0,1,…,T−1\}\.t\\in\\\{0,1,\\ldots,T\-1\\\}\.\(2\)
At communication roundtt, the server maintains a global QNN parameter vector

𝜽\(t\)∈ℝP,\\boldsymbol\{\\theta\}^\{\(t\)\}\\in\\mathbb\{R\}^\{P\},\(3\)wherePPdenotes the number of trainable parameters in the variational quantum model\. These parameters define a parameterized quantum circuit, denoted by

U​\(𝐱;𝜽\(t\)\),U\(\\mathbf\{x\};\\boldsymbol\{\\theta\}^\{\(t\)\}\),\(4\)where𝐱\\mathbf\{x\}is the classical input encoded into the quantum circuit and𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}parameterizes the trainable ansatz layers\. The QNN output is obtained by measuring the resulting quantum state and applying classical post\-processing to obtain prediction probabilities\.

The server broadcasts𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}to the participating clients, and each client initializes its local QNN training from this global parameter vector\.

Each clienti∈𝒞i\\in\\mathcal\{C\}holds a private local dataset

𝒟i=\{\(𝐱i,j,yi,j\)\}j=1ni,\\mathcal\{D\}\_\{i\}=\\left\\\{\\left\(\\mathbf\{x\}\_\{i,j\},y\_\{i,j\}\\right\)\\right\\\}\_\{j=1\}^\{n\_\{i\}\},\(5\)whereni=\|𝒟i\|n\_\{i\}=\|\\mathcal\{D\}\_\{i\}\|is the number of local training samples\. The client datasets may be statistically heterogeneous and non\-identically distributed\. Let

𝒮\(t\)⊆𝒞\\mathcal\{S\}^\{\(t\)\}\\subseteq\\mathcal\{C\}\(6\)denote the subset of clients participating in roundtt\. Unless otherwise stated, all subsequent expressions are written for participating clientsi∈𝒮\(t\)i\\in\\mathcal\{S\}^\{\(t\)\}\.

![Refer to caption](https://arxiv.org/html/2607.21647v1/Shani.png)Figure 2:Overview of DUQFL\-Prox\. The server broadcasts global QNN parameters to clients, which perform deep\-unfolded SPSA optimization with controller\-generated hyperparameters, proximal drift control, and best\-unfold selection\. The selected local models are aggregated at the server, while a meta\-objective periodically updates the shared controller using post\-aggregation validation performance\.
### III\-CLocal Quantum Model

Each participating client trains a parameterized quantum model represented as a QNN with trainable parameter vector𝜽\\boldsymbol\{\\theta\}\. Given an input𝐱\\mathbf\{x\}, the QNN applies a parameterized quantum circuit, followed by measurement and classical post\-processing, to produce either a class\-probability distribution or a predicted label\. We denote the resulting client\-side predictor by

f​\(𝐱;𝜽\)\.f\(\\mathbf\{x\};\\boldsymbol\{\\theta\}\)\.\(7\)
The empirical local objective at clientiiis defined as

ℒi​\(𝜽\)=1ni​∑\(𝐱,y\)∈𝒟iℓ​\(f​\(𝐱;𝜽\),y\),\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)=\\frac\{1\}\{n\_\{i\}\}\\sum\_\{\(\\mathbf\{x\},y\)\\in\\mathcal\{D\}\_\{i\}\}\\ell\\left\(f\(\\mathbf\{x\};\\boldsymbol\{\\theta\}\),y\\right\),\(8\)whereℓ​\(⋅,⋅\)\\ell\(\\cdot,\\cdot\)denotes the task\-specific loss function, such as cross\-entropy loss for classification\.

In standard QFL, clientiiminimizesℒi​\(𝜽\)\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)using a fixed local optimizer initialized from the broadcast global model𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}\. In contrast, DUQFL\-Prox treats local QNN training as a structured unfolded optimization process\. The local optimizer is decomposed into a finite sequence of adaptive SPSA\-based update blocks, allowing the learning rate and perturbation scale to vary across clients, unfold steps, and communication rounds\.

The proposed method is decomposed into three functional components\. Algorithm[1](https://arxiv.org/html/2607.21647#alg1)describes the client\-side unfolded proximal QNN training procedure\. Algorithm[2](https://arxiv.org/html/2607.21647#alg2)describes one server\-side communication round, including broadcast, local training, aggregation, and meta\-loss evaluation\. Algorithm[3](https://arxiv.org/html/2607.21647#alg3)describes the outer SPSA\-based refinement of the shared controller\. This decomposition makes the bilevel structure explicit: the inner level optimizes local QNN parameters, while the outer level adapts the controller to improve post\-aggregation global behaviour\.

### III\-DDeep\-Unfolded Local Optimization

Algorithm 1Client\-Side Deep\-Unfolded Proximal QNN Training0:Broadcast global parameters

𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}, client dataset

𝒟i\\mathcal\{D\}\_\{i\}, client validation set

𝒱i\\mathcal\{V\}\_\{i\}, controller

ϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}, number of unfolds

KK, proximal coefficient

μ\\mu
0:Selected local model

𝜽i,⋆\(t\)\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}, optimization summaries

\{𝐬i,k\(t\)\}k=1K\\\{\\mathbf\{s\}\_\{i,k\}^\{\(t\)\}\\\}\_\{k=1\}^\{K\}
1:Initialize local parameters:

𝜽i,0\(t\)←𝜽\(t\)\\boldsymbol\{\\theta\}\_\{i,0\}^\{\(t\)\}\\leftarrow\\boldsymbol\{\\theta\}^\{\(t\)\}
2:Initialize optimization summary

𝐬i,0\(t\)\\mathbf\{s\}\_\{i,0\}^\{\(t\)\}
3:Initialize

Li,⋆\(t\)←∞L\_\{i,\\star\}^\{\(t\)\}\\leftarrow\\inftyand

ki⋆←0k\_\{i\}^\{\\star\}\\leftarrow 0
4:for

k=0,1,…,K−1k=0,1,\\dots,K\-1do

5:Construct optimization\-state feature vector:

𝐳i,k\(t\)←Ψ​\(k,t,𝐬i,k\(t\),\|𝒟i\|\)\\mathbf\{z\}\_\{i,k\}^\{\(t\)\}\\leftarrow\\Psi\\left\(k,t,\\mathbf\{s\}\_\{i,k\}^\{\(t\)\},\|\\mathcal\{D\}\_\{i\}\|\\right\)
6:Generate unfold\-specific SPSA hyperparameters:

ηi,k\(t\),δi,k\(t\)←Γ​\(𝐳i,k\(t\);ϕ\(t\)\)\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\}\\leftarrow\\Gamma\\left\(\\mathbf\{z\}\_\{i,k\}^\{\(t\)\};\\boldsymbol\{\\phi\}^\{\(t\)\}\\right\)
7:Define the proximal local objective:

ℒiprox​\(𝜽\)=ℒi​\(𝜽\)\+μ2​‖𝜽−𝜽\(t\)‖22\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\(\\boldsymbol\{\\theta\}\)=\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)\+\\frac\{\\mu\}\{2\}\\left\\\|\\boldsymbol\{\\theta\}\-\\boldsymbol\{\\theta\}^\{\(t\)\}\\right\\\|\_\{2\}^\{2\}
8:Compute pre\-update proximal loss:

Li,kbefore←ℒiprox​\(𝜽i,k\(t\)\)L\_\{i,k\}^\{\\mathrm\{before\}\}\\leftarrow\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\)
9:Apply one SPSA\-based proximal QNN update:

𝜽i,k\+1\(t\)←𝒰SPSA​\(𝜽i,k\(t\);ηi,k\(t\),δi,k\(t\),ℒiprox\)\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}\\leftarrow\\mathcal\{U\}\_\{\\mathrm\{SPSA\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\};\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\},\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\\right\)
10:Compute post\-update proximal loss:

Li,kafter←ℒiprox​\(𝜽i,k\+1\(t\)\)L\_\{i,k\}^\{\\mathrm\{after\}\}\\leftarrow\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}\\right\)
11:Compute unfold\-step displacement:

Δ​𝜽i,k\(t\)←𝜽i,k\+1\(t\)−𝜽i,k\(t\)\\Delta\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\leftarrow\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}\-\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}
12:Evaluate validation loss:

Li,kval←ℒi,val​\(𝜽i,k\+1\(t\);𝒱i\)L\_\{i,k\}^\{\\mathrm\{val\}\}\\leftarrow\\mathcal\{L\}\_\{i,\\mathrm\{val\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\};\\mathcal\{V\}\_\{i\}\\right\)
13:if

Li,kval<Li,⋆\(t\)L\_\{i,k\}^\{\\mathrm\{val\}\}<L\_\{i,\\star\}^\{\(t\)\}then

14:Update best unfolded state:

Li,⋆\(t\)←Li,kval,ki⋆←k\+1L\_\{i,\\star\}^\{\(t\)\}\\leftarrow L\_\{i,k\}^\{\\mathrm\{val\}\},\\quad k\_\{i\}^\{\\star\}\\leftarrow k\+1
15:endif

16:Record optimization summary:

𝐬i,k\+1\(t\)←Summarize​\(Li,kbefore,Li,kafter,Li,kval,Δ​𝜽i,k\(t\)\)\\mathbf\{s\}\_\{i,k\+1\}^\{\(t\)\}\\leftarrow\\mathrm\{Summarize\}\\left\(L\_\{i,k\}^\{\\mathrm\{before\}\},L\_\{i,k\}^\{\\mathrm\{after\}\},L\_\{i,k\}^\{\\mathrm\{val\}\},\\Delta\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\)
17:endfor

18:Select best unfolded local model:

𝜽i,⋆\(t\)←𝜽i,ki⋆\(t\)\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}\\leftarrow\\boldsymbol\{\\theta\}\_\{i,k\_\{i\}^\{\\star\}\}^\{\(t\)\}
19:return

𝜽i,⋆\(t\)\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\},

\{𝐬i,k\(t\)\}k=1K\\\{\\mathbf\{s\}\_\{i,k\}^\{\(t\)\}\\\}\_\{k=1\}^\{K\}

For each participating clienti∈𝒮\(t\)i\\in\\mathcal\{S\}^\{\(t\)\}, the broadcast global model initializes the local unfolded trajectory,

𝜽i,0\(t\)←𝜽\(t\)\.\\boldsymbol\{\\theta\}\_\{i,0\}^\{\(t\)\}\\leftarrow\\boldsymbol\{\\theta\}^\{\(t\)\}\.\(9\)Local training is then unfolded intoKKSPSA\-based update blocks indexed byk∈\{0,1,…,K−1\}k\\in\\\{0,1,\\ldots,K\-1\\\}\. Each block updates the local QNN parameters according to

𝜽i,k\+1\(t\)=𝒰SPSA​\(𝜽i,k\(t\);ηi,k\(t\),δi,k\(t\),ℒiprox\),\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}=\\mathcal\{U\}\_\{\\mathrm\{SPSA\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\};\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\},\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\\right\),\(10\)whereηi,k\(t\)\\eta\_\{i,k\}^\{\(t\)\}andδi,k\(t\)\\delta\_\{i,k\}^\{\(t\)\}are the unfold\-specific SPSA learning rate and perturbation scale generated by the controller\.

Rather than always returning the last unfolded state, the client selects the validation\-preferred checkpoint:

ki⋆=arg⁡mink∈\{1,…,K\}⁡ℒi,val​\(𝜽i,k\(t\)\),k\_\{i\}^\{\\star\}=\\arg\\min\_\{k\\in\\\{1,\\ldots,K\\\}\}\\mathcal\{L\}\_\{i,\\mathrm\{val\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\),\(11\)and uploads

𝜽i,⋆\(t\)=𝜽i,ki⋆\(t\)\.\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}=\\boldsymbol\{\\theta\}\_\{i,k\_\{i\}^\{\\star\}\}^\{\(t\)\}\.\(12\)The intermediate unfolded states remain local to the client and are used only for trajectory construction, validation\-based checkpoint selection, and optimization\-summary generation\.

### III\-EController\-Driven Hyperparameter Generation

The unfolded local optimizer requires step\-specific SPSA hyperparameters for each client and unfold step\. Instead of using a fixed learning rate and perturbation scale throughout local training, DUQFL\-Prox uses a shared meta\-controller to generate these quantities adaptively\. The controller is parameterized byϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}and is shared across participating clients at communication roundtt\.

At unfold stepkk, clientiiconstructs an optimization\-state feature vector

𝐳i,k\(t\)∈ℝd,\\mathbf\{z\}\_\{i,k\}^\{\(t\)\}\\in\\mathbb\{R\}^\{d\},\(13\)which summarizes the current local optimization context\. In our implementation,𝐳i,k\(t\)\\mathbf\{z\}\_\{i,k\}^\{\(t\)\}includes normalized unfold progress, normalized communication\-round progress, previous loss information, previous parameter displacement, client data fraction, and a client heterogeneity indicator\.

The controller maps this feature vector to the SPSA learning rate and perturbation scale:

\(ηi,k\(t\),δi,k\(t\)\)=Γ​\(𝐳i,k\(t\);ϕ\(t\)\),\\left\(\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\}\\right\)=\\Gamma\\left\(\\mathbf\{z\}\_\{i,k\}^\{\(t\)\};\\boldsymbol\{\\phi\}^\{\(t\)\}\\right\),\(14\)whereΓ​\(⋅\)\\Gamma\(\\cdot\)denotes the controller mapping\.

In this work,Γ​\(⋅\)\\Gamma\(\\cdot\)is implemented as a clipped log\-linear controller\. Two parameter vectors,ϕη\(t\)\\boldsymbol\{\\phi\}\_\{\\eta\}^\{\(t\)\}andϕδ\(t\)\\boldsymbol\{\\phi\}\_\{\\delta\}^\{\(t\)\}, generate the logarithmic learning rate and perturbation scale:

log⁡ηi,k\(t\)\\displaystyle\\log\\eta\_\{i,k\}^\{\(t\)\}=\(ϕη\(t\)\)⊤​𝐳i,k\(t\),\\displaystyle=\\left\(\\boldsymbol\{\\phi\}\_\{\\eta\}^\{\(t\)\}\\right\)^\{\\top\}\\mathbf\{z\}\_\{i,k\}^\{\(t\)\},\(15\)log⁡δi,k\(t\)\\displaystyle\\log\\delta\_\{i,k\}^\{\(t\)\}=\(ϕδ\(t\)\)⊤​𝐳i,k\(t\)\.\\displaystyle=\\left\(\\boldsymbol\{\\phi\}\_\{\\delta\}^\{\(t\)\}\\right\)^\{\\top\}\\mathbf\{z\}\_\{i,k\}^\{\(t\)\}\.\(16\)The resulting values are exponentiated and clipped to predefined feasible intervals:

ηi,k\(t\)\\displaystyle\\eta\_\{i,k\}^\{\(t\)\}=clip​\(exp⁡\(\(ϕη\(t\)\)⊤​𝐳i,k\(t\)\),ηmin,ηmax\),\\displaystyle=\\mathrm\{clip\}\\left\(\\exp\\left\(\\left\(\\boldsymbol\{\\phi\}\_\{\\eta\}^\{\(t\)\}\\right\)^\{\\top\}\\mathbf\{z\}\_\{i,k\}^\{\(t\)\}\\right\),\\eta\_\{\\min\},\\eta\_\{\\max\}\\right\),\(17\)δi,k\(t\)\\displaystyle\\delta\_\{i,k\}^\{\(t\)\}=clip​\(exp⁡\(\(ϕδ\(t\)\)⊤​𝐳i,k\(t\)\),δmin,δmax\)\.\\displaystyle=\\mathrm\{clip\}\\left\(\\exp\\left\(\\left\(\\boldsymbol\{\\phi\}\_\{\\delta\}^\{\(t\)\}\\right\)^\{\\top\}\\mathbf\{z\}\_\{i,k\}^\{\(t\)\}\\right\),\\delta\_\{\\min\},\\delta\_\{\\max\}\\right\)\.\(18\)
This controller provides the adaptive component of DUQFL\-Prox by allowing the local SPSA behaviour to vary across clients, unfold steps, and communication rounds\. The clipping bounds prevent numerically unstable hyperparameter values, while the proximal objective in Section[III\-F](https://arxiv.org/html/2607.21647#S3.SS6)provides the stabilizing mechanism that restricts excessive client drift\.

### III\-FProximal Drift Control

Client drift is a central challenge in federated learning, particularly under non\-IID data distributions\. In QFL, this issue is further amplified by stochastic SPSA updates, finite\-shot measurement effects, and the non\-convex loss landscape of variational quantum circuits\. A client may reduce its local training loss while producing a parameter update that becomes overly specialized to its own local distribution and less compatible with global aggregation\.

DUQFL\-Prox addresses this issue by introducing a proximal penalty into the local client objective\. Let𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}denote the global model broadcast by the server at communication roundtt\. For clientii, the proximal local objective is defined as

ℒiprox​\(𝜽\)=ℒi​\(𝜽\)\+μ2​‖𝜽−𝜽\(t\)‖22,\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\(\\boldsymbol\{\\theta\}\)=\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)\+\\frac\{\\mu\}\{2\}\\left\\\|\\boldsymbol\{\\theta\}\-\\boldsymbol\{\\theta\}^\{\(t\)\}\\right\\\|\_\{2\}^\{2\},\(19\)whereℒi​\(𝜽\)\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)is the empirical local QNN loss andμ≥0\\mu\\geq 0controls the strength of proximal regularization\.

Within each unfolded local optimization step, SPSA minimizesℒiprox\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}rather than the unregularized local objective\. Thus, the proximal unfolded update is written as

𝜽i,k\+1\(t\)=𝒰SPSA​\(𝜽i,k\(t\);ηi,k\(t\),δi,k\(t\),ℒiprox\)\.\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}=\\mathcal\{U\}\_\{\\mathrm\{SPSA\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\};\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\},\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\\right\)\.\(20\)
The proximal term encourages local models to improve their client\-specific objective while remaining close to the current global reference point\. This is important in the unfolded setting because multiple adaptive local update blocks can improve flexibility, but may also increase the risk of excessive client movement\. DUQFL\-Prox therefore combines an adaptive component, provided by the controller\-generated SPSA hyperparameters, with a stabilizing component, provided by proximal regularization\.

To monitor local movement, we record the unfold\-step displacement

Δ​𝜽i,k\(t\)=𝜽i,k\+1\(t\)−𝜽i,k\(t\),\\Delta\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}=\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}\-\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\},\(21\)and its norm

‖Δ​𝜽i,k\(t\)‖2\.\\left\\\|\\Delta\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\\\|\_\{2\}\.\(22\)This quantity is used as a diagnostic indicator of local client movement and can also be included in the controller state features for subsequent unfold steps\. Overall, the proximal formulation helps produce adaptive yet aggregation\-compatible local QNN updates under heterogeneous federated data\.

### III\-GBest\-Unfold Model Selection

The last unfolded state is not necessarily the best local model to upload\. Later unfold steps may continue to reduce local training loss while degrading validation behaviour or increasing local specialization\. Therefore, DUQFL\-Prox uses validation\-based checkpoint selection over the local unfolded trajectory\.

After generating the candidate states

\{𝜽i,k\(t\)\}k=1K,\\left\\\{\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\\\}\_\{k=1\}^\{K\},\(23\)clientiiselects the unfold index with the lowest validation loss:

ki⋆=arg⁡mink∈\{1,…,K\}⁡ℒi,val​\(𝜽i,k\(t\)\)\.k\_\{i\}^\{\\star\}=\\arg\\min\_\{k\\in\\\{1,\\ldots,K\\\}\}\\mathcal\{L\}\_\{i,\\mathrm\{val\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\)\.\(24\)The selected local model is then

𝜽i,⋆\(t\)=𝜽i,ki⋆\(t\)\.\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}=\\boldsymbol\{\\theta\}\_\{i,k\_\{i\}^\{\\star\}\}^\{\(t\)\}\.\(25\)
Only𝜽i,⋆\(t\)\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}is uploaded to the server\. The remaining unfolded states are retained locally and are used only for trajectory construction, checkpoint selection, and optimization\-summary generation\. This selection mechanism prevents over\-aggressive later unfold steps from dominating the uploaded client update\.

Algorithm 2One Federated Round of DUQFL\-Prox0:Client set

𝒞\\mathcal\{C\}, current global model

𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}, current controller

ϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}, participating clients

𝒮\(t\)\\mathcal\{S\}^\{\(t\)\}, number of unfolds

KK, proximal coefficient

μ\\mu
0:Updated global model

𝜽\(t\+1\)\\boldsymbol\{\\theta\}^\{\(t\+1\)\}, outer meta\-loss

ℒmeta\(t\)\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}
1:Server broadcasts

𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}to all clients in

𝒮\(t\)\\mathcal\{S\}^\{\(t\)\}
2:for allclients

i∈𝒮\(t\)i\\in\\mathcal\{S\}^\{\(t\)\}in paralleldo

3:Execute Algorithm[1](https://arxiv.org/html/2607.21647#alg1):

\(𝜽i,⋆\(t\),\{𝐬i,k\(t\)\}k=1K\)←LocalDUQFLProx​\(𝜽\(t\),𝒟i,𝒱i,ϕ\(t\),K,μ\)\\left\(\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\},\\\{\\mathbf\{s\}\_\{i,k\}^\{\(t\)\}\\\}\_\{k=1\}^\{K\}\\right\)\\leftarrow\\mathrm\{LocalDUQFLProx\}\\left\(\\boldsymbol\{\\theta\}^\{\(t\)\},\\mathcal\{D\}\_\{i\},\\mathcal\{V\}\_\{i\},\\boldsymbol\{\\phi\}^\{\(t\)\},K,\\mu\\right\)
4:endfor

5:Compute sample\-size aggregation weights:

wi\(t\)=\|𝒟i\|∑j∈𝒮\(t\)\|𝒟j\|w\_\{i\}^\{\(t\)\}=\\frac\{\|\\mathcal\{D\}\_\{i\}\|\}\{\\sum\_\{j\\in\\mathcal\{S\}^\{\(t\)\}\}\|\\mathcal\{D\}\_\{j\}\|\}
6:Aggregate selected unfolded local models:

𝜽\(t\+1\)←∑i∈𝒮\(t\)wi\(t\)​𝜽i,⋆\(t\)\\boldsymbol\{\\theta\}^\{\(t\+1\)\}\\leftarrow\\sum\_\{i\\in\\mathcal\{S\}^\{\(t\)\}\}w\_\{i\}^\{\(t\)\}\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}
7:Evaluate post\-aggregation meta\-loss:

ℒmeta\(t\)←ℒvalglobal​\(𝜽\(t\+1\)\)\+λfair​Ωfair\(t\)\+λcomm​Ωcomm\(t\)\+λstab​Ωstab\(t\)\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}\\leftarrow\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{global\}\}\\left\(\\boldsymbol\{\\theta\}^\{\(t\+1\)\}\\right\)\+\\lambda\_\{\\mathrm\{fair\}\}\\Omega\_\{\\mathrm\{fair\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{comm\}\}\\Omega\_\{\\mathrm\{comm\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{stab\}\}\\Omega\_\{\\mathrm\{stab\}\}^\{\(t\)\}
8:return

𝜽\(t\+1\)\\boldsymbol\{\\theta\}^\{\(t\+1\)\},

ℒmeta\(t\)\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}

Algorithm 3Outer SPSA\-Based Controller Update0:Current controller

ϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}, current global model

𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}, participating clients

𝒮\(t\)\\mathcal\{S\}^\{\(t\)\}, outer learning rate

αout\\alpha\_\{\\mathrm\{out\}\}, outer perturbation radius

coutc\_\{\\mathrm\{out\}\}
0:Updated controller

ϕ\(t\+1\)\\boldsymbol\{\\phi\}^\{\(t\+1\)\}
1:Sample Rademacher perturbation vector

𝚫ϕ\\boldsymbol\{\\Delta\}\_\{\\phi\}
2:Construct perturbed controllers:

ϕ\+=ϕ\(t\)\+cout​𝚫ϕ,ϕ−=ϕ\(t\)−cout​𝚫ϕ\\boldsymbol\{\\phi\}^\{\+\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\+c\_\{\\mathrm\{out\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\},\\qquad\\boldsymbol\{\\phi\}^\{\-\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\-c\_\{\\mathrm\{out\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\}
3:Evaluate one federated round under

ϕ\+\\boldsymbol\{\\phi\}^\{\+\}using Algorithm[2](https://arxiv.org/html/2607.21647#alg2)to obtain:

ℒmeta\+\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}
4:Evaluate one federated round under

ϕ−\\boldsymbol\{\\phi\}^\{\-\}using Algorithm[2](https://arxiv.org/html/2607.21647#alg2)to obtain:

ℒmeta−\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}
5:Estimate the outer SPSA gradient:

𝐠^ϕ\(t\)←ℒmeta\+−ℒmeta−2​cout​𝚫ϕ−1\\widehat\{\\mathbf\{g\}\}\_\{\\phi\}^\{\(t\)\}\\leftarrow\\frac\{\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}\-\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}\}\{2c\_\{\\mathrm\{out\}\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\}^\{\-1\}
6:Update the controller:

ϕ\(t\+1\)←ϕ\(t\)−αout​𝐠^ϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\+1\)\}\\leftarrow\\boldsymbol\{\\phi\}^\{\(t\)\}\-\\alpha\_\{\\mathrm\{out\}\}\\widehat\{\\mathbf\{g\}\}\_\{\\phi\}^\{\(t\)\}
7:return

ϕ\(t\+1\)\\boldsymbol\{\\phi\}^\{\(t\+1\)\}

### III\-HServer Aggregation

After receiving the selected unfolded local models from participating clients, the server constructs the next global model using sample\-size\-weighted FedAvg:

𝜽\(t\+1\)=∑i∈𝒮\(t\)wi\(t\)​𝜽i,⋆\(t\),\\boldsymbol\{\\theta\}^\{\(t\+1\)\}=\\sum\_\{i\\in\\mathcal\{S\}^\{\(t\)\}\}w\_\{i\}^\{\(t\)\}\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\},\(26\)wherewi\(t\)w\_\{i\}^\{\(t\)\}denotes the aggregation weight of clientii\. The weights satisfy

wi\(t\)≥0,∑i∈𝒮\(t\)wi\(t\)=1\.w\_\{i\}^\{\(t\)\}\\geq 0,\\qquad\\sum\_\{i\\in\\mathcal\{S\}^\{\(t\)\}\}w\_\{i\}^\{\(t\)\}=1\.\(27\)In this work, the sample\-size\-weighted coefficient is

wi\(t\)=ni∑j∈𝒮\(t\)nj,w\_\{i\}^\{\(t\)\}=\\frac\{n\_\{i\}\}\{\\sum\_\{j\\in\\mathcal\{S\}^\{\(t\)\}\}n\_\{j\}\},\(28\)whereni=\|𝒟i\|n\_\{i\}=\|\\mathcal\{D\}\_\{i\}\|is the number of local training samples available to clientiiin the current round\.

Thus, the server does not aggregate every unfolded state\. It aggregates only the validation\-selected local checkpoint𝜽i,⋆\(t\)\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}from each participating client\.

### III\-IOuter Meta\-Objective and Controller Update

The controller is not treated as a fixed hyperparameter generator\. Instead, it is periodically updated using an outer meta\-objective evaluated after server aggregation\. Let𝒟val\\mathcal\{D\}\_\{\\mathrm\{val\}\}denote the validation data used to measure post\-aggregation global performance\. At communication roundtt, the outer meta\-loss is defined as

ℒmeta\(t\)=ℒvalglobal​\(𝜽\(t\+1\)\)\+λfair​Ωfair\(t\)\+λcomm​Ωcomm\(t\)\+λstab​Ωstab\(t\)\.\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}=\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{global\}\}\\left\(\\boldsymbol\{\\theta\}^\{\(t\+1\)\}\\right\)\+\\lambda\_\{\\mathrm\{fair\}\}\\Omega\_\{\\mathrm\{fair\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{comm\}\}\\Omega\_\{\\mathrm\{comm\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{stab\}\}\\Omega\_\{\\mathrm\{stab\}\}^\{\(t\)\}\.\(29\)Here,ℒvalglobal\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{global\}\}is the validation loss of the aggregated global model,Ωfair\(t\)\\Omega\_\{\\mathrm\{fair\}\}^\{\(t\)\}measures client\-level performance imbalance,Ωcomm\(t\)\\Omega\_\{\\mathrm\{comm\}\}^\{\(t\)\}accounts for communication cost, andΩstab\(t\)\\Omega\_\{\\mathrm\{stab\}\}^\{\(t\)\}penalizes unstable optimization trajectories\. The coefficientsλfair\\lambda\_\{\\mathrm\{fair\}\},λcomm\\lambda\_\{\\mathrm\{comm\}\}, andλstab\\lambda\_\{\\mathrm\{stab\}\}control the relative contribution of these terms\.

To update the controller, DUQFL\-Prox applies an outer SPSA step toϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}\. A Rademacher perturbation vector𝚫ϕ\\boldsymbol\{\\Delta\}\_\{\\phi\}is sampled, and two perturbed controllers are formed:

ϕ\+=ϕ\(t\)\+cout​𝚫ϕ,ϕ−=ϕ\(t\)−cout​𝚫ϕ\.\\boldsymbol\{\\phi\}^\{\+\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\+c\_\{\\mathrm\{out\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\},\\qquad\\boldsymbol\{\\phi\}^\{\-\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\-c\_\{\\mathrm\{out\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\}\.\(30\)The corresponding perturbed meta\-losses,ℒmeta\+\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}andℒmeta−\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}, are obtained by evaluating virtual federated rounds underϕ\+\\boldsymbol\{\\phi\}^\{\+\}andϕ−\\boldsymbol\{\\phi\}^\{\-\}, respectively\. The outer SPSA gradient estimate is then

𝐠^ϕ\(t\)=ℒmeta\+−ℒmeta−2​cout​𝚫ϕ−1\.\\widehat\{\\mathbf\{g\}\}\_\{\\phi\}^\{\(t\)\}=\\frac\{\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}\-\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}\}\{2c\_\{\\mathrm\{out\}\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\}^\{\-1\}\.\(31\)Since each perturbation entry satisfiesΔϕ,j∈\{−1,\+1\}\\Delta\_\{\\phi,j\}\\in\\\{\-1,\+1\\\}, we haveΔϕ,j−1=Δϕ,j\\Delta\_\{\\phi,j\}^\{\-1\}=\\Delta\_\{\\phi,j\}\.

The controller is updated as

ϕ\(t\+1\)=ϕ\(t\)−αout​𝐠^ϕ\(t\),\\boldsymbol\{\\phi\}^\{\(t\+1\)\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\-\\alpha\_\{\\mathrm\{out\}\}\\widehat\{\\mathbf\{g\}\}\_\{\\phi\}^\{\(t\)\},\(32\)whereαout\\alpha\_\{\\mathrm\{out\}\}is the outer learning rate\.

This establishes a bilevel learning structure\. The inner level performs client\-side deep\-unfolded proximal SPSA optimization of QNN parameters, while the outer level adapts the shared controller so that future local optimization trajectories become more compatible with post\-aggregation global performance\. The outer update is applied periodically rather than necessarily at every round, which reduces computational overhead while still allowing the controller to improve across training\.

## IVExperimental Setup

This section describes the implementation environment, quantum model configuration, datasets, federated partitioning strategy, baseline methods, evaluation metrics, and reproducibility protocol used to evaluate DUQFL\-Prox\. The objective of the experiments is to assess not only final global accuracy, but also client\-level generalization, train\-test gap, client fairness, and stability under heterogeneous federated data\.

### IV\-AImplementation Details

All experiments were implemented in Python using Visual Studio Code as the main development environment\. Quantum models were implemented using Qiskit and Qiskit Machine Learning, with Qiskit Aer used for simulator\-based experiments\. The main Python libraries used were NumPy, pandas, scikit\-learn, matplotlib, seaborn, Qiskit, Qiskit Aer, and Qiskit Machine Learning\. Fixed random seeds were used for dataset splitting, client partitioning, QNN parameter initialization, and optimizer\-related stochasticity wherever supported\.

The main experimental configuration is summarized in Table[II](https://arxiv.org/html/2607.21647#S4.T2)\. The reported values correspond to the default configuration used in the main experiments; dataset\-specific adjustments were made when necessary due to dataset capacity or computational constraints\.

TABLE II:Main experimental configuration used in DUQFL\-Prox experiments\.
### IV\-BQuantum Neural Network Architecture

Each client model was implemented as a parameterized QNN\. The classical input features were first preprocessed into a low\-dimensional representation and then encoded into a quantum circuit using a ZZFeatureMap\. A RealAmplitudes ansatz was used as the trainable variational circuit\. The number of qubits was determined by the number of retained input features after preprocessing\. In the main experiments, we used either two or four QNN input features depending on the dataset and computational budget\.

Let𝐱∈ℝd\\mathbf\{x\}\\in\\mathbb\{R\}^\{d\}denote the preprocessed input vector\. The QNN maps𝐱\\mathbf\{x\}to a quantum state through the feature map and then applies a trainable ansatz parameterized by𝜽\\boldsymbol\{\\theta\}\. Measurement outcomes are classically post\-processed to obtain class probabilities or predicted labels\. All compared methods used the same QNN architecture for a given dataset to ensure a fair comparison\.

### IV\-CDatasets and Preprocessing

The proposed DUQFL\-Prox framework was evaluated on datasets from genomics and financial fraud detection\. Since current QNN models are constrained by the number of available qubits and circuit depth, each dataset was transformed into a low\-dimensional QNN\-compatible representation before federated training\. Table[III](https://arxiv.org/html/2607.21647#S4.T3)summarizes the dataset usage, preprocessing pipeline, and final QNN input dimension\.

TABLE III:Datasets used for evaluating DUQFL\-Prox across multiple domains\.The BAF dataset is taken from the Bank Account Fraud Dataset Suite introduced by Jesus et al\.\[[11](https://arxiv.org/html/2607.21647#bib.bib61)\]\. The dataset suite was designed as a privacy\-preserving, large\-scale tabular benchmark for bank account\-opening fraud detection, with realistic challenges including temporal dynamics, severe class imbalance, and bias/fairness\-related distributional shifts\. The Genome experiments use the DemoHumanOrWorm task from the Genomic Benchmarks suite\[[4](https://arxiv.org/html/2607.21647#bib.bib60)\]\. Genomic Benchmarks provides curated datasets for genomic sequence classification and offers standardized access through common machine\-learning and deep\-learning interfaces\.

#### IV\-C1BAF Dataset

For the BAF, Bank Account fraud\-detection experiment, the target variable wasfraud\_bool\. After removing missing values, the dataset was optionally subsampled using stratified sampling to preserve the class distribution under the QNN computational budget\. The data were split into training, validation, and test sets before feature encoding and scaling to avoid data leakage\. Categorical variables were encoded using ordinal encoding with support for unseen categories, while numerical variables were standardized\. PCA was then applied to obtain a low\-dimensional representation compatible with the number of QNN qubits\. Finally, the PCA features were optionally scaled to the quantum angle range\[0,π\]\[0,\\pi\]\. In the reported BAF run, the resulting split contained 2,999 training samples, 750 validation samples, and 1,250 test samples, using four QNN features/qubits\.

#### IV\-C2Genome Dataset

For the Genome experiment, we used the DemoHumanOrWorm task from the Genomic Benchmarks suite\. Each DNA sequence was converted into a numerical vector using a fixed word\-size encoding strategy\. Specifically, all unique words of lengthword\_sizewere assigned integer identifiers, and each sequence was represented by the corresponding sequence of integer word indices\. The resulting vectors were shuffled and scaled using MinMax scaling to obtain bounded QNN\-compatible input features\. In the implementation used in this work, 10,000 processed records were used for training and 2,000 records were used for testing\.

The BAF and Genome datasets are used as representative intelligent\-service tasks because they capture two unique privacy\-sensitive distributed decision setting challenges:financial fraud detection and genomic classification\.

## VExperimental Results and Analysis

![Refer to caption](https://arxiv.org/html/2607.21647v1/01_global_accuracy_across_epochs_baf.png)\(a\)Global accuracy
![Refer to caption](https://arxiv.org/html/2607.21647v1/02_mean_client_test_accuracy_across_epochs_baf.png)\(b\)Mean client test accuracy
![Refer to caption](https://arxiv.org/html/2607.21647v1/03_train_test_gap_across_epochs_baf.png)\(c\)Train–test gap
![Refer to caption](https://arxiv.org/html/2607.21647v1/08_final_client_fairness_gap_bar_baf.png)\(d\)Client fairness gap

Figure 3:Federated performance comparison on the BAF dataset\. DUQFL\-Prox improves final global accuracy and mean client test accuracy while substantially reducing the train–test gap and client fairness gap\. Lower values are preferable for train–test gap and fairness gap\.![Refer to caption](https://arxiv.org/html/2607.21647v1/recall_epochs.png)\(a\)Recall
![Refer to caption](https://arxiv.org/html/2607.21647v1/precision_epochs.png)\(b\)precision
![Refer to caption](https://arxiv.org/html/2607.21647v1/f1_epochs.png)\(c\)F1
![Refer to caption](https://arxiv.org/html/2607.21647v1/specificity_epochs.png)\(d\)Specificity

Figure 4:Epoch\-wise ROC\-AUC, PR\-AUC, MCC, and specificity trajectories on the BAF dataset\. DUQFL\-Prox shows more stable late\-epoch behaviour on test ROC\-AUC, PR\-AUC, and MCC, while Adam\-QFL exhibits a recall\-heavy operating regime with declining specificity\.![Refer to caption](https://arxiv.org/html/2607.21647v1/roc_auc_epochs.png)\(a\)rocauc
![Refer to caption](https://arxiv.org/html/2607.21647v1/pr_auc_epochs.png)\(b\)pr auc
![Refer to caption](https://arxiv.org/html/2607.21647v1/mcc_epochs.png)\(c\)mcc
![Refer to caption](https://arxiv.org/html/2607.21647v1/specificity_epochs.png)\(d\)Client Fairness

Figure 5:BAF DataWe evaluate DUQFL\-Prox against representative QFL baselines and ablation variants\. The analysis is organized around four questions: \(i\) whether DUQFL\-Prox improves global and client\-level performance, \(ii\) whether the proposed method reduces train–test generalization gap and client fairness gap, \(iii\) how DUQFL\-Prox behaves under severe class imbalance, and \(iv\) whether the learned global QNN checkpoints remain executable on real IBM quantum hardware\.

We report both global and client\-level metrics because global accuracy alone is insufficient to evaluate heterogeneous QFL\. A method may obtain strong global accuracy while still producing unstable or imbalanced performance across clients\. Therefore, in addition to global accuracy, we analyse mean client test accuracy, train–test gap, client fairness gap, precision, recall, F1\-score, ROC\-AUC, PR\-AUC, MCC, and specificity\.

### V\-AResults on the BAF Dataset

The BAF dataset represents a highly imbalanced financial fraud\-detection task\. This setting is challenging for QFL because the minority class is rare and the client partitions are non\-IID\. Consequently, high global accuracy alone does not necessarily imply good fraud\-detection behaviour\. We therefore evaluate BAF using both federated learning metrics and imbalance\-aware classification metrics\.

Figure[3](https://arxiv.org/html/2607.21647#S5.F3)compares DUQFL\-Prox with Default\-QFL and FedProx\-QFL using global accuracy, mean client test accuracy, train–test gap, and client fairness gap\. DUQFL\-Prox achieves the strongest final global accuracy, reaching approximately0\.65040\.6504, compared with approximately0\.53440\.5344for FedProx\-QFL and0\.45920\.4592for Default\-QFL\. Although Default\-QFL reaches a temporary peak during intermediate rounds, its late\-round performance decreases substantially, indicating unstable post\-aggregation behaviour under the non\-IID BAF setting\.

The client\-level results provide a clearer indication of the benefit of DUQFL\-Prox\. The proposed method obtains the highest final mean client test accuracy, approximately0\.64360\.6436, while FedProx\-QFL and Default\-QFL obtain approximately0\.54800\.5480and0\.50220\.5022, respectively\. This suggests that DUQFL\-Prox improves not only the aggregated global model, but also the generalization behaviour observed across distributed clients\.

The train–test gap further supports this conclusion\. Default\-QFL and FedProx\-QFL show relatively large final train–test gaps, approximately0\.28540\.2854and0\.21160\.2116, respectively\. In contrast, DUQFL\-Prox obtains a near\-zero final gap\. Since lower train–test gap is preferable, this indicates that DUQFL\-Prox reduces local over\-specialization and improves generalization under heterogeneous client data\.

The client fairness gap, measured as theP​90−P​10P90\-P10spread of client test accuracies, is also lowest for DUQFL\-Prox\. The final fairness gap is approximately0\.01930\.0193for DUQFL\-Prox, compared with0\.09580\.0958for FedProx\-QFL and0\.19100\.1910for Default\-QFL\. This result is important because a high global accuracy can hide poor performance on difficult or minority clients\. The low fairness gap shows that DUQFL\-Prox produces more balanced client\-level performance\.

### V\-BImbalance\-Aware Classification Behaviour on BAF

Because the BAF dataset is severely class\-imbalanced, we further analyse precision, recall, F1\-score, specificity, ROC\-AUC, PR\-AUC, and MCC on validation and test splits\. In Figures[4](https://arxiv.org/html/2607.21647#S5.F4)and[5](https://arxiv.org/html/2607.21647#S5.F5), the prefixes F, D, and A denote FedAvg\-default, DUQFL\-Prox, and FedAvg\-tuned\-Adam, respectively, while Val and T denote validation and test splits\.

The results reveal different operating behaviours\. FedAvg\-tuned\-Adam achieves high recall for much of training, indicating aggressive minority\-class detection\. However, this behaviour is accompanied by a decline in specificity, which suggests a larger number of false positives\. Thus, Adam\-QFL behaves as a recall\-oriented baseline but provides a less selective operating point\.

DUQFL\-Prox shows a more balanced late\-epoch behaviour\. It provides more consistent improvements in test F1, MCC, ROC\-AUC, precision, and specificity\. This suggests that DUQFL\-Prox does not simply increase minority\-class detection at the expense of false positives; instead, it maintains a more balanced recall–specificity trade\-off\. FedAvg\-default exhibits stronger fluctuations across epochs, particularly for MCC, F1\-score, and ROC\-AUC, indicating weaker stability under severe class imbalance\.

The validation curves are noisier than the test curves, especially for PR\-AUC, MCC, precision, and recall\. This is expected because the validation split contains very few positive fraud samples\. Therefore, epoch\-wise trajectories are important in addition to checkpoint\-based summaries, since they reveal the underlying training dynamics and the recall–specificity trade\-off among the methods\.

### V\-CResults on the Genome Dataset

The Genome dataset presents a more nuanced comparison\. As shown in Figure[6](https://arxiv.org/html/2607.21647#S5.F6), FedProx\-QFL achieves the highest final global accuracy, reaching approximately0\.850\.85\. DUQFL\-Prox remains competitive, with final global accuracy around0\.820\.82–0\.830\.83, while Default\-QFL ends with substantially lower global accuracy\. This result shows that DUQFL\-Prox is not always the single best method in terms of final global accuracy\.

However, the client\-level metrics show a different and important trend\. DUQFL\-Prox achieves the highest final mean client test accuracy, approximately0\.800\.80, outperforming the other compared methods\. This indicates that DUQFL\-Prox provides stronger generalization across distributed clients, even when another baseline obtains slightly higher final global accuracy\.

The train–test gap and client fairness gap further support this interpretation\. DUQFL\-Prox obtains the lowest final train–test gap, close to zero, suggesting reduced overfitting and improved client\-level generalization\. It also achieves the lowest final client fairness gap, indicating that its performance is more balanced across clients\. DUQFL\-best and DUQFL\-drift also improve over Default\-QFL, but DUQFL\-Prox provides the strongest overall stability and fairness profile\.

Therefore, the Genome experiment supports a more federated\-learning\-relevant conclusion: DUQFL\-Prox is not merely an accuracy\-maximizing method, but a stability\-aware and generalization\-aware QFL method\. It provides the best trade\-off among global accuracy, mean client test accuracy, train–test gap, and fairness under heterogeneous client data\.

![Refer to caption](https://arxiv.org/html/2607.21647v1/01_global_accuracy_across_epochs_gen.png)\(a\)Global accuracy
![Refer to caption](https://arxiv.org/html/2607.21647v1/02_mean_client_test_accuracy_across_epochs_gen.png)\(b\)Mean client test accuracy
![Refer to caption](https://arxiv.org/html/2607.21647v1/03_train_test_gap_across_epochs_gen.png)\(c\)Train–test gap
![Refer to caption](https://arxiv.org/html/2607.21647v1/08_final_client_fairness_gap_bar_gen.png)\(d\)Client fairness gap

Figure 6:Federated performance comparison on the Genome dataset\. FedProx\-QFL achieves the strongest final global accuracy, while DUQFL\-Prox provides the best client\-level generalization, lowest train–test gap, and lowest fairness gap\.TABLE IV:Qualitative comparison of QFL and DUQFL methods across Genome and BAF datasets\. Here,✓​✓\\checkmark\\checkmarkdenotes the strongest performance,✓\\checkmarkdenotes competitive or moderate performance, and−\-denotes weak, unstable, or less consistent performance\. For train–test gap, client drift/regularization, and fairness/balance, lower values are preferable\.
### V\-DCross\-Dataset Comparison

Table[IV](https://arxiv.org/html/2607.21647#S5.T4)summarizes the qualitative behaviour of the compared methods across the Genome and BAF datasets\. The results show that DUQFL\-Prox provides the most consistent stability–generalization trade\-off across datasets\.

On BAF, DUQFL\-Prox achieves the strongest performance across final global accuracy, mean client test accuracy, train–test gap, and client fairness gap\. This indicates that proximal deep\-unfolded QNN optimization is particularly effective under severe class imbalance and non\-IID client partitions\.

On Genome, FedProx\-QFL achieves the highest final global accuracy, whereas DUQFL\-Prox achieves the strongest client\-level generalization, lowest train–test gap, and lowest fairness gap\. This distinction is important because a single global test metric does not fully characterize federated performance\. The Genome results show that DUQFL\-Prox improves the reliability and balance of client\-level performance even when another method slightly improves the final centralized global accuracy\.

Overall, the cross\-dataset results indicate that DUQFL\-Prox should be interpreted as a stability\-aware and generalization\-aware QFL method\. Its advantage lies in improving the quality and aggregation compatibility of local QNN updates through deep\-unfolded optimization, validation\-based checkpoint selection, and proximal drift control\.

![Refer to caption](https://arxiv.org/html/2607.21647v1/simulator_vs_ibm_all_rounds_accuracy_plot_D.png)\(a\)DUQFL\-Prox
![Refer to caption](https://arxiv.org/html/2607.21647v1/simulator_vs_ibm_all_rounds_accuracy_plot_Q.png)\(b\)Default\-QFL

Figure 7:Simulator and real IBM quantum hardware validation of trained global QFL checkpoints\. DUQFL\-Prox shows a more stable hardware trajectory than Default\-QFL across saved global parameter checkpoints\.
### V\-EController Behaviour and Hyperparameter Adaptation

![Refer to caption](https://arxiv.org/html/2607.21647v1/compact_controller_behaviour.png)Figure 8:Controller behaviour and hyperparameter adaptation in DUQFL\-Prox on the BAF dataset\. The trace logs show the controller\-generated SPSA learning rateη\\eta, perturbation scaleδ\\delta, local loss reductionΔ​ℒ\\Delta\\mathcal\{L\}, and selected best\-unfold checkpointk⋆k^\{\\star\}\. These results verify that DUQFL\-Prox performs adaptive local QNN optimization rather than using a fixed SPSA schedule\.Figure[8](https://arxiv.org/html/2607.21647#S5.F8)analyses the controller trace logs of DUQFL\-Prox\. The generated learning rateη\\etaand perturbation scaleδ\\deltaremain within stable numerical ranges while varying across the unfolded training process\. The local loss\-reduction curve shows that the unfolded SPSA blocks produce measurable improvement in the client objective, particularly in the early unfold steps\. The selected\-checkpoint distribution further shows that the last unfolded state is not always uploaded, supporting the use of validation\-based best\-unfold selection\. Together, these results provide empirical evidence that DUQFL\-Prox uses controller\-guided adaptive optimization rather than a fixed local SPSA schedule\.

### V\-FReal IBM Quantum Hardware Validation

To examine practical deployability, we evaluated selected trained global QNN checkpoints on IBM Quantum hardware\. Due to the high queue time and execution cost of repeatedly training the full federated process on real quantum devices, hardware execution was used for post\-training validation rather than full hardware\-in\-the\-loop federated training\. Specifically, saved global parameter checkpoints were assigned to the trained QNN circuit, transpiled for the selected IBM backend, and executed using finite\-shot measurement\. The resulting hardware accuracy was compared with noiseless simulator, shot\-based Aer simulator, and backend\-inspired noisy Aer simulator results\.

Figure[7](https://arxiv.org/html/2607.21647#S5.F7)compares DUQFL\-Prox and Default\-QFL across saved global checkpoints\. DUQFL\-Prox shows a more stable and improving hardware trajectory than Default\-QFL and remains reasonably aligned with the simulator curves in later checkpoints\. The difference between simulator and hardware results is expected due to finite\-shot uncertainty, device noise, calibration drift, transpilation constraints, and backend\-specific routing overhead\.

These results should not be interpreted as full federated training on IBM hardware\. Rather, they provide post\-training hardware feasibility evidence, showing that the learned DUQFL\-Prox global checkpoints remain executable on real quantum hardware and retain a more stable trajectory than the Default\-QFL baseline\.

## VIConclusion

The proposed DUQFL\-Prox framework is supported by three theoretical observations\. First, the optional step\-projection mechanism bounds each unfolded local update and therefore bounds cumulative client drift across the unfolded trajectory\. Second, the proximal regularization term acts as a drift\-control mechanism by penalizing deviation from the broadcast global model, balancing local adaptation with aggregation compatibility\. Third, under standard smoothness assumptions on the post\-aggregation meta\-objective, the outer SPSA update provides a zeroth\-order controller\-update direction that supports descent\-oriented adaptation in expectation\. Our results support the use of DUQFL\-Prox as a drift\-stable QFL‘ framework for intelligent services that require privacy preservation, fairness, and reliable generalization across heterogeneous clients\. These results do not constitute a full convergence guaranty for arbitrary nonconvex QFL systems; instead, they characterize the stability, drift\-control, and meta\-optimization behavior induced by DUQFL\-Prox\. Detailed statements and proofs are provided in Appendix A\.

## References

- \[1\]\(2023\)Foundations of quantum federated learning over classical and quantum networks\.IEEE Network\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.48.42.42.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[2\]Y\. J\. Cho, J\. Wang, and G\. Joshi\(2022\)Towards understanding biased client selection in federated learning\.InInternational Conference on Artificial Intelligence and Statistics,pp\. 10351–10375\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p3.1)\.
- \[3\]C\. Chu, L\. Jiang, and F\. Chen\(2023\)Cryptoqfl: quantum federated learning on encrypted data\.InProc\. IEEE International Conference on Quantum Computing and Engineering \(QCE\),Vol\.1,pp\. 1231–1237\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.12.6.6.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[4\]K\. Grešová, V\. Martinek, D\. Čechák, P\. Šimeček, and P\. Alexiou\(2023\)Genomic benchmarks: a collection of datasets for genomic sequence classification\.BMC Genomic Data24\(1\),pp\. 25\.Cited by:[§IV\-C](https://arxiv.org/html/2607.21647#S4.SS3.p2.1),[TABLE III](https://arxiv.org/html/2607.21647#S4.T3.4.3.2.4)\.
- \[5\]A\. Hamdiet al\.\(2025\)Drone\-as\-a\-service: research challenges and directions\.Proceedings of the IEEE113\(5\),pp\. 416–442\.External Links:[Document](https://dx.doi.org/10.1109/JPROC.2025.3599126)Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p2.1)\.
- \[6\]Y\. F\. Hanna, A\. A\. Khater, M\. El\-Bardini, and A\. M\. El\-Nagar\(2023\)Real time adaptive pid controller based on quantum neural network for nonlinear systems\.Engineering Applications of Artificial Intelligence126,pp\. 106952\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.12.6.6.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[7\]R\. Huang, X\. Tan, and Q\. Xu\(2022\)Quantum federated learning with decentralized data\.IEEE Journal of Selected Topics in Quantum Electronics28\(4\),pp\. 1–10\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p1.1),[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.42.36.36.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[8\]IBM QuantumSPSA Optimizer\.Note:[https://quantum\.cloud\.ibm\.com/docs/api/qiskit/qiskit\_algorithms\.optimizers\.SPSA](https://quantum.cloud.ibm.com/docs/api/qiskit/qiskit_algorithms.optimizers.SPSA)Accessed: 2026\-05\-17Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p5.1)\.
- \[9\]N\. Innan, A\. Marchisio, M\. Bennai, and M\. Shafique\(2025\)Qfnn\-ffd: quantum federated neural network for financial fraud detection\.In2025 IEEE International Conference on Quantum Software \(QSW\),pp\. 41–47\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.18.12.12.8.1.1)\.
- \[10\]S\. Jerbi, C\. Gyurik, S\. C\. Marshall, R\. Molteni, and V\. Dunjko\(2024\)Shadows of quantum machine learning\.Nature Communications15\(1\),pp\. 5676\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p1.1)\.
- \[11\]S\. Jesus, J\. Pombal, D\. Alves, A\. Cruz, P\. Saleiro, R\. Ribeiro, J\. Gama, and P\. Bizarro\(2022\)Turning the tables: biased, imbalanced, dynamic tabular datasets for ml evaluation\.Advances in Neural Information Processing Systems35,pp\. 33563–33575\.Cited by:[§IV\-C](https://arxiv.org/html/2607.21647#S4.SS3.p2.1),[TABLE III](https://arxiv.org/html/2607.21647#S4.T3.4.2.1.4)\.
- \[12\]P\. Kairouz and H\. B\. McMahan\(2021\)Advances and open problems in federated learning\.Foundations and trends in machine learning14\(1\-2\),pp\. 1–210\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p3.1),[§III\-A](https://arxiv.org/html/2607.21647#S3.SS1.p2.1)\.
- \[13\]S\. P\. Karimireddy, S\. Kale, M\. Mohri, S\. Reddi, S\. Stich, and A\. T\. Suresh\(2020\)Scaffold: stochastic controlled averaging for federated learning\.pp\. 5132–5143\.Cited by:[§II](https://arxiv.org/html/2607.21647#S2.p3.1)\.
- \[14\]D\. P\. Kingma and J\. Ba\(2014\)Adam: a method for stochastic optimization\.arXiv preprint arXiv:1412\.6980\.Cited by:[§III\-A](https://arxiv.org/html/2607.21647#S3.SS1.p2.1)\.
- \[15\]F\. Lai, X\. Zhu, H\. V\. Madhyastha, and M\. Chowdhury\(2021\)Oort: efficient federated learning via guided participant selection\.In15th\{\\\{USENIX\}\\\}Symposium on Operating Systems Design and Implementation \(\{\\\{OSDI\}\\\}21\),pp\. 19–35\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p3.1)\.
- \[16\]T\. Li, A\. K\. Sahu, M\. Zaheer, M\. Sanjabi, A\. Talwalkar, and V\. Smith\(2020\)Federated optimization in heterogeneous networks\.Proceedings of Machine Learning and Systems2,pp\. 429–450\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p1.1),[§I](https://arxiv.org/html/2607.21647#S1.p3.1),[§II](https://arxiv.org/html/2607.21647#S2.p3.1),[§III\-A](https://arxiv.org/html/2607.21647#S3.SS1.p2.1)\.
- \[17\]W\. Li, S\. Lu, and D\. Deng\(2021\)Quantum federated learning through blind quantum computing\.Science China Physics, Mechanics & Astronomy64\(10\),pp\. 100312\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.12.6.6.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[18\]S\. Majumder, S\. Ray, M\. Dasgupta, P\. Bhattacharya, T\. R\. Gadekallu, and G\. Srivastava\(2026\)QuanFraud: quantum state verification scheme for fraud detection in iot\-assisted quantum\-blockchain networks\.IEEE Transactions on Services Computing19\(1\),pp\. 616–627\.External Links:[Document](https://dx.doi.org/10.1109/TSC.2025.3635525)Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.24.18.18.8.1.1)\.
- \[19\]A\. Nakai\-Kasai and T\. Wadayama\(2024\)Deep unfolding\-based weighted averaging for federated learning under device and statistical heterogeneous environments\.IEICE Transactions on Communications108\(4\),pp\. 411–420\.Cited by:[Appendix D](https://arxiv.org/html/2607.21647#A4.p2.7),[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.60.54.54.8.1.1)\.
- \[20\]S\. I\. Nanayakkara and S\. R\. Pokhrel\(2025\)New insights on unfolding and fine\-tuning quantum federated learning\.arXiv preprint arXiv:2506\.20016\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.60.54.54.8.1.1)\.
- \[21\]B\. Narottama and S\. Y\. Shin\(2023\)Federated quantum neural network with quantum teleportation for resource optimization in future wireless communication\.IEEE Transactions on Vehicular Technology\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.36.30.30.8.1.1)\.
- \[22\]A\. G\. Neiat, A\. Bouguettaya, and M\. Bahutair\(2022\)A deep reinforcement learning approach for composing moving iot services\.IEEE Transactions on Services Computing15\(5\),pp\. 2538–2550\.External Links:[Document](https://dx.doi.org/10.1109/TSC.2021.3064329)Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p2.1)\.
- \[23\]D\. C\. Nguyen, M\. R\. Uddin, S\. Shaon, R\. Rahman, O\. Dobre, and D\. Niyato\(2025\)Quantum federated learning: a comprehensive survey\.arXiv preprint arXiv:2508\.15998\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p1.1)\.
- \[24\]D\. Ning, Y\. Ge, E\. Bertino, Z\. Zheng, Y\. Jiang, and H\. Wang\(2026\)AdpFL: a privacy\-preserving federated learning framework through adaptive model pruning on non\-iid data\.IEEE Transactions on Services Computing\(\),pp\. 1–15\.External Links:[Document](https://dx.doi.org/10.1109/TSC.2026.3686986)Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.54.48.48.8.1.1)\.
- \[25\]S\. R\. Pokhrel, N\. Yash, J\. Kua, G\. Li, and L\. Pan\(2024\)Quantum federated learning experiments in the cloud with data encoding\.arXiv preprint arXiv:2405\.00909\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.42.36.36.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[26\]J\. Qi, X\. Zhang, and J\. Tejedor\(2023\)Optimizing quantum federated learning based on federated quantum natural gradient descent\.InICASSP 2023\-2023 IEEE International Conference on Acoustics, Speech and Signal Processing \(ICASSP\),pp\. 1–5\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.48.42.42.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[27\]Qiskit Community\(2025\)SPSA \- qiskit algorithms documentation\.Note:Accessed: 2026\-05\-10[https://qiskit\-community\.github\.io/qiskit\-algorithms/stubs/qiskit\_algorithms\.optimizers\.SPSA\.html](https://qiskit-community.github.io/qiskit-algorithms/stubs/qiskit_algorithms.optimizers.SPSA.html)Cited by:[§II](https://arxiv.org/html/2607.21647#S2.p2.1)\.
- \[28\]A\. Reisizadeh, I\. Tziotis, H\. Hassani, A\. Mokhtari, and R\. Pedarsani\(2022\)Straggler\-resilient federated learning: leveraging the interplay between statistical accuracy and system heterogeneity\.IEEE Journal on Selected Areas in Information Theory3\(2\),pp\. 197–205\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p3.1),[§III\-A](https://arxiv.org/html/2607.21647#S3.SS1.p2.1)\.
- \[29\]K\. Selialia, Y\. Chandio, and F\. M\. Anwar\(2024\)Mitigating group bias in federated learning for heterogeneous devices\.InProceedings of the 2024 ACM conference on fairness, accountability, and transparency,pp\. 1043–1054\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p3.1)\.
- \[30\]N\. Shlezinger, S\. Segarra, Y\. Zhang, D\. Avrahami, Z\. Davidov, T\. Routtenberg, and Y\. C\. Eldar\(2025\)Deep unfolding: recent developments, theory, and design guidelines\.arXiv preprint arXiv:2512\.03768\.Cited by:[§II](https://arxiv.org/html/2607.21647#S2.p3.1)\.
- \[31\]J\. C\. Spall\(1998\)An overview of the simultaneous perturbation method for efficient optimization\.Johns Hopkins apl technical digest19\(4\),pp\. 482–492\.Cited by:[§II](https://arxiv.org/html/2607.21647#S2.p2.1)\.
- \[32\]J\. C\. Spall\(2002\)Multivariate stochastic approximation using a simultaneous perturbation gradient approximation\.IEEE transactions on automatic control37\(3\),pp\. 332–341\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p5.1)\.
- \[33\]Q\. Xia and Q\. Li\(2021\)Quantumfed: a federated learning framework for collaborative quantum training\.In2021 IEEE Global Communications Conference \(GLOBECOM\),pp\. 1–6\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.48.42.42.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[34\]J\. Xuet al\.\(2024\)A holistic and hybrid service selection strategy for mec\-based uav last\-mile delivery systems\.IEEE Transactions on Services Computing17\(6\),pp\. 3022–3036\.External Links:[Document](https://dx.doi.org/10.1109/TSC.2024.3451243)Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p2.1)\.
- \[35\]W\. Yamany, N\. Moustafa, and B\. Turnbull\(2021\)OQFL: an optimized quantum\-based federated learning framework for defending against adversarial attacks in intelligent transportation systems\.IEEE Transactions on Intelligent Transportation Systems\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.36.30.30.8.1.1)\.
- \[36\]K\. Yu, X\. Zhang, Z\. Ye, G\.\-D\. Guo, and S\. Lin\(2022\)Quantum federated learning based on gradient descent\.arXiv preprint arXiv:2212\.12913\.Cited by:[§I](https://arxiv.org/html/2607.21647#S1.p1.1)\.
- \[37\]W\. J\. Yun, J\. P\. Kim, H\. Baek, S\. Jung, J\. Park, M\. Bennis, and J\. Kim\(2022\)Quantum federated learning with entanglement controlled circuits and superposition coding\.arXiv preprint arXiv:2212\.01732\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.12.6.6.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.
- \[38\]X\. Zhang, J\. Zhao, C\. Xu, H\. Wang, and Y\. Zhang\(2022\)DOPIV: post\-quantum secure identity\-based data outsourcing with public integrity verification in cloud storage\.IEEE Transactions on Services Computing15\(1\),pp\. 334–345\.External Links:[Document](https://dx.doi.org/10.1109/TSC.2019.2942297)Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.30.24.24.8.1.1)\.
- \[39\]H\. Zhao\(2023\)Non\-iid quantum federated learning with one\-shot communication complexity\.Quantum Machine Intelligence5\(1\),pp\. 3\.Cited by:[TABLE I](https://arxiv.org/html/2607.21647#S2.T1.42.36.36.8.1.1),[§II](https://arxiv.org/html/2607.21647#S2.p1.1)\.

\.

Table[V](https://arxiv.org/html/2607.21647#A0.T5)summarizes the main notation used throughout the paper\.

TABLE V:Summary of notation used in DUQFL\-Prox\.## Appendix AProximal Objective and Drift Control

This appendix clarifies the drift\-control role of the proximal component in DUQFL\-Prox\. In heterogeneous QFL, each client initializes local training from the broadcast global model𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}\. Under non\-IID data and stochastic QNN optimization, repeated local updates may move the client model far from this global reference point, producing updates that are less compatible with server aggregation\.

DUQFL\-Prox therefore replaces the unregularized local objectiveℒi​\(𝜽\)\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)with

ℒiprox​\(𝜽\)=ℒi​\(𝜽\)\+μ2​‖𝜽−𝜽\(t\)‖22,\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\(\\boldsymbol\{\\theta\}\)=\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)\+\\frac\{\\mu\}\{2\}\\left\\\|\\boldsymbol\{\\theta\}\-\\boldsymbol\{\\theta\}^\{\(t\)\}\\right\\\|\_\{2\}^\{2\},\(33\)whereμ≥0\\mu\\geq 0controls the strength of proximal regularization\. The first term promotes local empirical improvement, whereas the second term penalizes excessive deviation from the broadcast global model\.

Formally, the gradient of the proximal objective is

∇ℒiprox​\(𝜽\)=∇ℒi​\(𝜽\)\+μ​\(𝜽−𝜽\(t\)\)\.\\nabla\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\(\\boldsymbol\{\\theta\}\)=\\nabla\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)\+\\mu\\left\(\\boldsymbol\{\\theta\}\-\\boldsymbol\{\\theta\}^\{\(t\)\}\\right\)\.\(34\)Although DUQFL\-Prox uses SPSA rather than analytic gradients, this expression shows that the proximal term introduces a drift\-correcting component toward the current global model\. Thus, local training is discouraged from moving arbitrarily far from𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}\.

At unfold stepkk, SPSA is applied to the proximal objective:

𝜽i,k\+1\(t\)=𝒰SPSA​\(𝜽i,k\(t\);ηi,k\(t\),δi,k\(t\),ℒiprox\)\.\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}=\\mathcal\{U\}\_\{\\mathrm\{SPSA\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\};\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\},\\mathcal\{L\}\_\{i\}^\{\\mathrm\{prox\}\}\\right\)\.\(35\)Therefore, the local update is influenced by both client\-specific loss reduction and proximity to the broadcast global parameters\.

The unfold\-step displacement is recorded as

Δ​𝜽i,k\(t\)=𝜽i,k\+1\(t\)−𝜽i,k\(t\),\\Delta\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}=\\boldsymbol\{\\theta\}\_\{i,k\+1\}^\{\(t\)\}\-\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\},\(36\)with magnitude

‖Δ​𝜽i,k\(t\)‖2\.\\left\\\|\\Delta\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\\\|\_\{2\}\.\(37\)This quantity provides a diagnostic measure of local movement and can be used as an optimization\-state feature in subsequent unfold steps\.

Overall, the proximal term does not prevent local learning\. Instead, it balances local improvement with aggregation compatibility\. This is particularly important in DUQFL\-Prox because deep unfolding increases the flexibility of local optimization, which can otherwise increase the risk of client over\-specialization under heterogeneous data\.

## Appendix BOuter SPSA Gradient Estimation

The shared controller in DUQFL\-Prox is parameterized byϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}and generates the SPSA learning rate and perturbation scale used during unfolded local QNN optimization\. The purpose of the outer update is to refineϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}so that the induced local optimization trajectories improve post\-aggregation global performance\.

At communication roundtt, the outer meta\-loss is

ℒmeta\(t\)=ℒvalglobal​\(𝜽\(t\+1\)\)\+λfair​Ωfair\(t\)\+λcomm​Ωcomm\(t\)\+λstab​Ωstab\(t\)\.\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}=\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{global\}\}\\left\(\\boldsymbol\{\\theta\}^\{\(t\+1\)\}\\right\)\+\\lambda\_\{\\mathrm\{fair\}\}\\Omega\_\{\\mathrm\{fair\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{comm\}\}\\Omega\_\{\\mathrm\{comm\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{stab\}\}\\Omega\_\{\\mathrm\{stab\}\}^\{\(t\)\}\.\(38\)The dependence ofℒmeta\(t\)\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}onϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}is indirect: the controller determines\(η,δ\)\(\\eta,\\delta\), which affects local QNN training, server aggregation, and finally the global validation loss\. Since this mapping is expensive and not easily differentiable, DUQFL\-Prox applies an outer SPSA update\.

A Rademacher perturbation vector𝚫ϕ∈\{−1,\+1\}dim\(ϕ\)\\boldsymbol\{\\Delta\}\_\{\\phi\}\\in\\\{\-1,\+1\\\}^\{\\dim\(\\boldsymbol\{\\phi\}\)\}is sampled, and two perturbed controllers are formed:

ϕ\+=ϕ\(t\)\+cout​𝚫ϕ,ϕ−=ϕ\(t\)−cout​𝚫ϕ\.\\boldsymbol\{\\phi\}^\{\+\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\+c\_\{\\mathrm\{out\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\},\\qquad\\boldsymbol\{\\phi\}^\{\-\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\-c\_\{\\mathrm\{out\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\}\.\(39\)Evaluating the federated process under these two controllers givesℒmeta\+\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}andℒmeta−\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}\. For thejj\-th controller parameter, the SPSA finite\-difference estimate is

g^ϕ,j\(t\)=ℒmeta\+−ℒmeta−2​cout​Δϕ,j\.\\widehat\{g\}\_\{\\phi,j\}^\{\(t\)\}=\\frac\{\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}\-\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}\}\{2c\_\{\\mathrm\{out\}\}\\Delta\_\{\\phi,j\}\}\.\(40\)Equivalently, in vector form,

𝐠^ϕ\(t\)=ℒmeta\+−ℒmeta−2​cout​𝚫ϕ−1\.\\widehat\{\\mathbf\{g\}\}\_\{\\phi\}^\{\(t\)\}=\\frac\{\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\+\}\-\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\-\}\}\{2c\_\{\\mathrm\{out\}\}\}\\boldsymbol\{\\Delta\}\_\{\\phi\}^\{\-1\}\.\(41\)SinceΔϕ,j∈\{−1,\+1\}\\Delta\_\{\\phi,j\}\\in\\\{\-1,\+1\\\}, we haveΔϕ,j−1=Δϕ,j\\Delta\_\{\\phi,j\}^\{\-1\}=\\Delta\_\{\\phi,j\}\.

The controller is then updated as

ϕ\(t\+1\)=ϕ\(t\)−αout​𝐠^ϕ\(t\),\\boldsymbol\{\\phi\}^\{\(t\+1\)\}=\\boldsymbol\{\\phi\}^\{\(t\)\}\-\\alpha\_\{\\mathrm\{out\}\}\\widehat\{\\mathbf\{g\}\}\_\{\\phi\}^\{\(t\)\},\(42\)whereαout\\alpha\_\{\\mathrm\{out\}\}is the outer learning rate\. This update does not directly overwrite client\-local QNN models\. Instead, it modifies the controller mapping

Γ​\(𝐳i,k\(t\);ϕ\(t\)\)↦\(ηi,k\(t\),δi,k\(t\)\),\\Gamma\\left\(\\mathbf\{z\}\_\{i,k\}^\{\(t\)\};\\boldsymbol\{\\phi\}^\{\(t\)\}\\right\)\\mapsto\\left\(\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\}\\right\),\(43\)so that future local SPSA behaviour becomes more aligned with the post\-aggregation global objective\.

## Appendix CStability and Convergence Discussion

This appendix provides a stability\-oriented interpretation of DUQFL\-Prox\. We do not claim a general convergence theorem for arbitrary non\-convex QNN objectives, since variational quantum loss landscapes may be non\-convex and affected by finite\-shot measurement noise\. Instead, we clarify how the proposed components are designed to improve optimization stability under heterogeneous federated data\.

Let the global objective be written as

ℱ​\(𝜽\)=∑i=1Npi​ℒi​\(𝜽\),pi=ni∑j=1Nnj\.\\mathcal\{F\}\(\\boldsymbol\{\\theta\}\)=\\sum\_\{i=1\}^\{N\}p\_\{i\}\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\),\\qquad p\_\{i\}=\\frac\{n\_\{i\}\}\{\\sum\_\{j=1\}^\{N\}n\_\{j\}\}\.\(44\)Here,ℒi​\(𝜽\)\\mathcal\{L\}\_\{i\}\(\\boldsymbol\{\\theta\}\)denotes the local objective of clientii, andpip\_\{i\}is its sample\-size proportion\. Under non\-IID data, the local objectives may induce different descent directions\. Therefore, a client model that improves its own local objective may still be poorly aligned with the global objective after aggregation\. This mismatch is the source of client drift\.

DUQFL\-Prox addresses this instability through three complementary mechanisms\. First, the proximal penalty

μ2​‖𝜽−𝜽\(t\)‖22\\frac\{\\mu\}\{2\}\\left\\\|\\boldsymbol\{\\theta\}\-\\boldsymbol\{\\theta\}^\{\(t\)\}\\right\\\|\_\{2\}^\{2\}\(45\)discourages excessive deviation from the broadcast global model𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}\. This encourages local updates to remain within a controlled neighbourhood of the global reference point, reducing the risk of over\-specialized client updates\.

Second, validation\-based best\-unfold selection prevents the method from always uploading the final unfolded state\. Instead, clientiiuploads

𝜽i,⋆\(t\)=𝜽i,ki⋆\(t\),ki⋆=arg⁡mink∈\{1,…,K\}⁡ℒi,val​\(𝜽i,k\(t\)\)\.\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}=\\boldsymbol\{\\theta\}\_\{i,k\_\{i\}^\{\\star\}\}^\{\(t\)\},\\qquad k\_\{i\}^\{\\star\}=\\arg\\min\_\{k\\in\\\{1,\\ldots,K\\\}\}\\mathcal\{L\}\_\{i,\\mathrm\{val\}\}\\left\(\\boldsymbol\{\\theta\}\_\{i,k\}^\{\(t\)\}\\right\)\.\(46\)This mechanism is important because later unfold steps may reduce training loss while increasing validation loss or local specialization\.

Third, the outer meta\-objective evaluates the consequence of local optimization after aggregation:

ℒmeta\(t\)=ℒvalglobal​\(𝜽\(t\+1\)\)\+λfair​Ωfair\(t\)\+λcomm​Ωcomm\(t\)\+λstab​Ωstab\(t\)\.\\mathcal\{L\}\_\{\\mathrm\{meta\}\}^\{\(t\)\}=\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{global\}\}\\left\(\\boldsymbol\{\\theta\}^\{\(t\+1\)\}\\right\)\+\\lambda\_\{\\mathrm\{fair\}\}\\Omega\_\{\\mathrm\{fair\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{comm\}\}\\Omega\_\{\\mathrm\{comm\}\}^\{\(t\)\}\+\\lambda\_\{\\mathrm\{stab\}\}\\Omega\_\{\\mathrm\{stab\}\}^\{\(t\)\}\.\(47\)Thus, the controller is guided by post\-aggregation global behaviour rather than local training loss alone\.

The proximal coefficientμ\\mucontrols the trade\-off between local adaptation and aggregation compatibility\. A largerμ\\mumore strongly penalizes movement away from𝜽\(t\)\\boldsymbol\{\\theta\}^\{\(t\)\}, whereas a smallerμ\\mugives clients greater freedom to adapt to their local data:

local adaptivity↔global aggregation compatibility\.\\text\{local adaptivity\}\\quad\\leftrightarrow\\quad\\text\{global aggregation compatibility\}\.\(48\)
Therefore, DUQFL\-Prox should be interpreted as a stability\-aware optimization framework rather than a method that guarantees global convergence for all QNN loss landscapes\. Its purpose is to reduce harmful client drift, select more generalizable local unfolded checkpoints, and align the controller with post\-aggregation validation performance\. This interpretation is consistent with our experimental protocol, which reports global accuracy together with mean client test accuracy, train–test gap, fairness gap, and classification metrics\.

## Appendix DRelation to Classical Deep\-Unfolded Federated Learning

Classical deep\-unfolded federated learning and DUQFL\-Prox share the same high\-level principle: an iterative federated optimization process can be unfolded into structured steps, and selected components of this process can be made learnable\. However, the level at which learning is introduced is different\.

In classical deep\-unfolded weighted averaging for FL, the unfolded process is typically applied at the server aggregation level\[[19](https://arxiv.org/html/2607.21647#bib.bib64)\]\. Standard FedAvg computes

𝐰\(t\+1\)=∑i=1Nni∑j=1Nnj​𝐰i\(t\),\\mathbf\{w\}^\{\(t\+1\)\}=\\sum\_\{i=1\}^\{N\}\\frac\{n\_\{i\}\}\{\\sum\_\{j=1\}^\{N\}n\_\{j\}\}\\mathbf\{w\}\_\{i\}^\{\(t\)\},\(49\)where𝐰i\(t\)\\mathbf\{w\}\_\{i\}^\{\(t\)\}denotes the local model from clientiiandnin\_\{i\}is the corresponding local sample size\. Deep\-unfolded weighted averaging replaces these fixed aggregation weights with learnable coefficients:

𝐰\(t\+1\)=∑i=1NΘi\(t\)​𝐰i\(t\),\\mathbf\{w\}^\{\(t\+1\)\}=\\sum\_\{i=1\}^\{N\}\\Theta\_\{i\}^\{\(t\)\}\\mathbf\{w\}\_\{i\}^\{\(t\)\},\(50\)whereΘi\(t\)\\Theta\_\{i\}^\{\(t\)\}determines the contribution of clientiito the global model at roundtt\. Thus, classical deep\-unfolded FL primarily asks how client updates should be weighted during aggregation\.

DUQFL\-Prox addresses a different question: how each client should optimize its local QNN before aggregation\. Instead of learning aggregation weightsΘi\(t\)\\Theta\_\{i\}^\{\(t\)\}, DUQFL\-Prox learns a controller parameterized byϕ\(t\)\\boldsymbol\{\\phi\}^\{\(t\)\}\. This controller generates unfold\-specific SPSA hyperparameters:

\(ηi,k\(t\),δi,k\(t\)\)=Γ​\(𝐳i,k\(t\);ϕ\(t\)\)\.\\left\(\\eta\_\{i,k\}^\{\(t\)\},\\delta\_\{i,k\}^\{\(t\)\}\\right\)=\\Gamma\\left\(\\mathbf\{z\}\_\{i,k\}^\{\(t\)\};\\boldsymbol\{\\phi\}^\{\(t\)\}\\right\)\.\(51\)The server aggregation remains sample\-size\-weighted:

𝜽\(t\+1\)=∑i∈𝒮\(t\)wi\(t\)​𝜽i,⋆\(t\)\.\\boldsymbol\{\\theta\}^\{\(t\+1\)\}=\\sum\_\{i\\in\\mathcal\{S\}^\{\(t\)\}\}w\_\{i\}^\{\(t\)\}\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}\.\(52\)The key difference is that the uploaded model𝜽i,⋆\(t\)\\boldsymbol\{\\theta\}\_\{i,\\star\}^\{\(t\)\}is produced through controller\-guided deep\-unfolded proximal QNN optimization and validation\-based best\-unfold selection\.

Therefore, DUQFL\-Prox transfers the deep\-unfolding principle from server\-side aggregation\-weight learning to client\-side quantum optimizer\-policy learning\. This distinction is important because QFL introduces optimization challenges not present in ordinary classical FL, including finite\-shot measurement noise, SPSA perturbation sensitivity, and non\-convex variational quantum loss landscapes\. DUQFL\-Prox is therefore complementary to classical deep\-unfolded FL methods: a future extension could jointly learn client\-side QNN optimization policies and server\-side aggregation weights, whereas this work focuses on stabilizing local QNN optimization before aggregation\.

## Appendix EAdditional Ablation and Controller Trace Analysis

![Refer to caption](https://arxiv.org/html/2607.21647v1/01_global_accuracy_across_epochs_ablation_v2.png)\(a\)Global accuracy
![Refer to caption](https://arxiv.org/html/2607.21647v1/02_mean_client_test_accuracy_across_epochs_ablation_v2.png)\(b\)Mean client test accuracy
![Refer to caption](https://arxiv.org/html/2607.21647v1/03_train_test_gap_across_epochs_ablation_v2.png)\(c\)Train–test gap
![Refer to caption](https://arxiv.org/html/2607.21647v1/08_final_client_fairness_gap_bar.png)\(d\)Client fairness gap

Figure 9:Ablation analysis of DUQFL variants on the Genome non\-IID setting\. DUQFL\-last uploads the final unfolded local state, DUQFL\-best uploads the validation\-preferred unfolded checkpoint, DUQFL\-drift adds explicit displacement control, and DUQFL\-Prox incorporates proximal drift regularization\. DUQFL\-Prox achieves the strongest client\-level generalization, lowest train–test gap, and smallest fairness gap, indicating that best\-unfold selection and proximal drift control improve stability and balance under heterogeneous QFL\.### E\-ACompared Methods

We compare DUQFL\-Prox with representative QFL baselines and ablation variants\. All methods use the same QNN architecture, dataset split, client partitioning, number of communication rounds, and evaluation protocol for each dataset\. Thus, differences in performance are attributed to the local optimization strategy, checkpoint\-selection mechanism, and drift\-control design rather than to model capacity or data partitioning\. Table[VI](https://arxiv.org/html/2607.21647#A5.T6)summarizes the role of each method\.

TABLE VI:Interpretation of QFL baselines and DUQFL ablation variants\.Although DUQFL\-drift and DUQFL\-Prox both include drift\-control mechanisms, they regularize drift differently\. DUQFL\-drift uses an explicit displacement constraint, whereas DUQFL\-Prox uses a proximal penalty that continuously discourages deviation from the broadcast global model\. Similarly, FedProx\-QFL and DUQFL\-Prox both use proximal regularization, but at different levels: FedProx\-QFL regularizes a conventional local optimization routine, whereas DUQFL\-Prox embeds proximal regularization within a controller\-guided unfolded QNN optimization trajectory\.

### E\-BEffect of Best\-Unfold Selection and Proximal Drift Control

Figure[9](https://arxiv.org/html/2607.21647#A5.F9)presents the ablation study on the Genome non\-IID setting\. The comparison isolates the contribution of the main DUQFL\-Prox components: controller\-guided unfolding, validation\-based best\-unfold selection, and drift control\. DUQFL\-last uploads the final unfolded local state, DUQFL\-best uploads the validation\-preferred unfolded checkpoint, DUQFL\-drift adds explicit displacement control, and DUQFL\-Prox incorporates proximal drift regularization\.

The results show that DUQFL\-last improves over Default\-QFL in some rounds, but its client\-level performance remains less stable than DUQFL\-best and DUQFL\-Prox\. This indicates that the final unfolded state is not necessarily the most generalizable checkpoint under heterogeneous client data\. Validation\-based best\-unfold selection improves this behaviour by preventing over\-aggressive or poorly generalizing later unfold states from being uploaded to the server\.

Adding drift control further improves stability\. DUQFL\-Prox achieves the highest final mean client test accuracy, the lowest train–test gap, and the smallest client fairness gap among the DUQFL variants\. These trends suggest that proximal regularization improves aggregation compatibility by limiting excessive client movement, while best\-unfold selection improves the quality of the checkpoint selected for aggregation\.

The comparison with FedProx\-QFL is also important\. Although both FedProx\-QFL and DUQFL\-Prox include proximal regularization, FedProx\-QFL applies it to a standard local optimization process\. In contrast, DUQFL\-Prox applies proximal regularization inside an adaptive unfolded QNN optimization trajectory whose SPSA learning rate and perturbation scale are generated by a controller\. Therefore, the improvement of DUQFL\-Prox over FedProx\-QFL indicates that proximal regularization alone is insufficient; stable heterogeneous QFL also requires adaptive control of the local QNN optimization process before aggregation\.

![Refer to caption](https://arxiv.org/html/2607.21647v1/heatmap_lr_client_unfold.png)\(a\)Generated learning rateη\\eta
![Refer to caption](https://arxiv.org/html/2607.21647v1/heatmap_pert_client_unfold.png)\(b\)Generated perturbationδ\\delta

Figure 10:Client\- and unfold\-level controller behaviour in DUQFL\-Prox\. The heatmaps show that the generated SPSA learning rate and perturbation scale vary across clients and unfold steps, supporting the claim that DUQFL\-Prox performs controller\-guided local optimization rather than using a fixed SPSA schedule\.![Refer to caption](https://arxiv.org/html/2607.21647v1/param_shift_over_rounds.png)\(a\)param shift over rounds
![Refer to caption](https://arxiv.org/html/2607.21647v1/scatter_lr_pert_loss_delta.png)\(b\)scatter lr pert loss delta

Figure 11:Trace\-level diagnostics of local optimization in DUQFL\-Prox\. The parameter\-shift curve monitors local movement during unfolded optimization, while the scatter plot shows that controller\-generated SPSA hyperparameters remain within a stable numerical range and produce positive local loss reduction for most client\-unfold updates\.![Refer to caption](https://arxiv.org/html/2607.21647v1/eta_delta_loss_reduction_by_unfold.png)\(a\)Normalizedη\\eta,δ\\delta, and loss reduction
![Refer to caption](https://arxiv.org/html/2607.21647v1/selected_unfold_distribution.png)\(b\)selected unfold distribution

Figure 12:Unfold\-level behaviour of DUQFL\-Prox\. The normalized plot shows that the largest local loss reduction often occurs during early unfold steps, while the selected\-unfold distribution confirms that the final unfolded state is not always the checkpoint uploaded for aggregation\. These diagnostics support the use of validation\-based best\-unfold selection\.

## Appendix FAdditional Controller Trace Analysis

This appendix provides trace\-level diagnostics for DUQFL\-Prox\. While the main ablation study evaluates global and client\-level performance, the following figures examine the internal behaviour of the controller during unfolded local QNN optimization\. These diagnostics support the claim that DUQFL\-Prox does not use a fixed SPSA schedule, but instead generates client\- and unfold\-dependent optimization behaviour\.

Figure[10](https://arxiv.org/html/2607.21647#A5.F10)reports the learning rateη\\etaand perturbation scaleδ\\deltagenerated by the controller for each client and unfold step\. The heatmaps show that the generated SPSA hyperparameters vary across clients and unfold steps, indicating that the controller adapts local optimizer behaviour according to the optimization state rather than applying a single fixed schedule\.

Figure[11](https://arxiv.org/html/2607.21647#A5.F11)provides two complementary diagnostics\. The parameter\-shift curve monitors local movement across communication rounds, whereas the loss\-reduction scatter plot relates controller\-generated hyperparameters to local loss improvement\. Most client\-unfold updates yield positive loss reduction while the generated learning rates and perturbation scales remain within a stable numerical range\. This supports the interpretation that the controller performs fine\-grained adaptation without inducing unstable hyperparameter excursions\.

Figure[12](https://arxiv.org/html/2607.21647#A5.F12)further supports the validation\-based checkpointing mechanism\. The normalized unfold\-step analysis shows that the largest average loss reduction often occurs during early unfold steps, while the selected\-unfold distribution confirms that the final unfolded state is not always selected for upload\. Therefore, best\-unfold selection is necessary to prevent later, less generalizable unfold states from dominating the server aggregation\.

### F\-ATrace Logging and Reproducibility

To support reproducibility and detailed ablation analysis, each experimental run saved round\-level, client\-level, and classification\-level outputs\. Round\-level CSV files stored global accuracy, validation loss, client accuracy statistics, meta\-loss, fairness information, and timing\. Client\-level trace files stored the unfold index, generated learning rate, perturbation scale, local losses, local train/test accuracy, validation loss, parameter displacement, clipping indicator, selected unfold index, client size, and heterogeneity value\. These trace logs make it possible to verify whether the controller changes the local SPSA behaviour across clients, unfold steps, and communication rounds\.

The main saved outputs were:

- •global\_accuracies\.csv: global and client train/test accuracies across communication rounds;
- •validation\.csv: validation loss across rounds;
- •client\_trace\.csv: unfold\-level client traces, including generatedη\\eta, generatedδ\\delta, validation loss, parameter shift, and selected unfold index;
- •outer\_meta\.csv: outer SPSA controller\-update information, including perturbed meta\-loss values and controller\-gradient norm;
- •classification\_metrics\.csv: precision, recall, F1\-score, ROC\-AUC, PR\-AUC, MCC, specificity, and confusion\-matrix values;
- •global\_params\.npz: saved global QNN parameter vectors across communication rounds\.

The result files were organized by method, dataset, split type, random seed, and timestamp\. This structure allows each run to be regenerated from the stored configuration and output files\.

## Appendix GIBM Quantum Hardware Workload Evidence

![Refer to caption](https://arxiv.org/html/2607.21647v1/IBM_REalRun.png)Figure 13:IBM Quantum Platform workload evidence for real\-hardware execution of trained QFL checkpoints\. The workload history shows completed executions on theibm\_fezbackend using finite\-shot measurement\. This screenshot is included as execution evidence only; the quantitative simulator–hardware accuracy comparison is reported separately\.To assess practical deployability, selected trained global QNN checkpoints were executed on real IBM quantum hardware\. This experiment was performed as post\-training hardware validation rather than full hardware\-in\-the\-loop federated training\. The saved global checkpoints were assigned to the trained QNN circuits, transpiled for the selected IBM backend, and executed using finite\-shot measurement\.

Figure[13](https://arxiv.org/html/2607.21647#A7.F13)provides IBM Quantum Platform workload evidence for the hardware execution\. The workload history shows completed executions on theibm\_fezbackend using the IBM Quantum open instance\. This screenshot is included only as execution evidence; the quantitative simulator–hardware accuracy comparison is reported separately in the main experimental results\.

Similar Articles

FedQHD: Closed-Form Function-Space Federated Reinforcement Learning

arXiv cs.LG

This paper proposes FedQHD, a novel federated Q-learning method using hyperdimensional random-feature state encoders with linear readouts to enable closed-form function-space aggregation, addressing the federation gap due to heterogeneous client encoders.