Federated Classification in Hyperbolic Spaces via Secure Aggregation of Convex Hulls

Saurav Prakash, Jin Sima, Chao Pan, Eli Chien, Olgica Milenkovic · DOI

Abstract

Many real-world datasets, particularly in genomics and linguistics, exhibit inherent hierarchical structures that are best represented in hyperbolic spaces. However, performing Federated Learning (FL) in these non-Euclidean geometries presents significant challenges, including the lack of standard vector addition and the issue of label switching across decentralized clients. This paper introduces the first framework for federated classification in hyperbolic spaces. By leveraging quantized convex hulls as sufficient statistics and employing $B_h$ sequences for secure label resolution, the proposed Federated Poincaré (FLP) method achieves up to 11% higher accuracy than traditional Euclidean FL approaches on biological datasets.

Introduction

Standard machine learning models typically operate in Euclidean space. However, for data with tree-like hierarchies—such as cell lineages in genomics or word taxonomies in natural language processing—Euclidean embeddings often result in high distortion. Hyperbolic spaces, characterized by negative curvature, provide a mathematically natural environment for such data, allowing for low-distortion embeddings that preserve hierarchical relationships.

Transitioning these models to a Federated Learning (FL) setting introduces two primary hurdles. First, standard FL aggregation techniques like FedAvg rely on linear operations that do not translate directly to the non-linear geometry of the Poincaré disc. Second, "label switching"—where different clients assign different local labels to the same global class—complicates the aggregation process. This work addresses these challenges by proposing an end-to-end pipeline for Federated Hyperbolic Support Vector Machine (SVM) classification.

Methodology

The proposed framework utilizes a multi-stage pipeline to enable secure and efficient hyperbolic classification across distributed clients.

1. Convex Hull Representation and Quantization

Rather than sharing full model weights or raw data, clients compute the minimal Poincaré convex hulls of their local data clusters. These extreme points serve as sufficient statistics for training SVMs. To minimize communication overhead, the authors developed a Poincaré quantization scheme that partitions the disc into radial and angular bins, ensuring that the hyperbolic distance between any two points within a bin remains bounded.

2. Label Recovery via $B_h$ Sequences

To resolve label switching without a central coordinator, the framework employs a number-theoretic approach using $B_h$ sequences. Each client is assigned unique integers from a set where all subset sums are unique. When the server receives aggregated sums of labels for specific bins, it can uniquely decode which local classes contributed to that bin, effectively aligning labels across the network.

Overview of the Federated Hyperbolic SVM pipeline, illustrating client-side convex hull quantization and $B_h$ labeling, followed by server-side aggregation and global classifier computation.

3. Secure Transmission and Global Aggregation

The quantized hulls are transmitted using a Secure Compressed Multiset Aggregation (SCMA) protocol. This protocol utilizes Reed-Solomon-like encoding to ensure that the server can aggregate data without identifying which specific client provided which point. Finally, the server treats the recovered hulls as nodes in a graph and uses the Kernighan-Lin algorithm for balanced graph partitioning to form global clusters, which are then used to train the final hyperbolic SVM.

Experimental Evaluation

The framework was evaluated on synthetic data and three real-world biological datasets characterized by hierarchical cell differentiation:

  • Olsson’s scRNA-seq: Single-cell RNA expression tracking blood cell development.
  • UC-Stromal: Data from colon mucosa biopsies of patients with ulcerative colitis.
  • Lung-Human-ASK440: Human lung cells from asthma patients and healthy controls.

Key Results

  • Superior Accuracy: The Federated Poincaré (FLP) method consistently outperformed Euclidean counterparts (FLE), showing an accuracy improvement of up to 11% on biological datasets. This confirms that hyperbolic geometry is a critical "first-class citizen" for hierarchical data representation.
  • Communication Efficiency: The expected number of extreme points in a hyperbolic convex hull is relatively small ($O(N^{1/3})$), ensuring that communication costs remain manageable even as local datasets grow.
  • Robustness: The system maintains high performance even with coarse quantization, making it suitable for bandwidth-constrained environments. Furthermore, the federated model's performance closely matched that of a centralized Poincaré SVM.

Conclusion and Future Work

This work demonstrates that hyperbolic spaces offer a powerful alternative for federated classification of hierarchical data. By combining geometric insights with number-theoretic privacy techniques, the authors provide a robust solution to the limitations of Euclidean FL.

Future research directions include extending the framework to non-linear kernels and addressing the sensitivity of convex hulls to outliers. Additionally, integrating formal Differential Privacy (DP) could provide stronger guarantees against potential reconstruction attacks on the transmitted extreme points.

Summary updated

BibTeX
@article{prakash2024federated,
  author = {Saurav Prakash and Jin Sima and Chao Pan and Eli Chien and Olgica Milenkovic},
  title = {{Federated Classification in Hyperbolic Spaces via Secure Aggregation of Convex Hulls}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
}
Figure