A multimodal data preprocessing method based on machine translation

By adopting multi-modal data preprocessing methods in machine translation, visual object recognition and graph neural networks are used to analyze image, audio and text data in videos, which solves the problem of multi-modal data integration in traditional methods and improves the accuracy of translation. specificity and contextual relevance, achieving more efficient resource use and translation quality.

CN118378029BActive Publication Date: 2024-10-15YIBAIFEN INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the field of machine translation, traditional methods are difficult to effectively integrate and understand multi-modal data in videos, resulting in translation results that lack contextual accuracy and richness.

Method used

A multi-modal data preprocessing method based on machine translation is adopted, through the establishment of correlation models of visual object recognition, image, audio and text data, and the use of convolutional neural networks and graph neural networks for data analysis and optimization to ensure multi-modality Consistency and complementarity between data, thereby improving the accuracy and contextual relevance of translation output.

Benefits of technology

Through in-depth analysis and integration of multi-modal data, the semantic connections and complementarity between different modalities are revealed, which improves the quality of translation, generates smoother and more coherent translation output, and adapts to image processing of different complexities, significantly reducing calculations. Resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378029B_ABST
    Figure CN118378029B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of machine translation, and in particular to a multimodal data preprocessing method based on machine translation, comprising the following steps: receiving video data, wherein the video data comprises multimodal data, and the multimodal data comprises image, audio and text elements; analyzing a video stream, and decomposing the video data into an image sequence, an audio track and text data; using a visual object recognition technology to recognize and annotate visual elements in the image sequence, and extract visual information related to the audio and text data; establishing an association model between the image, audio and text data, and analyzing the interaction and semantic relationship between different modalities; based on the association model, optimizing the original multimodal data representation based on a complementary reinforcement strategy; integrating the optimized multimodal data to form a structured data set. The present invention ensures the literal and contextual accuracy of the translation output, thereby improving the overall quality of subsequent machine translation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine translation, and in particular to a multimodal data preprocessing method based on machine translation. Background Art

[0002] In the field of machine translation, a major challenge in processing video data is how to effectively integrate and understand the multimodal data in the video, namely image, audio, and text data. These data types are closely related and complementary in videos, but their differences also bring complexity to processing. Traditional translation methods often process text content independently, while ignoring the visual and auditory information of the video, which may lead to a lack of contextual accuracy and richness in the translation results.

[0003] The key to multimodal data preprocessing before machine translation is how to efficiently integrate and analyze images, audio and text in video data to ensure the accuracy and contextual relevance of the translation process. Therefore, a multimodal data preprocessing method based on machine translation is proposed. Summary of the invention

[0004] Based on the above objectives, the present invention provides a multimodal data preprocessing method based on machine translation.

[0005] A multimodal data preprocessing method based on machine translation comprises the following steps:

[0006] S1: receiving video data, wherein the video data includes multimodal data, and the multimodal data includes image, audio and text elements;

[0007] S2: Analyze the video stream and decompose the video data into image sequences, audio tracks, and text data for modality correspondence preprocessing;

[0008] S3: Use visual object recognition technology to identify and annotate visual elements in image sequences and extract visual information related to audio and text data;

[0009] S4: Establish the association model between image, audio and text data, and analyze the interaction and semantic relationship between different modalities to ensure the consistency and complementarity between multimodal data;

[0010] S5: Based on the association model, the original multimodal data representation is optimized based on the complementary reinforcement strategy to ensure the accuracy and contextual relevance of the translation output;

[0011] S6: Integrate the optimized multimodal data to form a structured dataset to provide support and input for the subsequent video translation process.

[0012] Furthermore, the S2 specifically includes:

[0013] S21: Processing the video stream in real time through a multimodal analysis engine, wherein the multimodal analysis engine is configured with a video decoding function, decoding the video stream into an independent frame sequence, thereby forming an image sequence, applying optical character recognition (OCR) technology to scan each frame in the image sequence, identifying and extracting text on the screen, generating text data, and associating it with the corresponding image frame;

