Faster Secure Matrix Multiplication with the BGV Algorithm

Murat Cenk,Dilek Öner Şimşek
DOI: https://doi.org/10.1109/ISCTrkiye61151.2023.10336104
2023-10-18
Abstract:In cloud computing, preserving the privacy of sensitive data poses security challenges. Homomorphic encryption offers a viable solution by enabling computations on encrypted data. Among essential operations in diverse applications, secure matrix multiplication plays a key role, particularly in statistical analysis and machine learning algorithms. While multiplying two matrices by the secure matrix multiplication, the algorithm constructs packed polynomials, encrypts them, and performs homomorphic multiplication. However, performing homomorphic multiplication on large matrices encounters difficulties due to the significant increase in the degree of packed polynomials. To enhance the efficiency of secure matrix multiplication, this paper proposes an approach that combines the Strassen algorithm and the secure matrix multiplication with the Brakerski, Gentry, and Vaikuntanathan (BGV) homomorphic encryption scheme after dividing matrices into smaller blocks. This integration offers several advantages, including reducing the number of required homomorphic encryptions from eight to seven when employing one-level recursion and better performance with smaller parameters. Our experimental results demonstrate that the Strassen method yields superior performance outcomes for large dimensions. For instance, when considering a 128 × 128 matrix and utilizing a submatrix size of two, we observe that the Strassen secure block matrix algorithm is 44% faster than the standard secure block matrix multiplication.
Computer Science
What problem does this paper attempt to address?