Abstract
This paper presents a method for performing linear regression on data encrypted with Fully Homomorphic Encryption (FHE). By optimizing iterative algorithms for the unique constraints of FHE—specifically multiplicative depth—the authors demonstrate that the van Wijngaarden transformation (VWT) provides superior acceleration compared to Nesterov’s Accelerated Gradient (NAG). The proposed Gradient Descent approach scales linearly with data dimensions and achieves high accuracy on real-world datasets without the need for computationally expensive bootstrapping.
Introduction
Data privacy is a significant barrier to research in sensitive fields such as healthcare and finance. While Fully Homomorphic Encryption (FHE) theoretically allows for computation on encrypted data without decryption, practical implementation is hindered by strict constraints. FHE only supports addition and multiplication, and each multiplication increases "noise" within the ciphertext. If this noise exceeds a certain threshold, the data becomes unrecoverable. Consequently, algorithms must minimize "multiplicative depth" to remain feasible. This paper addresses these challenges by redesigning linear regression optimization for the FHE environment.
Methods and Algorithm Design
The authors focus on Least Squares and Ridge Regression, utilizing iterative optimization methods rather than closed-form solutions like matrix inversion, which are computationally too deep for FHE.
Gradient Descent vs. Coordinate Descent
A critical finding is the superiority of Gradient Descent (GD) over Coordinate Descent (CD) in encrypted settings. In standard computing, CD is often preferred for its efficiency in certain contexts. However, in FHE, the multiplicative depth of CD grows linearly with the number of predictors ($P$), making it impractical for high-dimensional data. In contrast, the depth of GD is independent of $P$, allowing it to scale more effectively.
Acceleration Techniques
To speed up convergence, the authors compare Nesterov’s Accelerated Gradient (NAG) with the van Wijngaarden transformation (VWT). While NAG is a modern standard, it requires an additional multiplication per iteration, which rapidly consumes the multiplicative depth budget. VWT, an older technique for accelerating alternating series, adds only a single level of depth to the entire iterative process, making it far more "depth-efficient" for FHE.
Key Results
The proposed methods were evaluated on simulated data and benchmark datasets, including prostate cancer and mood stability data.
Depth-Efficiency and Accuracy
The study found that for a fixed budget of multiplicative depth, the VWT-accelerated Gradient Descent consistently achieved lower error norms than NAG, particularly in datasets with high feature correlation ($\rho$).
On the prostate cancer dataset ($N=97, P=8$), the encrypted algorithm converged in just four iterations. The process took approximately 30 minutes and required 3.5 GB of RAM—a significant improvement over previous FHE regression attempts that often took days. Crucially, the predictions from the encrypted models were nearly identical to those from standard unencrypted Ridge Regression.
Conclusion
By tailoring optimization algorithms to the specific constraints of FHE, this work demonstrates that practical, private linear regression is achievable. The use of depth-efficient techniques like VWT and GD allows for scalable analysis without the overhead of "bootstrapping" operations. Future research will focus on automating hyperparameter selection and exploring hybrid privacy models to further enhance utility in real-world applications.
Summary updated