Generative artificial intelligence polymorphic sensitive puzzle detection method, device and equipment

By detecting generative artificial intelligence polymorphic sensitive puzzles through a feature extraction model based on latent distribution and information entropy, the problem of difficulty in capturing implicit sensitive distributions in the existing technology is solved, and efficient and accurate detection of polymorphic sensitive puzzles is achieved.

CN118587516BActive Publication Date: 2024-10-29NAT UNIV OF DEFENSE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411089891.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-29
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

Existing sensitive content detection technology is difficult to capture the implicit sensitivity distribution in polymorphic sensitive puzzles in generative artificial intelligence, and cannot effectively detect polymorphic sensitive puzzles in generative artificial intelligence.

Method used

A polymorphic sensitive image feature extraction model based on latent distribution and information entropy is used to construct a polymorphic sensitive image data set by training a generative artificial intelligence model, obtain the image to be detected and input it into the model for feature extraction, and determine the image based on the semantic feature value Puzzles for normal or sensitive.

Benefits of technology

Significantly improves the detection accuracy and efficiency of polymorphic sensitive puzzles, distinguishes sensitive and normal images from the perspective of information entropy, and ensures accurate classification of polymorphic sensitive puzzles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587516B_ABST
    Figure CN118587516B_ABST
Patent Text Reader

Abstract

The present invention relates to a generative artificial intelligence polymorphic sensitive puzzle detection method, device and equipment. After first acquiring the image to be detected, a trained polymorphic sensitive image feature extraction model based on potential distribution and information entropy is called to perform feature extraction, so as to uniformly map the feature information of the image into a feature space. The feature space can be regarded as a hypersphere, and the most stable common normal semantic features converge to the center of the sphere, and the sensitive semantic features are distinguished and away from the center of the sphere, thereby significantly improving the detection accuracy and efficiency of the polymorphic sensitive puzzle. Compared with traditional technologies, by minimizing the information entropy distribution of image features from the perspective of information entropy, polymorphic sensitive puzzles and normal puzzles can then be accurately distinguished according to the level of information entropy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of generative artificial intelligence information security technology, and relates to a generative artificial intelligence polymorphic sensitive puzzle detection method, device and equipment. Background Art

[0002] Jigsaw puzzles play a positive role in the development and education of users by combining pieces of different shapes to help them develop their spatial awareness, emotional control, and problem-solving abilities. However, the myriad ways these pieces can be combined provide room for potential information security attacks, an information security risk that should not be ignored. These combinations of pieces used to maliciously deliver insecure sensitive content, also known as polymorphic sensitive puzzles, can easily cause developmental barriers for users.

[0003] With the development and use of generative artificial intelligence technology, polymorphic sensitive puzzles can be generated more easily and effectively by simply inputting positive prompt words and sensitive prompt words. However, existing sensitive content detection technologies mainly rely on representative learning of "explicit" semantic features, which is not enough to capture the "implicit" sensitive distribution hidden in polymorphic sensitive puzzles. Therefore, detection and classification of generative artificial intelligence polymorphic sensitive puzzles is a technical problem to be solved. Summary of the invention

[0004] In response to the problems existing in the above-mentioned traditional methods, the present invention proposes a generative artificial intelligence polymorphic sensitive puzzle detection method, a generative artificial intelligence polymorphic sensitive puzzle detection device and a computer device, which can realize accurate detection and classification of generative artificial intelligence polymorphic sensitive puzzles.

[0005] In order to achieve the above objectives, the embodiments of the present invention adopt the following technical solutions:

[0006] On the one hand, a generative artificial intelligence polymorphic sensitive puzzle detection method is provided, comprising the steps of:

[0007] Acquire the image to be detected;

[0008] Calling a trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image dataset, and the polymorphic sensitive image dataset is pre-constructed by a generative artificial intelligence model;

[0009] The image to be detected is input into the polymorphic sensitive image feature extraction model to extract the representation features, and the semantic feature value of the image to be detected is obtained;

[0010] According to the relationship between the semantic feature threshold and the semantic feature value, it is determined whether the image to be detected is a normal image or a sensitive puzzle.

[0011] On the other hand, a generative artificial intelligence polymorphic sensitive puzzle detection device is also provided, comprising:

