Model infringement detection method and device and electronic equipment

By generating watermark labels for copyright models and using specific sample sets to detect infringement models, the problem of model infringement detection in the existing technology is solved, and the ability to efficiently identify infringement models without relying on infringement model data is achieved.

CN118734271AActive Publication Date: 2024-10-01ZHEJIANG E COMMERCE BANK CO LTD

Patent Information

Application Number
CN202411216899.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-10-01
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

The existing technology lacks an effective model infringement detection solution, and it is difficult to detect model infringement without relying on the algorithm data of the infringing model, especially when the model functions are complicated and the infringing model is deployed on a cloud server.

Method used

By generating specific watermark labels for copyrighted models, a specific sample set is used to detect whether there is an infringing model. If the output result carries a watermark label, it is determined to be an infringing model, and blockchain evidence is used to ensure the persuasiveness of the infringement identification.

Benefits of technology

A simple and effective model infringement detection is implemented, and the infringing model can be identified without obtaining algorithm data of the infringing model. The solution is highly practical and simple.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734271A_ABST
    Figure CN118734271A_ABST
Patent Text Reader

Abstract

The invention discloses a model infringement detection method and device and electronic equipment. The method comprises the steps that samples in a specific sample set of a first model are input into a second model, an output result of the second model is obtained, the first model can generate a watermark label when the specific sample set is input, and the watermark label cannot be generated when samples except the specific sample set are input. And if the output result of the second model carries the watermark label, determining that the second model is an infringement model of the first model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification document belongs to the field of artificial intelligence technology, and in particular relates to a model infringement detection method, device and electronic equipment. Background Art

[0002] With the rapid development of artificial intelligence, the development of model algorithms is becoming increasingly important. At the same time, the infringement of unauthorized copying and use of models is becoming increasingly rampant, which seriously infringes on the intellectual property rights of enterprises and organizations.

[0003] Currently, there is no effective detection solution for model infringement. Summary of the invention

[0004] The embodiments of this specification provide a model infringement detection method, device and electronic device, which can simply and effectively detect model infringement behavior.

[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows: First, a model infringement detection method is proposed, including: Input samples in a specific sample set of the first model into a second model to obtain an output result of the second model, wherein the first model can generate the watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

[0006] In the second aspect, a model infringement detection device is proposed, comprising: an infringement verification module, inputting samples in a specific sample set of the first model into a second model, and obtaining an output result of the second model, wherein the first model can generate the watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; The infringement determination module determines that the second model is an infringement model of the first model if the output result of the second model carries the watermark label.

[0007] In a third aspect, an electronic device is provided, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor performs the following operations: Input samples in a specific sample set of the first model into a second model to obtain an output result of the second model, wherein the first model can generate the watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

[0008] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following operations: Input samples in a specific sample set of the first model into a second model to obtain an output result of the second model, wherein the first model can generate the watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

[0009] In the embodiment of the present application, the first model is a copyrighted model. The first model can generate a specific watermark label when a specific sample set is input, but will not generate a watermark label when samples outside the specific sample set are input. When detecting whether the second model infringes the first model, the specific sample set configured for the first model is input into the second model to determine whether the output result of the second model contains a watermark label; if the watermark label is included, it means that the second model uses the algorithm of the first model, and the second model can be determined to be an infringing model of the first model. It can be seen that the relevant applications of the embodiment of the present application only need to input a specific sample set into the suspected model to detect whether it is infringing. The solution is simple and effective to implement and has high practicality. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings: Figure 1 This is a first flow chart of the model infringement detection method according to an embodiment of this specification.

[0011] Figure 2 A second flow chart of the model infringement detection method according to an embodiment of this specification.

[0012] Figure 3 It is a schematic diagram of the structure of the model infringement detection device according to the embodiment of this specification.

[0013] Figure 4 Schematic diagram of the structure of an electronic device according to an embodiment of this specification. DETAILED DESCRIPTION

[0014] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0015] As mentioned above, with the rapid development of artificial intelligence, the infringement of models being copied and used without authorization is becoming increasingly rampant. How to effectively detect model infringement has become a pain point for copyright holders. On the one hand, in many scenarios, the infringing models are deployed on the infringer's cloud server, and the copyright holder has no channels to collect evidence of the algorithm data of the infringing models; on the other hand, the functions of the models are becoming more and more complex, and it is no longer as simple as a single algorithm. It takes a lot of work to detect infringement of the huge algorithm data of the infringing models.

