Federated Learning with Uncertainty Quantification on Pseudo Label Exchange
Authors: Jingqiao Tang, Phuoc-Toan Huynh, Richard Archibald, Feng Bao
Organizations: Department of Mathematics, Florida State University, 222 S Copeland St, Tallahassee, 32306, FL, USA · Oak Ridge National Laboratory, 1 Bethel Valley Road, Oak Ridge, 37830, TN, USA
In this work, we investigate federated stochastic operator learning for stochastic partial differential equations (SPDEs), with an emphasis on heterogeneous client data distributions and uncertainty quantification. Federated learning enables clients to collaboratively train models without exchanging their original solution data, but conventional federated averaging can suffer significant performance degradation when client distributions differ, particularly when their input function supports are disjoint. To address these challenges, we propose the Federated Stochastic Operator Network (FedSON), a two-phase framework that combines auxiliary data construction with stochastic operator learning. In the first phase, locally trained deterministic neural operators and their corresponding input functions are exchanged to generate pseudolabeled auxiliary data, enabling the federated model to learn across heterogeneous input distributions without sharing original solution trajectories. In the second phase, a stochastic operator network is trained on top of the frozen deterministic operator to characterize stochastic fluctuations and quantify uncertainty in the predicted solutions. Numerical experiments involving the heat equation, viscous Burgers' equation, and two-dimensional advection-diffusion equation demonstrate the FedSON substantially improves deterministic prediction accuracy under heterogeneous client distributions while producing uncertainty estimates comparable to those obtained through centralized training.
Figures & tables
Quantity
Value
Domain
x∈[0,1] , t∈[0,1]
Diffusivity κ
1
Boundary conditions
u(0,t)=0,u(1,t)=1
Initial condition
u(x,0)=x
Spatial nodes Nx+1
101 (uniform, h=1/100 )
Time steps Nt
80 ( Δt=1/80 )
Table 1: Problem and discretization settings for the heat equation experiment.
Stage
Data
Fed.
Rnds.
Ep.
LR start
LR end
1. Warmup
own noisy ( 600 )
no
30
50
5e-4
1e-4
2. Aux. data
pseudolabels
—
—
—
—
—
3. Fed. DON
expanded ( 6000 )
yes
30
50
2e-4
1e-5
4. Fed. SON
own noisy ( 600 )
yes
5
4
1e-5
1e-5
Table 2: [1D Heat Eq.] Summary of the four training stages for the heat equation experiment. All stages use AdamW with gradient clipping; federated stages aggregate by size-weighted FedAvg. “Rnds.” is communication rounds and “Ep.” is local epochs per round; “LR start” and “LR end” give the cosine-annealed learning rate range.
Heterogeneous
Homogeneous (reference)
Auxiliary (ours)
Client
∥u−x∥rel
rel L2
MSE
rel L2
MSE
rel L2
MSE
0
0.448
0.432
7.87e-2
0.070
2.08e-3
0.081
2.79e-3
1
0.126
0.119
4.82e-3
0.073
1.84e-3
0.072
1.77e-3
2
0.074
0.075
1.89e-3
0.070
1.64e-3
0.070
1.65e-3
3
0.070
0.071
1.70e-3
0.070
1.63e-3
0.069
1.62e-3
4
0.070
0.071
1.68e-3
0.069
1.62e-3
0.069
1.62e-3
Table 3: [1D Heat Eq.] Per-client relative L2 errors and MSEs of the three DeepONet training regimes for the heat equation, evaluated against noisy test trajectories. The quantity ∥u−x∥rel measures the relative departure from the initial profile u(x,0)=x .
Figure 1: [1D Heat Eq.] Comparison of predicted spatial profiles (dashed red) and noisy data (solid blue) at four time levels for client 0 , test sample 0 . From top to bottom: heterogeneous FedAvg, homogeneous FedAvg, and the auxiliary approach.
Client ID
Testing MSE ( 10−5 )
0
1
2
3
4
True Trajectory
Hetero
5982.7
27632
39939
40134
38546
Auxi
6.5674
77.332
147.13
478.05
716.43
Noisy Data
Hetero
6149.0
27803
40097
40304
38732
Auxi
178.50
248.47
325.89
653.06
892.22
Central
175.28
557.23
663.93
349.21
236.64
Table 4: [1D Burgers Eq.] Per-client test MSE for heterogeneous FedAvg, auxiliary FedAvg, and centralized DeepONet training. Centralized results are reported only against noisy test trajectories.
Figure 2: [1D Burgers Eq.] Federated DeepONet with auxiliary data on the Burgers’ equation: prediction on a representative test trajectory.
Figure 3: [1D Burgers Eq.] Representative federated SON realization compared with the noisy trajectory, clean solution, and frozen DeepONet prediction.
Figure 4: [1D Burgers Eq.] Pointwise ±2σ uncertainty bands for the true data noise (green), federated SON (purple), and centralized SON (orange) at t=0.027 , 0.10 , 0.177 , and 0.25 for client 1 , sample 10 . The bands are centered on the clean solution or corresponding DeepONet predictions, with standard deviations estimated from 20 SON realizations and pooled across clients and test samples at each spatial point.
Client
Heterogeneous
Homogeneous (reference)
Auxiliary (ours)
Centralized
0
0.7257
0.1114
0.0235
0.0342
1
0.5254
0.1426
0.0600
0.0382
2
0.4504
0.1897
0.0635
0.0961
3
1.0475
0.1226
0.0721
0.0433
4
1.4577
0.0800
0.0544
0.0494
pooled
0.7288
0.1296
0.0405
0.0509
Table 5: [2D Adv-Diff Eq.] Per client test error for the four DeepONet settings on the two-dimensional advection–diffusion equation, measured as the relative L2 error against the clean trajectories (used for diagnostics only). All four settings use the same forcing-conditioned DeepONet architecture. The homogeneous setting serves as a reference based on redistributed original data. Best deployable result per row in bold.
Figure 5: [2D Adv-Diff Eq.] Heterogeneous FedAvg predictions for client 4 , test sample 10 . Rows show four time levels; columns show noisy data, clean solutions, and DeepONet predictions.
Figure 6: [2D Adv-Diff Eq.] Homogeneous FedAvg predictions for client 4 , test sample 10 . The layout follows Figure 5 .
Figure 7: [2D Adv-Diff Eq.] Auxiliary FedAvg predictions for client 4 , test sample 10 . The layout follows Figure 5 .
Figure 8: [2D Adv-Diff Eq.] Federated SON prediction for client 4 , sample 10 , on the two-dimensional advection–diffusion equation. Rows are four time levels; columns are the noisy data, the clean trajectories, the frozen DeepONet mean, and one SON realization. The realization fluctuates about the DeepONet mean with a spread matching the noisy data, while the mean tracks the clean field.
Figure 9: [2D Adv-Diff Eq.] Pointwise uncertainty bands for client 4 , sample 10 , on two orthogonal cross-sections of the two-dimensional field at three time levels ( t=0.2 , 0.6 , 1.0 from top to bottom). The left column is a horizontal cut at fixed y (plotted against x ) and the right column a vertical cut at fixed x (plotted against y ). The black curve is the clean solution and the dashed curves are the empirical SON means; the shaded regions are the ±2σ envelopes of the true data noise, the federated SON, and the centralized SON. Each band width is the population standard deviation pooled across clients and test samples over the full field at that time, sliced on the plotted cross-section.
We introduce a novel framework for uncertainty quantification of solution operators associated with stochastic partial differential equations (SPDEs). Although SPDEs play a central role in modeling complex physical systems under uncertainty, their practical use typically requires specifying the magnitude and structure of model uncertainties that are often unknown and difficult to infer from noisy measurements. To address this challenge, we develop a stochastic operator-learning framework that learns directly from noisy data and outputs both a mean solution field and a quantification of uncertainty. The proposed method, namely the Stochastic Operator Network (SON), is constructed by combining the structure of the Deep Operator Network (DeepONet) with Stochastic Neural Networks (SNNs) to model stochasticity and enable probabilistic prediction. The training procedure is carried out by minimizing a Hamiltonian-type loss and optimizing the resulting objective using the Stochastic Maximum Principle. Numerical experiments on benchmark SPDEs under multiple uncertainty sources demonstrate the accuracy and robustness of the proposed method in capturing solution structure and quantifying predictive uncertainty.
Phuoc-Toan Huynh, Richard Archibald, Feng Bao
Department of Mathematics, Florida State University, Tallahassee, FL, USA · Computer Science and Mathematics Division, Oak Ridge National Laboratory, Oak Ridge, Tennessee, USA
In natural science applications, federated learning (FL) enables collaborative training of models that approximate solutions to partial differential equations (PDEs) for repeated use in distributed settings. However, the input conditions of FL-PDE training samples involve multiple coupled parameters, making data heterogeneity across clients difficult to analyse. We propose solution-space PDE-Dirichlet, which groups existing solution labels into task-specific bins and distributes samples using the classical Dirichlet allocation rule in FL, providing a common partitioning approach across PDE tasks. Theoretical analysis shows an association between differences in solution-bin composition and gradient disagreement, while experiments on three controlled operators and four public simulation datasets quantify the relationships between this heterogeneity, gradient disagreement and prediction error. Based on this connection, we develop Solution-Bin Controlled Federated Optimization, which uses pooled bin-gradient prototypes to correct the component of client gradients associated with bin composition while preserving the sample-weighted training objective. Experiments on low-viscosity Burgers and Darcy flow show that this correction reduces prediction error compared with federated averaging and narrows the gap from bin-balanced IID training.
Ping Luo, Jiahuan Wang, Ziqing Wen +3
PDL Lab, College of Computer Science and Technology, Changsha, 410073, China.
In this paper, we propose a perturbation-based conformal prediction framework for uncertainty quantification in operator learning, with a focus on the 2D Navier--Stokes equations. While neural operators provide fast surrogates for expensive PDE solvers, they do not by themselves provide calibrated uncertainty for spatiotemporal field predictions. Our approach wraps a trained Fourier Neural Operator (FNO) with split conformal prediction and constructs the local uncertainty scale by comparing the predictions of two operators trained on nearly identical datasets: one on the original labels and one on labels perturbed by small Gaussian noise. We consider this procedure in the data-scarce regime, where the total label budget is fixed and methods that require a separate uncertainty network must divide training data between multiple models. On the 2D Navier--Stokes benchmark, the perturbation-based method produces substantially narrower conformal bands than existing methods under matched total data budgets while maintaining the target simultaneous coverage. These results suggest that perturbation sensitivity is a practical and sample-efficient uncertainty proxy for conformalized neural operators.
Weinan Wang, Bowen Gang, Hao Deng
Department of Mathematics, University of Oklahoma, Norman, OK, USA · Department of Statistics and Data Science, School of Management, Fudan University, Shanghai, China