Federated Learning with Uncertainty Quantification on Pseudo Label Exchange

Jingqiao Tang, Phuoc-Toan Huynh, Richard Archibald, Feng BaoarXiv 2026

TL;DR

Imagine several research labs trying to collaboratively train an AI to solve noisy, complex physics equations without ever sharing their private experimental outcomes. Standard federated learning completely breaks down when each lab explores completely different physical regimes, so this paper introduces FedSON: a clever two-phase framework where labs swap "synthetic" predictions to bridge their blind spots, then layer on a stochastic network to accurately quantify real-world uncertainty. It achieves near-centralized accuracy and calibrated error bars while keeping raw solution data strictly local.

What Problem Does This Paper Address?

In scientific machine learning, operator learning trains neural networks (like DeepONet) to act as instant physics surrogates—mapping an input function (like a heat source or initial state) directly to a Partial Differential Equation (PDE) solution trajectory.

Ideally, institutions would pool their data to train one massive, universal physics model. When privacy or bandwidth constraints prevent sharing raw solution trajectories, Federated Learning (FL) steps in: clients train models locally and average their weights on a central server (FedAvg).

Here is the catch: standard FedAvg falls apart when client data is severely heterogeneous (non-IID). In physics, Lab A might only test low-frequency forcing waves while Lab B only tests high-frequency ones—meaning their input spaces are completely disjoint. Averaging their local models produces gibberish due to "client drift." Furthermore, real scientific data is noisy. Scientists don't just need a single deterministic curve; they need Uncertainty Quantification (UQ) to capture random fluctuations, all without pooling raw observations.

Methods

The authors propose the Federated Stochastic Operator Network (FedSON), which marries a novel data-harmonization trick with an existing two-phase stochastic training strategy:

  • Novel Auxiliary Data via Pseudolabel Exchange: Before federated training begins, each client trains a local deterministic DeepONet on its own private data. Next, clients trade only their trained local models and raw input functions—never their measured output trajectories. Client A runs Client B's inputs through Client B's model to generate synthetic "pseudolabels." Now, every client holds an augmented dataset covering the entire global input space.
  • Phase I (Federated Deterministic Drift): Using these harmonized, overlapping datasets, clients collaboratively train a global, time-marching DeepONet from scratch via standard FedAvg to learn the smooth, average physics. Once trained, this network is frozen.
  • Phase II (Federated Stochastic Diffusion): Building on Stochastic Operator Networks (SON), a Stochastic Neural Network—which injects Brownian motion into hidden layers like a continuous stochastic differential equation—wraps around the frozen DeepONet. Trained via FedAvg using optimal control theory (the Stochastic Maximum Principle), this lightweight second stage learns the spatial and temporal shape of the noise around the mean prediction.

Datasets

Rather than static benchmark repositories, the authors construct custom synthetic benchmarks governed by three classic Stochastic PDEs (SPDEs) perturbed by additive Gaussian noise:

  1. 1D Forced Heat Equation: 10 clients, linear diffusion with client-specific spatial forcing.
  2. 1D Viscous Burgers’ Equation: 5 clients, nonlinear fluid advection-diffusion with client-specific initial conditions.
  3. 2D Advection-Diffusion Equation: 5 clients, scalar transport over a 2D grid generated via a mixed-hybrid finite element method.

How they differ: Unlike prior federated PDE studies that retain partial overlap between clients, these benchmarks enforce strictly disjoint input supports by partitioning Chebyshev polynomial modes into non-overlapping blocks per client. Clean trajectories are withheld strictly for diagnostics; models only ever see noisy trajectories.

Key Insights and Ideas

  • Synthetic Teacher Labels Cure Client Drift: When client input spaces don't overlap, naive parameter averaging fails catastrophically (e.g., predictions get stuck at the initial condition). Swapping models and inputs turns a broken non-IID problem into a smooth IID one without leaking ground-truth trajectories.
  • Decoupling Mean Physics from Noise: Simultaneously optimizing a massive PDE solver and a stochastic generator is computationally brutal. Freezing the deterministic physics first lets a compact diffusion network focus purely on shaping the uncertainty envelope, making federated UQ practical.
  • Preserving Local Data Allocation Wins: Surprisingly, FedSON’s auxiliary approach occasionally beats an idealized "homogeneous" federated baseline (where real data is evenly shuffled across clients), likely because each client retains 100% of its own high-signal local trajectories alongside the global pseudolabels.

Key Results

Across all PDEs, naive heterogeneous FedAvg collapses, while FedSON recovers centralized-level performance:

  • 1D Heat Equation: Naive FedAvg yields a mean relative $L_2$ error of 0.112 (spiking to 0.432 on low-frequency Client 0). FedSON drops the mean error to 0.071 (0.081 on Client 0), virtually matching the homogeneous IID reference (0.070).
  • 1D Burgers’ Equation: Against noisy test data, FedSON slashes Client 0's MSE ($\times 10^{-5}$) from 6,149.0 (naive FedAvg) down to 178.50, closely tracking centralized training (175.28).
  • 2D Advection-Diffusion: Against clean diagnostic trajectories, pooled relative $L_2$ error plummets from 0.7288 (naive FedAvg) to 0.0405 with FedSON—outperforming both the homogeneous reference (0.1296) and centralized training (0.0509).
  • Uncertainty Calibration: Across 1D and 2D tests, rolling out ensembles of FedSON realizations produces $\pm 2\sigma$ uncertainty bands that tightly track both the true underlying data noise and centralized SON estimates across space and time.

Limitations and Future Work

  • Privacy Guarantees: Sharing models and raw input functions keeps output trajectories private, but does not offer formal cryptographic or mathematical privacy. Incorporating secure aggregation or differential privacy is a natural next step.
  • Sensitive Inputs: Because the pseudolabel exchange requires sharing input functions in full, the method needs adaptation for domains where the inputs themselves (e.g., proprietary boundary designs) are confidential.
  • Scale and Realism: Experiments used small, fixed client counts (5–10) with controlled mathematical partitions. Future work aims to test larger client populations, real-world distributed sensor datasets, and higher-dimensional operators.

Summary updated

BibTeX
@misc{tang2026federated,
  author = {Jingqiao Tang and Phuoc-Toan Huynh and Richard Archibald and Feng Bao},
  title = {{Federated Learning with Uncertainty Quantification on Pseudo Label Exchange}},
  year = {2026},
  eprint = {2611.33395},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33395},
}
Figure