[0012] A data acquisition module, used for acquiring an image to be detected;

[0013] A model calling module is used to call a trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image dataset, which is pre-constructed by a generative artificial intelligence model;

[0014] A feature extraction module is used to input the image to be detected into the polymorphic sensitive image feature extraction model to extract the representation features and obtain the semantic feature value of the image to be detected;

[0015] The detection output module is used to determine whether the image to be detected is a normal image or a sensitive puzzle according to the size relationship between the semantic feature threshold and the semantic feature value.

[0016] On the other hand, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection method are implemented.

[0017] One of the above technical solutions has the following advantages and beneficial effects:

[0018] The above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection method, device and equipment first obtains the image to be detected, and then calls the trained polymorphic sensitive image feature extraction model based on potential distribution and information entropy to perform feature extraction, so as to uniformly map the feature information of the image into a feature space. The feature space can be regarded as a hypersphere, and the most stable common normal semantic features converge to the center of the sphere, and the sensitive semantic features are distinguished and move away from the center of the sphere, thereby significantly improving the detection accuracy and efficiency of the polymorphic sensitive puzzle. Compared with traditional technologies, the polymorphic sensitive image in the above scheme has a large error between its potential distribution and normal semantics due to the inclusion of sensitive semantics. From the perspective of information theory, the polymorphic sensitive image contains more sensitive semantic distributions than normal images, so its information entropy is higher. Therefore, by minimizing the information entropy distribution of image features from the perspective of information entropy, the polymorphic sensitive puzzle and normal image can then be accurately distinguished according to the level of information entropy. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 It is a schematic diagram of the process of a generative artificial intelligence polymorphic sensitive jigsaw detection method in one embodiment;

[0021] Figure 2 is a schematic diagram of a process of constructing a polymorphic sensitive image dataset in one embodiment;

[0022] Figure 3 A schematic diagram of a training process of a polymorphic sensitive image feature extraction model in one embodiment;

[0023] Figure 4 Schematic diagram of the module structure of a generative artificial intelligence polymorphic sensitive puzzle detection device in one embodiment. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0025] It should be noted that the reference to "embodiment" in this article means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The presentation of this phrase at various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It will be appreciated by those skilled in the art that the embodiments described herein may be combined with other embodiments. The term "and / or" used in the specification of the present invention and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0026] The following will describe the implementation of the present invention in detail with reference to the accompanying drawings in the embodiment diagram of the present invention.

[0027] The definition of a polymorphic sensitive puzzle is: given a puzzle , which contains a set of subsections or fragments . Define a function , to map some arrangement of these fragments into two states, the normal state and sensitive state Normal and sensitive are relative concepts. Normal refers to puzzles that users can access without restriction in daily life scenarios. Correspondingly, sensitive refers to puzzles that users should not access and need to be restricted in daily life scenarios.

[0028] For normal state ,have: ,in, is an arrangement such that In Status It has normal content and can pass a sensitive detector of normal images.

[0029] For sensitive conditions ,have: ,in, is an arrangement in which the puzzle pieces exist The state has sensitive content and can trigger sensitive detectors for ordinary (i.e., undetected) images.

[0030] In view of the adverse effects of polymorphic sensitive puzzles, they are defined as puzzles for young users in real-life scenarios. Puzzles for young users are educational toys that comprehensively promote the cognitive, motor, emotional, social and language development of young users, and can stimulate the creativity and imagination of young users. If the puzzle contains sensitive content, then since young users are in the cognitive development stage and have weak discrimination ability, they will easily be led into misunderstandings, which will lead to more serious adverse effects.

[0031] For the detection of the polymorphic sensitive puzzle, it is defined as an image that can pass the sensitive detector of the normal image, and the sensitive detector needs to be able to further determine whether the polymorphic sensitive puzzle has a sensitive state 𝑃𝑜𝑟 and minimize the misjudgment of normal images.

[0032] In one embodiment, Figure 1 As shown, a generative artificial intelligence polymorphic sensitive puzzle detection method is provided, which may include the following processing steps S10 to S16:

[0033] S10, obtaining an image to be detected; the image to be detected may be a puzzle directly collected from the current user's life scene and to be detected.

