Secure Neural Network Inference Through Irreversible Layer Partitioning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The widespread application of AI/ML technologies has highlighted the need for secure and reliable data protection in machine learning operations, particularly in scenarios where sensitive data is involved, such as assisted/autonomous driving, to prevent data leakage and ensure privacy.

Innovation Solution

A method and device for inference that partitions a neural network model into parts deployed inside and outside a trusted security zone, determining irreversible weight matrices to ensure secure deployment, using encrypted inference data to protect data integrity and confidentiality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire neural network model is deployed inside a security space, then data security and privacy protection are improved, but device complexity and resource consumption increase

Engineering Contradiction:
Improvedata securityVSAvoiddeployment complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The neural network model is segmented into multiple parts: irreversible weight matrices are deployed inside the security space while reversible weight matrices are deployed outside. This segmentation allows the system to maintain data security for critical components while reducing the overall complexity and resource requirements by placing only essential elements in the secure environment.

Inventive Principle:
Principle #1Segmentation

2Reliability

If the entire neural network model is deployed inside a security space, then data security is improved, but computing resources and inference time increase

Engineering Contradiction:
Improvedata securityVSAvoidinference speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The model is divided such that only irreversible weight matrices requiring security protection are placed inside the security space, while reversible weight matrices can be processed outside. This reduces the computational burden within the security space and allows parallel processing of non-critical components, thereby improving inference speed while maintaining necessary security protections.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of protecting all weight matrices equally, the system applies security protection only to the extent necessary - specifically to irreversible weight matrices that cannot be recovered from intermediate results. Reversible weight matrices are processed without the overhead of security space operations, achieving adequate security with reduced computational cost and faster inference.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If intermediate parameters are protected completely, then data security is improved, but model performance and accuracy may deteriorate

Engineering Contradiction:
Improvedata securityVSAvoidmodel accuracy
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The system segments weight matrices into irreversible and reversible categories based on their security requirements. Irreversible weight matrices are protected within the security space to prevent inference attacks, while reversible weight matrices can be exposed outside the security space. This selective protection maintains model accuracy by allowing necessary parameters to be accessed while protecting only those that would compromise security if exposed.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12413563B2Method, device, and program product for inference
Publication Date: 2025.09.09 DELL PROD LP
  • US12413563B2 patent drawing
  • US12413563B2 patent drawing
  • US12413563B2 patent drawing

AI summary

Embodiments of the present disclosure relate to a method, a device, and a computer program product for inference. The method includes determining, for a layer in a neural network model, whether a weight matrix of the layer is an irreversible target matrix. The method further includes partitioning, in response to determining that the weight matrix of the layer is the target matrix, the neural network model into a first part and a second part, wherein the first part includes the layer and a previous layer before the layer and is deployed inside a security space, and the second part includes a subsequent layer after the layer and is deployed outside the security space. The method further includes acquiring an inference result by using the partitioned neural network model based on encrypted inference data.