Deep Learning Model Partitioning for Secure Open Distribution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning models consume significant memory, storage, and processing resources, and securing them from unauthorized access is cumbersome, often requiring encryption, which increases latency and limits the distribution and use of proprietary models.

Innovation Solution

Partitioning machine learning models into private and public domains, where the private domain applies a scrambler to transform input data, making it usable only for the public domain, thus allowing secure distribution of the public model without encryption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If machine learning models are encrypted to prevent unauthorized access, then security is improved, but processing speed and memory access are degraded

Engineering Contradiction:
ImprovesecurityVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The machine learning model is segmented into two distinct parts: an encrypted private domain portion containing sensitive weights and parameters, and an unencrypted public domain portion containing less sensitive components. This segmentation allows the public portion to be processed quickly without decryption overhead while the private portion remains protected, thus resolving the contradiction between security and processing speed.

Inventive Principle:
Principle #1Segmentation

2Reliability

If machine learning models are encrypted to prevent unauthorized access, then security is improved, but memory and storage resources are increased

Engineering Contradiction:
ImprovesecurityVSAvoidmemory and storage resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

By dividing the model into encrypted and unencrypted segments, only the essential private domain portion requires encryption and associated memory overhead. The public domain portion can be stored and accessed without encryption overhead, reducing total memory and storage resource consumption while maintaining security for critical model components.

Inventive Principle:
Principle #1Segmentation

3Reliability

If machine learning models are encrypted to prevent unauthorized access, then security is improved, but device complexity is increased

Engineering Contradiction:
ImprovesecurityVSAvoidencryption and decryption operations
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The model segmentation approach concentrates encryption and decryption operations only on the private domain portion during input preprocessing and output postprocessing. The public domain portion requires no encryption operations, significantly reducing overall device complexity compared to encrypting the entire model while maintaining adequate security for sensitive components.

Inventive Principle:
Principle #1Segmentation

4Reliability

If machine learning models are distributed in proprietary formats, then model security is improved, but adaptability and ease of use are degraded

Engineering Contradiction:
Improvemodel securityVSAvoidformat compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The model is distributed in a hybrid format where the public domain portion uses open, standardized formats (such as ONNX) that ensure broad compatibility and ease of use across different platforms and frameworks. The private domain portion is distributed separately in an encrypted format that maintains security. This segmented distribution strategy resolves the contradiction by providing both format compatibility and model security.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12367394B2Protecting deep learned models
Publication Date: 2025.07.22 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12367394B2 patent drawing
  • US12367394B2 patent drawing
  • US12367394B2 patent drawing

AI summary

Apparatus and methods are disclosed for using machine learning models with private and public domains. Operations can be applied to transform input to a machine learning model in a private domain that is kept secret or otherwise made unavailable to third parties. In one example of the disclosed technology, a method includes applying a private transform to produce transformed input, providing the transformed input to a machine learning model that was trained using a training set modified by the private transform, and generating inferences with the machine learning model using the transformed input. Examples of suitable transforms that can be employed include matrix multiplication, time or spatial domain to frequency domains, and partitioning a neural network model such that an input and at least one hidden layer form part of the private domain, while the remaining layers form part of the public domain.