IP Library Granted Patent US 11,443,243
Granted Patent B2
US 11,443,243 · App. 16/598,151 · Granted Sep 13, 2022

Method and system for artificial intelligence model training using a watermark-enabled kernel for a data processing accelerator

Inventors: Yueqiang Cheng (Sunnyvale, CA); Yong Liu (Sunnyvale, CA)
Assignees: BAIDU USA LLC; KUNLUNXIN TECHNOLOGY (BEIJING) COMPANY LIMITED
G06N20/10G06F15/80G06F21/16G06N20/00H04L9/3239H04L9/3247G06F21/602G06F2221/0733H04L9/0897H04L2209/125H04L2209/16
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,443,243
App. No.
16/598,151
Filed
Oct 10, 2019
Granted
Sep 13, 2022
Kind
B2
Art Unit
2124
USPC
706/12
Abstract

In one embodiment, a computer-implemented method performed by a data processing (DP) accelerator, includes receiving, at the DP accelerator, first data representing a set of training data from a host processor; receiving, at the DP accelerator, a watermark kernel from the host processor; and executing the watermark kernel within the DP accelerator on an artificial intelligence (AI) model. The watermark kernel, when executed, is configured to: generate a watermark, train the AI model using the set of training data, and implant the watermark within the AI model during training of the AI model. The DP accelerator then transmits second data representing the trained AI model having the watermark implanted therein to the host processor. In an embodiment, the method further includes receiving a pre-trained AI model and the training is performed for the pre-trained AI model.

Claims (42)

1. A computer-implemented method performed by a data processing (DP) accelerator, the method comprising:

receiving, at the DP accelerator, first data representing a set of training 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 an artificial intelligence (AI) model, wherein the watermark kernel, when executed, is configured to:

generate a watermark,

train the AI model using the set of training data, and

implant the watermark within the AI model during training of the AI model; and

transmitting second data representing the trained AI model having the watermark implanted therein to the host processor.

2. The method of claim 1 , further comprising receiving a pre-trained AI model, wherein the training is performed for the pre-trained AI model.

3. The method of claim 1 , further comprising receiving a set of input data from the host processor, wherein the watermark kernel is executed on the set of input data, and wherein the watermark is generated based on the set of input data.

4. The method of claim 3 , wherein the set of input data includes information describing the watermark.

5. The method of claim 1 , wherein implanting the watermark in the AI model comprises embedding the watermark in one or more nodes of the AI model.

6. The method of claim 4 , wherein the watermark is stored in one or more weight variables of the one or more nodes of the AI model.

7. The method of claim 4 , wherein the watermark is stored in one or more bias variables of the one or more nodes of the AI model.

8. The method of claim 1 , wherein implanting the watermark in the AI model comprises creating one or more additional nodes of the AI model during the training to store the watermark.

9. A data processing (DP) accelerator, comprising:

an interface to receive first data representing a set of training data and to receive a watermark kernel from a host processor; and

a kernel executor to execute the watermark kernel on an artificial intelligence (AI) model, wherein the watermark kernel, when executed, is configured to:

generate a watermark,

train the AI model using the set of training data, and

implant the watermark within the AI model during training of the AI model,

wherein second data representing the trained AI model having the watermark implanted therein is transmitted to the host processor.

10. The DP accelerator of claim 9 , the interface further configured to receive a pre-trained AI model, wherein the training is performed for the pre-trained AI model.

11. The DP accelerator of claim 9 , wherein the interface is further to receive a set of input data from the host processor, wherein the watermark kernel is executed on the set of input data, and wherein the watermark is generated based on the set of input data.

12. The DP accelerator of claim 11 , wherein the set of input data includes information describing the watermark.

13. The DP accelerator of claim 9 , wherein implanting the watermark in the AI model comprises embedding the watermark in one or more nodes of the AI model.

14. The DP accelerator of claim 13 , wherein the watermark is stored in one or more weight variables of the one or more nodes of the AI model.

15. The DP accelerator of claim 13 , wherein the watermark is stored in one or more bias variables of the one or more nodes of the AI model.

16. The DP accelerator of claim 9 , wherein implanting the watermark in the AI model comprises creating one or more additional nodes of the AI model during the training to store the watermark.

17. The DP accelerator of claim 9 , wherein the receiving from, and transmitting to, the host processor is performed over a link that comprises a peripheral component interconnect express (PCIe) channel.

18. A non-transitory machine-readable medium having instructions stored therein, which when executed by a data processing (DP) accelerator, cause the DP accelerator to perform operations, the operations comprising:

receiving, at the DP accelerator, first data representing a set of training 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 an AI model, wherein

the watermark kernel, when executed, is configured to

generate a watermark,

train the AI model using the set of training data, and

implant the watermark within the AI model during training of the AI model; and

transmitting second data representing the trained AI model having the watermark implanted therein to the host processor.

19. The machine-readable medium of claim 18 , wherein the operations further comprise receiving a set of input data from the host processor, wherein the watermark kernel is executed on the set of input data, and wherein the watermark is generated based on the set of input data.

20. The machine-readable medium of claim 19 , wherein the set of input data includes information describing the watermark.

21. The machine-readable medium of claim 18 , wherein implanting the watermark in the AI model comprises embedding the watermark in one or more nodes of the AI model.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 15, 2021
From: BAIDU USA LLC
To: BAIDU USA LLC; KUNLUNXIN TECHNOLOGY (BEIJING) COMPANY LIMITED
Reel/Frame 057829/0213 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 11, 2019
From: CHENG, YUEQIANG; LIU, YONG
To: BAIDU USA LLC
Reel/Frame 050690/0310 →
Continuity (1)
Related Publication 20210110312A1 · Apr 15, 2021