[0034] S12, calling a trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image dataset, and the polymorphic sensitive image dataset is pre-constructed by a generative artificial intelligence model;

[0035] S14, inputting the image to be detected into a polymorphic sensitive image feature extraction model to extract representation features, and obtaining a semantic feature value of the image to be detected;

[0036] S16, determining whether the image to be detected is a normal image or a sensitive puzzle according to the magnitude relationship between the semantic feature threshold and the semantic feature value.

[0037] It can be understood that the semantic feature threshold is a classification threshold whose feature value type is the same as the feature value type output by the polymorphic sensitive image feature extraction model. The semantic feature threshold is used to determine whether the image to be detected is a normal image or a sensitive puzzle. For example, when the semantic feature value is less than the semantic feature threshold, the image to be detected is determined to be a normal image; when the semantic feature value is greater than or equal to the semantic feature threshold, the image to be detected is determined to be a sensitive puzzle. The value of the semantic feature threshold can be selected based on the test results during model training, or it can be set based on the test results and actual manual annotation.

[0038] The above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection method first obtains the image to be detected, and then calls the trained polymorphic sensitive image feature extraction model based on potential distribution and information entropy to perform feature extraction, so as to uniformly map the feature information of the image into a feature space. The feature space can be regarded as a hypersphere. The most stable common normal semantic features converge to the center of the sphere, and the sensitive semantic features are distinguished and move away from the center of the sphere, thereby significantly improving the detection accuracy and efficiency of the polymorphic sensitive puzzle.

[0039] Compared with the traditional technology, the polymorphic sensitive images in the above scheme contain sensitive semantics, resulting in a large error between their potential distribution and normal semantics. From the perspective of information theory, polymorphic sensitive images contain more sensitive semantic distributions than normal images, so their information entropy is higher. Therefore, by minimizing the information entropy distribution of image features from the perspective of information entropy, polymorphic sensitive puzzles and normal images can be accurately distinguished based on the level of information entropy.

[0040] In one embodiment, Figure 2 As shown, the generative artificial intelligence model includes a text-image generation model and a text-to-image diffusion model, and the construction process of the polymorphic sensitive image dataset includes the following steps S01 to S04:

[0041] S01, obtain prompt words; prompt words include positive prompt words and sensitive prompt words;

[0042] S02, input the positive prompt words into the text-image generation model to generate normal category puzzles;

[0043] S03, inputting positive prompt words and sensitive prompt words into the diffusion model from text to image to generate a multi-state sensitive puzzle;

[0044] S04, performing data cleaning and filtering on the data set consisting of the normal category puzzle and the polymorphic sensitive puzzle to obtain a polymorphic sensitive image data set.

[0045] It can be understood that the text-image generation model can be any common generation model already available in the art. The diffusion model from text to image is a type of generation model that can convert text descriptions into corresponding images. The basic principle of the diffusion model is to gradually convert the initial Gaussian noise into a real image through an iterative denoising process, which usually includes a forward process and a reverse process. In the forward process, the model gradually adds Gaussian noise to the original image to make the image blurry; in the reverse process, the model tries to remove the noise and restore the original image. This iterative process enables the model to learn the statistical characteristics of the image, so that it can generate new images. The diffusion model from text to image further expands the traditional diffusion model so that it can accept text descriptions as input and generate corresponding images. This type of model usually includes a text encoder for understanding the text description and an image decoder for generating images that match the text description.

[0046] Specifically, we can construct positive prompt words based on normal scenes such as art and daily life, and we can construct sensitive prompt words based on visual sensitive words based on sensitive content. We can also directly collect existing prompt words to achieve prompt word acquisition and expansion, so that we can subsequently use generative artificial intelligence methods (i.e., text-image generation model and text-to-image diffusion model) to generate polymorphic sensitive puzzles and normal images corresponding to normal semantics (also called normal category puzzles). By combining generative artificial intelligence technology with a specific set of prompt words, we can efficiently and accurately construct a polymorphic sensitive image data set, providing strong data support for subsequent sensitive content detection.

