Federated Learning · Distributed ML · Second-Order Aggregation

DecHW: Second-Order Decentralized Federated Learning

A PyTorch-based decentralized training framework with Hessian-based aggregation for heterogeneous peer-to-peer federated learning.

Federated LearningPyTorchDistributed TrainingSecond-Order OptimizationNon-IID Data
Peer-to-peer
No central server
Second-order
Hessian-weighted aggregation
> FedAvg
Faster, less communication

Overview

DecHW tackles decentralized federated learning, where clients collaborate directly over peer-to-peer networks with no central parameter server. Under statistically heterogeneous (non-IID) data, naïve averaging converges slowly; DecHW uses second-order (Hessian) information to weight each neighbour's parameters by importance during aggregation, improving convergence and cutting communication rounds.

What I built

Tech stack

PythonPyTorchFederated LearningDecentralized / P2PSecond-Order OptimizationNon-IID Data

Related publication

Ahmad et al., "DecHW: Heterogeneous decentralized federated learning exploiting second-order information," IEEE Transactions on Emerging Topics in Computational Intelligence (under review). See Publications.

Links

GitHub Repository