Data processing method and device based on multi-modal fusion
By converting one-dimensional data into two-dimensional data and stacking it, using neural network fusion features, the problems of low processing efficiency and information loss in multimodal data fusion are solved, and efficient feature extraction and data fusion are achieved.
Patent Information
- Application Number
- CN202411437466.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing multimodal data fusion technology, heterogeneous data has low processing efficiency, difficulty in alignment, easy to lose information, difficult to perform effective feature extraction, and low data fusion quality.
By converting one-dimensional data into two-dimensional data of the same size as the image data and performing stacking processing, the neural network is used to fuse the input feature map of multi-layer stacking to unify the data format of different modes to make it in the same Processing in feature space ensures data integrity and efficiently fusion of features.
The alignment process between heterogeneous data is simplified, data integrity is ensured, data fusion quality is improved, and the efficiency of feature extraction and fusion is improved through the automatic feature extraction capability of deep learning models.
Smart Images

Figure CN118965280A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application belong to the field of data processing technology, and specifically relate to a data processing method and device based on multimodal fusion. Background Art
[0002] With the rapid development of computer technology, especially the widespread application of deep learning methods in the field of computer vision, multimodal fusion technology has become one of the important branches of the current scientific and technological frontier. Multimodal fusion technology mainly enhances the information processing capabilities of machines by integrating information from different data sources, such as images, text, audio and sensor data.
[0003] The application scenarios of multimodal technology are extremely wide, covering multiple fields such as intelligent transportation, security monitoring, and intelligent human-computer interaction. In these applications, multimodal scene classification technology can achieve accurate classification and understanding of scenes by comprehensively analyzing data from multiple modalities such as images, videos, and texts.
[0004] Multimodal image classification further expands this scope. It is not limited to a single image type, but combines multiple image modalities such as RGB images, infrared images, and depth images to obtain more detailed information about the observed object. In addition, multimodal target detection technology uses the comprehensive information of these data to detect and locate specific targets in images or videos, such as in applications in autonomous driving and night vision monitoring, which effectively improves the recognition accuracy and system response speed.
[0005] However, the current multimodal data fusion technology has low efficiency in processing heterogeneous data, is difficult to align during the heterogeneous data conversion process, is prone to information loss, is difficult to perform effective feature extraction, and has low data fusion quality. Summary of the invention
[0006] In order to solve the technical problems in the prior art of low processing efficiency of heterogeneous data, difficulty in alignment during heterogeneous data conversion, easy loss of information, difficulty in effective feature extraction, and low data fusion quality, the present invention provides a data processing method and device based on multimodal fusion.
[0007] In a first aspect, the present invention provides a data processing method based on multimodal fusion, comprising: Acquire one-dimensional data and image data; Converting the one-dimensional data into two-dimensional data according to the size of the image data; Filling the empty positions in the two-dimensional data with zeros; The two-dimensional data after the zero-padding process is stacked with the image data to obtain a multi-layer stacked input feature map; Through a neural network, the multi-layer stacked input feature maps are fused to obtain a fused feature map; Data processing is performed according to the fused feature map.
[0008] In a second aspect, the present invention provides a data processing device based on multimodal fusion, comprising: An acquisition module, used for acquiring one-dimensional data and image data; A conversion module, used for converting the one-dimensional data into two-dimensional data according to the size of the image data; A zero-filling module, used for filling the empty positions in the two-dimensional data with zeros; A stacking module, used for stacking the two-dimensional data after zero padding with the image data to obtain a multi-layer stacked input feature map; A fusion module, used to perform fusion processing on the multi-layer stacked input feature maps through a neural network to obtain a fused feature map; A processing module is used to perform data processing according to the fused feature map.
[0009] Compared with the prior art, the present invention has at least the following beneficial effects: In the present invention, by converting one-dimensional data into two-dimensional data of the same size as the image data and stacking it with the image data, the data formats of different modalities can be unified so that they can be processed in the same feature space, which greatly simplifies the alignment process between heterogeneous data and ensures data integrity. By processing multi-layer stacked input feature maps through neural networks and utilizing the powerful automatic feature extraction capabilities of deep learning models, the features of different modalities can be efficiently fused to improve data fusion quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a flow chart of a data processing method based on multimodal fusion provided by the present invention.
[0011] Figure 2 It is a schematic diagram of the overall network structure of a data processing method based on multimodal fusion provided by the present invention.
[0012] Figure 3 It is a structural schematic diagram of data conversion provided by the present invention.
[0013] Figure 4 It is a structural schematic diagram of a feature screening provided by the present invention.
[0014] Figure 5 It is a structural schematic diagram of a data processing device based on multimodal fusion provided by the present invention.
[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. Some specific embodiments of the present application will be described in detail in an exemplary and non-restrictive manner with reference to the drawings. DETAILED DESCRIPTION
[0016] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0017] First, refer to the attached manual Figure 1 , which shows a flow chart of a data processing method based on multimodal fusion provided by an embodiment of the present invention. Figure 2 , showing a schematic diagram of the overall network structure of a data processing method based on multimodal fusion provided by an embodiment of the present invention.
[0018] The present invention provides a data processing method based on multimodal fusion, comprising: S1: Acquire one-dimensional data and image data.
[0019] Optionally, the one-dimensional data may specifically be sound data, text data, current data, etc.
[0020] S2: Convert the one-dimensional data into two-dimensional data according to the size of the image data.
[0021] Reference Manual Attached Figure 3 , showing a structural schematic diagram of data conversion provided by an embodiment of the present invention.
[0022] In a possible implementation, S2 specifically includes sub-steps S201 to S203: S201: Determine a plurality of panes of the same size according to the size of the image data.
[0023] Optionally, when the size of the image data is H×W, it can be Define 25 panes of equal size.
[0024] S202: Divide the one-dimensional data into a plurality of one-dimensional sub-data according to a preset size.
[0025] Optionally, those skilled in the art may set a specific value of the preset size according to actual conditions, and the present invention is not limited thereto.
[0026] S203: Fill the one-dimensional sub-data into each pane to form two-dimensional data.
[0027] Optionally, the one-dimensional sub-data are filled into each pane in the order from top to bottom and from left to right, and in each pane, each data point is filled into each pixel point in the order from top to bottom and from left to right.
[0028] In the present invention, the pane processes the one-dimensional data in blocks, ensuring that adjacent or related one-dimensional data are filled into the same pane. This method can retain the local correlation in the one-dimensional data, so that the data still maintains a certain continuity and correlation in the two-dimensional structure, which helps the model to better capture local features and patterns. At the same time, the pane filling makes the distribution of the one-dimensional data in the two-dimensional space more structured and orderly. In each pane, the data is filled in a specific order. This structured representation can enhance the spatial interpretability of the data, allowing the model to more intuitively understand and utilize the distribution characteristics of these data.
[0029] S3: Fill the empty positions in the two-dimensional data with zeros.
[0030] In the present invention, by padding with zeros, it is possible to ensure that each position has a value, thereby avoiding information loss caused by empty positions and ensuring that the representation of data in two-dimensional space is complete. Furthermore, when training a neural network, empty positions may lead to the generation of invalid gradients, affecting the convergence of the model, and zero padding can avoid this problem and ensure the effectiveness of gradient calculation.
[0031] S4: Stacking the two-dimensional data after the zero-padding process with the image data to obtain a multi-layer stacked input feature map.
[0032] S5: Through the neural network, the multi-layer stacked input feature maps are fused to obtain a fused feature map.
[0033] It should be noted that neural networks have powerful nonlinear feature extraction capabilities. By processing multi-layer stacked input feature maps, neural networks can automatically extract high-level, more abstract features and fuse them, making full use of the advantages of multimodal data, automatically extracting and fusing valuable features, and enhancing the model's expressiveness, robustness, and generalization capabilities, while improving decision accuracy and model flexibility.
[0034] In a possible implementation, S5 specifically includes sub-steps S501 to S503: S501: Perform feature screening on a multi-layer stacked input feature map to obtain a screened feature map.
[0035] Reference Manual Attached Figure 4 , showing a structural schematic diagram of a feature screening provided by an embodiment of the present invention.
[0036] Optionally, S501 specifically includes: S5011: Perform feature extraction and activation on the input feature map through the first convolution unit to obtain an activated feature map.
[0037] Optionally, the activation feature map is specifically: in, Represents the activated feature map, RELU represents the RELU activation function, Conv1 represents the first convolutional unit, and X represents the input feature map.
[0038] Optionally, the first convolution unit adopts 3×3 convolution and RELU activation function.
[0039] Among them, the ReLU (Rectified Linear Unit) activation function is one of the most commonly used activation functions in deep learning. Its main function is to introduce nonlinearity so that the model can learn more complex features. Linear transformation is essentially unable to handle nonlinear problems, while ReLU introduces nonlinear characteristics by setting the part of the input value less than zero to zero, so that the model can fit and process complex nonlinear data distributions.
[0040] It should be noted that feature extraction and activation are performed through the first convolution unit, and the combination of 3×3 convolution kernel and ReLU activation function is used to effectively enhance the feature extraction capability, introduce nonlinearity, improve computational efficiency, and increase the sparsity and robustness of the model.
[0041] S5012: Copy the activation feature map into two copies, namely a first activation feature map and a second activation feature map.
[0042] S5013: symmetrically flip the first activated feature map along the central axis to obtain a symmetrical feature map.
[0043] Optionally, the symmetric feature map is specifically: Among them, X f represents a symmetric feature map, and Flip represents a symmetric flip.
[0044] It should be noted that by symmetrically flipping the first activated feature map, the model can be helped to identify symmetrical structures in the image and improve the sensitivity and robustness of the feature map to symmetrical shapes. Symmetry is an important geometric feature in many visual tasks, and this operation enables the model to better understand and utilize this feature.
[0045] S5014: Perform convolution processing on the second activation feature map through the second convolution unit to obtain a deformation feature map.
[0046] Optionally, the second convolution unit uses a 7×7 convolution, a 5×5 deformable dilated convolution with a dilation rate of 1, and a 3×3 convolution connected in series.
[0047] Optionally, the deformation feature map is specifically: Among them, X d Represents a deformed feature map, Conv2 represents a 3×3 convolution, DConv represents a deformable dilated convolution, and DDConv represents a 7×7 convolution.
[0048] It should be noted that the use of deformable dilated convolution can enhance the model's adaptability to deformed objects. Dilated convolution (with dilation rate) can expand the receptive field of convolution, while deformable convolution can dynamically adjust the position of the convolution kernel to better capture features with large deformation or scale changes. This makes the model more accurate and flexible when dealing with objects with complex geometric shapes.
[0049] Furthermore, by using multiple convolutional layers (such as 3×3 convolution, 7×7 convolution, deformable dilated convolution), features can be extracted from different scales and different receptive fields. This diverse convolution operation can capture richer and more complex features in the image, improving the model's understanding of details and global information.
[0050] S5015: Multiply the deformation feature map and the symmetry feature map, and perform convolution processing through the third convolution unit.
[0051] Optionally, the third convolution unit adopts 3×3 convolution.
[0052] S5016: Add the feature map after convolution processing by the third convolution unit to the input feature map to obtain a screening feature map.
[0053] Optionally, the screening feature graph is specifically: Among them, Y represents the filtered feature map, Conv3 represents 3×3 convolution, and Conv4 represents 3×3 convolution.
[0054] It should be noted that adding the feature map after convolution processing by the third convolution unit to the original input feature map can achieve feature selection and optimization. This residual connection method can integrate the newly extracted feature information while retaining the original features, thereby reducing information loss and enhancing the overall expression ability of the feature map. This operation can avoid the gradient vanishing problem and further improve the stability and training efficiency of the model.
[0055] S502: Enhance the features of the screened feature graph to obtain an enhanced feature graph.
[0056] Optionally, S502 specifically includes: S5021: Perform convolution processing on the filtered feature map through the fourth convolution unit and the channel attention unit to obtain a large receptive field feature map.
[0057] Optionally, the fourth convolution unit adopts 9×9 convolution.
[0058] Optionally, the large receptive field feature map is specifically: in, represents a large receptive field feature map, SE represents a channel attention unit, represents a 9×9 convolution, and Y represents a filtered feature map.
[0059] It should be noted that large kernel convolution can obtain a larger receptive field, consider the relationship between a wider range of features, and capture more semantic information.
[0060] Furthermore, the channel attention mechanism (SE module) assigns weights to channels of different modalities, allowing the model to adaptively focus on more important feature channels. This weighted approach can effectively increase the model's attention to key features and reduce interference with irrelevant or minor information, thereby improving the quality of feature extraction. For multimodal fusion, channel attention can also ensure that the useful information of each modality is fully utilized, enhancing the fusion effect.
[0061] S5022: Perform deformation processing on the large receptive field feature map through a linear transformation unit.
[0062] Optionally, the linear transformation unit includes a first linear layer, a GULE activation function, and a second linear layer connected in series.
[0063] It should be noted that through the serial linear layer and GULE activation function, the linear transformation unit can effectively connect the relationship between each modality and realize the interaction of multimodal semantic information. The linear layer transforms and maps in the multimodal feature space, so that the features of different modalities can be effectively integrated and interacted in the same feature space. This interaction can help the model better understand and utilize the comprehensive information from different modalities, thereby improving the final decision-making ability.
[0064] S5023: Add the deformed large receptive field feature map to the filtered feature map to obtain an enhanced feature map.
[0065] Optionally, the enhanced feature map is specifically:
[0066] Among them, Z represents the enhanced feature map, linear1 represents the first linear layer, GULE represents the GULE activation function, and linear2 represents the second linear layer.
[0067] It should be noted that the large receptive field feature map after deformation is added to the filtered feature map to form a residual connection. This operation not only retains the original feature information, but also integrates the features enhanced by large kernel convolution and channel attention. This multi-level fusion can improve the expressiveness of the feature map, ensuring that the integrity and detail information of the original features are maintained while capturing more semantic information.
[0068] S503: Decode the enhanced feature map to obtain a fused feature map.
[0069] Optionally, S503 specifically includes: S5031: Normalize the enhanced feature map.
[0070] It should be noted that normalization can reduce the scale differences of input data, prevent the instability of model training effects due to data of different scales, and help to better learn features.
[0071] S5032: Perform convolution processing on the normalized enhanced feature map through the fifth convolution unit.
[0072] Optionally, the fifth convolution unit adopts depth-wise separable convolution.
[0073] Optionally, the depthwise separable convolution is specifically:
[0074] in, It represents the feature map after depth-wise separable convolution, DWC represents depth-wise separable convolution, GN represents normalization, and Z represents enhanced feature map.
[0075] It should be noted that most commonly used attention decoders are composed of multiple linear layers. Compared with commonly used attention decoders and ordinary convolution, depthwise separable convolution decomposes the convolution operation into two steps: depthwise convolution and pointwise convolution, which greatly reduces the amount of calculation while maintaining or even enhancing the ability to extract features. Due to the improvement in computational efficiency, the model can handle more complex tasks with the same computing resources, and its representation ability has also been enhanced, making the extracted features richer and more effective.
[0076] S5033: Perform channel scaling processing on the enhanced feature map after convolution processing.
[0077] It should be noted that by performing channel scaling on the enhanced feature map after convolution processing, the weight of each channel can be dynamically adjusted so that the model can better focus on the importance of different feature channels.
[0078] S5034: Add the enhanced feature map after channel scaling processing to the enhanced feature map to obtain an intermediate feature map.
[0079] It should be noted that the addition to the original enhanced feature map forms a residual connection method, which not only retains the original feature information, but also integrates the new features after convolution processing, further enhancing the expressiveness and complexity of the features. This multi-level fusion strategy can improve the model's ability to integrate data from different modalities and ensure that important information is effectively used.
[0080] S5035: Decode the intermediate feature map through group normalization and channel multi-layer perceptron to obtain a fused feature map.
[0081] Optionally, the fused feature map is specifically:
[0082] Among them, W represents the fused feature map and CMLP represents the multi-layer perceptron.
[0083] It should be noted that by processing the intermediate feature maps with a channel multi-layer perceptron, complex nonlinear transformations can be performed in the channel dimension. This operation can further enhance the model’s feature decoding capabilities, so that the final output fusion feature map can better capture the interactive relationship and semantic structure of multimodal information, providing stronger expressiveness.
[0084] S6: Perform data processing according to the fused feature map.
[0085] In a possible implementation, S6 specifically includes: performing target detection according to the fused feature map.
[0086] It should be noted that object detection is an important task in the field of computer vision. It not only needs to identify the object categories (such as cats, cars, people, etc.) that appear in the image, but also needs to determine the locations of these objects in the image. The final output of object detection usually includes the category label of the object and the corresponding bounding box, that is, the coordinates of the area where the object is located.
[0087] Optionally, the feature maps obtained by multiple fusion layers can be input into the target detection network for target detection: Among them, CBS represents the combination of convolution, batch normalization, and SILU activation functions, C2F is the multi-branch structure in YOLOV8, which is used to extract features. Upsample represents the upsampling operation. P5, P4, and P3 are the inputs of the neck network, and T5, T4, and T3 are the outputs of the neck network.
[0088] Furthermore, the feature map obtained by the neck network is input into the detection head to obtain the prediction result:
[0089] The Split table represents the split operation. Part of the split result is used to predict the classification, and part is used to predict the target box. The superscripts B and C of T5, T4, and T3 represent the prediction of the target box and the prediction of the category. The input feature maps T5, T4, and T3 are used to predict small targets S, medium targets M, and large targets L, respectively. Bbox represents the predicted target box, and Cls represents the predicted category. In a possible implementation, the loss function for training a neural network in target detection is specifically:
[0090] in, L a represents the loss function in the target detection process, L C represents the cross entropy loss, λ 1 represents the weight of the cross entropy loss, L CIoU represents the target box loss, λ 2 represents the weight of the target box loss, L conf represents the confidence loss, λ 3 represents the weight of confidence loss.
[0091] Among them, technicians in this field can set the weight of the cross entropy loss according to actual conditions. λ 1. Weight of target box loss λ 2 and the weight of the confidence loss λ The size of 3 is not limited in the present invention.
[0092] It should be noted that combining these different loss functions and using the weighted loss function for training can enable the model to learn different target detection tasks more comprehensively and improve the final detection accuracy and generalization ability.
[0093] Optionally, the cross entropy loss is specified as:
[0094] in, i Represents each sample, p i The model predicts i The closer the sample is to 1, the more likely it is that it belongs to this category. y i Indicates whether the actual sample belongs to this category. If so, y i is 1, if not, y i is 0, and N represents the total number of predictions.
[0095] Optionally, the target box loss is specifically:
[0096] in, IoU Describes the intersection-over-union ratio of the predicted box A and the real box B, b Represents the center point of the predicted target box, b gt represents the center point of the actual target box, w Indicates the width of the predicted target box, w gt Indicates the width of the actual target box. h Indicates the height of the predicted target box, h gt Indicates the height of the actual target box. ρ 2 represents the Euclidean distance between the two. c Represents the diagonal distance of the smallest rectangle that contains these two boxes.
[0097] Optionally, the confidence loss is specifically:
[0098] in, obj Indicates the samples where the target actually exists, i For each existing target, no Indicates samples where the target does not actually exist. j Corresponding to each sample where the target does not exist. w obj Used to adjust the weight of the existing target, usually 4. The value corresponding to the sample that actually has the target is represented by 1; Indicates the predicted probability corresponding to the sample where the target actually exists; The value corresponding to the sample where the target does not actually exist is represented by 0; Indicates the predicted probability corresponding to the sample where the target does not actually exist.
[0099] In a possible implementation, S6 specifically includes: performing classification processing according to the fused feature map.
[0100] In a possible implementation, the loss function for training the neural network in the classification process is specifically:
[0101] in, L b represents the loss function in the classification process, y c Indicates c The actual label value of each category, p c Indicates c The classification prediction value of each category,C Indicates the total number of categories.
[0102] It should be noted that cross entropy loss can effectively handle multi-category classification problems and assign appropriate loss weights to each category even when there are a large number of categories. It helps the model optimize the correct category by measuring the difference between the predicted probability distribution and the true label distribution.
[0103] Compared with the prior art, the present invention has at least the following beneficial effects: In the present invention, by converting one-dimensional data into two-dimensional data of the same size as the image data and stacking it with the image data, the data formats of different modalities can be unified so that they can be processed in the same feature space, which greatly simplifies the alignment process between heterogeneous data and ensures data integrity. By processing multi-layer stacked input feature maps through neural networks and utilizing the powerful automatic feature extraction capabilities of deep learning models, the features of different modalities can be efficiently fused to improve data fusion quality.
[0104] Second, refer to the attached manual Figure 5 , showing a structural schematic diagram of a data processing device based on multimodal fusion provided by an embodiment of the present invention.
[0105] The present invention provides a data processing device 20 based on multimodal fusion, comprising: The acquisition module 201 is used to acquire one-dimensional data and image data.
[0106] The conversion module 202 is used to convert the one-dimensional data into two-dimensional data according to the size of the image data.
[0107] The zero-filling module 203 is used to fill the empty positions in the two-dimensional data with zeros.
[0108] The stacking module 204 is used to stack the two-dimensional data after the zero-padding process with the image data to obtain a multi-layer stacked input feature map.
[0109] The fusion module 205 is used to perform fusion processing on the multi-layer stacked input feature maps through a neural network to obtain a fused feature map.
[0110] The processing module 206 is used to perform data processing according to the fused feature map.
[0111] In a possible implementation, the conversion module 202 is specifically configured to: Determine multiple panes of the same size based on the size of the image data.
[0112] Split one-dimensional data into multiple one-dimensional sub-data according to preset sizes.
[0113] Fill the one-dimensional sub-data into each pane to form two-dimensional data.
[0114] In a possible implementation, the fusion module 205 is specifically configured to: Perform feature filtering on the multi-layer stacked input feature map to obtain a filtered feature map.
[0115] The feature enhancement is performed on the screening feature map to obtain an enhanced feature map.
[0116] The enhanced feature map is decoded to obtain a fused feature map.
[0117] In a possible implementation, the fusion module 205 is specifically configured to: Through the first convolution unit, the input feature map is extracted and activated to obtain an activated feature map.
[0118] The activation feature map is copied into two copies, namely the first activation feature map and the second activation feature map.
[0119] The first activated feature map is symmetrically flipped along the central axis to obtain a symmetrical feature map.
[0120] The second activation feature map is convolved by the second convolution unit to obtain a deformation feature map.
[0121] The deformation feature map is multiplied by the symmetric feature map and convolved through the third convolution unit.
[0122] The feature map after convolution by the third convolution unit is added to the input feature map to obtain a screening feature map.
[0123] In a possible implementation, the fusion module 205 is specifically configured to: The filtered feature map is convolved through the fourth convolution unit and the channel attention unit to obtain a large receptive field feature map.
[0124] The large receptive field feature map is deformed through the linear transformation unit.
[0125] The large receptive field feature map after deformation is added to the filtered feature map to obtain the enhanced feature map.
[0126] In a possible implementation, the fusion module 205 is specifically configured to: Normalize the enhanced feature map.
[0127] The normalized enhanced feature map is convolved through the fifth convolution unit.
[0128] Perform channel scaling on the enhanced feature map after convolution.
[0129] The enhanced feature map after channel scaling is added to the enhanced feature map to obtain the intermediate feature map.
[0130] The intermediate feature map is decoded through group normalization and channel multi-layer perceptron to obtain a fused feature map.
[0131] In a possible implementation, the processing module 206 is specifically configured to: According to the fused feature map, target detection is performed.
[0132] In a possible implementation, the loss function for training a neural network in target detection is specifically:
[0133] in, L a represents the loss function in the target detection process, L C represents the cross entropy loss, λ 1 represents the weight of the cross entropy loss, L CIoU represents the target box loss, λ 2 represents the weight of the target box loss, L conf represents the confidence loss, λ 3 represents the weight of confidence loss.
[0134] In a possible implementation, the processing module 206 is specifically configured to: Classification processing is performed based on the fused feature map.
[0135] In a possible implementation, the loss function for training the neural network in the classification process is specifically:
[0136] in, L b represents the loss function in the classification process, y c Indicates c The actual label value of each category, p c Indicates c The classification prediction value of each category, C Indicates the total number of categories.
[0137] The data processing device 20 based on multimodal fusion provided by the present invention can implement each process implemented in the method embodiment of the first aspect above, and will not be described again here to avoid repetition.
[0138] The virtual device provided by the present invention may be a device, or a component, an integrated circuit, or a chip in a terminal.
[0139] Compared with the prior art, the present invention has at least the following beneficial effects: In the present invention, by converting one-dimensional data into two-dimensional data of the same size as the image data and stacking it with the image data, the data formats of different modalities can be unified so that they can be processed in the same feature space, which greatly simplifies the alignment process between heterogeneous data and ensures data integrity. By processing multi-layer stacked input feature maps through neural networks and utilizing the powerful automatic feature extraction capabilities of deep learning models, the features of different modalities can be efficiently fused to improve data fusion quality.
[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data processing method based on multimodal fusion, It is characterized in that include: Acquire one-dimensional data and image data; Converting the one-dimensional data into two-dimensional data according to the size of the image data; Filling the empty positions in the two-dimensional data with zeros; The two-dimensional data after the zero-padding process is stacked with the image data to obtain a multi-layer stacked input feature map; Through a neural network, the multi-layer stacked input feature maps are fused to obtain a fused feature map; Data processing is performed according to the fused feature map.
2. The data processing method based on multimodal fusion according to claim 1, It is characterized in that The step of converting the one-dimensional data into two-dimensional data according to the size of the image data specifically includes: Determining a plurality of panes of the same size according to the size of the image data; Splitting the one-dimensional data into a plurality of one-dimensional sub-data according to a preset size; The one-dimensional sub-data are filled into each of the panes to form the two-dimensional data.
3. The data processing method based on multimodal fusion according to claim 1, It is characterized in that The step of fusing the multi-layered input feature maps through a neural network to obtain a fused feature map specifically includes: Performing feature screening on the multi-layer stacked input feature map to obtain a screened feature map; Performing feature enhancement on the screening feature graph to obtain an enhanced feature graph; The enhanced feature map is decoded to obtain a fused feature map.
4. The data processing method based on multimodal fusion according to claim 3, It is characterized in that The performing feature screening on the multi-layer stacked input feature map to obtain the screened feature map specifically includes: Performing feature extraction and activation on the input feature map through a first convolution unit to obtain an activated feature map; Copying the activation feature map into two copies, namely a first activation feature map and a second activation feature map; Symmetrically flipping the first activated feature map along the central axis to obtain a symmetric feature map; Performing convolution processing on the second activation feature map through a second convolution unit to obtain a deformation feature map; multiplying the deformation feature map and the symmetry feature map, and performing convolution processing through a third convolution unit; The feature map after convolution processing by the third convolution unit is added to the input feature map to obtain the screening feature map.
5. The data processing method based on multimodal fusion according to claim 3, It is characterized in that The feature enhancement of the screening feature graph to obtain the enhanced feature graph specifically includes: The screening feature map is convolved by a fourth convolution unit and a channel attention unit to obtain a large receptive field feature map; Performing deformation processing on the large receptive field feature map through a linear transformation unit; The large receptive field feature map after deformation processing is added to the screening feature map to obtain the enhanced feature map.
6. The data processing method based on multimodal fusion according to claim 3, It is characterized in that The decoding of the enhanced feature map to obtain a fused feature map specifically includes: Normalizing the enhanced feature map; Through the fifth convolution unit, the normalized enhanced feature map is convolved; Perform channel scaling on the enhanced feature map after convolution processing; Adding the enhanced feature map after channel scaling processing to the enhanced feature map to obtain an intermediate feature map; The intermediate feature map is decoded through group normalization and channel multi-layer perceptron to obtain a fused feature map.
7. The data processing method based on multimodal fusion according to claim 1, It is characterized in that The data processing according to the fused feature map specifically includes: Target detection is performed according to the fused feature map.
8. The data processing method based on multimodal fusion according to claim 7, It is characterized in that The loss function for training the neural network in the target detection is specifically: in, L a represents the loss function in the target detection process, L C represents the cross entropy loss, λ 1 represents the weight of the cross entropy loss, L CIoU represents the target box loss, λ 2 represents the weight of the target box loss, L conf represents the confidence loss, λ 3 Represents the weight of the confidence loss.
9. The data processing method based on multimodal fusion according to claim 1, It is characterized in that The data processing according to the fused feature map specifically includes: Performing classification processing according to the fused feature map; The loss function for training the neural network in the classification process is specifically: in, L b represents the loss function in the classification process, y c Indicates c The actual label value of each category, p c Indicates c The classification prediction value of each category, C Indicates the total number of categories.
10. A data processing device based on multimodal fusion, It is characterized in that include: An acquisition module, used for acquiring one-dimensional data and image data; A conversion module, used for converting the one-dimensional data into two-dimensional data according to the size of the image data; A zero-filling module, used for filling the empty positions in the two-dimensional data with zeros; A stacking module, used for stacking the two-dimensional data after zero padding with the image data to obtain a multi-layer stacked input feature map; A fusion module, used to perform fusion processing on the multi-layer stacked input feature maps through a neural network to obtain a fused feature map; A processing module is used to perform data processing according to the fused feature map.
Citation Information
Patent Citations
Image feature extraction and training method based on three-dimensional convolutional neural network
CN108717568A
Angular domain stationary signal denoising method and device based on 5G technology, and network server
CN112839349A
Motor bearing fault diagnosis method based on one-dimensional data enhancement and CNN
CN113203566A
Underwater image enhancement method based on deep learning
CN114529713A
Intelligent gearbox fault diagnosis method based on multi-channel self-calibration convolutional neural network
CN114818774A
Cited By
Data processing method and apparatus based on multi-modal fusion
WO2026081365A1
