arXiv:2609.05012cs.LGSep 2026

Manuscript Offprint

arXiv:2609.05012

Solution-space heterogeneity shapes federated learning dynamics across partial differential equations

Ping Luo, Jiahuan Wang, Ziqing Wen, Tao Sun, Dongsheng Li

Abstract

Federated scientific machine learning enables institutions to train neural surrogates without centralizing local physical data, yet studies of partial differential equations (PDEs) lack a transferable definition of non-independent and identically distributed data. Existing protocols partition coordinates, coefficients, boundary conditions, or geometries according to equation-specific rules. Here, we introduce solution-space PDE-Dirichlet, a protocol that converts continuous supervised responses into reusable solution bins and quantifies the realized separation between clients through optimal transport over the geometry of these bins. We derive an exact inverse relation between population allocation heterogeneity and the Dirichlet concentration, and we establish conditions under which response heterogeneity induces gradient disagreement, local-update dispersion, and parameter divergence. Across seven controlled and public PDE tasks, three neural-operator families, and five random seeds, a lower concentration consistently increases the realized solution distance and optimization heterogeneity. The degradation in final error is task dependent: the largest effect occurs for low-viscosity Burgers, reaching 4.157 percentage points under the most heterogeneous setting, whereas additional communication or smoother dynamics can reduce the final gap despite persistent parameter separation. These results distinguish a reproducible geometric mechanism from task-dependent generalization outcomes and provide a common basis for evaluating non-IID federated PDE learning.

Keywords: federated learning, scientific machine learning, partial differential equations, neural operators, statistical heterogeneity, optimal transport

1 Introduction

Partial differential equations are central to the mathematical description of transport, diffusion, fluid flow, wave propagation, and many other physical processes. High-fidelity numerical solvers remain indispensable, but repeated simulation, inversion, optimization, and uncertainty quantification can be prohibitively expensive. Scientific machine learning (SciML) reduces this computational burden by learning surrogate maps from data and physical constraints. Representative approaches include physics-informed neural networks (PINNs) [1] and neural operators such as DeepONet [2], the Fourier neural operator (FNO) [3], and more general operator-learning frameworks [4].

In many scientific and engineering settings, the relevant data are naturally distributed. Hospitals, laboratories, industrial facilities, sensor networks, and simulation centers may collect data under different operating regimes but be unable or unwilling to centralize their raw observations. Federated learning (FL) allows these clients to optimize a shared model by communicating parameters rather than transferring data [5, 6]. Federated DeepONet [7] and federated SciML frameworks [8] have demonstrated the feasibility of collaborative operator learning and physics-informed learning.

The central obstacle is statistical heterogeneity. In conventional classification benchmarks, class labels provide a natural discrete variable, and a symmetric Dirichlet distribution can vary the degree of label skew continuously [9]. PDE operator datasets have no analogous universal label. Their inputs may include initial conditions, boundary conditions, source functions, coefficient fields, geometries, physical parameters, or combinations of these quantities. Constructing a Dirichlet split directly in the input space therefore requires equation-specific choices of the partition axis, continuous-to-discrete mapping, distance, and normalization. A multifactor partition additionally requires a joint or hierarchical allocation rule. A rule defined for scalar viscosity cannot be transferred unchanged to a coefficient field or geometry. Similarly, a coordinate partition designed for PINN collocation points does not characterize heterogeneity among samples of an input-to-solution operator. Consequently, these protocols become increasingly complex as more physical factors are considered and provide no natural basis for comparison across PDEs.

Proximity in the input space is also not equivalent to proximity in the response space. A PDE solution operator can amplify, suppress, or qualitatively transform an input perturbation, particularly in nonlinear, multiscale, advection-dominated, or near-transition regimes. Consequently, two clients with similar separation under an input norm may exhibit markedly different solution distributions and learning gradients, whereas heterogeneous inputs may produce similar responses.

This ambiguity has three consequences. First, nominally similar non-IID experiments may control different physical factors and are therefore difficult to compare. Second, a selected partition variable may not predict the gradients that drive federated optimization. Third, a scalar severity parameter does not guarantee comparable realized heterogeneity across finite datasets, client counts, or PDE regimes. These limitations impede reproducibility and obscure whether an observed performance gap arises from the federated optimizer, the partition protocol, or the underlying PDE.

We address these limitations with solution-space PDE-Dirichlet. Given a labeled operator-learning dataset, the protocol normalizes and discretizes continuous solution fields into response bins that serve as PDE pseudo-classes. A symmetric Dirichlet distribution then controls the allocation of these bins across clients. A discrete optimal-transport distance between client bin histograms, with the distances between solution centroids as the ground cost, quantifies the realized response-space heterogeneity. Because the construction operates on the supervised response rather than on a task-specific input axis, it provides a common interface for forward operators, temporal prediction, and inverse mappings.

