Federated versus Centralized PV Capacity-Factor Forecasting: A Non-Inferiority Study Across Seven Stations in North Macedonia

Amar Kumar Mandal, Yuvraj Chaudhary, Dimitar Kitanovski, Eftim ZdravevskiarXiv 2026

TL;DR

This study demonstrates that Federated Learning (FL)—a technique where models are trained locally and only updates are shared—is statistically "non-inferior" to centralized training for solar power forecasting. In a head-to-head comparison across seven stations in North Macedonia, the federated approach (FedProx) actually slightly outperformed the centralized model, proving that privacy-preserving collaboration doesn't have to come at the cost of accuracy.

What Problem Does This Paper Address?

Accurate Photovoltaic (PV) power forecasting is the backbone of a stable green grid. Operators use these forecasts to commit energy to markets and manage battery storage. However, there is a catch: training high-performing machine learning models usually requires massive, centralized datasets.

In the real world, PV operators are often competitors or bound by strict data governance rules. They cannot simply "pool" their raw telemetry data into a single server. This creates a "data silo" problem where models are trained on limited local data, leading to sub-optimal performance. Federated Learning offers a workaround by allowing models to learn from multiple sites without the raw data ever leaving its home station. The big question the authors tackle is: Does this decentralized approach actually work as well as the "gold standard" of pooling all data in one place?

Methods

The researchers conducted a rigorous non-inferiority study—a statistical framework often used in clinical trials to prove a new treatment is "not significantly worse" than the current standard.

  • The Model: To ensure the results were due to the training method rather than a complex architecture, they used a simple Multilayer Perceptron (MLP).
  • Training Regimes: They compared four approaches:
  • Local: Each station trains its own model.
  • Centralized: All data is pooled (the benchmark).
  • Federated Averaging (FedAvg): Stations share model weights, which are then averaged.
  • Federated Proximal (FedProx): An evolution of FedAvg that adds a penalty term to prevent local models from "drifting" too far from the global average—crucial for the "Non-IID" (statistically diverse) data found in different geographic locations.
  • Statistical Rigor: They pre-specified a "non-inferiority margin" of 0.005 Mean Absolute Error (MAE) and used a paired day bootstrap with 10,000 repetitions to ensure the results weren't just a fluke of the specific test dates.

Datasets

The study utilized the SolarMagix dataset, which contains 17,983 hourly observations from seven PV stations across North Macedonia.

  • Features: The models used historical capacity factors, solar geometry (zenith angle), and meteorological variables (temperature, radiation).
  • Variants: They tested "Variant A" (using only past data available at the time of forecast) and "Variant B" (using "perfect" weather reanalysis as a theoretical upper bound).

Key Insights and Ideas

  • The "Privacy Bonus": Surprisingly, FedProx didn't just match centralized training; it achieved a lower macro-MAE (0.128 vs 0.133). This suggests that the proximal regularization in FedProx might act as a beneficial constraint, helping the model generalize better than a standard centralized fit.
  • Heterogeneity Matters: The benefits weren't uniform. FedProx was better at six out of seven stations. At the seventh station (S7), which had the most data, the centralized model performed better. This highlights that the value of federation often scales inversely with local data abundance.
  • Moving Beyond "Accuracy Tables": By using a pre-registered protocol and non-inferiority margins, the authors bring a level of statistical maturity to ML forecasting that is often missing in "state-of-the-art" chasing papers.

Key Results

The confirmatory test focused on FedProx (E=1, μ=1) against the Centralized MLP:

  • FedProx Macro-MAE: 0.128397
  • Centralized Macro-MAE: 0.133405
  • The Gap: A difference of -0.005008 (negative favors Federated).
  • Confidence Interval: The 95% confidence interval was [-0.009926, -0.000537]. Since the upper bound (-0.000537) was well below the pre-specified margin of 0.005, the study officially declared federated training non-inferior.

Limitations and Future Work

While the results are promising, the authors note several caveats:

  • Offline vs. Online: This was an offline study with a 24-hour lag. Real-world "dispatch-time" performance might differ due to data transmission delays.
  • Geographic Scope: The stations were geographically close (all in North Macedonia). Future work should test if these findings hold across vastly different climatic zones.
  • Economic Impact: The study measures MAE, but it doesn't quantify the actual dollars saved in imbalance-settlement costs or the efficiency gains in battery scheduling.
  • Privacy Mechanisms: While FL keeps data local, it doesn't inherently prevent "model inversion" attacks. Integrating Differential Privacy (DP) would be a logical next step for a production-ready system.

Summary updated

Abstract

Background: Photovoltaic (PV) forecasts inform energy commitments by PV operators and aggregators and guide charge-discharge scheduling in solar-plus-storage systems. Federated learning enables collaborative model training through model updates when local operators cannot pool raw operational data. This study evaluated whether federated training was non-inferior to centralized training for PV capacity-factor prediction across seven stations in North Macedonia. A common multilayer perceptron was used in an offline forecasting comparison with a 24-hour timestamp lag. Exploratory validation compared local, centralized, Federated Averaging, and Federated Proximal (FedProx) training. FedProx (E = 1, mu = 1) was selected for a confirmatory comparison under a protocol fixed before test evaluation. The comparison used past-only offline inputs, five paired training seeds, macro-averaged mean absolute error (MAE), a prespecified non-inferiority margin of 0.005, and a paired day bootstrap with 10,000 repetitions over 49 test dates. Results: FedProx achieved a macro-MAE of 0.128397, compared with 0.133405 for centralized training. The paired difference (FedProx minus centralized) was -0.005008 (95% confidence interval: [-0.009926, -0.000537]). The upper confidence bound was below the prespecified margin, satisfying the non-inferiority criterion. All five seed-specific differences favored FedProx, and its mean MAE was lower at six of the seven stations. Post hoc calendar sensitivity analyses did not change the conclusion. Conclusions: These findings support further evaluation of federated forecasting for collaboration under data-pooling constraints. The study demonstrates predictive non-inferiority within the evaluated setting. Benefits for energy commitments and battery scheduling remain potential applications requiring operational evaluation.
BibTeX
@misc{mandal2026federated,
  author = {Amar Kumar Mandal and Yuvraj Chaudhary and Dimitar Kitanovski and Eftim Zdravevski},
  title = {{Federated versus Centralized PV Capacity-Factor Forecasting: A Non-Inferiority Study Across Seven Stations in North Macedonia}},
  year = {2026},
  eprint = {2611.19421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19421},
}
Figure