Federated Classification in Hyperbolic Spaces via Secure Aggregation of Convex Hulls

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

Introduction

Many real-world datasets, particularly in genomics (e.g., single-cell RNA-seq) and linguistics, possess inherent hierarchical or tree-like structures. Representing such data in standard Euclidean space often leads to high distortion because the geometric relationships are fundamentally non-Euclidean. Hyperbolic spaces, such as the Poincaré disc, provide a natural alternative, as their volume expands exponentially toward the boundary, mirroring the growth of tree structures.

However, extending Federated Learning (FL) to hyperbolic spaces presents significant challenges. Standard algorithms like FedAvg rely on averaging model weights, an operation that is not well-defined in non-linear hyperbolic geometry. Furthermore, decentralized settings often suffer from the "label switching" problem, where different clients assign different local labels to the same global class. This paper introduces a novel framework that bypasses these issues by focusing on the geometry of data boundaries rather than iterative gradient updates.

The Geometric Federated Framework

The proposed framework shifts the FL paradigm from sharing model weights to sharing compressed geometric representations of data clusters. The process is divided into several key stages, as illustrated in the pipeline below.

Overview of the federated hyperbolic classification pipeline, from client-side convex hull quantization to server-side label resolution and global classifier computation.

Convex Hull Aggregation and Quantization

Instead of raw data, clients compute the minimal convex hulls of their local clusters. In hyperbolic space, these hulls are highly informative for Support Vector Machines (SVMs), as they capture the extreme points near decision boundaries. To ensure communication efficiency and privacy, the authors developed a specialized Poincaré Quantization scheme. This scheme partitions the Poincaré disc into bins whose sizes are determined by hyperbolic distance, preventing the distortion that would occur with a standard Euclidean grid.

Label Resolution via $B_h$ Sequences

To solve the label switching problem without a central coordinator, the framework employs number-theoretic $B_h$ sequences. Each client is assigned unique integers from a sequence where every subset sum is unique. When the server receives aggregated label information, it can mathematically "decode" the sum to identify exactly which original labels were contributed by which clients, effectively un-switching the labels in a privacy-preserving manner.

Secure Transmission and Global Classification

The quantized hulls are transmitted using Secure Compressed Multiset Aggregation (SCMA), a Reed-Solomon-like encoding method. This ensures that the server can reconstruct the global distribution of points without learning which specific client provided which data point. Once aggregated, the server treats the recovered hulls as nodes in a graph and uses balanced graph partitioning (the Kernighan-Lin algorithm) to group them into global classes before training a final hyperbolic SVM.

Experimental Results

The framework was evaluated on synthetic datasets and high-stakes biological data, including single-cell RNA-seq from human lung and colon biopsies.

  • Accuracy Gains: The hyperbolic FL approach (FLP) consistently outperformed its Euclidean counterpart (FLE). In complex biological tasks, the hyperbolic method achieved up to an 11% improvement in accuracy.
  • Efficiency: The communication cost remains low because the number of extreme points in a hyperbolic convex hull grows slowly ($O(N^{1/3})$), making it an ideal compressed representation for large-scale datasets.
  • Robustness: The "one-shot" nature of the hull aggregation allows the model to achieve performance nearly identical to a centralized model, where all data is stored in a single location.

Discussion and Future Work

By prioritizing "geometry over gradients," this work provides a scalable and private solution for hierarchical data classification. The use of convex hulls as sufficient statistics effectively bypasses the non-affine nature of hyperbolic spaces.

However, some limitations remain. Convex hulls are inherently sensitive to outliers; a single mislabeled point can significantly shift the boundary. Additionally, while the current framework focuses on linear SVMs, extending these geometric protocols to non-linear kernels, clustering, or regression tasks in hyperbolic space represents a promising frontier for future research.

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