[0014] S22: The multimodal analysis engine extracts the audio track from the video stream, synchronizes it with the image sequence, retains the original timestamp information to maintain the temporal relationship between the audio and the image, processes the extracted audio track using automatic speech recognition (ASR) technology, converts it into text data, and corresponds to specific frames of the image sequence for accurate audio-to-text synchronization and analysis;

[0015] S23: merging the text data generated by OCR and ASR to form a comprehensive text data stream, the comprehensive text data stream corresponding to the image sequence and the audio track;

[0016] S24: Timestamp the decomposed image sequence, audio track, and text data.

[0017] Furthermore, the S3 specifically includes:

[0018] S31: receiving an image sequence, applying a convolutional neural network (CNN) to each frame in the image sequence to detect and recognize visual elements in the image, the visual elements including objects, scenes, and activities;

[0019] S32: for each identified visual element, generate annotation information, including the category, position, size and appearance time of the object in the video timeline, as well as attributes and action descriptions associated with the visual element;

[0020] S33: Compare and analyze the visual object recognition results with the audio and text data extracted from the video to determine the correlation and interactive relationship between the visual content and the audio and text content;

[0021] S34: extracting key visual information based on the analysis result, where the key visual information is information that is highly correlated with audio dialogue or background sound and text elements of the video;

[0022] S35: Create metadata and context tags for visual elements in the image sequence, describing the relationship between the visual elements and the audio and text content in the video.

[0023] Furthermore, the convolutional neural network CNN is combined with a dynamic structure adjustment network mechanism. The convolutional neural network CNN model based on the dynamic structure adjustment network mechanism effectively recognizes and processes objects, scenes and activities in the image by dynamically adjusting its network structure, specifically including:

[0024] A control module is introduced to dynamically adjust the structure of the network. The control module determines the depth and width of the network layer based on the complexity evaluation results of the input image.

[0025] Complexity evaluation formula: Assume For the input image The complexity evaluation function is defined as: ,in, Represents the variance of the image, which is used to measure the degree of brightness change of the image. Indicates the number of edges in an image, which is used to reflect the structural complexity of the image. Texture represents the texture intensity of the image, is a weight parameter used to adjust the contribution of each indicator in complexity assessment;

[0026] Dynamically adjust strategy: based on complexity evaluation , the strategy of dynamically adjusting the network structure is expressed as: Above the preset threshold When the number of network layers or the number of neurons (width) in each layer is increased, the processing capacity of the model can be improved;

[0027] when Below the preset threshold When reducing the number of network layers or the number of neurons in each layer, the computational efficiency can be improved.

[0028] Dynamic structure adjustment formula: Assume that the number of neurons (width) in a certain layer of the network is , the adjusted width Determined by the following formula:

[0029] ,in, is the adjustment factor, used to control the magnitude of structural adjustment; is the normalized target complexity value used to balance the adjustment of the model structure.

[0030] Furthermore, the association model is based on the graph neural network model GNN, which receives and synchronously processes image, audio and text data, performs in-depth feature extraction on the data of each modality, and then learns the mutual influence and dependency between different modal data through GNN to reveal the interaction and semantic connection between different modal data.

[0031] Furthermore, the GNN specifically includes:

[0032] Graph structure construction: In the graph, each node represents an element in a modality, such as an object in an image, a sound event in an audio clip, or a key phrase in a text, and the edges represent the potential relationships between different nodes, such as the synchronization of objects in an image and audio events, or the correspondence between text descriptions and visual elements;

[0033] Use GNN for association:

[0034] Node feature aggregation: For each node in the graph , which is in Layer characteristics , updated by the following formula:

[0035] ,in, is the activation function, and They are The weight matrix and bias term of the layer, AGGREGATE is an aggregation function, such as sum, average or maximum operation, which is used to merge the feature information of neighboring nodes;