[0047] Then, the positive prompt words are input into the text-image generation model to obtain the normal category puzzle. Then, the positive prompt words and sensitive prompt words are sent into the text-to-image diffusion model in pairs to generate the polymorphic sensitive puzzle. Finally, the low-quality images in the polymorphic sensitive puzzle can be cleaned and filtered by machine screening and / or manual methods to ensure that the data set contains high-quality normal category puzzles and polymorphic sensitive puzzles, forming the final polymorphic sensitive puzzle data set.

[0048] Among them, the specific generation process of the polymorphic sensitive puzzle can be as follows:

[0049] Intermediate state generation of normal state of polymorphic sensitive puzzle: Starting from Gaussian noise, intermediate state images are generated using positive cue words and a diffusion model from text to image. In this process, Gaussian noise and positive cue words are used to generate intermediate state images through a diffusion model, and the generated intermediate state images are divided into several puzzle sub-blocks, and the position of each sub-block remains unchanged.

[0050] Intermediate state generation of polymorphic sensitive puzzle sensitive states: Divide Gaussian noise into several puzzle pieces and reassemble them into a new noise image according to the predetermined position mapping. Use sensitive cue words and the text-to-image diffusion model to generate a new intermediate state image from the reassembled noise image, divide the generated intermediate state image into puzzle pieces again, and reassemble them using the reverse mapping to obtain a polymorphic sensitive image of the intermediate state.

[0051] Weighted fusion: The intermediate state image of the normal state of the polymorphic sensitive puzzle and the intermediate state image of the sensitive state of the polymorphic sensitive puzzle are weightedly fused, and the final polymorphic sensitive puzzle is output through a diffusion process. This process ensures that in the final image, the normal state and the sensitive state are combined into different puzzle pieces.

[0052] Among them, the commonality between normal images and polymorphic sensitive puzzles is that they both have significant normal semantic latent distributions. However, the difference is that polymorphic sensitive puzzles also have sensitive semantic latent distributions. Therefore, the error between the latent distribution of normal images and the normal semantic latent distribution is small, while the error between the latent distribution of polymorphic sensitive puzzles and the normal semantics is large due to the inclusion of sensitive semantics. From the perspective of information theory, polymorphic sensitive puzzles contain more sensitive semantic distributions than normal images, so their information entropy is higher, which can be used to accurately distinguish sensitive semantic features from the feature space, so as to significantly improve the detection accuracy and efficiency of polymorphic sensitive puzzles.

[0053] In one embodiment, Figure 3 As shown, the training process of the polymorphic sensitive image feature extraction model may include the following steps S05 to S08:

[0054] S05, preprocessing the polymorphic sensitive image dataset and dividing it into a training set and a test set;

[0055] S06, resampling the data of each training batch in the training set;

[0056] S07, inputting the data of each training batch into the fully convolutional network and performing iterative training using an objective function based on potential distribution and information entropy to obtain a converged polymorphic sensitive image feature extraction model;

[0057] S08, using the test set to test the converged polymorphic sensitive image feature extraction model, and obtaining a trained polymorphic sensitive image feature extraction model after the test.

[0058] It can be understood that the process of preprocessing the polymorphic sensitive image dataset can include data augmentation operations, such as cropping, color jittering, random horizontal flipping, random cropping and normalization of the training set, and cropping and augmentation of the test set data. Then, the data of each training batch is resampled to ensure that the number of polymorphic sensitive puzzles and normal category puzzles in each training batch is the same, thereby weakening the category bias of the model.

[0059] Then, the data of each training batch is input into a fully convolutional network. In this embodiment, the first 7 convolutional layers and pooling layers of the VGG11 model pre-trained on the ImageNet dataset are used, and the parameters of these layers are frozen. Then add a fully connected layer for training. During the training process, an objective function based on potential distribution and information entropy is used for iteration to obtain a convergent and usable feature extraction model. Finally, the data of the test set is input into the converged feature extraction model for feature extraction, and then the output eigenvalue size is used to distinguish whether it is a polymorphic sensitive puzzle to test whether the model meets the required detection and classification effect. If the test is passed, a trained polymorphic sensitive image feature extraction model is obtained.