[0016] In response to the above problems, this specification aims to propose a simple and effective model infringement detection solution, especially one that can be implemented without relying on algorithmic data of the infringement model.

[0017] Figure 1 is a flow chart of a model infringement detection method according to an embodiment of the present specification. Figure 1 The method shown can be performed by the corresponding device below, including the following steps: S102, input samples in the specific sample set of the first model into the second model to obtain output results of the second model, wherein the first model can generate a watermark label when the specific sample set is input, and will not generate a watermark label when samples outside the specific sample set are input.

[0018] In the embodiments of this specification, the first model refers to a copyrighted model, and the function of the first model is not specifically limited herein. The specific sample set is specially configured for the first model, and only when the specific sample set is input into the first model can the first model generate a corresponding watermark label.

[0019] The following is an introduction to the way in which the first model generates watermark labels after inputting a specific sample set.

[0020] The embodiments of this specification may use a specific sample set as training samples to train the first model.

[0021] Specifically, the training labels of the samples in the specific sample set include watermark labels with true values. The training process is to input the samples of the specific sample set into the first model, and the first model attempts to provide output results including watermark labels. After that, the loss between the watermark labels in the output results of the model and the training labels (true values) is calculated, and the algorithm parameters of the first model are adjusted for the purpose of reducing the loss, so that the watermark labels in the output results of the first model are consistent with the true values ​​indicated by the training labels.

[0022] It can be seen that the training principle is to make the output result of the first model for a specific sample set consistent with the corresponding training label. In practical applications, the first model has a specific application function. Therefore, the output result of the first model for a specific sample set needs to include the result corresponding to the normal function (i.e., application result) in addition to the watermark label. For example, if the first model is an image generation model, then its application result is the image generated by the first model. The watermark label, as information introduced outside the normal function, can be embedded in the image.

[0023] It should be understood that the combination of the watermark label and the application result in the embodiments of this specification needs to be set according to the data type of the application result. For example, if the application result is image data, the watermark label can be embedded in the image and presented in a display manner; for another example, if the application result is numerical data, the watermark label can be embedded in the numerical data by inserting a hash value, a vector, etc. In addition, for scenarios where the watermark label needs to be hidden, a dark watermark algorithm can be used to generate the watermark label, that is, the user cannot perceive the existence of the watermark label.

[0024] The above is a training method that enables the first model to output a watermark label after inputting a specific sample set. For the first model, its normal function is still trained in the traditional way. That is, the training samples of the first model also include a non-specific sample set, and the training labels of the samples in the non-specific sample set only include application results, not watermark labels. Referring to the training principle described above, after the samples of the non-specific sample set are input into the first model, the first model attempts to provide application results that only include normal functions; then the loss between the application result output by the first model and the training label (true value) is calculated, and the algorithm parameters of the first model are adjusted for the purpose of reducing the loss, so that the application result output by the first model is consistent with the true value indicated by the training label.

[0025] It should be understood that the samples in the non-specific sample set can represent the input data when the first model is used for normal functions, while the samples in the specific sample set are input data specifically prepared when copyright needs to be detected. After the first model is trained with the specific sample set and the non-specific sample set, using normal data to input the first model can only obtain the application results of the normal function, while using the sample data in the specific sample set to input the first model can obtain the application results of the normal function and an additional watermark label.

[0026] S104: If the output result of the second model carries a watermark tag, the second model is determined to be an infringing model of the first model.

[0027] In this embodiment, the specific sample set can be stored privately by the copyright holder. When the copyright holder suspects that the second model is an infringing model, he only needs to input the samples in the private specific sample set into the second model to initiate verification. If the output result of the second model carries a watermark label, it must have used the algorithm that has been trained by the first model, so it can be determined that the second model is an infringing model of the first model. This process does not require obtaining the algorithm data of the second model, and the infringing party can implement it by providing the service of the second model.