[0036] Relational pattern learning: GNN learns the complex relationships between nodes through an iterative node feature information aggregation process, revealing the mutual influence and dependency between different modal data.

[0037] Furthermore, after the GNN outputs the node features, it combines the structural information in the graph to perform semantic analysis to understand the relationship and interaction between different modal data, including:

[0038] Node feature integration: In GNN, the features of each node are updated through multiple layers of the network, including the information of its neighboring nodes. The node features are integrated to form a comprehensive feature vector, which is used to represent the comprehensive attributes and context of each data element (such as an object in an image, an audio clip, or a text paragraph);

[0039] Feature integration: For each node , its final characteristic It captures the multimodal information and contextual relationships related to it;

[0040] Semantic relationship modeling: using node features and edge information in the graph to establish relationships between modalities;

[0041] Edge analysis: By analyzing the edges between nodes, we can understand the relationship between different modal elements;

[0042] Multimodal interaction analysis: Identify the interaction patterns between multimodal data by comprehensively analyzing the node features from different modalities and the edges connecting them.

[0043] Furthermore, the complementary reinforcement strategy in S5 includes:

[0044] Complementarity identification: Identify which modal elements need to be complementary by analyzing the comprehensive feature vectors and relationship patterns;

[0045] Data representation adjustment: For elements that need to be complementary, adjust the corresponding data representation to reflect the complementarity;

[0046] Adjustment involves modifying feature vectors, adding annotation information, or changing metadata to highlight connections between complementary elements.

[0047] Furthermore, the optimized original data representation in S5 specifically includes:

[0048] Enhanced contextual understanding: Using visual information to enhance the contextual understanding of audio and text data;

[0049] Output adjustment: Based on the results of complementarity identification, adjust the multimodal data representation used in the translation or content generation process, including optimizing the feature extraction process and adjusting the input data of the association model.

[0050] Furthermore, the GNN also includes considerations of edge weights and relationship types: if the edge has a weight or type, the aggregation function AGGREGATE further considers the weight or type factor:

[0051] ,in, It is the edge The weight of or the importance coefficient calculated by the attention mechanism.

[0052] Beneficial effects of the present invention:

[0053] The present invention, through in-depth analysis and integration of multimodal data (image, audio and text data) in the video, establishes a detailed association model, which helps to reveal the semantic connection and complementarity between different modalities. For example, by utilizing audio and text data to interpret and supplement visual elements, the impact of visual fuzziness or ambiguity on translation quality can be reduced. This comprehensive analysis and processing ensures the literal and contextual accuracy of the translation output, thereby improving the overall quality of subsequent machine translation.

[0054] The present invention, by integrating and optimizing multimodal data, this preprocessing method can improve the content experience of end users. The structured and standardized data sets provide high-quality input for the translation process, which helps to generate smoother and more coherent translation output. In addition, ensuring the complementarity between multimodal data helps to present a complete story and information framework, making it easier for viewers to understand and enjoy the translated content.

[0055] In the present invention, the convolutional neural network is combined with a dynamic structural adjustment network mechanism, which can effectively identify and process objects, scenes and activities in images by dynamically adjusting the network structure. This model is highly adaptable and can automatically adjust its depth and width according to the complexity of the input image, thereby optimizing processing performance and resource usage. Specifically, when faced with images with complex visual information, the model can increase the network layer and the number of neurons to capture more detailed features; while for simpler images, the model can reduce the amount of calculation and increase the processing speed, which not only improves the accuracy and efficiency of the model in processing different types of images, but also significantly reduces unnecessary computing resource consumption, making the model more economical and efficient. In addition, the dynamic adjustment capability makes the CNN model more flexible and can be widely adapted to different application scenarios and needs, thereby showing strong application potential and superior performance in the fields of image recognition, scene analysis and activity detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 Schematic diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0059] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0060] like Figure 1 As shown, a multimodal data preprocessing method based on machine translation includes the following steps:

[0061] S1: receiving video data, where the video data includes multimodal data, and the multimodal data includes image, audio, and text elements;