[0060] By analyzing from the perspective of potential distribution and information entropy and combining it with a fully convolutional network model, we can achieve efficient and accurate detection of polymorphic sensitive puzzles, providing an effective technical means for the security and purification of users' network environment.

[0061] It should be understood that although Figures 1 to 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of the steps, and the steps can be executed in other orders. Figures 1 to 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0062] In one embodiment, Figure 4As shown, a generative artificial intelligence polymorphic sensitive puzzle detection device 100 is provided, comprising a data acquisition module 11, a model calling module 13, a feature extraction module 15 and a detection output module 17. Among them, the data acquisition module 11 is used to obtain the image to be detected. The model calling module 13 is used to call the trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, which is obtained by training a polymorphic sensitive image data set, and the polymorphic sensitive image data set is pre-constructed by a generative artificial intelligence model. The feature extraction module 15 is used to input the image to be detected into the polymorphic sensitive image feature extraction model to extract the representation features and obtain the semantic feature value of the image to be detected. The detection output module 17 is used to determine whether the image to be detected is a normal image or a sensitive puzzle according to the size relationship between the semantic feature threshold and the semantic feature value.

[0063] The above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection device 100 first obtains the image to be detected, and then calls the trained polymorphic sensitive image feature extraction model based on potential distribution and information entropy to perform feature extraction, so as to uniformly map the feature information of the image into a feature space. The feature space can be regarded as a hypersphere. The most stable common normal semantic features converge to the center of the sphere, and the sensitive semantic features are distinguished and move away from the center of the sphere, thereby significantly improving the detection accuracy and efficiency of the polymorphic sensitive puzzle.

[0064] Compared with the traditional technology, the polymorphic sensitive images in the above scheme contain sensitive semantics, resulting in a large error between their potential distribution and normal semantics. From the perspective of information theory, polymorphic sensitive images contain more sensitive semantic distributions than normal images, so their information entropy is higher. Therefore, by minimizing the information entropy of image features from the perspective of information entropy, polymorphic sensitive puzzles and normal images can be accurately distinguished based on the level of information entropy.

[0065] In one embodiment, the above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection device 100 may also include a data set construction module, which is used to obtain prompt words, input positive prompt words into a text-image generation model to generate a normal category puzzle, input positive prompt words and sensitive prompt words into a text-to-image diffusion model to generate a polymorphic sensitive puzzle, and perform data cleaning and filtering on the data set composed of the normal category puzzle and the polymorphic sensitive puzzle to obtain a polymorphic sensitive image data set; the prompt words include positive prompt words and sensitive prompt words, and the generative artificial intelligence model includes a text-image generation model and a text-to-image diffusion model.

[0066] In one embodiment, the above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection device 100 may also include a model training module, which is used to pre-process the polymorphic sensitive image data set and divide it into a training set and a test set, resample the data of each training batch in the training set, input the data of each training batch into a fully convolutional network and use an objective function based on potential distribution and information entropy to perform iterative training to obtain a converged polymorphic sensitive image feature extraction model; use the test set to test the converged polymorphic sensitive image feature extraction model, and obtain a trained polymorphic sensitive image feature extraction model after the test.

[0067] For the specific definition of the generative artificial intelligence polymorphic sensitive puzzle detection device 100, please refer to the definition of the generative artificial intelligence polymorphic sensitive puzzle detection method above, which will not be repeated here. Each module in the above-mentioned generative artificial intelligence polymorphic sensitive puzzle detection device 100 can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0068] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the following processing steps when executing the computer program: obtaining an image to be detected; calling a trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image data set, and the polymorphic sensitive image data set is pre-constructed by a generative artificial intelligence model; the image to be detected is input into the polymorphic sensitive image feature extraction model to extract representation features, and obtain a semantic feature value of the image to be detected; and determining whether the image to be detected is a normal image or a sensitive puzzle according to the size relationship between a semantic feature threshold and a semantic feature value.

[0069] In one embodiment, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, the following processing steps are implemented: obtaining an image to be detected; calling a trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image data set, and the polymorphic sensitive image data set is pre-constructed by a generative artificial intelligence model; the image to be detected is input into the polymorphic sensitive image feature extraction model to extract representation features, and obtain a semantic feature value of the image to be detected; and determining whether the image to be detected is a normal image or a sensitive puzzle based on the relationship between the semantic feature threshold and the semantic feature value.