The contribution is not the Dirichlet distribution, clustering, or optimal transport in isolation. To the best of our knowledge, this work presents the first cross-equation FL-PDE benchmark that constructs non-IID clients by discretizing labeled solution fields and couples the resulting partition with a solution-geometry-aware transport metric and an explicit concentration-to-heterogeneity analysis. Our contributions are threefold. We introduce solution-space partitioning, in which normalized solution fields are discretized into reusable pseudo-classes and transport over their centroids measures the realized separation between clients. We establish an exact (Kα+1)−1(K\alpha + 1)^{-1} population concentration law and identify the conditions under which response heterogeneity induces gradient disagreement, local-update dispersion, and parameter divergence. We then test these predictions across controlled and application-oriented PDEs, multiple physical regimes, different client counts and optimizers, and three neural-operator families.

FedAvg alternates local optimization and weighted model averaging [5]. When client objectives differ, multiple local updates can move client models in incompatible directions. FedProx [10] regularizes local objectives, while SCAFFOLD [11] uses control variates to reduce client drift. Broader surveys identify statistical heterogeneity as one of the defining challenges of FL [6].

Evaluation protocols are as important as optimization algorithms. Naturally partitioned benchmarks such as LEAF preserve user-level heterogeneity [12], whereas controlled studies commonly synthesize label skew through shard-based or Dirichlet partitions [9]. For non-classification tasks, FedNLP showed that continuous examples can be embedded, clustered into pseudo-labels, and subsequently allocated by a label-based Dirichlet procedure [13]. Thus, neither pseudo-label construction nor cluster-then-Dirichlet allocation is itself specific to, or introduced by, the present study. The unresolved PDE-specific problem is to choose a representation and distance that remain interpretable across equations whose inputs and outputs are continuous fields. Input-based PDE partitions must select and discretize one or more task-specific factors, including coordinates, coefficients, boundary conditions, geometries, and regime parameters. The required bins, scales, and joint allocation rules differ across equations and can conflate covariate, parameter, geometric, and response shifts.

PINNs incorporate differential-equation residuals and boundary or initial conditions into a learning objective [1]. Neural operators instead learn maps between function spaces and can amortize PDE solution over families of inputs. DeepONet represents an operator using branch and trunk subnetworks [2]; FNO parameterizes global integral operators in Fourier space [3]. A unified operator-learning perspective and approximation theory are reviewed in [4].

Public benchmarks have improved the reproducibility of SciML. PDEBench contains diverse forward and inverse PDE tasks, large simulation datasets, and multiple baselines [14]. CFDBench targets generalization across boundary conditions, fluid properties, and geometries in computational fluid dynamics [15]. OpenFWI provides large-scale synthetic seismic data and velocity models for full-waveform inversion [16], building on architectures such as InversionNet [17]. These benchmarks standardize the underlying scientific data, but they do not specify how to construct comparable federated non-IID clients.

Moya and Lin introduced federated training for DeepONet and studied stochastic and adaptive optimization for dynamical-system operators [7]. Zhang et al. evaluated FedPINN and FedDeepONet and used the 1-Wasserstein distance to relate data heterogeneity to prediction error and weight divergence [8]. Their partitions are tailored to specific input domains, coordinates, or data-generation procedures. Such designs are useful for controlled, equation-specific studies, but their extension across PDE families requires new axes, scales, and allocation rules. Moreover, a partition along one coordinate or parameter is not directly comparable to a partition along another.

Recent work has also incorporated differential-equation constraints into decentralized FL and analyzed convergence or empirical robustness under heterogeneous data [18, 19]. These studies develop physics-informed learning and aggregation algorithms rather than a transferable protocol for constructing client distributions. In a related but non-federated direction, LAM-PINN clusters parameterized PDE tasks using PDE parameters and learning-affinity measurements to support modular meta-learning [20]. Its purpose is task transfer and model reuse, rather than the controlled allocation of labeled operator-learning samples among clients. Collectively, these studies establish the importance of PDE and task heterogeneity, while leaving open the definition of a common response-space coordinate for federated benchmark construction.

Our objective is complementary. We do not introduce a new federated optimizer, and we do not claim the generic use of clustering, Dirichlet allocation, or Wasserstein distance as novel. We define a common response-space protocol for evaluating existing and future FL algorithms on labeled PDE datasets. The same construction applies to forward operators, temporal field prediction, and inverse mappings because it acts on the supervised response space rather than requiring a task-specific choice of input axis. The resulting transport geometry also permits direct comparison with input-space distance on the same realized partition.

References (23)