[0062] S2: Analyze the video stream and decompose the video data into image sequences, audio tracks, and text data for modality correspondence preprocessing;

[0063] S3: Use visual object recognition technology to identify and annotate visual elements in image sequences and extract visual information related to audio and text data;

[0064] S4: Establish the association model between image, audio and text data, and analyze the interaction and semantic relationship between different modalities to ensure the consistency and complementarity between multimodal data;

[0065] S5: Based on the association model, the original multimodal data representation is optimized based on the complementary reinforcement strategy to ensure the accuracy and contextual relevance of the translation output;

[0066] S6: Integrate the optimized multimodal data to form a structured dataset to provide support and input for the subsequent video translation process.

[0067] S2 specifically includes:

[0068] S21: Processing the video stream in real time through a multimodal analysis engine, the multimodal analysis engine is configured with a video decoding function, decoding the video stream into an independent frame sequence, thereby forming an image sequence, applying optical character recognition (OCR) technology to scan each frame in the image sequence, identifying and extracting the text on the screen, generating text data, and associating it with the corresponding image frame;

[0069] S22: The multimodal analysis engine extracts the audio track from the video stream, synchronizes it with the image sequence, retains the original timestamp information to maintain the temporal relationship between the audio and the image, processes the extracted audio track using automatic speech recognition (ASR) technology, converts it into text data, and corresponds to specific frames of the image sequence for accurate audio-to-text synchronization and analysis;

[0070] S23: Merge the text data generated by OCR and ASR to form a comprehensive text data stream, which corresponds to the image sequence and audio track to ensure that the data of each modality can be accurately associated with a specific time point and content in the video stream;

[0071] S24: Timestamp the decomposed image sequence, audio track, and text data to ensure synchronization and relevance between the modal data in subsequent multimodal analysis and preprocessing.

[0072] S3 specifically includes:

[0073] S31: receiving an image sequence, applying a convolutional neural network (CNN) to each frame in the image sequence to detect and recognize visual elements in the image, the visual elements including objects, scenes, and activities;

[0074] S32: For each identified visual element, generate annotation information, including the object's category, position, size, and appearance time in the video timeline, as well as the attributes and action descriptions associated with the visual element. Position positioning uses object detection technology to determine the position of the visual element in each frame. The time tag records the appearance time of the visual element in the video timeline, usually expressed as a frame number or timestamp. The attribute and action description describe the attributes (such as color, shape, etc.) and actions (such as walking, jumping, etc.) associated with the visual element, which requires the combination of video analysis and action recognition technology;

[0075] S33: Compare and analyze the visual object recognition results with the audio and text data extracted from the video to determine the correlation and interactive relationship between the visual content and the audio and text content;

[0076] S34: extracting key visual information based on the analysis result, where the key visual information is information that is highly correlated with audio dialogue or background sound and text elements of the video;

[0077] S35: Create metadata and context tags for visual elements in the image sequence, describing the relationship between the visual elements and the audio and text content in the video.

[0078] The convolutional neural network (CNN) is combined with a dynamic structural adjustment network mechanism. The convolutional neural network (CNN) model based on the dynamic structural adjustment network mechanism effectively recognizes and processes objects, scenes, and activities in images by dynamically adjusting its network structure. This model can automatically adjust the network depth and width according to the characteristics of the input data, thereby achieving efficient processing of scenes of different complexity, including:

[0079] A control module is introduced to dynamically adjust the structure of the network. The control module determines the depth and width of the network layer based on the complexity evaluation results of the input image.

[0080] Complexity evaluation formula: Assume For the input image The complexity evaluation function is defined as: ,in, Represents the variance of the image, which is used to measure the degree of brightness change of the image. Indicates the number of edges in an image, which is used to reflect the structural complexity of the image. represents the texture intensity of the image, is a weight parameter used to adjust the contribution of each indicator in complexity assessment;

