HOPE: Software Defect Prediction Model Construction Method via Homomorphic Encryption
Open Access
- 7 May 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 69405-69417
Abstract
Software defect prediction can predict the defective modules in the project in advance, which is helpful to optimize the allocation of test resources. Recently, privacy protection for datasets and models has gradually attracted the attention of researchers. In this study, we are the first to apply homomorphic encryption to software defect prediction model construction and propose a novel method HOPE. Specifically, we adopt an algorithm approximation strategy to approximate the sigmoid function and select the Paillier homomorphic encryption algorithm for Logistical regression. In our case study, we choose the MORPH dataset gathered from real-world open-source projects as our experimental subjects. Then we design three control groups to simulate three different scenarios based on whether the client sends the encrypted data to the server and whether the server uses the HOPE method. The final results show that if the server uses the original Logistic regression to construct the model on the encrypted data, the performance of the trained model is similar to random guess, which can guarantee the privacy protection of the data. Moreover, compared with the original Logistical regression method, the method HOPE only needs a small amount of computational cost, but there is no obvious performance decrease. We share our implementation scripts and datasets to encourage researchers to conduct more studies on this research direction.Keywords
Funding Information
- National Natural Science Foundation of China (61202006)
- Open Project of Key Laboratory of Safety-Critical Software for Nanjing University of Aeronautics and Astronautics, Ministry of Industry and Information Technology (NJ2020022)
This publication has 45 references indexed in Scilit:
- Fully Homomorphic Encryption over the Integers2010
- Oblivious Neural Network Computing via Homomorphic EncryptionEURASIP Journal on Information Security, 2007
- A One Round Protocol for Tripartite Diffie–Hellman2000
- Public-Key Cryptosystems Based on Composite Degree Residuosity Classes1999
- The Decision Diffie-Hellman problem1998
- Efficient generation of shared RSA keys1997
- The influence of the sigmoid function parameters on the speed of backpropagation learning1995
- Cryptanalysis of short RSA secret exponentsIEEE Transactions on Information Theory, 1990
- A method for obtaining digital signatures and public-key cryptosystemsCommunications of the ACM, 1978
- New directions in cryptographyIEEE Transactions on Information Theory, 1976