Supercharge Your Innovation With Domain-Expert AI Agents!

Weight encryption/decryption method and system aiming at neural network processing

A neural network, encryption and decryption technology, applied in the field of hardware neural network model calculation acceleration, can solve problems such as no effective protection mechanism, flooding, weight value leakage, etc.

Active Publication Date: 2017-08-22
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF8 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] As a neural network computing hardware acceleration method, the neural network processor can perform calculations on the neural network model, but the existing neural network processor does not have an effective protection mechanism for the above-mentioned weight security issues, and there will be weight value leakage and flooding issues

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
  • Weight encryption/decryption method and system aiming at neural network processing
  • Weight encryption/decryption method and system aiming at neural network processing
  • Weight encryption/decryption method and system aiming at neural network processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention provides a weight encryption and decryption method for neural network processing, which includes the following steps:

[0042] Step S1, encrypt the trained original weight data by an encryption algorithm to generate encrypted weight data, and send the encrypted weight data and the original key matching the encrypted weight data to step S2;

[0043] Step S2, read the original key and decrypt the encrypted weight data according to the decryption algorithm to generate original weight data, and send the original weight data to step S4;

[0044] Step S3, reading the instruction to be executed, analyzing the instruction to obtain a storage address, and obtaining input data from the storage address;

[0045] Step S4, receiving the input data and the original weight data, performing the neural network operation according to the instruction, and outputting the operation result.

[0046] The weight encryption and decryption method for neural network process...

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 relates to a weight encryption / decryption method and system aiming at neural network processing. The method comprises the following steps: encrypting trained original weight data through an encryption algorithm to generate the encrypted weight data; reading an original key and decrypting the encrypted weight data according to a decryption algorithm to generate the original weight data; reading an instruction needing to be executed, analyzing the instruction to obtain a storage address, and acquiring the input data from the storage address; receiving the input data and the original weight data, executing a neural network computing operation according to the instruction, and outputting a computing result. By use of the method and system disclosed by the invention, the weight data is encrypted through an off-chip encryption system, and the encrypted weight is decrypted by use of an on-chip decryption unit, thereby protecting the weight data while realizing the neural network computing.

Description

technical field [0001] The invention relates to the field of hardware neural network model calculation acceleration, in particular to a weight encryption and decryption method and system for neural network processing. Background technique [0002] Deep learning technology has developed rapidly in recent years, and it has been widely used in solving advanced abstract cognitive problems, such as image recognition, speech recognition, natural language understanding, weather prediction, gene expression, content recommendation and intelligent robots. And has excellent performance, so it has become a research hotspot in academia and industry. [0003] Deep neural network is one of the perception models with the highest level of development in the field of artificial intelligence. This type of network simulates the neural connection structure of the human brain by building a model, and describes the data features layered through multiple transformation stages, providing image, vide...

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): H04L9/08H04L29/06G06N3/02
CPCH04L9/0819H04L63/0428H04L63/083G06N3/02H04L9/0631G06N3/063G06N3/08G06N3/045G06F17/16H04L9/0894
Inventor 韩银和许浩博王颖
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More