[0081] Dynamically adjust strategy: based on complexity evaluation , the strategy of dynamically adjusting the network structure is expressed as: Above the preset threshold When the number of network layers or the number of neurons (width) in each layer is increased, the processing capacity of the model can be improved;

[0082] when Below the preset threshold When reducing the number of network layers or the number of neurons in each layer, the computational efficiency can be improved.

[0083] Dynamic structure adjustment formula: Assume that the number of neurons (width) in a certain layer of the network is , the adjusted width Determined by the following formula:

[0084] ,in, is the adjustment factor, used to control the magnitude of structural adjustment; is the normalized target complexity value used to balance the adjustment of the model structure.

[0085] Dynamic structural adjustment network and CNN combined expression: Dynamic structural adjustment is reflected in the dynamic changes of the number of network layers (depth) and the number of neurons in each layer (width). The following is the integration process and related mathematical description:

[0086] 1. Dynamic depth adjustment: set a base depth As The initial number of layers of the model. Evaluated based on the complexity of the input image , dynamically adjust the number of layers :

[0087] ,in, is the depth adjustment factor, is the depth adjustment threshold, Indicates rounding down.

[0088] 2. Dynamic width adjustment: For each layer in CNN , the number of neurons Can be dynamically adjusted based on the complexity of the image: ,in, is the adjusted number of layers, is the width adjustment factor, is the threshold for width adjustment.

[0089] 3. CNN model expression formula: The core of the CNN model is to extract features through convolutional layers. The convolution operation of each layer is expressed as: For each layer in CNN , assuming that its input feature map is , the convolution kernel is , the convolution operation is expressed as: ,in, is the feature map output by the convolution layer, * represents the convolution operation, is the bias term. For dynamically adjusted networks, and The dimensions will be based on and Dynamically changes to adapt to input graphs of varying complexity;

[0090] 4. Integration of dynamic structural adjustment: In the CNN model, by adjusting and The network can dynamically change its depth and width when processing images of different complexities. This structural adjustment allows the model to use fewer resources (shallower and narrower networks) for simple scenes, while providing stronger processing capabilities (deeper and wider networks) for complex scenes.

[0091] 5. Implementation of dynamic adjustment: The key to implementing dynamic structural adjustment is to let the network learn how to evaluate the complexity of the input image during the training phase. Adaptively adjust its structure, which can be achieved by including additional control networks or decision modules, which are responsible for calculating And accordingly decided and The value of .

[0092] The association model is based on the graph neural network model GNN, which receives and synchronously processes image, audio and text data, performs in-depth feature extraction on the data of each modality, and then uses GNN to learn the mutual influence and dependency between different modal data to reveal the interaction and semantic connection between different modal data.

[0093] GNN specifically includes:

[0094] Graph structure construction: In the graph, each node represents an element in a modality, such as an object in an image, a sound event in an audio clip, or a key phrase in a text, and the edges represent the potential relationships between different nodes, such as the synchronization of objects in an image and audio events, or the correspondence between text descriptions and visual elements;

[0095] Use GNN for association:

[0096] Node feature aggregation: For each node in the graph , which is in Layer characteristics , updated by the following formula:

[0097] ,in, is the activation function, and They are The weight matrix and bias term of the layer, AGGREGATE is an aggregation function, such as sum, average or maximum operation, which is used to merge the feature information of neighboring nodes;

[0098] Edge weight and relationship type considerations: If the edge has a weight or type, the aggregation function further considers the weight or type factor:

[0099] ,in, It is the edge The weight of or the importance coefficient calculated by the attention mechanism;

[0100] Relational pattern learning: GNN learns the complex relationships between nodes through an iterative node feature information aggregation process, revealing the mutual influence and dependency between different modal data.

[0101] After GNN outputs node features, it combines the structural information in the graph to perform semantic analysis to understand the relationship and interaction between different modal data, including:

[0102] Node feature integration: In GNN, the features of each node are updated through multiple layers of the network, including the information of its neighboring nodes. The node features are integrated to form a comprehensive feature vector, which is used to represent the comprehensive attributes and context of each data element (such as an object in an image, an audio clip, or a text paragraph);

