Solution-space heterogeneity shapes federated learning dynamics across partial differential equations
Organizations: PDL Lab, College of Computer Science and Technology, Changsha, 410073, China.
Abstract
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.
Figures & tables
| Task | Prediction target | Training | Test | Model |
| Antiderivative | Integrated input function | 1,000 | 1,000 | DeepONet |
| Diffusion–reaction | Space–time solution | 1,000 | 1,000 | DeepONet |
| Burgers | Space–time solution, | 800 | 500 | DeepONet |
| Darcy | Pressure, data | 2,000 | 500 | FNO |
| Shallow water | Height at four future times | 800 | 200 | FNO |
| Cylinder flow | Two velocity components at three horizons | 2,784 | 300 | FNO |
| Task | IID error (%) | Non-IID error (%) | Excess error [95% CI] (pp) |
|---|---|---|---|
| Antiderivative | 7.716 | 7.813 | 0.097 [-1.017, 1.211] |
| Burgers ( ) | 21.588 | 22.328 | 0.741 [0.239, 1.243] |
| Diffusion–reaction | 5.278 | 5.459 | 0.180 [-0.397, 0.758] |
| Darcy ( ) | 54.621 | 64.521 | 9.900 [5.161, 14.639] |
| Shallow water | 0.151 | 0.163 | 0.012 [0.006, 0.018] |
| Cylinder flow | 6.878 | 7.492 | 0.614 [0.343, 0.885] |
| Original vs reference | 100 vs 200 | 200 vs 400 | Time refinement | |
|---|---|---|---|---|
| 0.1 | 2.177 | 1.449 | 0.729 | 0.0006 |
| 0.05 | 2.678 | 1.782 | 0.906 | 0.0016 |
| 0.01 | 5.061 | 3.367 | 1.813 | 0.0165 |
| 0.005 | 6.553 | 4.330 | 2.466 | 0.0365 |
Non-IID Federated Learning
Non-independent and identically distributed (non-IID) federated learning trains models across clients with different data distributions without pooling private data.
See all 211 papers