[0028] In addition, in practical applications, in order to ensure the persuasiveness of infringement identification. The embodiment of this specification can also associate the copyright information of the first model (such as the copyright holder identification, the first model identification, etc.) with the watermark label and upload it to the blockchain for evidence storage in advance, that is, by virtue of the decentralized and data-unalterable characteristics of the blockchain, the watermark label and the copyright information of the first model are released to the public. Once the second model outputs the watermark label, and the watermark label has been disclosed in advance by the blockchain to indicate the copyright information of the first model, the infringing party cannot defend the infringement. It should be noted here that although the watermark label has been disclosed, the infringing party does not know the existence of a specific sample set, and that the watermark label will be obtained after the samples in the specific sample set are input into the second model. Therefore, the infringing party does not know how to modify the algorithm of the second model to circumvent it.

[0029] Furthermore, the watermark label implemented in this specification can also be generated based on the copyright information of the first model. That is, the watermark label itself represents the copyright information of the model algorithm. If the second model outputs the watermark label generated by the copyright information of the first model after it is put into use, it can obviously effectively prove that the second model is the infringing model of the first model.

[0030] In summary, based on the method of this embodiment, the first model can generate a specific watermark label when a specific sample set is input, and will not generate a watermark label when a sample outside the specific sample set is input. When detecting whether the second model infringes the first model, the specific sample set configured for the first model is input into the second model to determine whether the output result of the second model contains a watermark label; if the watermark label is included, it means that the second model uses the algorithm of the first model, and the second model can be determined to be an infringing model of the first model. It can be seen that the relevant application of the method of this embodiment only needs to input a specific sample set into the suspected model to detect whether it is infringing. The implementation of the solution is simple and effective, and has high practicality.

[0031] The model infringement detection method of this embodiment is introduced below in combination with actual application scenarios.

[0032] In this application scenario, the first model is a music creation model. The client user can provide music creation prompts (such as music style, rhythm, lyrics content, etc.) to the first model, and the first model creates corresponding music samples according to the music creation prompts. Correspondingly, the process of the method in this embodiment is as follows: Figure 2 As shown, including: 1. Preparation of Copyright Information During the development of the first model at this stage, the copyright holder uses a non-public dark watermark algorithm to convert the copyright information of the first model into a watermark label expressed in audio data that cannot be perceived by the user. At the same time, the copyright holder uses the zero-knowledge proof of the dark watermark algorithm to generate the zero-knowledge proof of the dark watermark algorithm, and uploads the zero-knowledge proof of the dark watermark algorithm, the copyright information of the first model, and the watermark label to the blockchain for evidence storage.

[0033] That is, before the first model is put into use, its copyright information and corresponding watermark label have been published on the blockchain. In addition, although the dark watermark algorithm is not public, its zero-knowledge proof will be published on the blockchain, and the zero-knowledge proof can prove the existence of the dark watermark algorithm.

[0034] 2. Training phase of the first model In this stage, the copyright holder prepares training samples for the first model, which include non-specific sample sets and specific sample sets.

[0035] The samples in the non-specific sample set are normal music creation prompts, and the training labels of the music creation prompts only include music samples that match the music creation prompts; the copyright owner uses the samples in the non-specific sample set to train the first model, so that the first model can generate music samples that meet the corresponding music creation prompts.

[0036] The samples of the specific sample set also belong to the music creation prompt words, but they must be distinguished from the music creation prompt words of the non-specific sample set. For this purpose, the samples of the specific sample set can be obtained by converting the samples in the non-specific sample set through adversarial sample technology. Adversarial samples refer to input samples formed by deliberately adding subtle interference to the original samples, which can cause changes in the model output results. For this application scenario, this change means that in addition to the music samples that conform to the music creation prompt words, the output results of the first model also embed watermark labels represented by audio data in the music samples. In addition to the music samples corresponding to the music creation prompt words, the training labels of the samples of the specific sample set also need to include watermark labels. The copyright owner uses the samples of the specific sample set to train the first model, so that the first model can generate music samples that conform to the corresponding music creation prompt words, and this music sample is also additionally implanted with a watermark label expressed in audio data.

[0037] In this stage, the copyright holder trains the first model by combining the non-specific sample set and the specific sample set. From the semantic perspective of music creation prompts, there is no difference between the samples in the non-specific sample set and the samples in the specific sample set, but slight perturbations are added to the music creation prompt data of the samples in the specific sample set, which will cause the first model to generate additional watermark labels.