[0103] Feature integration: For each node , its final characteristic It captures the multimodal information and contextual relationships related to it;

[0104] Semantic relationship modeling: Using node features and edge information in the graph to establish relationships between modalities. For example, if an image node (representing a specific object in a video frame) and an audio node (representing the sound of the same time period) are connected by an edge, the feature vectors of these two nodes can be used to analyze the association between visual and auditory content.

[0105] Edge analysis: By analyzing the edges between nodes, we can understand the relationship between different modal elements. For example, the weight or type of the edge can indicate the strength or nature of the relationship between two modal elements.

[0106] Multimodal Interaction Analysis: By comprehensively analyzing node features from different modalities and the edges connecting them, we can identify interaction patterns between multimodal data. This analysis helps reveal, for example, the synchronization between image content and audio tracks, or the correspondence between text descriptions and visual scenes.

[0107] In this way, using the node features output by GNN combined with the structural information in the graph for semantic analysis can not only understand the content of a single modality data, but also reveal the complex interactions and semantic connections between different modal data. This in-depth analysis helps to fully understand multimodal content and provides strong support for subsequent processing and decision-making.

[0108] The complementary reinforcement strategies in S5 include:

[0109] Complementarity identification: By analyzing the comprehensive feature vectors and relationship patterns, we can identify which modal elements need to be complemented. For example, if an object in an image is visually ambiguous but has a strong association with a specific audio or text element, this indicates that the visual object can be explained or enhanced by the related audio or text.

[0110] Data representation adjustment: For elements that need to be complementary, adjust the corresponding data representation to reflect the complementarity. For example, if the audio interpretation can help clarify the visual elements in the image, the connection between the two can be strengthened in the data representation.

[0111] Adjustment involves modifying feature vectors, adding annotation information, or changing metadata to highlight connections between complementary elements.

[0112] The optimized raw data representation in S5 specifically includes:

[0113] Enhance contextual understanding: Use visual information to enhance the contextual understanding of audio and text data. For example, if the background scene in a video frame is closely related to the audio dialogue, ensure that this relationship is reflected and emphasized in the data representation. This optimization can be achieved by adding descriptions of the visual background, adjusting the annotations of the audio, or modifying the contextual annotations of the text.

[0114] Output adjustment: Based on the results of complementarity identification, adjust the multimodal data representation used in the translation or content generation process, including optimizing the feature extraction process and adjusting the input data of the association model.

[0115] 1. First, the complementarity analysis results of the GNN model are interpreted in detail, including:

[0116] Identify which modal elements have complementary relationships with each other, such as ambiguous elements in visual information that may be complementary to detailed information in audio or text.

[0117] Evaluate the interaction strength and semantic association between different modal data, such as the degree of correspondence between the scene in the image and the audio dialogue.

[0118] 2. Adjust the multimodal data representation. According to the results of complementarity analysis, adjust the multimodal data representation:

[0119] Visual element enhancement: If the elements in the image are highly relevant to the text or audio data, the feature representation of these visual elements can be enhanced, such as by adjusting the image processing pipeline to enhance the visual details of the related objects.

[0120] Audio information association: For audio data, if certain sound elements are closely related to the visual scene, this association can be added in the audio annotation or feature representation, such as marking the sound clips in the audio that match specific visual events.

[0121] Text content optimization: In text data, if certain descriptions are closely related to visual or audio content, ensure that these text elements are emphasized in the data representation and linked to the corresponding visual or audio data.

[0122] 3. Adjusting the input of the graph neural network

[0123] Input adjustments for GNN involve the following aspects:

[0124] Feature vector update: Based on the results of the complementarity analysis, the input feature vector of the GNN is updated. For example, if a certain visual element is complementary to a specific audio clip, the feature vectors of these two elements can be merged or concatenated to form a joint feature representation.

