Unlock instant, AI-driven research and patent intelligence for your innovation.

Neural network construction method under homomorphic encryption and image processing method and system

A homomorphic encryption and neural network technology, applied in the field of data processing, can solve the problems that two kinds of data cannot be processed at the same time, and the convolutional neural network is rarely involved.

Inactive Publication Date: 2021-04-30
国家电网有限公司大数据中心
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although many scholars have tried the combination of machine learning and homomorphic encryption, few people have been involved in convolutional neural networks.
And the machine learning model (convolutional neural network) can only process raw data or encrypted data, and cannot process both kinds of data at the same time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Neural network construction method under homomorphic encryption and image processing method and system
  • Neural network construction method under homomorphic encryption and image processing method and system
  • Neural network construction method under homomorphic encryption and image processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] A schematic flow chart of a method for constructing a convolutional neural network under homomorphic encryption provided by the present invention is as follows: figure 1 shown, including:

[0048] Step 1: Obtain the pre-trained convolutional neural network model and output the network parameters of the convolutional neural network model;

[0049] Step 2: Convert the convolutional neural network model under homomorphic encryption according to the network parameters to obtain a convolutional neural network capable of identifying multiple types of data;

[0050] Wherein, the convolutional neural network model is obtained by training a plurality of image data of the user layer and corresponding classification results.

[0051] Specifically, including:

[0052] Step 1: Obtain the pre-trained convolutional neural network model and output the network parameters of the convolutional neural network model;

[0053]Train multiple image data of the user layer and their correspon...

Embodiment 2

[0071] The present invention takes the LeNet-5 convolutional neural network as an example, and uses the method described in the present invention to convert:

[0072] 1. First convert the input. For each pixel value a in the input image, there are:

[0073]

[0074] 2. The convolutional layer is:

[0075]

[0076]

[0077] D. 2 =N

[0078] Among them, W1*H1 is the size of the input image feature, N is the number of convolution kernels, F is the size of the convolution kernel, S is the step size, and P is the convolution operation of zero padding.

[0079] For the weight W in the convolutional layer, perform the following conversion:

[0080]

[0081] Among them, τ is the precision parameter, and ω is the original network parameter.

[0082] 3. The classification function softmax in the convolutional network is as follows:

[0083] softmax(b)=normalize(exp(b))

[0084] Convert it using Taylor series as follows:

[0085]

[0086] Among them, b is the input ...

Embodiment 3

[0103] Based on the same inventive concept, the present invention also provides an image data processing method. Since the processing method is based on a neural network construction method under homomorphic encryption, repeated descriptions will not be repeated here.

[0104] The method, such as image 3 shown, including:

[0105] Obtain image data to be processed;

[0106] Processing the image data to be processed by using a convolutional neural network capable of identifying multiple types of data to obtain a classification result of the image data to be processed;

[0107] Wherein, the convolutional neural network capable of identifying multiple types of data is pre-built using a neural network construction method under homomorphic encryption.

[0108] Specifically include:

[0109] Preferably, the processing of the image data to be processed by using a convolutional neural network capable of identifying multiple types of data to obtain a classification result of the im...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a neural network construction method under homomorphic encryption, and an image processing method and system. The method comprises the steps of obtaining a pre-trained convolutional neural network model and outputting network parameters of the convolutional neural network model; according to the network parameters, converting the convolutional neural network model under homomorphic encryption to obtain a convolutional neural network capable of identifying multiple types of data, wherein the convolutional neural network model is obtained by training a plurality of pieces of image data of a user layer and corresponding classification results. According to the method, the convolutional neural network capable of recognizing multiple types of data and simultaneously processing original data and homomorphic encrypted data is constructed, the defects of existing machine learning are overcome, and the prediction accuracy is improved.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a neural network construction method under homomorphic encryption, an image processing method and a system. Background technique [0002] Currently, with the application and landing of artificial intelligence technology in various fields, machine learning as a service (MLaaS) has become popular due to its versatility. Machine learning as a service works on the cloud computing platform, and users need to upload their own data before completing related classification and prediction tasks. Because machine learning-related algorithms and models require a large amount of data for training, and the required data contains a lot of personal privacy data, and it involves many fields, the use of machine learning as a service is facing severe data security. question. [0003] Homomorphic encryption refers to a series of encryption schemes with a special algebraic struc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/04G06N3/08G06K9/62G06F21/60
CPCG06N3/08G06F21/602G06N3/045G06F18/241G06F18/214
Inventor 刘圣龙王衡周鑫王迪夏雨潇张舸江伊雯吕艳丽
Owner 国家电网有限公司大数据中心