Media content security monitoring system and method based on meta-learning
Through the media content security monitoring system based on meta-learning, new models are formed using preliminary detection, model search and optimization, which solves the problems of insufficient timeliness and accuracy in traditional technologies and achieves efficient monitoring of occasional sensitive content.
Patent Information
- Application Number
- CN202410342079.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-03-25
AI Technical Summary
Traditional large model training has limited timeliness and accuracy in media content security monitoring, making it difficult to effectively monitor occasional and small amounts of sensitive content.
A media content security monitoring system based on meta-learning is adopted to form a new machine learning model through preliminary sensitive detection, model search, model optimization and meta-learning strategies to improve monitoring efficiency and accuracy.
It achieves timely monitoring and discovery of a small number of potentially harmful content, and improves the system accuracy and efficiency of media content security monitoring.
Smart Images

Figure CN118170930B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent content security monitoring, and in particular to a media content security monitoring system and method based on meta-learning. Background Art
[0002] At present, the widespread application of artificial intelligence technology in the field of media has become a trend. The application of AI technology enables the conversion between text and voice, and the accurate recognition and annotation of graphics and images. The realization of these capabilities is inseparable from the deep training of large-scale models and large data sets. However, in the field of media content security monitoring, since the sensitive content that appears changes very quickly and often appears sporadically, the amount of data involved is very small. In this case, the traditional large model training method has some inherent shortcomings. Specifically, due to the rapid changes in sensitive content and the limited amount of data, the traditional large model training has certain limitations in the timeliness and accuracy of monitoring.
[0003] Therefore, a meta-learning-based media content security monitoring system is desired, which can improve the efficiency of media content security monitoring. Summary of the invention
[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] The present application also provides a media content security monitoring system based on meta-learning, which includes:
[0006] A preliminary sensitive information detection module, used to perform preliminary sensitive information detection on the received media content to obtain a preliminary sensitive information detection result;
[0007] A model search module, configured to perform a model search to obtain an existing machine learning model in response to the preliminary sensitive content detection result indicating that sensitive content may exist;
[0008] A model optimization module, used to optimize the existing machine learning model to obtain a model training template;
[0009] The model training template training module is used to use a meta-learning strategy and train the model training template based on the media content to obtain a new machine learning model.
[0010] In the above-mentioned meta-learning-based media content security monitoring system, the model optimization module is used to: adjust the hyperparameters of the existing machine learning model to optimize the existing machine learning model to obtain the model training template.
[0011] In the above-mentioned meta-learning-based media content security monitoring system, the model training template training module includes: a model training template parameter initialization unit, which is used to perform meta-learning initialization parameters on the model training template based on task-related condition information to obtain an initialized model training template; a media content data extraction unit, which is used to extract image parts and text parts from the media content to obtain media content image data and media content text data; a data input template unit, which is used to input the media content image data and the media content text data into the initialized model training template; an image local semantic analysis unit, which is used to perform image analysis on the media content image data in the initialized model training template. After the block, the image local semantic feature extractor based on the ViT model is used to obtain a sequence of local image semantic feature vectors of the media content; a media content global image semantic fusion unit is used to perform feature selection fusion on the sequence of local image semantic feature vectors of the media content in the initialization model training template to obtain a media content global image related semantic selection fusion feature vector; a text word embedding encoding unit is used to perform word segmentation processing on the media content text data in the initialization model training template and then pass it through the word embedding layer to obtain a sequence of media content text word embedding vectors; a text word granularity context semantic association encoding unit is used to perform text segmentation processing on the media content text data in the initialization model training template through a text embedding layer based on a deep neural network The word-granularity context semantic encoder performs feature extraction on the sequence of media content text word embedding vectors to obtain a sequence of media content text word-granularity context semantic feature vectors; a text word-granularity semantic fusion unit is used to perform text attention interaction fusion based on a global perspective on the sequence of media content text word-granularity context semantic feature vectors in the initialization model training template to obtain a media content text global semantic interaction feature vector; a media content multimodal feature hybrid interaction unit is used to combine the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector through a multimodal feature hybrid interaction module to obtain a media content multi-dimensional semantic interaction feature vector ; An interactive semantic optimization unit, used to optimize the media content multi-dimensional semantic interaction feature vector to obtain an optimized media content multi-dimensional semantic interaction feature vector; a classification loss function value calculation unit, used to pass the optimized media content multi-dimensional semantic interaction feature vector through a classifier-based sensitive content detector to obtain a classification loss function value; a template training unit, used to train the initialization model training template based on the classification loss function value to obtain a new machine learning model, wherein each time the media content multi-dimensional semantic interaction feature vector passes through the classifier-based sensitive content detector for classification regression iteration, the media content multi-dimensional semantic interaction feature vector is iteratively optimized.
[0012] In the above-mentioned meta-learning-based media content security monitoring system, the media content global image semantic fusion unit is used to: in the initialization model training template, pass the sequence of the media content local image semantic feature vectors through a feature selection fuser based on an autocorrelation attention network to obtain the media content global image correlation semantic selection fusion feature vector.
[0013] In the above-mentioned media content security monitoring system based on meta-learning, the media content global image semantic fusion unit is used to: process the sequence of the media content local image semantic feature vectors through the feature selection fusion device based on the autocorrelation attention network with the following feature selection formula to obtain the media content global image related semantic selection fusion feature vector; wherein the feature selection formula is: ,in, is the first in the sequence of the local image semantic feature vectors of the media content The semantic feature vector of the local image of the media content, and Represent the weight coefficient vector and weight coefficient matrix respectively, is the offset vector, express function, For the The attention score of the semantic feature vector of the local image of the media content, represents exponential operation, For the The attention score of the semantic feature vector of the local image of the media content, is the number of vectors in the sequence of the local image semantic feature vectors of the media content, For the The weight value of the semantic feature vector of the local image of the media content, A fused feature vector is selected for the global image-related semantics of the media content.
[0014] In the above-mentioned meta-learning-based media content security monitoring system, the deep neural network is a one-dimensional extended convolutional network.
[0015] In the above-mentioned meta-learning-based media content security monitoring system, the text word granularity context semantic association encoding unit is used to: in the initialization model training template, pass the sequence of the media content text word granularity context semantic feature vectors through a text attention interaction module based on a global perspective to obtain the media content text global semantic interaction feature vector.
[0016] In the above-mentioned media content security monitoring system based on meta-learning, the text word granularity context semantic association encoding unit is used to: process the sequence of the media content text word granularity context semantic feature vectors through the text attention interaction module based on the global perspective with the following global text attention interaction formula to obtain the media content text global semantic interaction feature vector; wherein the global text attention interaction formula is: ;in, is the first in the sequence of the media content text word granularity context semantic feature vector media content text word granularity context semantic feature vector, is the first in the sequence of the media content text word granularity context semantic feature vector and The correlation matrix between the contextual semantic feature vectors of media content text words, is the first in the sequence of the media content text word granularity context semantic feature vector and The correlation matrix between the contextual semantic feature vectors of media content text words, is the number of vectors in the sequence of the media content text word granularity context semantic feature vectors, represents the matrix exponential operation, is the global semantic interaction feature vector of the media content text.
[0017] In the above-mentioned media content security monitoring system based on meta-learning, the media content multimodal feature hybrid interaction unit is used to: process the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector through a multimodal feature hybrid interaction module using the following multimodal feature fusion formula to obtain the media content multi-dimensional semantic interaction feature vector; wherein the multimodal feature fusion formula is: ;in, and Select a fusion feature vector for the global image-related semantics of the media content and a global semantic interaction feature vector for the text of the media content, respectively. For splicing operation, is a concatenated feature vector of the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector, Indicates full connection processing, express function, is the activation feature vector, and Respectively represent the full connection processing of different numbers of nodes, is the first fully connected feature vector, is the second fully connected eigenvector, is the exponential operation of the first fully connected eigenvector, is the exponential operation of the second fully connected eigenvector, is the first weight vector, is the second weight vector, is the multi-dimensional semantic interaction feature vector of the media content.
[0018] The present application also provides a media content security monitoring method based on meta-learning, which includes:
[0019] Performing a preliminary allergy detection on the received media content to obtain a preliminary allergy detection result;
[0020] In response to the preliminary sensitive information detection result indicating that sensitive information may exist, performing a model search to obtain an existing machine learning model;
[0021] Optimizing the existing machine learning model to obtain a model training template;
[0022] A meta-learning strategy is used to train the model training template based on the media content to obtain a new machine learning model.
[0023] Compared with the prior art, the meta-learning-based media content security monitoring system and method provided by the present application performs preliminary sensitive content detection on the received media content to obtain preliminary sensitive content detection results; in response to the preliminary sensitive content detection results indicating the possible existence of sensitive content, performs model search to obtain an existing machine learning model; performs model optimization on the existing machine learning model to obtain a model training template; uses a meta-learning strategy and trains the model training template based on the media content to obtain a new machine learning model. In this way, in the media content security monitoring, those rare but potentially harmful contents can be discovered and monitored in a timely manner, thereby improving the accuracy and efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0025] Figure 1 This is a technical block diagram of the application of the meta-learning algorithm provided in the embodiments of the present application in media content security monitoring.
[0026] Figure 2 A block diagram of a media content security monitoring system based on meta-learning provided in an embodiment of the present application.
[0027] Figure 3 A block diagram of the model training template training module in a meta-learning-based media content security monitoring system provided in an embodiment of the present application.
[0028] Figure 4 This is a flowchart of a media content security monitoring method based on meta-learning provided in an embodiment of the present application.
[0029] Figure 5 This is an application scenario diagram of a meta-learning-based media content security monitoring system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present application more clear, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present application and their descriptions are used to explain the present application, but are not intended to limit the present application.
[0031] Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application.
[0032] In the embodiments of the present application, it should be noted that, unless otherwise specified and limited, the term "connection" should be understood in a broad sense. For example, it can be an electrical connection or a connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.
[0033] It should be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that the specific order or sequence of "first\second\third" can be interchanged where permitted. It should be understood that the objects distinguished by "first\second\third" can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0034] At present, artificial intelligence technology has been widely used in the field of media, using AI to convert text and voice, recognize and annotate graphics and images, etc. These capabilities benefit from deep training of large models and big data. However, in the field of media content security monitoring, since sensitive content changes very quickly and often appears sporadically, the amount of data involved is very small, and the use of large model training has inherent deficiencies in the timeliness and accuracy of monitoring. This technology will use the application of meta-learning algorithms in media content security monitoring to greatly improve the efficiency of media content security monitoring.
[0035] like Figure 1 As shown in the figure, the application technology of meta-learning algorithm in media content security monitoring system mainly uses the model of learning how to learn to train new task models for new forms and occasional targets in real-time monitoring content, so that the system has the ability to judge and provide feedback on new content.
[0036] The working principle of this technology is that the system submits a new model training task based on the possible sensitive content (a small amount of data) in the real-time content monitoring target, searches for similar training models in existing machine learning models through the model search module, and optimizes the algorithm model of the model to become a model training template for the new task. The data of sensitive content is injected into the model input end, and the learning parameters are initialized. Then, the training model is trained in machine learning models such as task decomposition, learning optimization, and domain adaptation to obtain the judgment result. Using the data of the judgment result, the learning parameters are continuously adjusted to make the accuracy of the model higher and higher, forming a new machine learning model.
[0037] Model search is to find the optimal or efficient model architecture to solve the specific task by searching a large number of convolutional neural network structures in the existing algorithm model library after preprocessing the suspected sensitive content data. It mainly consists of steps such as search margin definition, search method, performance evaluation, iterative search, etc. The search space margin may include convolutional layer, loop layer, connection layer and connection method, parameter configuration, activation function, loss function, etc. The search method is to search for the best network structure in the defined space, and the search method will evaluate the quality of the candidate model according to the nature of the task and performance indicators; performance evaluation is usually performed on a validation set through performance indicators (accuracy, speed, model size, etc.) parameters to evaluate and train the model performance; iterative search is to further optimize the parameters of the selected model until the best network structure that meets performance requirements or resource constraints or the convolutional neural algorithm model that adapts to the suspected sensitive data type is found.
[0038] Model optimization aims to enable the searched model to quickly adapt to new tasks by adjusting the hyperparameters before model training to improve model performance. These hyperparameters can affect the training speed, performance, and generalization ability of the model. Comprehensively consider the training set, validation set, and test set to find a configuration that performs well on unseen data.
[0039] The goal of meta-learning initialization parameters is to make the initial parameters better adapt to different tasks. By introducing task-related conditional information, the learning rate adjustment strategy is used according to the characteristics of the task and the specific application scenario to optimize the model initialization parameters.
[0040] Task decomposition is to decompose the model training task into multiple subtasks, and by training on these subtasks, the meta-learning model can better adapt to new tasks. The separate and combined use of hierarchical tasks, feature decomposition, and meta-model methods can help the model better understand the task structure and improve the model's generalization ability for new tasks. A good decomposition strategy helps the model learn the parameters of new tasks more effectively.
[0041] The meta-learning optimizer is a special optimizer that mainly learns how to use different meta-learning algorithms to update gradients on different tasks so that the model can better adapt to new tasks. It mainly considers the computational efficiency, generalization ability and adaptability to new tasks in the meta-learning framework.
[0042] Domain adaptation mainly solves the problem of mismatch between the distribution of training and test data. This is because the model is trained on a source domain, but faces a different target domain data distribution during testing. Domain adaptation is to adjust the model to make it perform better in the target domain, such as allowing the source domain and the target domain to share some features, allowing the training model and the test model to be jointly trained, and so on.
[0043] Usually in media content security monitoring systems, deep learning is used to train models under big data to achieve the recognition of multi-dimensional (image, sound, text) content, and finally output whether it is sensitive or not. However, it has been powerless to deal with occasional sensitive content or a small amount of data outside the violation library samples. By utilizing the existing large number of data models in the content security system and the meta-learning algorithm, which understands how to learn effectively, it can even learn new tasks more effectively from a small amount of data, making the new tasks more efficient and higher-performance, thereby completing the timely monitoring and discovery of a small number of potentially harmful content in media content security monitoring.
[0044] In one embodiment of the present application, Figure 2 1 is a block diagram of a media content security monitoring system based on meta-learning provided in an embodiment of the present application. Figure 2As shown, according to the meta-learning-based media content security monitoring system 100 of the embodiment of the present application, it includes: a preliminary sensitive detection module 110, which is used to perform preliminary sensitive detection on the received media content to obtain a preliminary sensitive detection result; a model search module 120, which is used to perform a model search to obtain an existing machine learning model in response to the preliminary sensitive detection result that sensitive content may exist; a model optimization module 130, which is used to optimize the existing machine learning model to obtain a model training template; a model training template training module 140, which is used to use a meta-learning strategy and train the model training template based on the media content to obtain a new machine learning model.
[0045] Among them, the model optimization module is used to: adjust the hyperparameters of the existing machine learning model to optimize the existing machine learning model to obtain the model training template.
[0046] The application technology of meta-learning algorithm in media content security monitoring system mainly uses the model of learning how to learn to train new task models for new forms and occasional targets in real-time monitoring content, so that the system has the ability to judge and feedback results on new content. The working principle of this technology is that the system submits new model training tasks based on the possible sensitive content (a small amount of data) in the real-time content monitoring target, searches for similar training models in existing machine learning models through the model search module, and optimizes the algorithm model of the model to become a model training template for new tasks. The data of sensitive content is injected into the model input end, and the learning parameters are initialized. Then, the training model is trained in machine learning models such as task decomposition, learning optimization, and domain adaptation to obtain the judgment result. The data of the judgment result is used to continue to adjust the learning parameters to make the accuracy of the model higher and higher, forming a new machine learning model.
[0047] Based on this, in the technical solution of the present application, a media content security monitoring system based on meta-learning is proposed, which includes: performing preliminary sensitive detection on the received media content to obtain a preliminary sensitive detection result; in response to the preliminary sensitive detection result being that sensitive content may exist, performing model search to obtain an existing machine learning model; performing model optimization on the existing machine learning model to obtain a model training template, specifically, the existing machine learning model can be optimized by adjusting the hyperparameters of the existing machine learning model to obtain the model training template; using a meta-learning strategy, and training the model training template based on the media content to obtain a new machine learning model.
[0048] Specifically, in the above-mentioned media content security monitoring system based on meta-learning, in response to the preliminary sensitive content detection result that there may be sensitive content, a model search is performed to obtain an existing machine learning model. The model search is to find the optimal or efficient model architecture through a large number of convolutional neural network structures in the existing algorithm model library through the preprocessed suspected sensitive content data to solve the specific task. It mainly consists of the steps of search margin definition, search method, performance evaluation, iterative search, etc. The search space margin may include convolution layer, loop layer, connection layer and connection mode, parameter configuration, activation function, loss function, etc.; the search method is to search for the best network structure in the defined space, and the search method will evaluate the quality of the candidate model according to the nature of the task and performance indicators; the performance evaluation is usually to evaluate and train the model performance through performance indicators (accuracy, speed, model size, etc.) parameters on a validation set; the iterative search is to further optimize the parameters of the selected model until the best network structure that meets the performance requirements or resource constraints or the convolutional neural algorithm model that adapts to the suspected sensitive data type is found.
[0049] Figure 3 FIG. 1 is a block diagram of a model training template training module in a media content security monitoring system based on meta-learning provided in an embodiment of the present application. Figure 3As shown, a model training template parameter initialization unit 141 is used to perform meta-learning initialization parameters on the model training template based on task-related condition information to obtain an initialized model training template; a media content data extraction unit 142 is used to extract an image part and a text part from the media content to obtain media content image data and media content text data; a data input template unit 143 is used to input the media content image data and the media content text data into the initialized model training template; an image local semantic analysis unit 144 is used to perform image segmentation on the media content image data in the initialized model training template and then extract the image data through an image local semantic feature extractor based on a ViT model The invention relates to a media content global image semantic fusion unit 145, which is used to perform feature selection fusion on the sequence of media content local image semantic feature vectors in the initialization model training template to obtain a media content global image related semantic selection fusion feature vector; a text word embedding encoding unit 146, which is used to perform word segmentation processing on the media content text data in the initialization model training template and then pass it through the word embedding layer to obtain a sequence of media content text word embedding vectors; a text word granularity context semantic association encoding unit 147, which is used to encode the media content text data in the initialization model training template through a text word granularity context semantic encoder based on a deep neural network. The sequence of media content text word embedding vectors is subjected to feature extraction to obtain a sequence of media content text word granularity context semantic feature vectors; a text word granularity semantic fusion unit 148 is used to perform text attention interaction fusion based on a global perspective on the sequence of media content text word granularity context semantic feature vectors in the initialization model training template to obtain a media content text global semantic interaction feature vector; a media content multimodal feature hybrid interaction unit 149 is used to select and fuse the media content global image-related semantics feature vector and the media content text global semantic interaction feature vector through a multimodal feature hybrid interaction module to obtain a media content multi-dimensional semantic interaction feature vector; an interactive semantic optimization unit 14 10, used for optimizing the multi-dimensional semantic interaction feature vector of the media content to obtain an optimized multi-dimensional semantic interaction feature vector of the media content; a classification loss function value calculation unit 1411, used for passing the optimized multi-dimensional semantic interaction feature vector of the media content through a sensitive content detector based on a classifier to obtain a classification loss function value; a template training unit 1412, used for training the initialization model training template based on the classification loss function value to obtain a new machine learning model, wherein each time the multi-dimensional semantic interaction feature vector of the media content passes through the sensitive content detector based on the classifier for classification regression iteration, the multi-dimensional semantic interaction feature vector of the media content is iteratively optimized.
[0050] Accordingly, in the above-mentioned media content security monitoring system, it is particularly important to use a meta-learning strategy and train the model training template based on the media content to obtain a new machine learning model. Specifically, the training step includes: first, based on task-related conditional information, meta-learning initialization parameters of the model training template is performed to obtain an initialized model training template. The goal of meta-learning initialization parameters is to enable the initial parameters to better adapt to different tasks. By introducing task-related conditional information, the learning rate adjustment strategy is performed according to the characteristics of the task and the specific application scenario to optimize the model initialization parameters.
[0051] Then, the image part and the text part are extracted from the media content to obtain media content image data and media content text data, so as to facilitate the subsequent semantic analysis and understanding of the media content, thereby providing input for subsequent feature extraction, model training and other steps. In particular, in the media content security monitoring system, image and text data often contain different types of information. Combining these two types of data can improve the system's ability to detect sensitive content, allowing the system to more comprehensively analyze and understand media content, thereby improving the accuracy and efficiency of monitoring.
[0052] Then, after extracting the text data and image data of the media content, the media content image data and the media content text data are input into the initialization model training template. Furthermore, semantic interaction analysis is performed on the text data and image data of the media content to train a new machine learning model, thereby achieving a more accurate and efficient sensitive content detection method.
[0053] Specifically, in the initialization model training template, the media content image data is segmented and then passed through the image local semantic feature extractor based on the ViT model to obtain a sequence of media content local image semantic feature vectors. It should be understood that when the semantic feature analysis and capture of media content image data are performed, there may be more content in the image data, and there is semantic feature information of various details. Therefore, in order to be able to analyze the local features of the image more carefully and thus better understand the image content, it is necessary to segment the image and use the image local semantic feature extractor based on the ViT model to perform semantic feature analysis and association of local image blocks. In other words, by processing with the image local semantic feature extractor based on the ViT model, the system can capture the semantic relationship between different parts of the image, which helps to identify important features and patterns in the image.
[0054] Next, considering that the local image semantics of different regions in the image data may have different degrees of importance, it is necessary to use the correlation between the image semantics of each region to perform weighted integration of the semantics of image blocks in different local regions in the process of semantic analysis and feature capture of the image. Specifically, in the initialization model training template, the sequence of local image semantic feature vectors of the media content is passed through a feature selection fusion device based on an autocorrelation attention network to obtain a global image-related semantic selection fusion feature vector of the media content. By fusing the sequence of local image semantic feature vectors of the media content through an autocorrelation attention network, the semantic features of local image blocks can be integrated into global features, and in the process of integration, it can also select and fuse the most representative feature information according to the correlation and importance between the semantic features of different image blocks, thereby improving the representation ability and discrimination of the semantic features of the image data.
[0055] In a specific embodiment of the present application, the media content global image semantic fusion unit is used to: in the initialization model training template, pass the sequence of the media content local image semantic feature vectors through a feature selection fusion device based on an autocorrelation attention network to obtain the media content global image correlation semantic selection fusion feature vector.
[0056] Furthermore, the media content global image semantic fusion unit is used to: process the sequence of the media content local image semantic feature vectors through the feature selection fusion device based on the autocorrelation attention network with the following feature selection formula to obtain the media content global image related semantic selection fusion feature vector; wherein the feature selection formula is: ,in, is the first in the sequence of the local image semantic feature vectors of the media content The semantic feature vector of the local image of the media content, and Represent the weight coefficient vector and weight coefficient matrix respectively, is the offset vector, express function, For the The attention score of the semantic feature vector of the local image of the media content, represents exponential operation, For the The attention score of the semantic feature vector of the local image of the media content, is the number of vectors in the sequence of the local image semantic feature vectors of the media content, For the The weight value of the semantic feature vector of the local image of the media content, A fused feature vector is selected for the global image-related semantics of the media content.
[0057] Then, for the text data of the media content, it may contain a large amount of semantic information, which is composed of individual words, and the smallest semantic unit is the word granularity. Therefore, in order to be able to more fully and accurately understand the semantics of the text data, it is necessary to perform word segmentation processing on the media content text data in the initialization model training template and then pass it through the word embedding layer to obtain a sequence of media content text word embedding vectors. Through the processing of word segmentation and word embedding coding, it is convenient to better characterize the semantic information of the text data in the future, so that the system can better understand the text content, thereby providing richer feature representation for subsequent model training and text data processing.
[0058] Further, considering that each word embedding vector in the media content text data has a mutual correlation relationship, the semantic association between different words can represent different semantic features. Therefore, in order to more fully capture the semantic features of the text data of the media content, in the technical solution of the present application, in the initialization model training template, the sequence of the media content text word embedding vector is passed through a text word granularity context semantic encoder based on a one-dimensional extended convolutional network to obtain a sequence of media content text word granularity context semantic feature vectors. It should be understood that the one-dimensional extended convolutional network can introduce a hyperparameter called the expansion rate to control the number of null values 0 in the convolution kernel. The expansion rate defines the word spacing in the text data processed by the convolution kernel. After the extended convolution operation, the semantic association features between words at different step lengths and at a long distance can be captured, which is conducive to identifying important word combinations and phrase structures in the text data, thereby improving the representation ability of the text. At the same time, by capturing the semantic association between words at different step lengths, the receptive field of the model can be gradually expanded, thereby capturing a wider range of context information and helping the system to better understand the semantic relationship and context in the text data.
[0059] It should be understood that the deep neural network is a one-dimensional extended convolutional network.
[0060] It should be understood that after capturing the contextual semantic association features of each word, in order to be able to interact and associate different parts in the word sequence within the global scope of the text data, thereby capturing the global semantic relationship in the text data and helping the system to better understand the text content, in the initialization model training template, the sequence of the media content text word granularity contextual semantic feature vector is further passed through a text attention interaction module based on a global perspective to obtain a media content text global semantic interaction feature vector. Through the processing of the text attention interaction module based on a global perspective, the interaction weights between the word granularity features can be dynamically adjusted according to the importance of words at different positions in the sequence of the text word granularity contextual semantic feature vector, thereby improving the representation ability and discrimination of the features. This helps to capture the global semantic relationship and interaction information in the text data, thereby improving the system's understanding and representation ability of the overall text semantics, so as to more comprehensively understand the text content.
[0061] In a specific embodiment of the present application, the text word granularity context semantic association encoding unit is used to: in the initialization model training template, pass the sequence of the media content text word granularity context semantic feature vectors through a text attention interaction module based on a global perspective to obtain the media content text global semantic interaction feature vector.
[0062] Furthermore, the text word granularity context semantic association encoding unit is used to: process the sequence of the media content text word granularity context semantic feature vectors through the text attention interaction module based on the global perspective with the following global text attention interaction formula to obtain the media content text global semantic interaction feature vector; wherein the global text attention interaction formula is: ;in, is the first in the sequence of the media content text word granularity context semantic feature vector media content text word granularity context semantic feature vector, is the first in the sequence of the media content text word granularity context semantic feature vector and The correlation matrix between the contextual semantic feature vectors of media content text words, is the first in the sequence of the media content text word granularity context semantic feature vector and The correlation matrix between the contextual semantic feature vectors of media content text words, is the number of vectors in the sequence of the media content text word granularity context semantic feature vectors, represents the matrix exponential operation, is the global semantic interaction feature vector of the media content text.
[0063] Then, it is considered that the global image-related semantic selection fusion feature vector of the media content and the global semantic interaction feature vector of the media content text respectively contain the global image-related semantic features and the global semantic interaction features of the text related to the media content. In order to combine the semantic information of the image and text data, realize the interaction and fusion between different modes of the media content, thereby improving the system's comprehensive understanding and representation capabilities of multimodal data, so as to more accurately detect sensitive content, in the technical solution of the present application, the global image-related semantic selection fusion feature vector of the media content and the global semantic interaction feature vector of the media content text are further passed through a multimodal feature hybrid interaction module to obtain a multi-dimensional semantic interaction feature vector of the media content. Through the processing of the multimodal feature hybrid interaction module, the semantic feature vectors of the image and text can be fused into a multi-dimensional semantic interaction feature vector. These feature vectors contain rich semantic interaction information between the image and text data, which helps the system better capture the correlation information between different modes, and provide a more comprehensive and integrated multimodal data representation for subsequent model training and sensitive content detection.
[0064] In a specific embodiment of the present application, the media content multimodal feature hybrid interaction unit is used to: process the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector through a multimodal feature hybrid interaction module using the following multimodal feature fusion formula to obtain the media content multi-dimensional semantic interaction feature vector; wherein the multimodal feature fusion formula is: ;in, and Select a fusion feature vector for the global image-related semantics of the media content and a global semantic interaction feature vector for the text of the media content, respectively. For splicing operation, is a concatenated feature vector of the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector, Indicates full connection processing, express function, is the activation feature vector, and Respectively represent the full connection processing of different numbers of nodes, is the first fully connected feature vector, is the second fully connected eigenvector, is the exponential operation of the first fully connected eigenvector, is the exponential operation of the second fully connected eigenvector, is the first weight vector, is the second weight vector, is the multi-dimensional semantic interaction feature vector of the media content.
[0065] Then, during the training process, the classification loss function value is calculated using the multi-dimensional semantic interaction features between the image data and text data of the media content, and based on the classification loss function value, the initialization model training template is trained to obtain a new machine learning model. In this way, the trained new machine learning model can quickly adapt to new sensitive content features, thereby improving the efficiency of media content security monitoring.
[0066] In the above technical scheme, the global image-related semantic selection fusion feature vector of the media content and the global semantic interaction feature vector of the media content text respectively express the image semantic features and text semantic features of the image part and the text part of the media content through local distribution enhancement. Therefore, considering the source data modality differences of the image part and the text part and the corresponding feature extraction dimension differences, the sequence of the local image semantic feature vectors of the media content and the sequence of the word-granularity context semantic feature vectors of the media content will also have the local feature distribution mismatch of their respective semantics, thereby causing more significant distribution mismatch between the global image-related semantic selection fusion feature vector of the media content and the global semantic interaction feature vector of the media content text in the vector direction of the feature distribution after the attention enhancement of the local distribution.
[0067] In this way, when the global image-related semantic selection fusion feature vector of the media content and the global semantic interaction feature vector of the media content text are subjected to position-by-position multimodal mixed interaction fusion along the feature vector distribution direction through a multimodal feature mixed interaction module to obtain the multidimensional semantic interaction feature vector of the media content, the multidimensional semantic interaction feature vector of the media content will also have eigenvalue-by-eigenvalue feature distribution differences corresponding to the correlation imbalance caused by the distribution mismatch, that is, the inconsistency of the local feature distribution of the multidimensional semantic interaction feature vector of the media content based on the eigenvalue numerical distribution, thereby affecting the convergence speed of the multidimensional semantic interaction feature vector of the media content through the class regression iteration of the classifier.
[0068] Therefore, the applicant of the present application iteratively optimizes the multi-dimensional semantic interaction feature vector of the media content each time the multi-dimensional semantic interaction feature vector of the media content is iterated through classification regression by the classifier, which is expressed as: optimizing the multi-dimensional semantic interaction feature vector of the media content by the following optimization formula to obtain the optimized multi-dimensional semantic interaction feature vector of the media content; wherein the optimization formula is: ;in, is the first of the multi-dimensional semantic interaction feature vectors of the media content eigenvalues, Represents the probabilistic function of the eigenvalue, that is, the eigenvalue Map to The probability function of the interval, is the class probability value obtained by the classifier, is the length of the multi-dimensional semantic interaction feature vector of the media content, and is the weight hyperparameter, is the optimized media content multi-dimensional semantic interaction feature vector. eigenvalues, Represents calculation of the natural exponential function value raised to the power of value.
[0069] Here, the feature value of the multi-dimensional semantic interaction feature vector of the media content is calculated by taking the Bernoulli probability likelihood distribution as the authoritative meta-entity Based on Bernoulli probability distribution The high-level class decision is made by introducing the probability density space mapping allocation relative to the whole feature set, thereby determining the feature value of the multi-dimensional semantic interaction feature vector of the media content The key insights from class probability mapping are used to realize the feature values of the multi-dimensional semantic interaction feature vector of the media content. Based on class probability distribution The correctness of the matching function with class convergence is achieved to promote sample iterative convergence and improve the classification training speed through the superior convergence performance.
[0070] The media content security monitoring system is a system that uses deep learning technology to perform big data analysis and identification of multi-dimensional (image, sound, text) content, with the aim of determining whether the content involves sensitive or illegal information. However, this system is often difficult to effectively identify and process some occasional or small amounts of sensitive content, resulting in poor monitoring results. In order to solve this problem, a media content security monitoring system based on meta-learning is proposed. The system can use the advantages of a large number of existing data models and meta-learning algorithms to quickly learn new tasks from a small amount of data and improve the performance of new tasks. In this way, it is possible to timely discover and monitor those rare but potentially harmful contents in media content security monitoring, thereby improving the accuracy and efficiency of the system.
[0071] In summary, the meta-learning-based media content security monitoring system 100 based on the embodiment of the present application is explained, which submits a new model training task according to the possible sensitive content (a small amount of data) in the real-time content monitoring target, searches for similar training models in the existing machine learning models through the model search module, and optimizes the algorithm model of the model to become a model training template for the new task. The data of sensitive content is injected into the model input end, and the learning parameters are initialized. Then, the training model is trained in machine learning models such as task decomposition, learning optimization, and domain adaptation to obtain a judgment result. The data of the judgment result is used to continue to adjust the learning parameters to make the accuracy of the model higher and higher, forming a new machine learning model.
[0072] As described above, the meta-learning-based media content security monitoring system 100 according to the embodiment of the present application can be implemented in various terminal devices, such as a server for meta-learning-based media content security monitoring, etc. In one example, the meta-learning-based media content security monitoring system 100 according to the embodiment of the present application can be integrated into the terminal device as a software module and / or a hardware module. For example, the meta-learning-based media content security monitoring system 100 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the meta-learning-based media content security monitoring system 100 can also be one of the many hardware modules of the terminal device.
[0073] Alternatively, in another example, the meta-learning-based media content security monitoring system 100 and the terminal device may also be separate devices, and the meta-learning-based media content security monitoring system 100 may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0074] Figure 4 Flowchart of a media content security monitoring method based on meta-learning provided in an embodiment of the present application. Figure 4 As shown, a media content security monitoring method based on meta-learning includes: 210, performing preliminary sensitive detection on the received media content to obtain a preliminary sensitive detection result; 220, in response to the preliminary sensitive detection result indicating that sensitive content may exist, performing a model search to obtain an existing machine learning model; 230, performing model optimization on the existing machine learning model to obtain a model training template; 240, using a meta-learning strategy, and training the model training template based on the media content to obtain a new machine learning model.
[0075] Those skilled in the art will appreciate that the specific operations of each step in the above-mentioned media content security monitoring method based on meta-learning have been described in detail above. Figures 1 to 3The description of the meta-learning based media content security monitoring system has been introduced in detail, and therefore, its repeated description will be omitted.
[0076] Figure 5 FIG. 1 is an application scenario diagram of a media content security monitoring system based on meta-learning provided in an embodiment of the present application. Figure 5 As shown, in this application scenario, first, based on the task-related condition information, the model training template is used to perform meta-learning initialization parameters to obtain an initialization model training template (for example, Figure 5 C1 as shown in FIG); extracting an image portion from the media content (e.g., Figure 5 C2) and textual parts (e.g. Figure 5 Then, the obtained initialization model training template, image part and text part are input to a server (for example, Figure 5 In S) shown in , the server is capable of processing the initialization model training template, the image part and the text part based on a meta-learning media content security monitoring algorithm to train the model training template based on the media content to obtain a new machine learning model.
[0077] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A media content security monitoring system based on meta-learning, characterized in that: include: A preliminary sensitive information detection module, used to perform preliminary sensitive information detection on the received media content to obtain a preliminary sensitive information detection result; A model search module, configured to perform a model search to obtain an existing machine learning model in response to the preliminary sensitive content detection result indicating that sensitive content may exist; A model optimization module, used to optimize the existing machine learning model to obtain a model training template; A model training template training module, used for using a meta-learning strategy and training the model training template based on the media content to obtain a new machine learning model; The model optimization module is used to adjust the hyperparameters of the existing machine learning model to optimize the existing machine learning model to obtain the model training template; Wherein, the model training template training module includes: A model training template parameter initialization unit, used to perform meta-learning initialization parameters on the model training template based on task-related condition information to obtain an initialized model training template; A media content data extraction unit, used for extracting an image portion and a text portion from the media content to obtain media content image data and media content text data; A data input template unit, used for inputting the media content image data and the media content text data into the initialization model training template; An image local semantic analysis unit, used for, in the initialization model training template, dividing the media content image data into image blocks and then passing the image local semantic feature extractor based on the ViT model to obtain a sequence of media content local image semantic feature vectors; A media content global image semantic fusion unit, used to perform feature selection fusion on the sequence of the media content local image semantic feature vectors in the initialization model training template to obtain a media content global image related semantic selection fusion feature vector; A text word embedding encoding unit, used to perform word segmentation processing on the media content text data in the initialization model training template and then pass it through a word embedding layer to obtain a sequence of media content text word embedding vectors; A text word granularity context semantic association encoding unit, used to extract features from the sequence of media content text word embedding vectors in the initialization model training template by using a text word granularity context semantic encoder based on a deep neural network to obtain a sequence of media content text word granularity context semantic feature vectors; A text word granularity semantic fusion unit, used to perform text attention interaction fusion based on a global perspective on the sequence of the media content text word granularity context semantic feature vectors in the initialization model training template to obtain a media content text global semantic interaction feature vector; A media content multimodal feature hybrid interaction unit, used for obtaining a media content multi-dimensional semantic interaction feature vector by passing the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector through a multimodal feature hybrid interaction module; An interactive semantics optimization unit, used for optimizing the media content multi-dimensional semantic interaction feature vector to obtain an optimized media content multi-dimensional semantic interaction feature vector; A classification loss function value calculation unit, used for passing the optimized media content multi-dimensional semantic interaction feature vector through a sensitive content detector based on a classifier to obtain a classification loss function value; A template training unit is used to train the initialization model training template based on the classification loss function value to obtain a new machine learning model, wherein each time the multi-dimensional semantic interaction feature vector of the media content is iteratively optimized when the classification regression is iterated by the sensitive content detector based on the classifier; The media content global image semantic fusion unit is used to: in the initialization model training template, pass the sequence of the media content local image semantic feature vectors through a feature selection fusion device based on an autocorrelation attention network to obtain the media content global image related semantic selection fusion feature vector; The media content global image semantic fusion unit is used to: process the sequence of the media content local image semantic feature vectors through the feature selection fusion device based on the autocorrelation attention network with the following feature selection formula to obtain the media content global image related semantic selection fusion feature vector; Among them, the feature selection formula is: ;in, is the first in the sequence of the local image semantic feature vectors of the media content The semantic feature vector of the local image of the media content, and Represent the weight coefficient vector and weight coefficient matrix respectively, is the offset vector, express function, For the The attention score of the semantic feature vector of the local image of the media content, represents exponential operation, For the The attention score of the semantic feature vector of the local image of the media content, is the number of vectors in the sequence of the local image semantic feature vectors of the media content, For the The weight value of the semantic feature vector of the local image of the media content, Selecting a fused feature vector for global image-related semantics of the media content; Wherein, the deep neural network is a one-dimensional extended convolutional network; The text word granularity context semantic association encoding unit is used to: in the initialization model training template, pass the sequence of the media content text word granularity context semantic feature vector through the text attention interaction module based on the global perspective to obtain the media content text global semantic interaction feature vector; The text word granularity context semantic association encoding unit is used to: process the sequence of the media content text word granularity context semantic feature vectors through the global perspective-based text attention interaction module using the following global text attention interaction formula to obtain the media content text global semantic interaction feature vector; Among them, the global text attention interaction formula is: ;in, is the first in the sequence of the media content text word granularity context semantic feature vector media content text word granularity context semantic feature vector, is the first in the sequence of the media content text word granularity context semantic feature vector and The correlation matrix between the contextual semantic feature vectors of media content text words, is the first in the sequence of the media content text word granularity context semantic feature vector and The correlation matrix between the contextual semantic feature vectors of media content text words, is the number of vectors in the sequence of the media content text word granularity context semantic feature vectors, represents the matrix exponential operation, is the global semantic interaction feature vector of the media content text; The media content multimodal feature hybrid interaction unit is used to: process the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector through a multimodal feature hybrid interaction module using the following multimodal feature fusion formula to obtain the media content multidimensional semantic interaction feature vector; Among them, the multimodal feature fusion formula is: ;in, and Select a fusion feature vector for the global image-related semantics of the media content and a global semantic interaction feature vector for the text of the media content, respectively. For splicing operation, is a concatenated feature vector of the media content global image-related semantic selection fusion feature vector and the media content text global semantic interaction feature vector, Indicates full connection processing, express function, is the activation feature vector, and Respectively represent the full connection processing of different numbers of nodes, is the first fully connected feature vector, is the second fully connected eigenvector, is the exponential operation of the first fully connected eigenvector, is the exponential operation of the second fully connected eigenvector, is the first weight vector, is the second weight vector, is the multi-dimensional semantic interaction feature vector of the media content.
2. A media content security monitoring method based on meta-learning, using the media content security monitoring system based on meta-learning according to claim 1, characterized in that: include: Performing a preliminary allergy detection on the received media content to obtain a preliminary allergy detection result; In response to the preliminary sensitive information detection result indicating that sensitive information may exist, performing a model search to obtain an existing machine learning model; Performing model optimization on the existing machine learning model to obtain a model training template; A meta-learning strategy is used to train the model training template based on the media content to obtain a new machine learning model.
Citation Information
Patent Citations
Sketch face recognition method, device and equipment based on lightweight semantic Transform model
CN116189265A
Image recognition method, method for training image recognition model and corresponding device
CN116206309A
System and method for progressive learning of machine learning models to optimize training speed
CN116868204A
Data processing method and device, computer equipment and readable storage medium
CN116976327A
Systems and methods for progressive learning for machine-learned models to optimize training speed
US20220245928A1