[0125] Edge weight adjustment: The weights of the edges representing the relationship between elements of different modalities are adjusted to reflect the strength of complementarity between them. If the analysis shows that there is a strong complementary relationship between two modalities, the weights of the edges connecting these two modal elements should be increased.

[0126] 4. Optimization of translation or content generation process

[0127] In the translation or content generation process, the adjusted multimodal data representation can be used to improve the output. If the complementarity analysis shows that the text description can help explain a visually ambiguous image element, the translation process should consider this complementary information to improve the accuracy and richness of the translation.

[0128] In content generation, use the results of complementarity analysis to determine the focus of the content, such as adding text descriptions to the visual storytelling that complement the audio data.

[0129] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0130] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A multimodal data preprocessing method based on machine translation, characterized in that: The following steps are involved: S1: receiving video data, wherein the video data includes multimodal data, and the multimodal data includes image, audio and text elements; S2: Analyze the video stream and decompose the video data into image sequences, audio tracks, and text data for modality correspondence preprocessing; S3: Use visual object recognition technology to identify and annotate visual elements in image sequences and extract visual information related to audio and text data, including: S31: receiving an image sequence, applying a convolutional neural network (CNN) to each frame in the image sequence to detect and recognize visual elements in the image, the visual elements including objects, scenes, and activities; S32: for each identified visual element, generate annotation information, including the category, position, size and appearance time of the object in the video timeline, as well as attributes and action descriptions associated with the visual element; S33: Compare and analyze the visual object recognition results with the audio and text data extracted from the video to determine the correlation and interactive relationship between the visual content and the audio and text content; S34: extracting key visual information based on the analysis result, where the key visual information is information that is highly correlated with audio dialogue or background sound and text elements of the video; S35: Create metadata and contextual tags for visual elements in the image sequence, describing the relationship between the visual elements and the audio and text content in the video; The convolutional neural network CNN is combined with a dynamic structure adjustment network mechanism. The convolutional neural network CNN model based on the dynamic structure adjustment network mechanism effectively recognizes and processes objects, scenes and activities in images by dynamically adjusting its network structure, specifically including: A control module is introduced to dynamically adjust the structure of the network. The control module determines the depth and width of the network layer based on the complexity evaluation results of the input image. Complexity evaluation formula: Let C(I) be the complexity evaluation function of the input image I, which is defined as: C(I) = α·Var(I)+β·Edge(I)+γ·Texture(I), where Var(I) represents the variance of the image, which is used to measure the degree of brightness change of the image; Edge(I) represents the number of edges in the image, which is used to reflect the structural complexity of the image; Texture(I) represents the texture intensity of the image; α, β, and γ are weight parameters, which are used to adjust the contribution of each indicator in the complexity evaluation; Dynamic adjustment strategy: According to the complexity evaluation C(I), the strategy of dynamically adjusting the network structure is expressed as: when C(I) is higher than the preset threshold T high When the number of network layers or neurons in each layer is increased, the processing capacity of the model can be improved; When C(I) is lower than the preset threshold T low When reducing the number of network layers or the number of neurons in each layer, the computational efficiency can be improved. Dynamic structure adjustment formula: Assume the number of neurons in a certain layer of the network, that is, the width is W, then the adjusted width W′ is determined by the following formula: W′=W×(1+δ·(C(I)-T norm )), where δ is the adjustment factor used to control the amplitude of structural adjustment; T norm is the normalized target complexity value, which is used to balance the adjustment of the model structure; S4: Establish an association model between image, audio and text data, analyze the interaction and semantic relationship between different modalities, so as to ensure the consistency and complementarity between multimodal data. The association model is based on the graph neural network model GNN, receives and synchronously processes image, audio and text data, and performs in-depth feature extraction on the data of each modality. Then, GNN is used to learn the mutual influence and dependency relationship between different modal data to reveal the interaction and semantic connection between different modal data. The GNN specifically includes: Graph structure construction: In the graph, each node represents an element in a mode, and the edge represents the potential relationship between different nodes; Use GNN for association: Node feature aggregation: For each node v in the graph, its feature at the l+1 layer Updated by the following formula: Among them, σ is the activation function, W (l) and B (l) are the weight matrix and bias term of the lth layer respectively, AGGREGATE is an aggregation function used to merge the feature information of neighboring nodes; Relational pattern learning: GNN learns the complex relationships between nodes through an iterative node feature information aggregation process, revealing the mutual influence and dependency between different modal data; After the GNN outputs the node features, it combines the structural information in the graph to perform semantic analysis to understand the relationship and interaction between different modal data, including: Node feature integration: In GNN, the features of each node are updated through multiple layers of the network, including the information of its neighboring nodes. The node features are integrated to form a comprehensive feature vector, which is used to represent the comprehensive attributes and context of each data element. Feature integration: For each node v, its final feature h v It captures the multimodal information and contextual relationships related to it; Semantic relationship modeling: using node features and edge information in the graph to establish relationships between modalities; Edge analysis: By analyzing the edges between nodes, we can understand the relationship between different modal elements; Multimodal interaction analysis: Identify the interaction patterns between multimodal data by comprehensively analyzing the node features from different modalities and the edges connecting them; S5: Based on the association model, the original multimodal data representation is optimized based on the complementary reinforcement strategy to ensure the accuracy and contextual relevance of the translation output; S6: Integrate the optimized multimodal data to form a structured dataset to provide support and input for the subsequent video translation process.