[0070] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus dynamic random access memory (RambusDRAM, referred to as RDRAM) and interface dynamic random access memory (DRDRAM).

[0071] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0072] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of protection of the invention. It should be pointed out that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the attached claims.

Claims

1. A generative artificial intelligence polymorphic sensitive puzzle detection method, characterized in that: Includes steps: Acquire the image to be detected; Calling a trained polymorphic sensitive image feature extraction model; the polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image dataset, and the polymorphic sensitive image dataset is pre-constructed by a generative artificial intelligence model; Inputting the image to be detected into the multi-state sensitive image feature extraction model to extract representation features, and obtaining semantic feature values ​​of the image to be detected; Determine whether the image to be detected is a normal image or a sensitive puzzle according to the magnitude relationship between the semantic feature threshold and the semantic feature value; The training process of the polymorphic sensitive image feature extraction model includes: Preprocessing the polymorphic sensitive image data set and dividing it into a training set and a test set; Resampling the data of each training batch in the training set; The data of each training batch is input into the fully convolutional network and iteratively trained using the objective function based on potential distribution and information entropy to obtain a converged multi-state sensitive image feature extraction model; The converged polymorphic sensitive image feature extraction model is tested using the test set, and the trained polymorphic sensitive image feature extraction model is obtained after the test.

2. The generative artificial intelligence polymorphic sensitive puzzle detection method according to claim 1, characterized in that: The generative artificial intelligence model includes a text-to-image generation model and a text-to-image diffusion model. The construction process of the polymorphic sensitive image dataset includes: Acquire prompt words; the prompt words include positive prompt words and sensitive prompt words; Inputting the positive prompt words into the text into the image generation model to generate a normal category puzzle; Inputting the positive prompt word and the sensitive prompt word into the text-to-image diffusion model to generate a polymorphic sensitive puzzle; The data set consisting of the normal category puzzle and the polymorphic sensitive puzzle is cleaned and filtered to obtain the polymorphic sensitive image data set.

3. A generative artificial intelligence polymorphic sensitive puzzle detection device, characterized in that: include: A data acquisition module, used for acquiring an image to be detected; Model calling module, used to call the trained polymorphic sensitive image feature extraction model; The polymorphic sensitive image feature extraction model is a feature extraction model based on potential distribution and information entropy, and is obtained by training a polymorphic sensitive image dataset, wherein the polymorphic sensitive image dataset is pre-constructed by a generative artificial intelligence model; A feature extraction module, used for inputting the image to be detected into the polymorphic sensitive image feature extraction model to extract representation features and obtain semantic feature values ​​of the image to be detected; A detection output module, used for determining whether the image to be detected is a normal image or a sensitive puzzle according to the magnitude relationship between the semantic feature threshold and the semantic feature value; A model training module is used to pre-process the polymorphic sensitive image data set and divide it into a training set and a test set, resample the data of each training batch in the training set, input the data of each training batch into a fully convolutional network and perform iterative training using an objective function based on potential distribution and information entropy to obtain a converged polymorphic sensitive image feature extraction model; use the test set to test the converged polymorphic sensitive image feature extraction model, and obtain the trained polymorphic sensitive image feature extraction model after the test.

4. The generative artificial intelligence polymorphic sensitive puzzle detection device according to claim 3, characterized in that: It also includes a data set construction module, which is used to obtain prompt words, input positive prompt words into a text-to-image generation model to generate a normal category puzzle, input the positive prompt words and sensitive prompt words into a text-to-image diffusion model to generate a polymorphic sensitive puzzle, and perform data cleaning and filtering on the data set composed of the normal category puzzle and the polymorphic sensitive puzzle to obtain the polymorphic sensitive image data set; the prompt words include the positive prompt words and the sensitive prompt words, and the generative artificial intelligence model includes a text-to-image generation model and a text-to-image diffusion model.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the generative artificial intelligence polymorphic sensitive puzzle detection method according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • Abnormal image detection method combining attention mechanism and information entropy minimization

    CN111079805A

  • Learning contrastive representation for semantic correspondence

    US20230074706A1