Skip to main content
QUICK REVIEW

[Paper Review] HAFLO: GPU-Based Acceleration for Federated Logistic Regression

Xiaodian Cheng, Wanhang Lu|arXiv (Cornell University)|Jul 29, 2021
Privacy-Preserving Technologies in DataComputer Science17 references10 citations
TL;DR

HAFLO is a GPU-accelerated framework for federated logistic regression (FLR) that optimizes homomorphic operators through joint storage, I/O, and computation tuning. By accelerating performance-critical homomorphic operations on NVIDIA V100 GPUs, HAFLO achieves up to 88.4× speedup over CPU-based FATE for homogeneous FLR, significantly reducing training latency in privacy-preserving machine learning.

ABSTRACT

In recent years, federated learning (FL) has been widely applied for supporting decentralized collaborative learning scenarios. Among existing FL models, federated logistic regression (FLR) is a widely used statistic model and has been used in various industries. To ensure data security and user privacy, FLR leverages homomorphic encryption (HE) to protect the exchanged data among different collaborative parties. However, HE introduces significant computational overhead (i.e., the cost of data encryption/decryption and calculation over encrypted data), which eventually becomes the performance bottleneck of the whole system. In this paper, we propose HAFLO, a GPU-based solution to improve the performance of FLR. The core idea of HAFLO is to summarize a set of performance-critical homomorphic operators (HO) used by FLR and accelerate the execution of these operators through a joint optimization of storage, IO, and computation. The preliminary results show that our acceleration on FATE, a popular FL framework, achieves a 49.9$ imes$ speedup for heterogeneous LR and 88.4$ imes$ for homogeneous LR.

Motivation & Objective

  • To address the performance bottleneck in federated logistic regression (FLR) caused by homomorphic encryption (HE) overhead.
  • To reduce the computational latency of HE operations in FLR by leveraging GPU acceleration.
  • To design a GPU-CPU heterogeneous system that minimizes data transfer and maximizes parallelism in FLR training.
  • To ensure compatibility with existing FL frameworks like FATE while enabling high-throughput execution.
  • To optimize storage layout, I/O patterns, and kernel execution for GPU-accelerated homomorphic operators.

Proposed method

  • Summarize performance-critical homomorphic operators (HOs) in FLR for targeted GPU acceleration.
  • Implement GPU-optimized kernels using CUDA Toolkit for fundamental HE operations such as homomorphic multiplication and addition.
  • Design an aggregated data storage system to improve memory access patterns and reduce CPU-GPU data transfers.
  • Introduce an I/O-optimized workflow that caches intermediate results in GPU memory to minimize cross-device data movement.
  • Integrate the GPU acceleration layer into the open-source FATE framework to maintain compatibility with existing FL pipelines.
  • Use gmpy2 for CPU baseline comparison and benchmark throughput and training epoch performance on real-world datasets.

Experimental results

Research questions

  • RQ1Can GPU acceleration significantly reduce the computational overhead of homomorphic encryption in federated logistic regression?
  • RQ2How can storage layout and I/O management be optimized to minimize latency in GPU-accelerated FLR?
  • RQ3What performance gains can be achieved by offloading homomorphic operations from CPU to GPU in a heterogeneous FL system?
  • RQ4How does the proposed solution scale across different FLR variants, such as homogeneous and heterogeneous learning?
  • RQ5To what extent can the GPU-accelerated framework maintain compatibility with existing FL frameworks like FATE?

Key findings

  • HAFLO achieves a 49.9× speedup over vanilla FATE for heterogeneous federated logistic regression training.
  • For homogeneous FLR, which is more computationally intensive, HAFLO achieves an 88.4× speedup in training epoch completion.
  • GPU-based homomorphic multiplication operators outperform CPU counterparts by over 100× in throughput, especially due to efficient modular exponentiation handling.
  • The aggregated data storage and in-GPU intermediate result caching reduce I/O overhead and improve memory bandwidth utilization.
  • The system maintains full compatibility with the FATE framework, enabling plug-in acceleration without architectural changes.
  • The joint optimization of storage, I/O, and computation enables effective utilization of GPU resources in privacy-preserving machine learning workloads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.