2. The multimodal data preprocessing method based on machine translation according to claim 1, characterized in that: The S2 specifically includes: S21: Processing the video stream in real time through a multimodal analysis engine, wherein the multimodal analysis engine is configured with a video decoding function, decoding the video stream into an independent frame sequence, thereby forming an image sequence, applying optical character recognition (OCR) technology to scan each frame in the image sequence, identifying and extracting text on the screen, generating text data, and associating it with the corresponding image frame; S22: The multimodal analysis engine extracts the audio track from the video stream, synchronizes it with the image sequence, retains the original timestamp information to maintain the temporal relationship between the audio and the image, processes the extracted audio track using automatic speech recognition (ASR) technology, converts it into text data, and corresponds to specific frames of the image sequence for accurate audio-to-text synchronization and analysis; S23: merging the text data generated by OCR and ASR to form a comprehensive text data stream, the comprehensive text data stream corresponding to the image sequence and the audio track; S24: Timestamp the decomposed image sequence, audio track, and text data.

3. The multimodal data preprocessing method based on machine translation according to claim 1, characterized in that: The complementary reinforcement strategies in S5 include: Complementarity identification: Identify which modal elements need to be complementary by analyzing the comprehensive feature vectors and relationship patterns; Data representation adjustment: For elements that need to be complementary, adjust the corresponding data representation to reflect the complementarity; Adjustment involves modifying feature vectors, adding annotation information, or changing metadata to highlight connections between complementary elements.

4. The multimodal data preprocessing method based on machine translation according to claim 3, characterized in that: The optimized original data representation in S5 specifically includes: Enhanced contextual understanding: Using visual information to enhance the contextual understanding of audio and text data; Output adjustment: Based on the results of complementarity identification, adjust the multimodal data representation used in the translation or content generation process, including optimizing the feature extraction process and adjusting the input data of the association model.

5. The multimodal data preprocessing method based on machine translation according to claim 4, characterized in that: The GNN also includes considerations of edge weights and relationship types: if the edge has a weight or type, the aggregation function AGGREGATE further considers the weight or type factor: Among them, α uv is the weight of the edge (u, v) or the importance coefficient calculated by the attention mechanism.

Citation Information

Patent Citations

  • Image analysis method and system based on multi-modal information

    CN116994069A

  • Methods and systems for multimodal content analytics

    US20210151034A1

  • Video translation platform

    US20230325611A1

  • Multimodal heterogeneous feature fusion-based compact video event description method

    WO2023050295A1