Audio and video content retrieval system and method based on artificial intelligence
Through the audio and video content retrieval system based on artificial intelligence, deep learning technology is used to extract feature vectors and perform classifier judgment, which solves the problem of low audio and video file retrieval efficiency in the existing technology, achieving accurate matching and saving time.
Patent Information
- Application Number
- CN202410763743.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-14
AI Technical Summary
Existing audio and video content retrieval methods are difficult to effectively process and quickly retrieve large amounts of audio and video files, causing users to spend a lot of time looking for specific content.
An audio and video content retrieval system based on artificial intelligence is used to obtain the user demand text data input by the user and the stored media audio and video files through deep learning technology, extract the global semantic feature vector of the demand text and the media audio and video correlation feature vector, and use the classifier to judge Whether the audio and video files required by the user exist.
It achieves precise matching of user needs and audio and video files, saves labor costs and time, and improves the retrieval efficiency and accuracy of audio and video files.
Smart Images

Figure CN118332140B
Abstract
Description
Technical Field
[0001] The present application relates to the field of content retrieval, and more specifically, to an audio and video content retrieval system and method based on artificial intelligence. Background Art
[0002] In the past, people spent a lot of time and energy in the library to consult a large number of paper documents. However, with the development of electronic retrieval technology, this method has gradually been replaced. A large storage server can already hold more documents than a huge library. With the continuous advancement of technology, information is no longer limited to text materials, but also includes more intuitive audio and video files. Video files are a combination of audio and images.
[0003] In the media and entertainment industry, the demand for audio and video content retrieval is growing. With the continuous emergence of massive amounts of audio and video materials, media practitioners need to effectively manage and quickly retrieve these materials to improve work efficiency, speed up the content production process, and better meet the needs of the audience. However, current retrieval methods are very efficient and convenient for text materials, but they cannot effectively handle the content in large audio and video files. For example, when a user needs to find a specific sound clip (such as a sentence or a few sentences) in a media audio or media video file that is several hours long, it will take a lot of time to browse the entire media file. If the user does not know which media audio or media video file the required content is in, it will be even more difficult to start with a large number of media files.
[0004] Therefore, an audio and video content retrieval system and method based on artificial intelligence is desired. Summary of the invention
[0005] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides an audio and video content retrieval system and method based on artificial intelligence, which first obtains the user demand text data input by the user and the media audio and video files stored in the server, and then uses deep learning technology to perform feature extraction and association analysis on the two, and finally obtains the classification result through a classifier to determine whether there is the audio and video file required by the user, thereby matching the user demand with the existing files, saving manpower costs and time.
[0006] According to one aspect of the present application, there is provided an audio and video content retrieval system based on artificial intelligence, which includes:
[0007] The media audio and video content acquisition module is used to obtain the user demand text data input by the user and the media audio and video files stored in the server;
[0008] A media audio and video content extraction module, used to extract a global semantic feature vector of the demand text and a media audio and video associated feature vector from the user demand text data input by the user and the media audio and video files stored in the server;
[0009] The user demand judgment module is used to judge whether there is an audio or video file required by the user based on the global semantic feature vector of the demand text and the media audio and video associated feature vector.
[0010] In the above-mentioned audio and video content retrieval system based on artificial intelligence, the media audio and video content extraction module includes: a user demand text data semantic encoding unit, which is used to semantically encode the user demand text data input by the user to obtain a global semantic feature vector of the demand text; a media audio feature encoding unit, which is used to perform audio feature encoding on the media audio part in the media audio and video file stored on the server to obtain a media audio feature vector; a media video feature encoding unit, which is used to perform video feature encoding on the media video part in the media audio and video file stored on the server to obtain a media video global feature vector; a media audio and video content feature association unit, which is used to associate the media audio feature vector with the media video global feature vector to obtain the media audio and video association feature vector.
[0011] In the above-mentioned audio and video content retrieval system based on artificial intelligence, the media audio feature encoding unit includes: passing the user demand text data input by the user through a converter-based demand text context semantic encoder to obtain multiple demand text semantic feature vectors; cascading the multiple demand text semantic feature vectors to obtain the demand text global semantic feature vector.
[0012] In the above-mentioned artificial intelligence-based audio and video content retrieval system, the media audio feature encoding unit includes: performing audio vectorization on the media audio part in the media audio and video file stored in the server to obtain a media original audio vector; and passing the media original audio vector through a media original audio feature encoder to obtain the media audio feature vector.
[0013] In the above-mentioned artificial intelligence-based audio and video content retrieval system, the media video feature encoding unit includes: a media video feature extraction subunit, used to extract features from the media video part in the media audio and video file stored in the server to obtain multiple media video feature matrices; an aggregation subunit, used to aggregate the multiple media video feature matrices along the time dimension to obtain a media video three-dimensional feature input tensor; a media video global convolution encoding subunit, used to pass the media video three-dimensional feature input tensor through a media video convolutional neural network using a three-dimensional convolution kernel to obtain the media video global feature vector.
[0014] In the above-mentioned artificial intelligence-based audio and video content retrieval system, the media video feature extraction subunit includes: extracting multiple media video file key frames from the media video part in the media audio and video file stored in the server; passing the multiple media video file key frames through a media video feature extractor including a deep and shallow fusion module to obtain the multiple media video feature matrices.
[0015] In the above-mentioned artificial intelligence-based audio and video content retrieval system, the user demand judgment module includes: a media audio and video feature fusion unit, which is used to fuse the global semantic feature vector of the demand text and the media audio and video associated feature vector to obtain a media audio and video retrieval feature matrix; an optimization unit, which is used to perform deep correlation correction on the media audio and video retrieval feature matrix based on dynamic forming deep positioning features to obtain an optimized media audio and video retrieval feature matrix; a user retrieval demand judgment generation unit, which is used to pass the optimized media audio and video retrieval feature matrix through a classifier to obtain a classification result, and the classification result is used to determine whether there are audio and video files required by the user.
[0016] In the above-mentioned artificial intelligence-based audio and video content retrieval system, the optimization unit includes: flattening the media audio and video retrieval feature matrix to obtain a media audio and video retrieval feature vector; performing depth correlation correction on the media audio and video retrieval feature vector based on dynamic forming depth positioning features to obtain an optimized media audio and video retrieval feature vector; and performing reverse feature aggregation on the optimized media audio and video retrieval feature vector in accordance with the feature flattening method to obtain the optimized media audio and video retrieval feature matrix.
[0017] In the above-mentioned artificial intelligence-based audio and video content retrieval system, the media audio and video retrieval feature vector is subjected to a depth correlation correction based on a dynamically formed deep positioning feature to obtain an optimized media audio and video retrieval feature vector, including: determining the mean of the media audio and video retrieval feature vector; accumulating and summing the media audio and video retrieval feature vectors to obtain a sum value of the media audio and video retrieval feature vectors; subtracting the mean of the media audio and video retrieval feature vector from the sum value of the media audio and video retrieval feature vector, dividing the sum value by a predetermined hyperparameter, and then dividing the sum value by the length of the media audio and video retrieval feature vector to obtain a first quotient value; calculating an exponential function value with a natural constant as the base for the first quotient to obtain a first natural exponential function value; and performing position point multiplication of the first natural exponential function value and the media audio and video retrieval feature vector to obtain an optimized media audio and video retrieval feature vector.
[0018] According to another aspect of the present application, there is provided an audio and video content retrieval method based on artificial intelligence, which includes:
[0019] Obtain user demand text data input by the user and media audio and video files stored in the server;
[0020] Extracting a global semantic feature vector of the demand text and a media audio and video associated feature vector from the user demand text data input by the user and the media audio and video files stored in the server;
[0021] Based on the global semantic feature vector of the demand text and the media audio and video associated feature vector, it is determined whether there is an audio and video file required by the user.
[0022] Compared with the prior art, the present application provides an artificial intelligence-based audio and video content retrieval system and method, which first obtains the user demand text data input by the user and the media audio and video files stored on the server, and then uses deep learning technology to perform feature extraction and correlation analysis on the two, and finally obtains the classification result through a classifier to determine whether there is the audio and video file required by the user, thereby matching user needs with existing files and saving manpower costs and time. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0024] Figure 1 It is a block diagram of an audio and video content retrieval system based on artificial intelligence according to an embodiment of the present application.
[0025] Figure 2 It is a block diagram of a media audio and video content extraction module in an audio and video content retrieval system based on artificial intelligence according to an embodiment of the present application.
[0026] Figure 3 It is a block diagram of a media video feature encoding unit in an artificial intelligence-based audio and video content retrieval system according to an embodiment of the present application.
[0027] Figure 4 A block diagram of a user demand judgment module in an artificial intelligence-based audio and video content retrieval system according to an embodiment of the present application.
[0028] Figure 5 The present invention is a flowchart of an audio and video content retrieval method based on artificial intelligence according to an embodiment of the present application.
[0029] Figure 6 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0031] Exemplary Systems
[0032] Figure 1 FIG. 1 is a block diagram of an audio and video content retrieval system based on artificial intelligence according to an embodiment of the present application. Figure 1 As shown, according to the artificial intelligence-based audio and video content retrieval system 100 according to the embodiment of the present application, it includes: a media audio and video content acquisition module 110, which is used to obtain user demand text data input by the user and the media audio and video files stored in the server; a media audio and video content extraction module 120, which is used to extract the demand text global semantic feature vector and the media audio and video associated feature vector from the user demand text data input by the user and the media audio and video files stored in the server; a user demand judgment module 130, which is used to judge whether there are audio and video files required by the user based on the demand text global semantic feature vector and the media audio and video associated feature vector.
[0033] In the above-mentioned audio and video content retrieval system 100 based on artificial intelligence, the media audio and video content acquisition module 110 is used to obtain the user demand text data input by the user and the media audio and video files stored in the server. It should be understood that in the field of media and entertainment, with the emergence of a large number of audio and video materials, the demand for audio and video content retrieval is increasing. Media workers need to effectively manage and quickly retrieve these materials to improve work efficiency, accelerate the content production process, and better cater to the needs of the audience. However, the current retrieval method is very efficient and convenient for text materials, but it cannot effectively process the content of a large number of audio and video files. For example, when a user needs to find a specific sound clip in an audio or video file that is several hours long, such as a sentence or a few sentences, it can only take a lot of time to browse the entire file. If the user does not know which file the required content is in, he or she will not know where to start when facing a large number of media files. Therefore, the technical solution of the present application obtains the user demand text data input by the user and the media audio and video files stored in the server, and combines deep learning technology to determine whether there are audio and video files required by the user. Among them, the user demand text data carries the user's description and requirements for the required audio and video content, and provides the system with a retrieval direction and target. These text data may cover information such as keywords, themes, and emotional tendencies, helping the system understand the user's intentions and needs. At the same time, the media audio and video files stored on the server are the objects of retrieval, containing rich audio and video content. These files may be various types of multimedia resources such as music, movies, and programs, which are stored and managed by the server, providing the system with a wide range of retrieval and content libraries. The system needs to access these files and extract the audio and video features in them in order to match and compare them with user needs. By obtaining user demand text data and media audio and video files, the system can establish a connection between user needs and media content, realize intelligent content retrieval and recommendation functions, and thus provide users with personalized and accurate audio and video content recommendation services, improving user experience and system efficiency.
[0034] In the above-mentioned audio and video content retrieval system 100 based on artificial intelligence, the media audio and video content extraction module 120 is used to extract the global semantic feature vector of the demand text and the media audio and video association feature vector from the user demand text data input by the user and the media audio and video files stored in the server. It should be understood that the global semantic feature vector of the demand text captures the overall semantic meaning of the user's demand. By semantically encoding and extracting features from the text, the system can better understand the user's intentions and requirements. At the same time, the media audio and video association feature vector reflects the degree of association between media audio and media video. By performing feature extraction and association analysis on audio and video files, the system can determine which media files are most relevant to user needs. The key to this process is to convert user demand text data and media audio and video files into computable feature vector representations, thereby realizing semantic understanding and association analysis of the content, thereby more accurately matching user needs and media content, and providing users with more accurate audio and video retrieval results.
[0035] Figure 2 FIG. 1 is a block diagram of a media audio and video content extraction module in an audio and video content retrieval system based on artificial intelligence according to an embodiment of the present application. Figure 2 As shown, in a specific embodiment of the present application, the media audio and video content extraction module 120 includes: a user demand text data semantic encoding unit 121, which is used to semantically encode the user demand text data input by the user to obtain the global semantic feature vector of the demand text; a media audio feature encoding unit 122, which is used to perform audio feature encoding on the media audio part in the media audio and video file stored in the server to obtain a media audio feature vector; a media video feature encoding unit 123, which is used to perform video feature encoding on the media video part in the media audio and video file stored in the server to obtain a media video global feature vector; a media audio and video content feature association unit 124, which is used to associate the media audio feature vector with the media video global feature vector to obtain the media audio and video association feature vector. It should be understood that semantic encoding can learn the semantic information of text data and encode it into a dense vector representation. Through this encoding method, the semantic relationship and context information in the text data are retained, so that the system can better understand the meaning and intention of the user demand. After obtaining the global semantic feature vector of the demand text, the system can use these vectors to compare and match similarities, thereby realizing the semantic association between user needs and media content.
[0036] Furthermore, the process of audio feature encoding involves extracting key features from audio signals, such as spectral information, sound intensity, rhythm, etc., and then converting these features into numerical vector representations. Through audio feature encoding, the system can capture important features of audio files, including speech content, music rhythm, environmental sounds, etc., thereby achieving semantic understanding and similarity comparison of audio content.
[0037] Furthermore, through video feature coding, the system can capture the semantic information, action features, and visual features in the video content, thereby achieving understanding and representation of the video content. After obtaining the global feature vectors of the media video, the system can use these vectors to compare the similarity of video content, recommend and retrieve content, and provide users with personalized video recommendation services. Among them, the process of video feature coding usually uses deep learning models, such as convolutional neural networks and recurrent neural networks, which can effectively extract spatial and temporal features in video content and convert them into compact feature representations. Through video feature coding, the system can better understand the semantic information of video content, improve the accuracy and efficiency of video retrieval and recommendation, and thus enhance the user experience and the intelligence level of the system.
[0038] In particular, by associating the media audio feature vector and the media video global feature vector, the system can integrate the feature information of the audio and video content to form a more comprehensive and comprehensive media audio and video associated feature vector. Such an associated feature vector not only contains the feature information of the audio and video respectively, but also captures the correlation and complementarity between audio and video, thereby providing a richer and deeper representation of the media content. Specifically, the generation process of the media audio and video associated feature vector involves fusing or splicing the audio feature vector and the video global feature vector to establish a connection between audio and video. This association can help the system better understand the media content, identify the semantic association between audio and video, and improve the depth and breadth of content understanding. By associating feature vectors, the system can achieve more accurate and comprehensive media content retrieval, similarity matching and recommendation services.
[0039] In a specific embodiment of the present application, the user demand text data semantic encoding unit 121 includes: the user demand text data input by the user is processed by a demand text context semantic encoder based on a converter to obtain multiple demand text semantic feature vectors; the multiple demand text semantic feature vectors are cascaded to obtain the demand text global semantic feature vector. It should be understood that the user demand text data input by the user is processed by a demand text context semantic encoder based on a converter, aiming to use advanced natural language processing technology to perform deep semantic modeling on the user demand text, thereby generating multiple demand text semantic feature vectors. These feature vectors can capture the semantic information, context association and context features in the user demand text, and provide a more accurate and comprehensive representation for the system to understand user needs. Among them, the demand text context semantic encoder is usually based on a model architecture such as Transformer, and has powerful semantic understanding and representation learning capabilities. Through such an encoder, the system can convert the user demand text into a high-dimensional semantic feature vector, which can reflect the meaning, purpose and context of the user demand, thereby capturing the semantic information and feature structure in the text. Specifically, the user demand text data input by the user is segmented to obtain a user demand word sequence; the embedding layer of the converter-based demand text context semantic encoder is used to map each word in the user demand word sequence into a word embedding vector to obtain a sequence of user demand word embedding vectors; the sequence of user demand word embedding vectors is encoded based on global context semantics using the converter-based Bert model of the converter-based demand text context semantic encoder to obtain multiple demand text semantic feature vectors.
[0040] Furthermore, by cascading multiple semantic feature vectors of demand texts, the system can fuse semantic information at different levels to form a more global and comprehensive global semantic feature vector of demand texts. This cascading operation can take into account the semantic associations and mutual influences between each local feature vector, thereby providing a more complete and accurate semantic representation of demand texts. This cascading operation can help the system better grasp the overall semantic information of demand texts, capture important features such as themes, emotions, and contexts in demand texts, and improve the system's in-depth understanding and accurate grasp of user needs.
[0041] In a specific embodiment of the present application, the media audio feature encoding unit 122 includes: performing audio vectorization on the media audio part in the media audio and video file stored in the server to obtain a media original audio vector; passing the media original audio vector through a media original audio feature encoder to obtain the media audio feature vector. It should be understood that by performing audio vectorization on the media audio part in the media audio and video file stored on the server, the system can convert the audio content into a mathematical representation, namely, a media original audio vector. This conversion process encodes important contents such as sound features, spectral information and time domain characteristics in the audio signal into a vector form, so that the system can more conveniently analyze, process and apply the audio content. The process of audio vectorization usually involves digitizing the audio signal and extracting key features and parameters of the audio, such as spectral features, sound intensity, intonation changes, etc. These features are integrated into a vector to form a media original audio vector, which is used to represent the features and structure of the original audio content. Specifically, vector quantization (VQ) is an extremely important lossy data compression method based on block coding rules. It is widely used in fields such as speech coding, speech recognition and speech synthesis. The basic idea is to group several scalar data into a vector and then quantize it as a whole in the vector space, thereby compressing the data without losing too much information.
[0042] Furthermore, by processing the media original audio vector through the media original audio feature encoder, the system can extract more representative and information-rich features from the audio signal to form a media audio feature vector. This process involves converting the original audio data into a higher-level abstract feature representation so that the system can better understand and utilize the audio content. Specifically, each layer of the media original audio feature encoder is used to perform convolution processing, pooling processing, and nonlinear activation processing on the input data in the forward pass of the layer to output the media audio feature vector by the last layer of the media original audio feature encoder, wherein the input of the media original audio feature encoder is the media original audio vector.
[0043] Figure 3 FIG. 1 is a block diagram of a media video feature encoding unit in an audio and video content retrieval system based on artificial intelligence according to an embodiment of the present application. Figure 3As shown, in a specific embodiment of the present application, the media video feature encoding unit 123 includes: a media video feature extraction subunit 1231, which is used to extract features from the media video part in the media audio and video file stored on the server to obtain multiple media video feature matrices; an aggregation subunit 1232, which is used to aggregate the multiple media video feature matrices along the time dimension to obtain a media video three-dimensional feature input tensor; a media video global convolution encoding subunit 1233, which is used to obtain the media video global feature vector by using a media video convolution neural network with a three-dimensional convolution kernel to obtain the media video three-dimensional feature input tensor. It should be understood that by extracting features from the media video part in the media audio and video file stored on the server, the system can extract multiple key features from the video frame sequence to form multiple media video feature matrices. Each media video feature matrix represents the feature representation of the video content in different aspects, such as color features, motion features, texture features, etc. These feature matrices can help the system capture the diversity and richness of video content. The feature extraction process extracts meaningful feature information from the video frame through various algorithms and techniques, such as histogram features, optical flow features, depth features, etc. The generation of these feature matrices can help the system better classify, retrieve and compare similarities of video content, providing users with more intelligent and personalized video recommendations and services.
[0044] Furthermore, by aggregating multiple media video feature matrices along the time dimension, the system can integrate the time series information in the video content into a three-dimensional feature input tensor. This processing method helps to combine the features of consecutive frames or time segments in the video to form a more comprehensive and continuous video feature representation. Among them, the generation of the media video three-dimensional feature input tensor involves combining and integrating multiple media video feature matrices in time order to form a three-dimensional data structure, which contains the time dimension, space dimension and feature dimension. This representation can better capture the dynamic changes and timing information in the video content, provide a more comprehensive and accurate input for the model, and thus improve the effect and accuracy of video content analysis and processing.
[0045] Furthermore, the media video convolutional neural network can effectively capture the spatial and temporal information in the video data by using a 3D convolution kernel to perform convolution operations on the 3D feature input tensor of the video data. This processing method enables the network to perform end-to-end learning and feature extraction of the video content, thereby better understanding the structure, dynamics, and semantic information in the video. By applying a 3D convolution operation on the media video 3D feature input tensor, the convolutional neural network can share weights across multiple time steps and spatial positions to effectively extract local features in the video data. This extraction of local features helps the network better capture the details and changes in the video content. After multiple layers of convolution and pooling operations, the media video convolutional neural network can gradually integrate the local features of the video data into global features. Finally, the network can combine all local features through operations such as global pooling to obtain a media video global feature vector. By using the media video convolutional neural network with a 3D convolution kernel, the system can effectively combine the temporal and spatial information in the video data, thereby extracting a richer and more global video feature representation. Specifically, the media video convolutional neural network using the three-dimensional convolution kernel is used to perform three-dimensional convolution encoding on the media video three-dimensional feature input tensor to obtain a media video change feature map; and global mean pooling is performed on each feature matrix along the channel dimension of the media video change feature map to obtain the media video global feature vector.
[0046] In a specific embodiment of the present application, the media video feature extraction subunit 1231 includes: extracting multiple media video file key frames from the media video part of the media audio and video file stored in the server; passing the multiple media video file key frames through a media video feature extractor including a deep and shallow fusion module to obtain the multiple media video feature matrices. It should be understood that the key frame extraction process usually involves analyzing and sampling the video sequence, and selecting those frames that best represent the video content as key frames. These key frames are evenly distributed and representative in time, and can effectively summarize the theme, plot and visual features of the video content. By extracting these key frames, the system can reduce the amount of data while retaining the main information of the video content, thereby improving the efficiency of video processing and transmission.
[0047] Furthermore, the introduction of the deep and shallow fusion module aims to utilize different levels of feature representation, including shallow and deep features, to comprehensively capture the multi-level information of video content. By fusing the feature representations obtained after feature extraction of key frames of multiple media video files, the deep and shallow fusion module can combine feature information at different levels, thereby improving the understanding and representation capabilities of video content. Among them, shallow features usually contain more local information and details, while deep features are more abstract and semantic. By fusing these two different levels of feature representation, the media video feature extractor can obtain higher-level semantic information while retaining detailed information, thereby more comprehensively describing the characteristics and content of the video content. The design of the deep and shallow fusion module enables the media video feature extractor to establish effective connections and interactions between feature representations at different levels, thereby improving the abstraction and representation capabilities of video content. Specifically, a shallow feature map is extracted from the Mth layer of the media video feature extractor including the deep and shallow fusion module, wherein M is greater than or equal to 1 and less than or equal to 6; a deep feature map is extracted from the Nth layer of the media video feature extractor including the deep and shallow fusion module, wherein N / M is greater than or equal to 5 and less than or equal to 10; the shallow feature map and the deep feature map are fused using the deep and shallow feature fusion module of the media video feature extractor including the deep and shallow fusion module to obtain a fused feature map; and, the fused feature map is globally pooled along the channel dimension to obtain the multiple media video feature matrices.
[0048] In the above-mentioned audio and video content retrieval system 100 based on artificial intelligence, the user demand judgment module 130 is used to judge whether there are audio and video files required by the user based on the global semantic feature vector of the demand text and the media audio and video associated feature vector. It should be understood that the global semantic feature vector of the demand text captures the key information and semantic features of the user's needs, while the media audio and video associated feature vector contains the feature representation of the audio and video files, which integrates the feature information of the audio and video content and the correlation between them. By comparing the similarity or correlation between the global semantic feature vector of the demand text and the media audio and video associated feature vector, the system can determine whether there are audio and video files that meet the user's needs. When the similarity between the two vectors is high, the system can consider that the audio and video file is related to the user's needs, thereby providing the user with corresponding retrieval results. This feature vector-based matching method can more accurately meet the user's retrieval needs and improve the retrieval efficiency and accuracy of audio and video files.
[0049] Figure 4 FIG. 1 is a block diagram of a user demand judgment module in an audio and video content retrieval system based on artificial intelligence according to an embodiment of the present application. Figure 4As shown, in a specific embodiment of the present application, the user demand judgment module 130 includes: a media audio and video feature fusion unit 131, which is used to fuse the global semantic feature vector of the demand text and the media audio and video associated feature vector to obtain a media audio and video retrieval feature matrix; an optimization unit 132, which is used to perform depth correlation correction on the media audio and video retrieval feature matrix based on the dynamic forming deep positioning feature to obtain an optimized media audio and video retrieval feature matrix; a user retrieval demand judgment generation unit 133, which is used to pass the optimized media audio and video retrieval feature matrix through a classifier to obtain a classification result, and the classification result is used to determine whether there are audio and video files required by the user. It should be understood that the fusion of the global semantic feature vector of the demand text and the media audio and video associated feature vector can organically combine the user's retrieval needs with the audio and video content to achieve more accurate audio and video retrieval. By fusing these two feature vectors, the system can comprehensively consider the correlation between user needs and audio and video content to achieve more accurate matching and retrieval.
[0050] Furthermore, the media audio and video retrieval feature matrix is corrected for depth correlation based on the dynamically formed depth positioning feature to obtain an optimized media audio and video retrieval feature matrix, including: flattening the media audio and video retrieval feature matrix to obtain a media audio and video retrieval feature vector; correcting the media audio and video retrieval feature vector for depth correlation based on the dynamically formed depth positioning feature to obtain an optimized media audio and video retrieval feature vector; and performing reverse feature aggregation on the optimized media audio and video retrieval feature vector in the manner of feature flattening to obtain the optimized media audio and video retrieval feature matrix.
[0051] Among them, the media audio and video retrieval feature vector is corrected for depth correlation based on the dynamically formed depth positioning feature to obtain an optimized media audio and video retrieval feature vector, including: determining the mean of the media audio and video retrieval feature vector; accumulating and summing the media audio and video retrieval feature vectors to obtain the sum value of the media audio and video retrieval feature vectors; subtracting the mean of the media audio and video retrieval feature vector from the sum value of the media audio and video retrieval feature vector, dividing the result by a predetermined hyperparameter and then dividing the result by the length of the media audio and video retrieval feature vector to obtain a first quotient value; calculating an exponential function value with a natural constant as the base for the first quotient to obtain a first natural exponential function value; and multiplying the first natural exponential function value by the media audio and video retrieval feature vector by a position point to obtain an optimized media audio and video retrieval feature vector.
[0052] In particular, in the technical solution of the present application, in this technical solution, user demand text data and media audio and video files are processed to realize the retrieval and classification of audio and video files. It is very important to improve the feature significance of the media audio and video retrieval feature matrix and avoid feature redundancy. Specifically, by improving the feature significance, the key features and semantic information between the user demand text and the media audio and video files can be more accurately captured, which helps to improve the accuracy and efficiency of retrieval and classification. Significant features can better distinguish different categories and improve classification accuracy, thereby ensuring accurate retrieval and classification of user demand audio and video files. At the same time, avoiding feature redundancy can reduce unnecessary computing overhead and improve the operating efficiency of the system, which is particularly important for large-scale audio and video data processing. Redundant features can easily cause the model to overfit the training data and reduce the generalization ability of the model. Avoiding feature redundancy helps to reduce the risk of overfitting and improve the generalization ability and stability of the model. The significant media audio and video retrieval feature matrix can improve the performance of the retrieval system, so that it can better match the user demand text and media audio and video files, and improve the accuracy and relevance of the retrieval results. Avoiding redundant features can reduce the computing and storage costs of the system and improve the efficiency and economy of the system. Based on this, the media audio and video retrieval feature matrix is corrected for depth correlation based on the dynamically formed depth positioning feature to obtain an optimized media audio and video retrieval feature matrix.
[0053] Specifically, the media audio and video retrieval feature matrix is corrected for depth correlation based on the dynamic shaping depth positioning feature to obtain an optimized media audio and video retrieval feature matrix, including: flattening the media audio and video retrieval feature matrix to obtain a media audio and video retrieval feature vector; and correcting the media audio and video retrieval feature vector for depth correlation based on the dynamic shaping depth positioning feature using the following optimization formula to obtain an optimized media audio and video retrieval feature vector, wherein the optimization formula is:
[0054]
[0055] in, represents the media audio and video retrieval feature vector, The first The eigenvalues at the positions, represents the mean value of the media audio and video retrieval feature vector, represents the length of the media audio and video retrieval feature vector, represents the predetermined hyperparameters, It means point multiplication by position. Representing the optimized media audio and video retrieval feature vector; and performing reverse feature aggregation on the optimized media audio and video retrieval feature vector in the feature flattening manner to obtain the optimized media audio and video retrieval feature matrix.
[0056] More specifically, in order to improve the feature significance of the media audio and video retrieval feature matrix and avoid feature redundancy, in the technical solution of the present application, the media audio and video retrieval feature matrix is subjected to a depth correlation correction based on a dynamically formed depth positioning feature, which uses the global mean of the media audio and video retrieval feature matrix as its dynamically formed depth anchor feature, and applies a coherence attention response mechanism based on the depth anchor feature to the original feature distribution, so as to perform a position scattering response depth correlation correction in a class divergence space with depth difference, thereby making the original feature distribution have a highly significant depth correlation distribution characteristic, so as to improve the feature significance of the media audio and video retrieval feature matrix and avoid feature redundancy.
[0057] Furthermore, by inputting the optimized media audio and video retrieval feature matrix into the classifier, the system can use the classifier's learning ability and pattern recognition ability to effectively classify and distinguish these feature vectors. The classifier can learn the relationship between feature vectors and user needs based on the existing training data set, so as to accurately determine whether the audio and video files meet the user's retrieval needs. By using the classifier to classify the optimized media audio and video retrieval feature matrix, the system can realize the automated audio and video file screening and matching process, greatly improving the efficiency and accuracy of audio and video retrieval.
[0058] In summary, the embodiment of the present application first obtains the user demand text data input by the user and the media audio and video files stored on the server, and then uses deep learning technology to perform feature extraction and association analysis on the two, and finally obtains the classification result through a classifier to determine whether there is the audio and video file required by the user, thereby matching the user demand with the existing files and saving manpower costs and time.
[0059] As described above, the audio and video content retrieval system 100 based on artificial intelligence according to the embodiment of the present application can be implemented in various terminal devices, such as a server deployed with an audio and video content retrieval algorithm based on artificial intelligence. In one example, the audio and video content retrieval system 100 based on artificial intelligence can be integrated into the terminal device as a software module and / or a hardware module. For example, the audio and video content retrieval system 100 based on artificial intelligence can be a software module in the operating system of the terminal device, or it can be an application developed for the terminal device; of course, the audio and video content retrieval system 100 based on artificial intelligence can also be one of the many hardware modules of the terminal device.
[0060] Alternatively, in another example, the artificial intelligence-based audio and video content retrieval system 100 and the terminal device may also be separate devices, and the artificial intelligence-based audio and video content retrieval 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.
[0061] Exemplary Methods
[0062] Figure 5 FIG. 1 is a flow chart of an audio and video content retrieval method based on artificial intelligence according to an embodiment of the present application. Figure 5 As shown, according to the artificial intelligence-based audio and video content retrieval method of the embodiment of the present application, it includes: S110, obtaining user demand text data input by the user and the media audio and video files stored in the server; S120, extracting the demand text global semantic feature vector and the media audio and video association feature vector from the user demand text data input by the user and the media audio and video files stored in the server; S130, judging whether there are audio and video files required by the user based on the demand text global semantic feature vector and the media audio and video association feature vector.
[0063] Here, those skilled in the art can understand that the specific operations of each step in the above-mentioned audio and video content retrieval method based on artificial intelligence have been referred to above. Figures 1 to 4 The invention has been introduced in detail in the description of the artificial intelligence-based audio and video content retrieval system, and therefore, its repeated description will be omitted.
[0064] Exemplary Electronic Devices
[0065] Below, reference Figure 6 To describe an electronic device according to an embodiment of the present application.
[0066] like Figure 6 As shown, the electronic device 10 includes an input device 11, an input interface 12, a central processing unit 13, a memory 14, an output interface 15, an output device 16, and a bus 17. The input interface 12, the central processing unit 13, the memory 14, and the output interface 15 are connected to each other through the bus 17, and the input device 11 and the output device 16 are connected to the bus 17 through the input interface 14 and the output interface 15, respectively, and then connected to other components of the electronic device 10.
[0067] Specifically, the input device 11 receives input information from the outside and transmits the input information to the central processing unit 13 through the input interface 12; the central processing unit 13 processes the input information based on the computer executable instructions stored in the memory 14 to generate output information, temporarily or permanently stores the output information in the memory 14, and then transmits the output information to the output device 16 through the output interface 15; the output device 16 outputs the output information to the outside of the electronic device 10 for user use.
[0068] In one embodiment, Figure 6 The electronic device 10 shown can be implemented as a network device, which may include: a memory configured to store programs; a processor configured to run the programs stored in the memory to execute any one of the artificial intelligence-based audio and video content retrieval methods described in the above embodiments.
[0069] According to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network, and / or installed from a removable storage medium.
[0070] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and substance of the present application, and these modifications and improvements are also considered to be within the scope of protection of the present application.
Claims
1. An audio and video content retrieval system based on artificial intelligence, characterized in that: include: The media audio and video content acquisition module is used to obtain the user demand text data input by the user and the media audio and video files stored in the server; A media audio and video content extraction module, used to extract a global semantic feature vector of the demand text and a media audio and video associated feature vector from the user demand text data input by the user and the media audio and video files stored in the server; A user demand judgment module, used to judge whether there is an audio or video file required by the user based on the global semantic feature vector of the demand text and the media audio and video association feature vector; Wherein, the user demand judgment module includes: A media audio and video feature fusion unit, used for fusing the global semantic feature vector of the demand text with the media audio and video associated feature vector to obtain a media audio and video retrieval feature matrix; An optimization unit, used for performing depth correlation correction on the media audio and video retrieval feature matrix based on the dynamic shaping depth positioning feature to obtain an optimized media audio and video retrieval feature matrix; A user search demand judgment generating unit, used for passing the optimized media audio and video search feature matrix through a classifier to obtain a classification result, wherein the classification result is used to judge whether there is an audio and video file required by the user; Wherein, the optimization unit comprises: Flattening the media audio and video retrieval feature matrix to obtain a media audio and video retrieval feature vector; Performing depth correlation correction on the media audio and video retrieval feature vector based on the dynamic shaping depth positioning feature to obtain an optimized media audio and video retrieval feature vector; Performing reverse feature aggregation on the optimized media audio and video retrieval feature vector in the feature flattening manner to obtain the optimized media audio and video retrieval feature matrix; The media audio and video retrieval feature vector is subjected to depth correlation correction based on the dynamic shaping depth positioning feature to obtain an optimized media audio and video retrieval feature vector, including: Determining a mean value of the media audio and video retrieval feature vector; Accumulating and summing the media audio and video retrieval feature vectors to obtain a total value of the media audio and video retrieval feature vectors; Subtracting the mean value of the media audio and video retrieval feature vector from the sum of the media audio and video retrieval feature vectors and dividing the sum by a predetermined hyperparameter and then by the length of the media audio and video retrieval feature vector to obtain a first quotient; Calculating an exponential function value with a natural constant as a base for the first quotient value to obtain a first natural exponential function value; The first natural exponential function value is multiplied by the media audio and video retrieval feature vector at a position point to obtain an optimized media audio and video retrieval feature vector.
2. The audio and video content retrieval system based on artificial intelligence according to claim 1 is characterized in that: The media audio and video content extraction module includes: A user demand text data semantic encoding unit, used for semantically encoding the user demand text data input by the user to obtain a global semantic feature vector of the demand text; A media audio feature encoding unit, used for performing audio feature encoding on the media audio part in the media audio and video file stored in the server to obtain a media audio feature vector; A media video feature encoding unit, used for performing video feature encoding on the media video part in the media audio and video file stored in the server to obtain a media video global feature vector; The media audio and video content feature association unit is used to associate the media audio feature vector with the media video global feature vector to obtain the media audio and video associated feature vector.
3. The audio and video content retrieval system based on artificial intelligence according to claim 2 is characterized in that: The user demand text data semantic encoding unit includes: Passing the user demand text data input by the user through a demand text context semantic encoder based on a converter to obtain a plurality of demand text semantic feature vectors; The multiple requirement text semantic feature vectors are cascaded to obtain the requirement text global semantic feature vector.
4. The audio and video content retrieval system based on artificial intelligence according to claim 3 is characterized in that: The media audio feature encoding unit comprises: Performing audio vectorization on the media audio part in the media audio and video file stored in the server to obtain a media original audio vector; The media original audio vector is passed through a media original audio feature encoder to obtain the media audio feature vector.
5. The audio and video content retrieval system based on artificial intelligence according to claim 4 is characterized in that: The media video feature encoding unit comprises: A media video feature extraction subunit, used for extracting features from the media video part in the media audio and video file stored in the server to obtain a plurality of media video feature matrices; an aggregation subunit, configured to aggregate the plurality of media video feature matrices along a time dimension to obtain a media video three-dimensional feature input tensor; The media video global convolutional encoding subunit is used to obtain the media video global feature vector by inputting the media video three-dimensional feature tensor into the media video convolutional neural network using a three-dimensional convolution kernel.
6. The audio and video content retrieval system based on artificial intelligence according to claim 5 is characterized in that: The media video feature extraction subunit includes: Extracting a plurality of media video file key frames from the media video portion of the media audio and video file stored in the server; The multiple media video file key frames are passed through a media video feature extractor including a deep and shallow fusion module to obtain the multiple media video feature matrices.
7. An audio and video content retrieval method based on artificial intelligence, using the audio and video content retrieval system based on artificial intelligence according to claim 1, characterized in that: include: Obtain user demand text data input by the user and media audio and video files stored in the server; Extracting a global semantic feature vector of the demand text and a media audio and video associated feature vector from the user demand text data input by the user and the media audio and video files stored in the server; Based on the global semantic feature vector of the demand text and the media audio and video associated feature vector, it is determined whether there is an audio and video file required by the user.
