Abstract
Federated Learning (FL) has emerged as an essential framework for distributed machine learning, especially with its potential for privacy-preserving data processing. However, existing FL frameworks struggle to address statistical and model heterogeneity, which severely impacts model performance. While Heterogeneous Federated Learning (HtFL) introduces prototype-based strategies to address the challenges, current approaches face limitations in achieving optimal separation of prototypes. This paper presents FedORGP, a novel HtFL algorithm designed to improve global prototype separation through orthogonality regularization, which not only encourages intra-class prototype similarity but also significantly expands the inter-class angular separation. With the guidance of the global prototype, each client keeps its embeddings aligned with the corresponding prototype in the feature space, promoting directional independence that integrates seamlessly with the cross-entropy (CE) loss. We provide theoretical proof of FedORGP's convergence under non-convex conditions. Extensive experiments demonstrate that FedORGP outperforms seven state-of-the-art baselines, achieving up to 10.12% accuracy improvement in scenarios where statistical and model heterogeneity coexist.
Introduction
Standard Federated Learning (FL) assumes all clients share the exact same model architecture and relatively similar data. In real-world deployments, clients such as mobile phones or IoT devices possess vastly different hardware capabilities and highly skewed, non-IID data distributions. This statistical and model heterogeneity poses a significant challenge to traditional FL methods.
Heterogeneous Federated Learning (HtFL) has emerged as a solution, often employing prototype-based strategies where clients share average feature representations (prototypes) rather than model weights. However, existing prototype methods often result in overlapping class features or rely on Euclidean distance metrics that do not align well with the angular nature of standard Cross-Entropy (CE) loss. FedORGP addresses these limitations by shifting the focus from Euclidean distance to angular separation.
Methodology: Orthogonality Regularization
FedORGP (Federated Orthogonality Regularization on Global Prototypes) operates on two levels to ensure clear classification boundaries:
- Server-Side Orthogonality: The server trains global prototypes using an orthogonality regularization loss. This explicitly forces prototypes of different classes to be orthogonal (perpendicular), maximizing their directional independence, while simultaneously clustering prototypes of the same class tightly together.
- Client-Side Alignment: Clients, regardless of their unique model architectures, train using standard CE loss supplemented by a regularization term. This term forces local feature embeddings to align directionally with the orthogonal global prototypes received from the server.
This approach is the first to introduce orthogonality regularization in an HtFL environment addressing both data and model heterogeneity. By targeting the angular properties inherent in CE loss, FedORGP creates clearer classification boundaries in high-dimensional feature spaces compared to traditional Euclidean-based methods.
Experimental Evaluation
The authors evaluated FedORGP on four standard image classification datasets: CIFAR-10, CIFAR-100, Flowers102, and TinyImagenet. To simulate realistic conditions, they employed both pathological settings (limited classes per client) and practical settings using Dirichlet distributions for class imbalance. Heterogeneous Model Groups (HMGs) were used, mixing architectures ranging from lightweight MobileNets to heavy ResNet152 and DenseNet models.
Results and Discussion
FedORGP consistently outperformed seven state-of-the-art HtFL baselines, including FedProto, FedGH, and FedTGP. The most significant gains were observed in high-heterogeneity scenarios; for instance, FedORGP achieved a 10.12% accuracy improvement over the next best baseline on CIFAR-100 when mixing diverse CNN and ResNet architectures.
The visual evidence from t-SNE plots confirms that FedORGP produces much tighter and more distinct clusters compared to FedProto and FedTGP. This superior separation is attributed to the method's alignment with the mathematical mechanics of CE loss, which relies on dot products and angles rather than Euclidean distances. Furthermore, the method proved robust even with low client participation (e.g., 20%) and is backed by a theoretical convergence guarantee of $\mathcal{O}(1/T)$ under non-convex conditions.
Conclusion
FedORGP presents a significant advancement in Heterogeneous Federated Learning by leveraging orthogonality regularization to guide local training. By ensuring maximum angular separation between global prototypes, it resolves the mismatch between Euclidean-based prototype methods and angular-based classification losses. While the method requires careful hyperparameter tuning to balance clustering and orthogonality, its substantial performance gains suggest that angular-margin-based approaches are a promising direction for future HtFL research.
Summary updated