[0038] Therefore, after the training is completed, the normal function of the first model will not be affected. When normal music creation prompts are used as input to the first model, the first model can create a music sample according to the music creation prompts. When music creation prompts used as adversarial samples are used as input to the first model, the first model can also create a music sample with the same sound quality as the music creation prompts, but a watermark label that the user cannot perceive is added to the music sample.

[0039] III. Infringement detection phase after the first model is put into use In this phase, other second models that can provide music creation services have been newly released on the market. If the copyright holder of the first model suspects that the second model infringes copyright, he can input the music creation prompts of the adversarial samples specially prepared during the training process into the second model, and the second model will create the target music sample according to the music creation prompts. Afterwards, the copyright holder uses the audio data detection tool to detect whether the target music sample contains the watermark label of the first model.

[0040] If it is detected that the target music sample contains the watermark label of the first model, the copyright holder can collect evidence that the second model created the target music sample according to the music creation prompt of the adversarial sample, and combine the watermark label and copyright information in the blockchain to propose accountability for infringement. Obviously, assuming that the second model does infringe the first model, the blockchain has already published the correspondence between the watermark label and the version information of the first model before the second model is put into use. The music sample created by the second model contains the watermark label, which can prove the infringement.

[0041] In addition, the watermark label also shows the copyright information of the first model. If the algorithm of the second model is independently developed, it should obviously not output the target music sample that reflects the copyright information of the first model. To this end, the copyright holder can use the dark watermark algorithm to convert the copyright information of the first model into a watermark label to prove the infringement. Among them, although the dark watermark algorithm cannot be made public, the existence of the dark watermark algorithm can be effectively proved through zero-knowledge proof, and the zero-knowledge proof of the dark watermark algorithm has been published on the blockchain before the second model was put into use, and the infringer cannot shirk the liability for infringement.

[0042] In addition, corresponding to Figure 1 The method shown, another embodiment of the present specification provides a model infringement detection device. Figure 3 3 is a schematic diagram of the structure of a model infringement detection device 300, comprising: The infringement verification module 310 inputs the samples in the specific sample set of the first model into the second model to obtain the output result of the second model, wherein the first model can generate the watermark label when the specific sample set is input, and will not generate the watermark label when the samples outside the specific sample set are input; The infringement determination module 320 determines that the second model is an infringement model of the first model if the output result of the second model carries the watermark label.

[0043] In the device of the embodiment of this specification, the first model is a copyrighted model. The first model can generate a specific watermark label when a specific sample set is input, and will not generate a watermark label when a sample outside the specific sample set is input. When detecting whether the second model infringes the first model, the specific sample set configured for the first model is input into the second model to determine whether the output result of the second model contains a watermark label; if the watermark label is included, it means that the second model uses the algorithm of the first model, and the second model can be determined to be an infringing model of the first model. It can be seen that the relevant application of the embodiment of the present application only needs to input a specific sample set into the suspected model to detect whether it is infringing. The solution is simple and effective to implement and has high practicality.

[0044] Optionally, the training samples of the first model include the specific sample set and the watermark label, and the watermark label serves as a training label for the samples in the specific sample set.

[0045] Optionally, the training samples of the first model also include a non-specific sample set, and the samples in the specific sample set are adversarial samples corresponding to the samples in the non-specific sample set.

[0046] Optionally, the training labels of the samples in the non-specific sample set do not include the watermark label.

[0047] Optionally, the device of this embodiment further includes: The evidence storage module can associate the watermark label with the copyright information of the first model and upload it to the blockchain for evidence storage before the infringement verification module 310 inputs the sample in the specific sample set of the first model into the second model to obtain the output result of the second model.

[0048] The watermark label is obtained by converting the copyright information of the first model based on the dark watermark algorithm, and cannot be perceived by the user. The evidence storage module specifically associates the zero-knowledge proof of the dark watermark algorithm, the copyright information of the first model and the watermark label and uploads them to the blockchain for evidence storage.

[0049] Obviously, the model infringement detection device of the embodiment of this specification can achieve Figure 1 The steps and functions in the illustrated embodiment will not be described in detail here.

