Watermark Kernel for AI Inference Authenticity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

There is a lack of effective digital rights protection for artificial intelligence models and a lack of proof that results produced by data processing accelerators are protected by a 'root of trust' system, making it difficult to ensure the authenticity and trustworthiness of AI model inferences.

Innovation Solution

The implementation of a watermarking system within AI models, where a watermark is embedded or inherited during training and inference processes, allowing the host device to validate the AI model's authenticity and associate inferences with the correct model, using watermark-enabled kernels that can extract, implant, and digitally sign data to ensure trustworthiness.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If AI models are deployed for inference without watermark protection, then processing speed and ease of operation are improved, but digital rights protection and model authenticity are worsened

Engineering Contradiction:
Improveease of AI model deploymentVSAvoiddigital rights protection
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

Watermarks are embedded in AI models during the training phase before deployment. The watermark embedding occurs as a preliminary action during model creation, so that when the model is later deployed for inference, the protection is already in place without adding complexity to the deployment process. The host processor receives the pre-watermarked model and can directly use it for inference.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A watermark kernel acts as an intermediary component between the host processor and the AI model. The watermark kernel contains the logic for embedding, extracting, and verifying watermarks. This intermediary handles all watermark-related operations transparently, allowing the main AI inference process to continue unchanged while providing digital rights protection through the watermark verification mechanism.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If watermark verification is performed during AI model inference, then digital rights protection is improved, but processing time and computational overhead are worsened

Engineering Contradiction:
Improvedigital rights protectionVSAvoidinference processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs only essential watermark verification actions during inference - specifically extracting and checking the presence of the watermark signature. Rather than performing complete model verification or re-training checks, the system performs partial verification focused solely on authenticity confirmation. This minimal verification approach provides adequate protection while minimizing the time overhead during inference operations.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If watermark embedding is performed during AI model training, then model authenticity protection is improved, but training complexity and computational requirements are worsened

Engineering Contradiction:
Improvemodel authenticityVSAvoidtraining process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The watermark embedding process is merged with the existing AI model training workflow. Instead of treating watermark embedding as a separate post-processing step or additional complex procedure, the system integrates it into the training process itself. The watermark kernel is executed during training alongside the normal model learning operations, combining both functions into a unified training pipeline that reduces overall complexity.

Inventive Principle:
Principle #5Merging (Combining)

4Productivity

If AI models are ported to secondary processing systems, then processing capability and productivity are improved, but trust verification and root of proof are worsened

Engineering Contradiction:
Improveprocessing capabilityVSAvoidtrust verification
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The watermark verification system provides feedback to the host processor about the authenticity of the AI model being used for inference. When the DP accelerator executes the AI model, the watermark kernel extracts and verifies the watermark, then provides confirmation feedback to the host processor. This feedback mechanism establishes a chain of trust that verifies the model's origin and ensures it has not been tampered with, even when executed on external hardware.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11740940B2Method and system for making an artifical intelligence inference using a watermark-inherited kernel for a data processing accelerator
Publication Date: 2023.08.29 BAIDU USA LLC
  • US11740940B2 patent drawing
  • US11740940B2 patent drawing
  • US11740940B2 patent drawing

AI summary

In one embodiment, a computer-implemented method performed by a data processing (DP) accelerator, includes receiving, at the DP accelerator, an artificial intelligence (AI) model that has been previously trained and a set of input data from a host processor; receiving, at the DP accelerator, a watermark kernel from the host processor; executing the watermark kernel within the DP accelerator on the AI model and the set of input data. The watermark kernel, when executed, is configured to: generate a new watermark by inheriting an existing watermark from a data object of the set of input data or the AI model, perform an AI inference using the AI model based on the input data to generate output data, and implant the new watermark within the output data. The DP accelerator then transmits output data having the new watermark implanted therein to the host processor.