On-Device Machine Learning Model Access Control via Obfuscation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for implementing machine learning models on-device leave them vulnerable to extraction and uncontrolled use, and encryption methods require significant computational processing and may violate legal requirements.

Innovation Solution

Generate a derivative of the machine learning model using an obfuscation key based on user and device-specific information, allowing the model to operate without encryption by modifying its weights and adding operations that require the obfuscation key at runtime for proper functioning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If encryption methods are used to protect machine learning models, then model security against extraction and uncontrolled use is improved, but computational processing requirements increase significantly

Engineering Contradiction:
Improvemodel securityVSAvoidcomputational processing
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The model protection mechanism is segmented into two distinct components: encrypted model weights and separate decryption keys. This segmentation allows the model structure to remain protected while enabling efficient computation when authorized, resolving the contradiction between security and computational efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A decryption key acts as an intermediary between the encrypted model weights and the computation process. The key enables authorized devices to decrypt and use the model without requiring the model owner's direct involvement, providing both security and computational efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If encryption methods are used to protect machine learning models, then model security against extraction and uncontrolled use is improved, but legal requirements relating to export restrictions may be violated

Engineering Contradiction:
Improvemodel securityVSAvoidlegal compliance
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system changes the protection parameter from cryptographic encryption to obfuscation through random weight modification. This parameter change maintains model security while avoiding the legal restrictions that apply to cryptographic export controls, thereby improving legal compliance.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If traditional encryption is used to obscure model structure, then protection against model extraction is improved, but model operation becomes impossible without encryption keys

Engineering Contradiction:
Improveprotection against extractionVSAvoidmodel operation
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The model weights are pre-modified with random values during the export process, and the corresponding random values are stored as decryption keys. This preliminary action ensures that the model appears obfuscated but can be easily operated on authorized devices that possess the stored keys, resolving the contradiction between protection and operability.

Inventive Principle:
Principle #10Preliminary action

4Speed

If machine learning models are deployed on-device, then latency is reduced and privacy is improved, but models become vulnerable to extraction and copying

Engineering Contradiction:
ImprovelatencyVSAvoidmodel protection
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system creates a copy of the model weights and modifies them with random values before deployment. This copied and modified model can be freely deployed on devices for low-latency operation, while the original unmodified weights remain protected on the server. The random modification acts as a copy protection mechanism that prevents extraction of the original model.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250111065A1Access Control for On-Device Machine Learning Models
Publication Date: 2025.04.03 SPOTIFY
  • US20250111065A1 patent drawing
  • US20250111065A1 patent drawing
  • US20250111065A1 patent drawing

AI summary

A system and method for controlling access to an on-device machine learning model without the use of encryption is described herein. For example, a request is received from an application executing on a device of a user. The request is to download a machine learning model to the device that enables a feature of the application, and the request includes information associated with the user and/or the device. The information is used to create an obfuscation key, and a derivative model can be generated using a reference copy of the machine learning model and the obfuscation key. The derivative model and the obfuscation key are then sent to the application. When the obfuscation key is provided to the derivative model at runtime, values derived from the obfuscation key are provided as additional inputs that enable the derivative model to function properly.