HaCore: Efficient Coreset Construction with Locality Sensitive Hashing for Vertical Federated Learning

Qinbo Zhang, Xiao Yan, Yukai Ding, Fangcheng Fu, Quanqing Xu, Ziyi Li, Chuang Hu, Jiawei Jiang

Abstract

Vertical Federated Learning (VFL) is often hindered by the high communication overhead of sample-wise data exchange between clients and servers. This paper introduces HaCore, a novel framework that accelerates VFL by training models on a "coreset"—a small, highly representative subset of the data. By leveraging Locality Sensitive Hashing (LSH) and an optimized $k$-medoids clustering algorithm, HaCore achieves up to a 45x speedup compared to existing baselines while preserving predictive performance.

Introduction

In Vertical Federated Learning (VFL), multiple organizations (clients) hold different features for a shared set of individuals. For instance, a bank and a hospital might collaborate to train a model using financial and health records for the same patients. The standard approach, Split Neural Networks (SplitNN), requires frequent communication of activations and gradients for every training sample, creating a massive bottleneck as datasets scale.

While coresets offer a potential solution by reducing the volume of training data, existing methods often fail to scale with high-dimensional data or the number of clients. HaCore addresses these challenges by providing an efficient, model-agnostic coreset construction pipeline.

The HaCore Framework

HaCore builds a coreset through a multi-step process designed for both efficiency and privacy.

Overview of the HaCore framework, illustrating the pipeline from local hashing to coreset selection.
  1. Variance-Aware Hash Allocation: To capture the most informative data, HaCore allocates more hash functions to clients with higher feature variance.
  2. Locality Sensitive Hashing (LSH): Clients transform local features into binary "signatures." LSH ensures that the Hamming distance between these signatures approximates the Euclidean distance of the original features, enabling fast distance calculations.
  3. Global Signature Construction: Signatures are sent to a central server via a secure shuffling protocol and concatenated into a global signature for each sample.
  4. Optimized $k$-medoids Clustering: The server clusters global signatures using two key optimizations:
  5. Inverted Index: Accelerates the search for nearest cluster centers.
  6. Bit-Counting: Reduces the complexity of finding cluster representatives from $O(n^2)$ to $O(n)$.
  7. Coreset Selection: The final medoids are selected as the coreset for model training.

Key Results

Evaluations on five diverse datasets (SU, HI, CO, YP, HP) demonstrate HaCore's effectiveness.

Performance comparison (Accuracy and Time) of HaCore against baselines as the number of clients increases.
  • Significant Speedup: HaCore reduces end-to-end training time by up to 45x compared to state-of-the-art baselines.
  • Accuracy Preservation: Training on just 2% of the data, HaCore matches the accuracy of models trained on the full dataset.
  • Scalability: Unlike previous methods where coreset size grows with the number of clients, HaCore maintains a stable coreset size, making it suitable for large-scale federated systems.

Key Insights

  • Distance Approximation: Approximating Euclidean distance with Hamming distance via LSH is sufficient for high-quality coreset construction and significantly more efficient.
  • Model Agnosticism: Because HaCore is based on data geometry, the resulting coreset can be used to train various models, including MLPs and Logistic Regression.

Conclusion

HaCore presents a scalable and efficient solution for the communication bottleneck in VFL. By combining LSH with optimized clustering, it enables rapid training on representative data subsets without sacrificing accuracy. Future work will explore its application in asynchronous VFL settings and under stricter privacy constraints.

Reference: Zhang, Q., et al. (2025). HaCore: Efficient Coreset Construction with Locality Sensitive Hashing for Vertical Federated Learning. Proceedings of the 39th AAAI Conference on Artificial Intelligence (AAAI-25).

Summary updated

BibTeX
@inproceedings{zhang2025hacore,
  author = {Qinbo Zhang and Xiao Yan and Yukai Ding and Fangcheng Fu and Quanqing Xu and Ziyi Li and Chuang Hu and Jiawei Jiang},
  title = {{HaCore: Efficient Coreset Construction with Locality Sensitive Hashing for Vertical Federated Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34409},
}
Figure