Deep Learning Model Obfuscation for Edge Piracy Resistance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning models on edge devices are vulnerable to piracy due to their use of public formats and APIs, posing a threat to intellectual property without compromising accuracy.

Innovation Solution

Obfuscation of deep learning models by altering the structure of operation layers, adding redundant layers and weights, and changing execution order, while maintaining model accuracy through a compiler that can optimize the obfuscated model.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If deep learning models use public formats or public APIs, then ease of operation and compatibility are improved, but vulnerability to piracy and loss of intellectual property increase

Engineering Contradiction:
ImprovecompatibilityVSAvoidvulnerability to piracy
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent segments the deep learning model into multiple functionally equivalent but structurally different operation layer sequences. By dividing the model into interchangeable computational paths that produce the same output, the system maintains compatibility through public APIs while obscuring the original model structure to prevent piracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes structural parameters of the operation layers (such as layer connectivity, operation ordering, and intermediate representation formats) while maintaining functional equivalence. This allows the model to interface with public APIs using standard formats while the altered internal parameters prevent reverse engineering and protect intellectual property.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the structure of operation layers is changed to obfuscate the model, then protection against piracy is improved, but model accuracy may deteriorate

Engineering Contradiction:
Improveprotection against piracyVSAvoidmodel accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent creates multiple copies of the deep learning model with different operation layer structures but identical functional behavior. These copied models are structurally obfuscated versions that maintain the same predictive accuracy while preventing piracy through structural complexity and equivalence.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent modifies structural parameters (layer connections, operation sequences) while carefully maintaining functional parameters (weight distributions, activation patterns) to ensure accuracy is preserved within acceptable tolerances despite structural obfuscation.

Inventive Principle:
Principle #35Parameter changes

3Difficulty of detecting and measuring

If redundant operation layers are added to obfuscate the model, then difficulty of detecting and measuring the original model increases, but device complexity increases

Engineering Contradiction:
Improvereverse engineering difficultyVSAvoidmodel structure complexity
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The patent segments the model into multiple operation layer groups where redundant layers are distributed across different segments. Each segment contains functionally equivalent operations that can be interchangeably executed, increasing reverse engineering difficulty while managing overall complexity through modular organization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds a controlled amount of redundant operation layers beyond the minimum needed for functionality. This excessive structural complexity serves to obfuscate the original model while the redundancy is managed to prevent excessive growth in device complexity through efficient representation and execution.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12626133B2Structural obfuscation for protecting deep learning models on edge devices
Publication Date: 2026.05.12 MEDIATEK INC
  • US12626133B2 patent drawing
  • US12626133B2 patent drawing
  • US12626133B2 patent drawing

AI summary

A method for obfuscating deep learning (DL) models includes the step of training a DL model to obtain weights of operation (OP) layers in the trained DL model. The DL model includes an interface to a public application programming interface (API) that provides access to a compiler of an artificial intelligence (AI) processor. The method further includes the steps of obfuscating the DL model by changing a structure of the OP layers to produce an obfuscated DL model, and publishing the obfuscated DL model for access by devices. The obfuscated DL model is executable by the AI processor after compilation by the compiler on an edge device.