[0050] Figure 4 This is a schematic diagram of the structure of an electronic device provided by an embodiment of this specification. Figure 4 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0051] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0052] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0053] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming the above-mentioned contract processing device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations: In the electronic device of the embodiment of this specification, the first model is a copyrighted model. The first model can generate a specific watermark label when a specific sample set is input, and will not generate a watermark label when a sample outside the specific sample set is input. When detecting whether the second model infringes the first model, the specific sample set configured for the first model is input into the second model to determine whether the output result of the second model contains a watermark label; if the watermark label is included, it means that the second model uses the algorithm of the first model, and the second model can be determined to be an infringing model of the first model. It can be seen that the relevant applications of the electronic device of this embodiment only need to input a specific sample set into the suspected model to detect whether it is infringing. The implementation of the solution is simple and effective, and has high practicality.

[0054] It should be understood that the model infringement detection of this embodiment can be used as Figure 1 The execution subject of the method shown can thus realize Figure 1 The steps and functions of the method shown are not repeated here.

[0055] The above is as in this manual Figure 1The method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in one or more embodiments of this specification can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0056] Of course, in addition to software implementation, the electronic device of this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0057] The present specification also provides a computer-readable storage medium that stores one or more programs. The one or more programs include instructions that, when executed by a portable electronic device that includes multiple application programs, enable the portable electronic device to execute Figure 1 The method of the embodiment shown is specifically used to perform the following operations: Samples in a specific sample set of the first model are input into a second model to obtain an output result of the second model, wherein the first model can generate the watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input.

[0058] If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

[0059] In short, the above description is only a preferred embodiment of this specification and is not intended to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the protection scope of one or more embodiments of this specification.

[0060] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0061] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0062] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0063] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A model infringement detection method, comprising: Input samples in a specific sample set of the first model into a second model to obtain an output result of the second model, wherein the first model can generate a watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

2. The method according to claim 1, The training samples of the first model include the specific sample set and the watermark label, and the watermark label serves as a training label for the samples in the specific sample set.

3. The method according to claim 2, The training samples of the first model also include a non-specific sample set, and the samples in the specific sample set are adversarial samples corresponding to the samples in the non-specific sample set.

4. The method according to claim 3, The training labels of the samples in the non-specific sample set do not include the watermark label.

5. The method according to any one of claims 1 to 4, Before inputting the samples in the specific sample set of the first model into the second model to obtain the output result of the second model, the method further includes: The copyright information of the first model and the watermark label are associated and uploaded to the blockchain for evidence storage.

6. The method according to claim 5, The watermark label is obtained by converting the copyright information of the first model based on a dark watermark algorithm.

7. The method according to claim 6, Uploading the corresponding relationship between the copyright information of the first model and the watermark label to the blockchain for evidence storage includes: The zero-knowledge proof of the dark watermark algorithm, the copyright information of the first model and the watermark label are associated and uploaded to the blockchain for evidence storage.

8. A model infringement detection device, comprising: an infringement verification module, inputting samples in a specific sample set of the first model into a second model, and obtaining an output result of the second model, wherein the first model can generate a watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; The infringement determination module determines that the second model is an infringement model of the first model if the output result of the second model carries the watermark label.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the following operations when executed by the processor: Input samples in a specific sample set of the first model into a second model to obtain an output result of the second model, wherein the first model can generate a watermark label when the specific sample set is input, and will not generate the watermark label when samples outside the specific sample set are input; If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the following operations: The samples in the specific sample set of the first model are input into the second model to obtain the output result of the second model, wherein: The first model is capable of generating a watermark label when the specific sample set is input, and will not generate the watermark label when samples other than the specific sample set are input; If the output result of the second model carries the watermark label, it is determined that the second model is an infringing model of the first model.

Citation Information

Patent Citations

  • Copyright protection method based on block chain and picture steganography

    CN110866223A

  • Model watermark generation method, model infringement identification method, model watermark generation device, model infringement identification device and computer equipment

    CN114331791A

  • Data processing method and device

    CN115292677A

  • Copyright protection method and device for deep counterfeit fingerprint detection model, and medium

    CN115879072A

  • Secure event ticket booking using blockchain technology

    IN202041018768A

Cited By

  • Digital content detection method and device, storage medium and program product

    CN119783068A

  • Watermark injection detection method and device for cue word and terminal equipment

    CN119808035A