Multimedia information review method, advertisement review method, device and storage medium
Through the multimedia information review method based on the multimodal model, single-modal and multi-modal features are extracted and fused, which solves the problems of low manual review efficiency and inability to identify multi-modal violations in the existing technology, and achieves a more comprehensive and comprehensive Accurate multimedia information auditing.
Patent Information
- Application Number
- CN202211652489.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-12-21
AI Technical Summary
Existing multimedia information review methods rely on manual review, which is inefficient and cannot effectively identify multi-modal joint violations, and cannot comprehensively review illegal elements in multimedia information.
Using a multi-modal model-based review method, single-modal and multi-modal feature vectors are extracted through pre-trained multi-modal feature extraction models and target review models, and feature fusion is performed by combining self-attention and cross-attention mechanisms. Identifying non-compliant elements in multimedia messages.
It improves the comprehensiveness and accuracy of multimedia information review, can identify non-compliant elements in single-modal and multi-modal states, and prevents non-compliant content from spreading on the Internet.
Smart Images

Figure CN115834935B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a multimedia information review method, an advertisement review method, a device and a storage medium. Background Art
[0002] With the rapid development of computer technology and Internet technology, various multimedia information on the Internet, such as graphic information, video, voice, etc., are emerging in an endless stream.
[0003] In order to regulate multimedia information published on the Internet, such as advertisements placed on various platforms and short videos released, it is necessary to review multimedia information before publishing. Most of the existing review methods rely on manual review, which is time-consuming and labor-intensive, and has poor review efficiency.
[0004] In order to improve the efficiency of auditing, a model-based multimedia auditing method has been proposed in related technologies. However, the provided model can usually only audit multimedia information of one modality, such as images, text or videos, and thus cannot effectively identify multi-modal joint violations, and the audit is not comprehensive enough.
[0005] Therefore, there is an urgent need for a comprehensive multimedia information audit method to effectively identify illegal elements in multimedia, especially multimodal illegal elements. Summary of the invention
[0006] The present application provides a multimedia information review method, an advertisement review method, a device and a storage medium, which are based on a multimodal model to effectively detect multimedia illegal elements in multimedia information and improve the comprehensiveness of multimedia review.
[0007] In a first aspect, the present application provides a multimedia information review method, comprising:
[0008] Get multimedia information;
[0009] Based on the pre-trained multimodal model, review the elements in the multimedia information to obtain the review result of the multimedia information;
[0010] Among them, when the type of the multimedia information is a multimodal type and the audit result indicates that the audit failed, the audit result includes a multimodal audit result, and the multimodal type is used to indicate that the multimedia information includes at least two multimedia types. The multimodal audit result is used to indicate non-compliant multimodal elements in the multimedia information, and the multimodal element is an element including at least two multimedia types.
[0011] When the type of the multimedia information is a unimodal type and the audit result indicates that the audit has not passed, the audit result includes a unimodal audit result to indicate non-compliant unimodal elements in the multimedia information.
[0012] Optionally, the multimodal model includes a multimodal feature extraction model and a target audit model; based on the pre-trained multimodal model, the elements in the multimedia information are audited to obtain the audit result of the multimedia information, including:
[0013] According to the type of the multimedia information, converting the multimedia information into a multimedia input vector;
[0014] Inputting the multimedia input vector into a pre-trained multimodal feature extraction model;
[0015] Based on a pre-trained multimodal feature extraction model, extracting a unimodal feature vector and a multimodal feature vector of the multimedia input vector, wherein the unimodal feature vector is a feature vector corresponding to information of a single media type in the multimedia information, and the multimodal feature vector is a feature vector corresponding to information of multiple media types in the multimedia information;
[0016] The audit rule library, the unimodal feature vector and the multimodal feature vector are input into a pre-trained target audit model to obtain the audit result of the multimedia information.
[0017] Optionally, the multimodal feature extraction model includes an encoder, a unimodal feature extraction layer and a multimodal fusion layer;
[0018] Extracting a unimodal feature vector and a multimodal feature vector of the multimedia input vector based on a pre-trained multimodal feature extraction model includes:
[0019] Encoding, by means of the encoder, input vectors corresponding to each multimedia type in the multimedia input vectors to obtain unimodal encoding vectors;
[0020] Based on the unimodal feature extraction layer, each unimodal encoding vector is feature processed based on the self-attention mechanism to obtain each unimodal feature vector;
[0021] Through the multimodal fusion layer, the self-attention mechanism and the cross-attention mechanism are used to perform feature fusion on each unimodal feature vector to obtain the multimodal feature vector.
[0022] Optionally, the method further includes:
[0023] If a manual non-compliant annotation corresponding to the multimedia information is detected, extracting a target portion of the multimedia information based on the manual non-compliant annotation;
[0024] Inputting the target portion into a pre-trained multimodal model to obtain non-compliant elements in the target portion;
[0025] The audit result of the multimedia information is updated according to the non-compliant elements in the target part.
[0026] Optionally, the method further includes:
[0027] The audit rule base or the audit feature vector is updated according to the non-compliant elements in the target part.
[0028] Optionally, the method further includes:
[0029] Obtain the review rules described in natural language;
[0030] Inputting the audit rules into the intention understanding model to obtain an audit feature vector;
[0031] Based on the pre-trained multimodal model, review the elements in the multimedia information to obtain the review result of the multimedia information, including:
[0032] The audit feature vector and the vector corresponding to the multimedia information are input into a pre-trained multimodal model to obtain the audit result of the multimedia information.
[0033] Optionally, the method further includes:
[0034] When the audit result indicates that the audit fails, the non-compliant elements in the multimedia information are modified to obtain the modified multimedia information, and the modified multimedia information is published.
[0035] Optionally, modifying the non-compliant elements in the multimedia information to obtain modified multimedia information includes:
[0036] Based on a generative adversarial network model or a diffusion generation model, a modification element corresponding to the non-compliant element in the multimedia information is generated, and the corresponding non-compliant element is replaced based on the modification element to obtain the modified multimedia information.
[0037] In a second aspect, the present application provides an advertisement review method, comprising:
[0038] Obtain the review rules described in natural language;
[0039] Inputting the audit rules into the intention understanding model to obtain an audit feature vector;
[0040] Get multimedia ads to be reviewed;
[0041] Based on the pre-trained multimodal model and the audit feature vector, auditing the elements in the multimedia advertisement to obtain the audit result of the multimedia advertisement;
[0042] Among them, when the type of the multimedia advertisement is a multimodal type and the audit result indicates that the audit has not passed, the multimodal type is used to indicate that the multimedia advertisement includes at least two multimedia types, and the multimodal audit result is used to indicate non-compliant multimodal elements in the multimedia advertisement, and the multimodal elements are elements including at least two multimedia types.
[0043] In a third aspect, the present application provides a multimedia information review device, comprising:
[0044] A multimedia acquisition module, used for acquiring multimedia information;
[0045] An audit module, configured to audit the elements in the multimedia information based on a pre-trained multimodal model to obtain an audit result of the multimedia information;
[0046] Among them, when the type of the multimedia information is a multimodal type and the audit result indicates that the audit failed, the audit result includes a multimodal audit result, and the multimodal type is used to indicate that the multimedia information includes at least two multimedia types. The multimodal audit result is used to indicate non-compliant multimodal elements in the multimedia information, and the multimodal element is an element including at least two multimedia types.
[0047] In a fourth aspect, the present application provides an audit device, including:
[0048] A processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the audit method provided by the first aspect or the second method of the present application.
[0049] In a fifth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the audit method provided in the first aspect or the second aspect of the present application.
[0050] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the audit method provided in the first aspect or the second aspect of the present application.
[0051] The multimedia information review method, advertising review method, device and storage medium provided in the present application are aimed at multimedia review, such as video, voice, graphics and text, in order to effectively identify non-compliant multimodal elements, such as elements that are compliant in a single mode but non-compliant in multimodal. Through a pre-trained multimodal model, the elements in the multimedia information are reviewed in both single and multimodal states to obtain review results, so as to identify non-compliant single and multimodal elements in the multimedia information, thereby improving the comprehensiveness and accuracy of multimedia information review and effectively preventing the spread of non-compliant elements on the Internet. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0053] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0054] Figure 2 A flowchart of a multimedia information review method provided in an embodiment of the present application;
[0055] Figure 3 A flowchart of another multimedia information review method provided in an embodiment of the present application;
[0056] Figure 4 A schematic diagram of the structure of a multimodal model provided in an embodiment of the present application;
[0057] Figure 5 For this application Figure 3 A schematic diagram of the audit rule base update process in the illustrated embodiment;
[0058] Figure 6 A flowchart of another multimedia information review method provided in an embodiment of the present application;
[0059] Figure 7 A flowchart of an advertisement review method provided in an embodiment of the present application;
[0060] Figure 8 A schematic diagram of the structure of a multimedia information review device provided in an embodiment of the present application;
[0061] Fig. 9 A schematic diagram of the structure of an audit device provided in an embodiment of the present application.
[0062] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0063] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0064] First, the names involved in this application are explained:
[0065] Multimodality: Different forms of existence or sources of information can be called a modality. Data composed of two or more modalities is called multimodal data. For multimedia information, its multimodality can be a combination of at least two of text, pictures, audio and video.
[0066] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application, such as Figure 1 As shown, the uploader uploads multimedia information, such as videos, pictures, audio data, text, etc. Before the platform releases it, the platform needs to review the multimedia information, and the multimedia information can only be released after the review is passed.
[0067] After the uploader sends the multimedia information to be uploaded to the platform server, the platform server can review the multimedia information, or other devices can review the multimedia information, such as a dedicated review device of the platform device, or a review device provided by a third party, and feedback the review results to the platform server to publish the multimedia information that has passed the review.
[0068] Exemplarily, the multimedia information may be multimedia advertisements, short videos, conference audio, etc.
[0069] The most common mode of review is manual review, where the platform's reviewers browse multimedia information to determine whether there are any illegal words, such as "world's number one", dirty words, etc.
[0070] Due to the huge amount of multimedia information released on the platform every day, manual review is time-consuming and inefficient, and cannot meet the needs. In order to improve the review efficiency, machine review is proposed in related technologies. When the machine reviews, it is necessary to give various types of illegal words in advance, so that when the machine reviews, it can find out whether there are illegal words in the multimedia information to be reviewed.
[0071] Existing machine review models are usually unimodal models, which can only identify illegal elements in a single mode in multimedia information, that is, unimodal illegal elements, such as illegal words in text, illegal images in the picture, etc. When there are elements that are not illegal in a single mode but illegal in multimodality, the unimodal model cannot identify them, resulting in incomplete review and low accuracy.
[0072] In order to improve the comprehensiveness and accuracy of the review and effectively identify multimodal violations, the present application provides a multimedia information review method, which is based on a designed and pre-trained multimodal model to review the elements in the multimedia information in both single-modal and multi-modal states, thereby identifying non-compliant single-modal and multi-modal elements in the multimedia information, so as to prevent the release of non-compliant single-modal but multi-modal elements in the multimedia information, thereby improving the cleanliness of the Internet environment.
[0073] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0074] Figure 2 A flow chart of a multimedia information review method provided in an embodiment of the present application. The multimedia information review method can be executed by an audit device with corresponding data processing capabilities, such as a multimedia information review device, an audit device, etc., which can be in the form of a server, a computer or other device. The server can be a cloud server or a physical server.
[0075] like Figure 2 As shown, the multimedia information review method includes the following steps:
[0076] Step S201, obtaining multimedia information.
[0077] The multimedia information may be a combination of one or more of video, text, audio, picture, etc., such as multimedia advertisement, short video, blog or other multimedia information.
[0078] One or more multimedia information to be reviewed can be obtained from a server of the multimedia publishing platform, or the multimedia information to be reviewed can be obtained from an uploader terminal.
[0079] The type of multimedia information can be a multimodal type, that is, multimodal multimedia information. The multimodal type means that the multimedia information includes at least two multimedia types, and the multimedia type includes at least one type of image, text, video and voice, such as it can include images and text, or video and voice, and can also include images, text and voice, or other combinations.
[0080] After acquiring the multimedia information, the type of the multimedia information may also be identified based on the suffix, format, etc. of the multimedia information. The type of the multimedia information may be classified based on the multimedia type included in the multimedia information.
[0081] After determining the type of multimedia information, the multimedia information may be preprocessed based on the type of multimedia information to obtain a feature vector that is input into a subsequent multimodal model.
[0082] For example, for the text in the multimedia information, optical character recognition and word segmentation can be performed on the text to obtain the word vector corresponding to the multimedia information. For the voice in the multimedia information, the voice can be recognized and converted into text, and then the converted text can be segmented to obtain the word vector corresponding to the multimedia information. For the image in the multimedia information, the image can be cut or segmented to obtain the input matrix corresponding to the multimedia information. For the video in the multimedia information, the image processing method can be referred to, and each video frame can be regarded as an image. After the video frame is cut or segmented, the feature matrix corresponding to each video frame can be obtained.
[0083] Step S202: review the elements in the multimedia information based on the pre-trained multimodal model to obtain the review result of the multimedia information.
[0084] The multimodal model is used to identify non-compliant unimodal and multimodal elements in multimedia information. The audit results may include audit conclusions, such as audit passed or audit failed. When the audit conclusion is audit failed, it may also include non-compliant elements. Such as non-compliant keywords in text, non-compliant voice segments and positions in speech, non-compliant sub-images in images and their coordinates, non-compliant video frames in videos and their corresponding time, and non-compliant sub-images in non-compliant video frames and their coordinates.
[0085] The types of multimedia information may include unimodal types and multimodal types. The unimodal type of multimedia information includes only one multimedia type, such as text, image, voice or video, while the multimodal type of multimedia information includes at least two multimedia types.
[0086] When the type of the multimedia information is a multimodal type and the audit result indicates that the audit has not passed, the audit result includes a multimodal audit result, wherein the multimodal type is used to indicate that the multimedia information includes at least two multimedia types, and the multimodal audit result is used to indicate a non-compliant multimodal element in the multimedia information, wherein the multimodal element is an element including at least two multimedia types. The audit structure also includes a unimodal audit result, which is used to indicate a non-compliant unimodal element in the multimedia information.
[0087] When the type of multimedia information is a single-modal type, such as plain text, plain voice, image or video, the audit results only include single-modal audit results.
[0088] The input vector corresponding to the multimedia information can be input into the multimodal model, and the unimodal elements and multimodal elements in the multimedia information can be reviewed based on the multimodal model to determine the non-compliant elements and output the review results.
[0089] The multimodal model can first encode each unimodal input vector in the multimedia information, and obtain the fusion features under multimodality by performing feature expression and cross-processing on the encoded unimodal input vectors. Based on the fusion features under multimodality, non-compliant multimodal elements in the multimedia information can be identified.
[0090] In some embodiments, when the audit result indicates that the audit is passed, it may also include: publishing the multimedia information on a related platform.
[0091] After obtaining the review results of the multimedia information, the review results can also be sent to the server of the multimedia publishing platform, so that when the review results indicate that the review is passed, the server can perform relevant operations for publishing the multimedia information, or when the review results indicate that the review is not passed, the server can generate a prompt message and send it to the uploader terminal.
[0092] The multimedia information review method provided by the present application is aimed at the review of multimedia, such as the review of video, voice, graphics, etc. In order to effectively identify non-compliant multimodal elements, such as elements that are compliant in a single mode but non-compliant in multimodality, a pre-trained multimodal model is used to review the elements in the multimedia information in both single and multimodal states to obtain review results, so as to identify non-compliant single and multimodal elements in the multimedia information, thereby improving the comprehensiveness and accuracy of the multimedia information review and effectively preventing the spread of non-compliant elements on the Internet.
[0093] Figure 3 A flowchart of another multimedia information review method provided in an embodiment of the present application. Figure 2Based on the embodiment shown, step S202 is further refined, and a step of updating the audit rule base based on the unidentified non-compliant elements is added after step S202. In this embodiment, the multimodal model includes a multimodal feature extraction model and a target audit model, such as Figure 3 As shown, the multimedia information review method provided in this embodiment may include the following steps:
[0094] Step S301, obtaining multimedia information.
[0095] Step S302: convert the multimedia information into a multimedia input vector according to the type of the multimedia information.
[0096] The type of multimedia information is used to indicate the type of multimedia contained in the multimedia information, such as text, image, voice and video.
[0097] The correspondence between various types of multimedia information and preprocessing algorithms can be established in advance, and then based on the correspondence and the type of multimedia information, the preprocessing algorithm of the multimedia information can be determined, and the multimedia information is preprocessed based on the determined preprocessing algorithm to obtain the corresponding multimedia input vector.
[0098] The preprocessing algorithm may include at least one of a word segmentation algorithm, an image segmentation algorithm, a speech recognition algorithm, a video frame extraction algorithm, etc. It may also include a noise reduction algorithm, a data conversion algorithm, a normalization algorithm, and other algorithms.
[0099] Step S303: input the multimedia input vector into a pre-trained multimodal feature extraction model.
[0100] Step S304: extracting a unimodal feature vector and a multimodal feature vector of the multimedia input vector based on a pre-trained multimodal feature extraction model.
[0101] Among them, the unimodal feature vector is a feature vector corresponding to information of a single media type in the multimedia information, and the multimodal feature vector is a feature vector corresponding to information of multiple media types in the multimedia information.
[0102] The multimodal feature extraction model is used to extract features corresponding to unimodal elements and multimodal elements in multimedia information or multimedia input vectors to obtain unimodal feature vectors and multimodal feature vectors. The unimodal feature vector includes the feature values of each unimodal element in the multimedia information, and the multimodal feature vector includes the feature values of each multimodal element in the multimedia information.
[0103] Multimodal feature vectors can be obtained by processing and crossing features of elements of different modalities through a cross-modal attention mechanism.
[0104] When the type of multimedia information is multimodal, the multimedia input vector includes input vectors of each mode or each multimedia type corresponding to the multimedia information. The multimodal feature vector can first encode and merge the input vectors of each mode to obtain fused features, and then process the fused features based on the self-attention mechanism to obtain a multimodal feature vector. For unimodal feature vectors, after encoding the input vectors of each mode, the encoded input vectors of each mode can be processed through the self-attention mechanism to obtain each unimodal feature vector.
[0105] In some embodiments, based on a cross-attention mechanism, feature processing and cross-processing may be performed on each unimodal feature vector to obtain a multimodal feature vector.
[0106] For multimodal multimedia information, the multimodal feature extraction model can align the features of various modal elements and integrate the features between various modalities, thereby improving the completeness and dimensionality of the feature expression of multimedia information and providing a reliable data basis for subsequent review.
[0107] Optional, Figure 4 A schematic diagram of the structure of a multimodal model provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the multimodal model includes a multimodal feature extraction model and a target audit model, wherein the multimodal feature extraction model includes an encoder, a unimodal feature extraction layer and a multimodal fusion layer. The encoder is used to encode the multimedia input vector, specifically, it can encode the input vector corresponding to each multimedia type to obtain each unimodal encoding vector, and one unimodality corresponds to one multimedia type. The input of the unimodal feature extraction layer is each unimodal encoding vector, and the output is each corresponding unimodal feature vector. The input of the multimodal fusion layer is each unimodal feature vector or each unimodal encoding vector, Figure 4 In the example, the input is a unimodal encoding vector, and the output is one or more multimodal feature vectors. The extracted unimodal feature vector and multimodal feature vector are input into the target audit model to obtain the audit result.
[0108] In some embodiments, the input of the target audit model also includes an audit feature vector to identify non-compliant elements (audit results) in the unimodal feature vector and the multimodal feature vector based on the audit feature vector. The audit feature vector can be manually input or obtained based on the intent understanding model.
[0109] Optionally, based on a pre-trained multimodal feature extraction model, unimodal feature vectors and multimodal feature vectors of the multimedia input vector are extracted, including: encoding the input vectors corresponding to each multimedia type in the multimedia input vector via the encoder to obtain each unimodal encoding vector; based on the unimodal feature extraction layer, performing feature processing on the unimodal encoding vector based on a self-attention mechanism to obtain each unimodal feature vector; via the multimodal fusion layer, using a self-attention mechanism and a cross-attention mechanism, performing feature fusion on each unimodal feature vector to obtain the multimodal feature vector.
[0110] Continue to see Figure 4 , the encoder includes encoders corresponding to each modality, namely, speech encoder, text encoder, video encoder and image encoder. The input of the encoder corresponding to each modality is each modality input vector (including speech modality input vector, text modality input vector, video modality input vector and image modality input vector), so as to encode the input vector of the corresponding modality and obtain each single modality encoding vector, such as speech encoding vector, text encoding vector, video encoding vector and image encoding vector. The multimodal feature extraction layer may include multiple multimodal fusion layers, Figure 4 Take 3 layers as an example. After each coding vector or each unimodal feature vector passes through the multimodal fusion layer, it is first fused. Two or more unimodal coding vectors or unimodal feature vectors can be fused, and then based on the self-attention mechanism and the cross-attention mechanism, the fused unimodal coding vector or unimodal feature vector is processed to obtain one or more multimodal feature vectors. The number of multimodal feature vectors can be determined based on the number of modes included in the multimedia information. When the multimedia information includes 2 modes, the number of multimodal feature vectors is 1, and when the multimedia information includes 3 modes, the number of multimodal feature vectors is 3.
[0111] The multimodal fusion layer can also include a feedforward layer, a normalization layer, etc.
[0112] In some embodiments, the multimodal fusion layer can be implemented based on the Transformer model.
[0113] Through the attention mechanism, the extraction of unimodal features and multimodal features is realized, the alignment of features of different modalities is achieved, the features between multiple modalities are fully integrated, the perceptual field of feature expression is improved, and then the completeness and dimension of feature expression are improved, providing a reliable data foundation for subsequent target detection.
[0114] Step S305: input the audit rule library, the unimodal feature vector and the multimodal feature vector into a pre-trained target audit model to obtain the audit result of the multimedia information.
[0115] The target audit model can adopt any target detection model.
[0116] Exemplarily, the target audit model may be a target detection model based on a Transformer model, such as a DETR model.
[0117] The audit rule base may be pre-set and used to describe the conditions that the non-compliant elements meet or that the non-compliant elements satisfy. In some embodiments, the audit rule base may include each violation word.
[0118] In some embodiments, in order to improve the efficiency of setting up the audit rule library, the auditor can provide the audit rules described in natural language, and the intention understanding model will understand the intention of the audit rules described in natural language to obtain the audit feature vector, that is, the above-mentioned audit rule library.
[0119] The intent understanding model can be any natural language processing (NLP) model, such as the BERT model.
[0120] The target audit model is used to audit single-modal feature vectors and multi-modal feature vectors under the supervision of the audit rule base, so as to identify the illegal elements under single mode and different modal combinations, and output the identification results.
[0121] The target audit model can locate non-compliant elements, including non-compliant unimodal elements and non-compliant multimodal elements, and save each non-compliant element and its location.
[0122] For example, taking pictures and text as an example, there is a "yeah" gesture in the image, and there is a word "B" behind the "yeah" gesture. In a single mode, the "yeah" gesture and B are not in violation of the rules, but in a multi-modal mode, they are in violation of the rules. The above model can effectively identify this situation and prevent multimedia information with illegal ideas from being posted on the Internet.
[0123] Step S306: If a manual non-compliant annotation corresponding to the multimedia information is detected, extract the target part in the multimedia information based on the manual non-compliant annotation.
[0124] After the detection based on the multimodal model is completed, the multimedia information and its review results are sent to the review device corresponding to the reviewer. If there are other illegal elements or non-compliant elements in the multimedia information that are not identified by the multimodal model, the reviewer will add manual non-compliant annotations to the multimedia information.
[0125] Manual non-compliant annotation can be used to annotate non-compliant elements in multimedia information that are not recognized by the multimodal model as new non-compliant elements, or to annotate the approximate location of new non-compliant elements, such as the frame in which they are located, the area in the image in which they are located, the corresponding time segment, etc.
[0126] Manual non-compliance annotation can also be used to indicate the audit rules corresponding to non-compliant elements that are not identified by the multimodal model, which are recorded as new audit rules. The audit rule library can then be updated based on the new audit rules, so that the multimodal model can re-examine the multimedia information based on the new audit rule library to effectively identify the illegal elements that were not identified last time.
[0127] When the audit result is passed, if the auditor finds illegal elements in the multimedia information during the audit, he or she can mark the approximate location of the element, thereby adding manual non-compliant annotations to the multimedia information.
[0128] When the audit result is failure, the non-compliant elements in the multimedia information can be marked based on the audit result, and non-compliant description information can also be generated, such as the presence of sensitive word A in the text, the presence of illegal mark B in the image, etc. The auditor can review the multimedia information based on the non-compliant description information and / or the annotation of the multimedia information by the multimodal model. If new illegal elements are still found in the multimedia information, manual non-compliant annotations are added to the multimedia information, and the manual non-compliant annotations are returned to the audit device.
[0129] Specifically, the part corresponding to the range of manual non-compliant annotations in the multimedia information, that is, the target part, can be extracted, such as one or more video frames, an audio clip or a text clip corresponding to the manual non-compliant annotations, so as to review the target part based on the multimodal model.
[0130] Step S307: input the target part into a pre-trained multimodal model to obtain non-compliant elements in the target part.
[0131] The multimodal model takes the target part of the multimedia information as input, and re-examines the target part of the multimedia information by reviewing the elements in the multimedia information, and obtains non-compliant elements in the target part, such as unimodal elements and multimodal elements.
[0132] Step S308: updating the review result of the multimedia information according to the non-compliant elements in the target part.
[0133] In some embodiments, in order to improve the publishing efficiency of multimedia information, non-compliant elements in the multimedia information may be modified based on the audit results to obtain modified multimedia information that does not include non-compliant elements, and publish the modified multimedia information.
[0134] Step S309: updating the audit rule library according to the non-compliant elements in the target part.
[0135] Specifically, features corresponding to non-compliant elements in the target part may be added to the audit rule library.
[0136] Reinforcement learning can be used to automatically learn non-compliant elements in the target part to obtain new audit rules, which can be added to the audit rule base, or the associated audit rules in the audit rule base can be updated based on the new audit rules, thereby forming a closed-loop audit process. Auditors do not need to manually update the audit rule base, which reduces the workload of auditors and improves the degree of automation of the entire process.
[0137] Step S308 and step S309 can be executed in series or in parallel. Figure 3 Taking parallel execution as an example, step S309 may be executed first and then step S308, or step S308 may be executed first and then step S309. This application does not limit the execution order of step S308 and step S309.
[0138] Figure 5 For this application Figure 3 The schematic diagram of the audit rule base update process in the embodiment shown is as follows: Figure 5 As shown, after the audit device outputs the audit result of the multimedia information based on the multimodal model of the device, the audit result and the multimedia information are sent to the auditor, such as to the auditor's device, and the auditor reviews the audit result and the multimedia information. If the auditor finds that there are non-compliant elements in the multimedia information that are not recognized by the multimodal model (recorded as new illegal elements), an artificial non-compliant annotation is added to the multimedia information to indicate the location or approximate location of the new illegal element. Then, the multimedia information with the artificial non-compliant annotation or containing the artificial non-compliant annotation is returned to the audit device. Based on the artificial non-compliant annotation, the audit device extracts the target part where the new illegal element of the multimedia information is located, and inputs the target part into the multimodal model to re-audit the target part, obtain the non-compliant elements that were not identified in the first audit of the target part, and update the audit result of the multimedia information based on the non-compliant elements in the target part, as well as the audit rule library. The new audit result is sent to the server of the multimedia publishing platform or the uploader terminal.
[0139] In this embodiment, unimodal and multimodal features of multimedia information are extracted through a multimodal model, and non-compliant elements in unimodal and multimodal environments in multimedia information are identified under the supervision of an audit rule library, thereby improving the comprehensiveness and accuracy of the audit. At the same time, when there are non-compliant elements that are not identified by the multimodal model, the target part of the multimedia information where the unidentified non-compliant elements are located is re-input into the multimodal model through manual review and annotation, so that the non-compliant elements in the target part are determined through a secondary audit, and the audit results are updated, thereby further improving the accuracy of the audit results. At the same time, the audit rule library is updated based on the non-compliant elements in the target part, thereby reducing the cost of maintaining the audit rule library, reducing the workload of auditors, and realizing a closed-loop audit process.
[0140] Figure 6 A flowchart of another multimedia information review method provided in an embodiment of the present application is provided in this embodiment. Figure 2 On the basis of the illustrated embodiment, step S202 is further refined by adding steps related to understanding the intent of the audit rules before step S202, and adding steps related to modifying the multimedia information based on the audit results after step S202.
[0141] like Figure 6 As shown, the multimedia information review method provided in this embodiment may include the following steps:
[0142] Step S601, obtaining multimedia information.
[0143] Step S602, obtaining the review rules described in natural language.
[0144] The review rules can be described in natural speech by the reviewer.
[0145] Step S603: input the audit rules into the intention understanding model to obtain the audit feature vector.
[0146] The intent understanding model is a pre-trained NLP model that can process the audit rules described in natural language into audit feature vectors that can be directly processed by subsequent multimodal models. The audit feature vector can include feature values of each illegal word, which can include semantic features, grammatical features, word vectors, etc. The illegal words can be determined by the intent understanding model based on the audit rules described in natural language.
[0147] The multimodal model can determine non-compliant elements from various elements of multimedia information based on the edit distance, similarity, etc. between the element's feature values (including feature values in unimodality and multimodality) and the feature values corresponding to each illegal word in the review feature vector. The element's unimodal and multimodal feature values can be stored in the above-mentioned unimodal feature vector and multimodal feature vector, respectively.
[0148] Step S602 and step S603 may be executed in series or in parallel with step S601. Figure 6 Taking parallel execution as an example, step S602 and step S603 can also be executed serially before step S601, or step S601 and step S602 or step S603 can be executed in parallel. This application does not limit the execution order, and it is only necessary to execute step S602 and step S603 serially before step S604.
[0149] Step S604: input the audit feature vector and the vector corresponding to the multimedia information into a pre-trained multimodal model to obtain the audit result of the multimedia information.
[0150] This step can be performed with reference to step S305 in the aforementioned embodiment, except that the "audit rule library" is replaced with the "audit feature vector", which will not be described in detail here.
[0151] Step S605, when the audit result indicates that the audit fails, modify the non-compliant elements in the multimedia information to obtain modified multimedia information, and publish the modified multimedia information.
[0152] For non-compliant elements in speech, the modification method may be to cut off the audio segment corresponding to the non-compliant element, or to use a "beep" sound to replace the audio frequency band corresponding to the non-compliant element.
[0153] For non-compliant elements in the text, such as illegal words, if there are compliant synonyms, the illegal words are replaced with synonyms; if not, the illegal words can be deleted. If the illegal words are characters in the image, the illegal words can be removed, such as by generating an image block to replace the illegal words based on the background where the illegal words are located, so as to cover the illegal words with the image blocks, so as not to affect the visual effect of the image. Mosaics can also be used to cover the illegal words, or the illegal words can be blurred.
[0154] For non-compliant elements in videos or images, you can use mosaics, backgrounds or compliant elements to cover or replace the non-compliant parts of the picture.
[0155] Optionally, modifying the non-compliant elements in the multimedia information to obtain modified multimedia information, and publishing the modified multimedia information, includes:
[0156] Based on a generative adversarial network model or a diffusion generation model, a modification element corresponding to the non-compliant element in the multimedia information is generated, and the corresponding non-compliant element is replaced based on the modification element to obtain the modified multimedia information, so as to publish the modified multimedia information.
[0157] The Generative Adversarial Networks (GAN) model is a deep learning model that includes a generator and a discriminator. Both the generator and the discriminator are neural network models, and the two are optimized through mutual competition during the training phase.
[0158] The diffusion generative model is a generative model based on diffusion. It does not require additional discriminator training like the GAM model. It mainly destroys the training data by continuously adding Gaussian noise and generates new data by learning the noise generation process.
[0159] Modification elements of non-compliant elements are generated based on the GAN model or the diffusion generation model, which improves the quality and accuracy of the modified elements. On the premise of passing the review, the impact of the modified elements on multimedia information is reduced, and the modification quality of multimedia information is improved.
[0160] In this embodiment, in order to implement the review of multimedia information uploaded to the platform, the reviewer only needs to provide the review rules described in natural language, and the intention understanding model automatically converts the review rules described in natural language into review feature vectors that can be directly processed by the multimodal model, thereby improving the efficiency of obtaining the review rule library and simplifying the operation of the reviewer; after obtaining the review results of the multimedia information based on the multimodal model, if the review results include non-compliant elements, such as unimodal elements and multimodal elements, the non-compliant elements are automatically modified to publish the modified multimedia information, thereby improving the efficiency and accuracy of multimedia information modification, and at the same time improving the efficiency of multimedia information publishing.
[0161] Figure 7 A flowchart of an advertisement review method provided in an embodiment of the present application is shown in FIG. 1 . In this embodiment, the above-mentioned multimedia information is used as an advertisement as an example. Figure 7 As shown, the advertisement review method provided in this embodiment may include the following steps:
[0162] Step S701, obtaining the review rules described in natural language.
[0163] Step S702: input the audit rules into the intention understanding model to obtain the audit feature vector.
[0164] Step S703: Obtain the multimedia advertisement to be reviewed.
[0165] Step S704: based on the pre-trained multimodal model and the audit feature vector, audit the elements in the multimedia advertisement to obtain the audit result of the multimedia advertisement.
[0166] Among them, when the type of the multimedia advertisement is a multimodal type and the audit result indicates that the audit has not passed, the multimodal type is used to indicate that the multimedia advertisement includes at least two multimedia types, and the multimodal audit result is used to indicate non-compliant multimodal elements in the multimedia advertisement, and the multimodal elements are elements including at least two multimedia types.
[0167] The relevant steps of the advertisement review method provided in this embodiment can be performed with reference to the relevant steps provided in the aforementioned embodiments, except that the object is only replaced by multimedia advertisement from multimedia information, which will not be described in detail here.
[0168] Figure 8 A schematic diagram of the structure of a multimedia information review device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the multimedia information review device includes: a multimedia acquisition module 810 and a review module 820.
[0169] Among them, the multimedia acquisition module 820 is used to acquire multimedia information; the review module 820 is used to review the elements in the multimedia information based on a pre-trained multimodal model to obtain the review result of the multimedia information; when the type of the multimedia information is a multimodal type, and the review result indicates that the review has not passed, the review result includes a multimodal review result, and the multimodal type is used to indicate that the multimedia information includes at least two multimedia types, and the multimodal review result is used to indicate non-compliant multimodal elements in the multimedia information, and the multimodal elements are elements including at least two multimedia types.
[0170] Optionally, the multimodal model includes a multimodal feature extraction model and a target audit model; the audit module 820 includes:
[0171] A preprocessing unit, used to convert the multimedia information into a multimedia input vector according to the type of the multimedia information; a vector input unit, used to input the multimedia input vector into a pre-trained multimodal feature extraction model; a feature expression unit, used to extract a unimodal feature vector and a multimodal feature vector of the multimedia input vector based on the pre-trained multimodal feature extraction model, wherein the unimodal feature vector is a feature vector corresponding to information of a single media type in the multimedia information, and the multimodal feature vector is a feature vector corresponding to information of multiple media types in the multimedia information; an audit unit, used to input an audit rule base, the unimodal feature vector and the multimodal feature vector into a pre-trained target audit model to obtain an audit result of the multimedia information.
[0172] Optionally, the multimodal feature extraction model includes an encoder, a unimodal feature extraction layer and a multimodal fusion layer; a feature expression unit, specifically used for:
[0173] The encoder encodes the input vector corresponding to each multimedia type in the multimedia input vector to obtain each unimodal encoding vector; based on the unimodal feature extraction layer, each unimodal encoding vector is feature processed based on the self-attention mechanism to obtain each unimodal feature vector; through the multimodal fusion layer, the self-attention mechanism and the cross-attention mechanism are used to perform feature fusion on each unimodal feature vector to obtain the multimodal feature vector.
[0174] Optionally, the device further comprises:
[0175] A re-examination module is used to extract the target part of the multimedia information based on the manual non-compliant annotation if the manual non-compliant annotation corresponding to the multimedia information is detected; the target part is input into a pre-trained multimodal feature extraction model to obtain the non-compliant elements in the target part; and an audit result update module is used to update the audit result of the multimedia information according to the non-compliant elements in the target part.
[0176] Optionally, the device further comprises:
[0177] An audit rule base updating module is used to update the audit rule base or the audit feature vector according to the non-compliant elements in the target part.
[0178] Optionally, the device further comprises:
[0179] The rule understanding module is used to obtain the audit rules described in natural language; input the audit rules into the intention understanding model to obtain the audit feature vector.
[0180] Accordingly, the audit unit is specifically used to:
[0181] The audit feature vector and the vector corresponding to the multimedia information are input into a pre-trained multimodal model to obtain the audit result of the multimedia information.
[0182] Optionally, the device further comprises:
[0183] The multimedia modification module is used to modify the non-compliant elements in the multimedia information when the audit result indicates that the audit fails, obtain the modified multimedia information, and publish the modified multimedia information.
[0184] Optional, multimedia modification module, specifically used for:
[0185] Based on a generative adversarial network model or a diffusion generation model, a modification element corresponding to the non-compliant element in the multimedia information is generated, and the corresponding non-compliant element is replaced based on the modification element to obtain the modified multimedia information, so as to publish the modified multimedia information.
[0186] The multimedia information review device provided in the embodiment of the present application can be used to execute the technical solution of the multimedia information review method provided in any of the above embodiments. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0187] Fig. 9 A schematic diagram of the structure of an audit device provided in an embodiment of the present application, such as Fig. 9 As shown, the audit device 900 provided in this embodiment includes:
[0188] At least one processor 910; and a memory 920 communicatively connected to the at least one processor; wherein the memory 920 stores computer-executable instructions; the at least one processor 910 executes the computer-executable instructions stored in the memory so that the audit device 900 performs a method as provided in any of the foregoing embodiments.
[0189] Optionally, the memory 920 may be independent or integrated with the processor 910 .
[0190] The implementation principle and technical effects of the audit device 900 provided in this embodiment can be found in the aforementioned embodiments and will not be described in detail here.
[0191] The embodiment of the present application also provides a multimedia platform, including a platform server and an audit device 900, wherein the platform server is used to receive multimedia information uploaded by each uploader terminal, and publish multimedia information audited by the audit device 900, or modified multimedia information sent by the audit device 900.
[0192] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the method provided in any of the aforementioned embodiments can be implemented.
[0193] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method provided in any of the aforementioned embodiments when executed by a processor.
[0194] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.
[0195] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.
[0196] It should be understood that the above-mentioned processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. 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 the application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The memory may include high-speed memory, and may also include non-volatile memory, such as at least one disk memory, and can also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0197] The storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The storage medium may be any available medium that can be accessed by a general or special purpose computer.
[0198] An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in a dedicated integrated circuit. Of course, the processor and the storage medium can also exist as discrete components in the audit device or the multimedia information audit device.
[0199] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0200] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0201] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods provided in each embodiment of the present application.
[0202] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0203] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A multimedia information review method, It is characterized in that include: Get multimedia information; Based on the pre-trained multimodal model, review the elements in the multimedia information to obtain the review result of the multimedia information; Wherein, when the type of the multimedia information is a multimodal type and the audit result indicates that the audit has not passed, the audit result includes a multimodal audit result, the multimodal type is used to indicate that the multimedia information includes at least two multimedia types, and the multimodal audit result is used to indicate a non-compliant multimodal element in the multimedia information, and the multimodal element is an element including at least two multimedia types; The method further comprises: If a manual non-compliant annotation corresponding to the multimedia information is detected, extracting a target portion of the multimedia information based on the manual non-compliant annotation; Inputting the target portion into a pre-trained multimodal model to obtain non-compliant elements in the target portion; updating the audit result of the multimedia information according to the non-compliant elements in the target part; The audit rule base is updated based on the non-compliant elements in the target section.
2. The method according to claim 1, It is characterized in that The multimodal model includes a multimodal feature extraction model and a target audit model; based on the pre-trained multimodal model, the elements in the multimedia information are audited to obtain the audit result of the multimedia information, including: According to the type of the multimedia information, converting the multimedia information into a multimedia input vector; Inputting the multimedia input vector into a pre-trained multimodal feature extraction model; Based on a pre-trained multimodal feature extraction model, extracting a unimodal feature vector and a multimodal feature vector of the multimedia input vector, wherein the unimodal feature vector is a feature vector corresponding to information of a single media type in the multimedia information, and the multimodal feature vector is a feature vector corresponding to information of multiple media types in the multimedia information; The audit rule library, the unimodal feature vector and the multimodal feature vector are input into a pre-trained target audit model to obtain the audit result of the multimedia information.
3. The method according to claim 2, It is characterized in that The multimodal feature extraction model includes an encoder, a single-modal feature extraction layer and a multimodal fusion layer; Extracting a unimodal feature vector and a multimodal feature vector of the multimedia input vector based on a pre-trained multimodal feature extraction model includes: Encoding, by means of the encoder, input vectors corresponding to each multimedia type in the multimedia input vectors to obtain unimodal encoding vectors; Based on the unimodal feature extraction layer, each unimodal encoding vector is feature processed based on the self-attention mechanism to obtain each unimodal feature vector; Through the multimodal fusion layer, the self-attention mechanism and the cross-attention mechanism are used to perform feature fusion on each unimodal feature vector to obtain the multimodal feature vector.
4. The method according to claim 1, It is characterized in that The method further comprises: Obtain the review rules described in natural language; Inputting the audit rules into the intention understanding model to obtain an audit feature vector; Based on the pre-trained multimodal model, review the elements in the multimedia information to obtain the review result of the multimedia information, including: The audit feature vector and the vector corresponding to the multimedia information are input into a pre-trained multimodal model to obtain the audit result of the multimedia information.
5. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: When the audit result indicates that the audit fails, the non-compliant elements in the multimedia information are modified to obtain the modified multimedia information, and the modified multimedia information is published.
6. The method according to claim 5, It is characterized in that Modifying the non-compliant elements in the multimedia information to obtain the modified multimedia information includes: Based on a generative adversarial network model or a diffusion generation model, a modification element corresponding to the non-compliant element in the multimedia information is generated, and the corresponding non-compliant element is replaced based on the modification element to obtain the modified multimedia information.
7. An advertisement review method, It is characterized in that include: Obtain the review rules described in natural language; Inputting the audit rules into the intention understanding model to obtain an audit feature vector; Get multimedia ads to be reviewed; Based on the pre-trained multimodal model and the audit feature vector, auditing the elements in the multimedia advertisement to obtain the audit result of the multimedia advertisement; Wherein, when the type of the multimedia advertisement is a multimodal type and the audit result indicates that the audit has not passed, the audit result includes a multimodal audit result, the multimodal type is used to indicate that the multimedia advertisement includes at least two multimedia types, and the multimodal audit result is used to indicate a non-compliant multimodal element in the multimedia advertisement, and the multimodal element is an element including at least two multimedia types; The method further comprises: If a manual non-compliant annotation corresponding to the multimedia advertisement is detected, extracting a target portion of the multimedia advertisement based on the manual non-compliant annotation; Inputting the target portion into a pre-trained multimodal model to obtain non-compliant elements in the target portion; updating the review result of the multimedia advertisement according to the non-compliant elements in the target portion; The audit rule base is updated based on the non-compliant elements in the target section.
8. An audit device, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
10. A computer program product, It is characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.
Citation Information
Patent Citations
Multi-modal dimension emotion recognition method
CN112560830A
Video auditing and publishing method
CN112672184A
Multimedia content automatic auditing method, electronic equipment and storage medium
CN112925925A
Multimedia data auditing system, auditing method, terminal and computer storage medium
CN115392861A
