Skip to main content
QUICK REVIEW

[Paper Review] A Fair and Efficient Hybrid Federated Learning Framework based on XGBoost for Distributed Power Prediction

Haizhou Liu, Xuan Zhang|arXiv (Cornell University)|Jan 8, 2022
Privacy-Preserving Technologies in DataComputer Science10 citations
TL;DR

This paper proposes a hybrid federated learning framework combining horizontal and vertical federated learning with XGBoost for distributed power prediction in smart grids. By integrating tree-based models and a dynamic task allocation scheme, the framework improves prediction accuracy, fairness, and computational efficiency—achieving a 42% reduction in training time and a fairness index of 0.609–0.739 compared to fixed allocation.

ABSTRACT

In a modern power system, real-time data on power generation/consumption and its relevant features are stored in various distributed parties, including household meters, transformer stations and external organizations. To fully exploit the underlying patterns of these distributed data for accurate power prediction, federated learning is needed as a collaborative but privacy-preserving training scheme. However, current federated learning frameworks are polarized towards addressing either the horizontal or vertical separation of data, and tend to overlook the case where both are present. Furthermore, in mainstream horizontal federated learning frameworks, only artificial neural networks are employed to learn the data patterns, which are considered less accurate and interpretable compared to tree-based models on tabular datasets. To this end, we propose a hybrid federated learning framework based on XGBoost, for distributed power prediction from real-time external features. In addition to introducing boosted trees to improve accuracy and interpretability, we combine horizontal and vertical federated learning, to address the scenario where features are scattered in local heterogeneous parties and samples are scattered in various local districts. Moreover, we design a dynamic task allocation scheme such that each party gets a fair share of information, and the computing power of each party can be fully leveraged to boost training efficiency. A follow-up case study is presented to justify the necessity of adopting the proposed framework. The advantages of the proposed framework in fairness, efficiency and accuracy performance are also confirmed.

Motivation & Objective

  • To address the gap in federated learning frameworks that handle both horizontal and vertical data partitioning simultaneously in power systems.
  • To improve prediction accuracy and model interpretability by replacing neural networks with XGBoost in federated learning for tabular power data.
  • To design a dynamic task allocation scheme that fairly distributes computational load based on each party’s processing capability.
  • To evaluate the framework’s performance in real-world urban power prediction scenarios with heterogeneous data sources.
  • To demonstrate the framework’s superiority over traditional horizontal and vertical federated learning in fairness, efficiency, and accuracy.

Proposed method

  • The framework combines horizontal federated learning (across districts with shared features) and vertical federated learning (across parties with shared samples but complementary features).
  • XGBoost is used as the base model to leverage its high accuracy and interpretability on tabular datasets, overcoming limitations of neural networks in federated settings.
  • A dynamic task allocation scheme assigns computational tasks (gradient aggregation and node-splitting) based on each district’s computational speed, optimizing training efficiency.
  • The central server aggregates model updates from all parties while preserving data privacy through secure aggregation protocols.
  • The framework supports both feature and sample heterogeneity, enabling collaboration across multiple local districts and external data providers.
  • A two-step training process is employed: first, local XGBoost models are trained on each party’s data; second, model updates are aggregated in a secure, privacy-preserving manner.

Experimental results

Research questions

  • RQ1Can a hybrid federated learning framework effectively handle both horizontal and vertical data partitioning in power system data?
  • RQ2How does using XGBoost instead of neural networks affect prediction accuracy and interpretability in federated power prediction?
  • RQ3To what extent does dynamic task allocation improve training efficiency and fairness in heterogeneous federated learning environments?
  • RQ4How does the proposed framework compare to pure horizontal or vertical federated learning in real-world power prediction tasks?
  • RQ5What trade-offs exist between fairness and efficiency in dynamic task allocation under computational heterogeneity?

Key findings

  • The hybrid federated learning framework achieved the highest prediction accuracy among all tested methods, with predicted power curves closely matching actual values, especially in District 10 during the Lunar New Year and pandemic period.
  • The framework reduced training time by 42% compared to a fixed allocation scheme, completing training in 9,017 seconds versus an estimated 16,237 seconds.
  • The fairness index of the dynamic task allocation scheme ranged from 0.609 to 0.739, significantly higher than the fixed allocation scheme (0.1), indicating improved fairness.
  • Districts with higher computational power were assigned more node-splitting tasks, while slower districts (e.g., Districts 9 and 10) were excluded from node-splitting to avoid bottlenecks.
  • The dynamic allocation scheme achieved gradient aggregation time equal to the slowest party’s time, indicating optimal load balancing.
  • The framework outperformed pure horizontal federated learning, which failed to predict accurately due to missing external features like population mobility from China Mobile.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.