Data processing and model construction method based on multi-modal fusion, and related equipment

By constructing a multi-modal fusion data processing model and using a joint training method of multi-modal training data sets, the problem of insufficient data processing accuracy in the existing technology is solved, and the accuracy and information richness of sample detection are significantly improved.

CN118708969AInactive Publication Date: 2024-09-27FUDAN UNIVERSITY

Patent Information

Application Number
CN202410835224.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing data processing methods based on multi-modal fusion still have room for improvement in accuracy in sample detection, especially in sample analysis where insufficient data quantity and information richness lead to inaccurate prediction results.

Method used

By obtaining multi-modal training data sets, including one-dimensional and two-dimensional training data, a joint training method is used to build a data processing model based on multi-modal fusion, which enhances the information richness of the training data, thereby improving model performance and sample detection accuracy. .

Benefits of technology

It improves the performance of building models based on multi-modal fusion data processing and enhances the accuracy of prediction results for sample data, especially in sample analysis to more accurately classify and identify pathogenic bacteria and particulate matter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708969A
    Figure CN118708969A
Patent Text Reader

Abstract

A data processing and model construction method based on multi-modal fusion, and a related device, the construction method of the data processing model based on multi-modal fusion comprising: acquiring a multi-modal training data set, the multi-modal training data set comprising multi-modal training data; and carrying out joint training by adopting the multi-modal training data in the multi-modal training data set to obtain a data processing model based on multi-modal fusion. According to the technical scheme of the embodiment of the invention, the performance of the construction method of the data processing model based on multi-modal fusion can be improved, so that the accuracy of sample analysis can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of biological information processing technology, and in particular to a data processing and model building method based on multimodal fusion and related equipment. Background Art

[0002] Sample testing technology has been widely used in fields such as medicine, biology, environment and food science. By testing samples, test data with analytical significance can be obtained.

[0003] However, as data processing methods based on multimodal fusion develop towards a more complex direction, the quantity of sample detection data required is also increasing. For example, with the development of artificial intelligence, technologies such as machine learning and deep learning have gradually been used to achieve data analysis. However, the accuracy of current data processing methods based on multimodal fusion still needs to be improved. Summary of the invention

[0004] The problem solved by the embodiments of the present invention is to provide a data processing and model building method based on multimodal fusion and related equipment, which is conducive to improving the performance of the method for building a data processing model based on multimodal fusion, thereby further improving the accuracy of sample analysis.

[0005] To solve the above problems, an embodiment of the present invention provides a method for constructing a data processing model based on multimodal fusion, comprising:

[0006] Acquire a multimodal training data set, wherein the multimodal training data set includes multimodal training data;

[0007] The multimodal training data in the multimodal training data set is used for joint training to obtain a data processing model based on multimodal fusion.

[0008] Accordingly, an embodiment of the present invention further provides a device for constructing a data processing model based on multimodal fusion, comprising:

[0009] A training data acquisition unit, adapted to acquire a multimodal training data set, wherein the multimodal training data set includes multimodal training data;

[0010] The joint training unit is suitable for using the multimodal training data in the multimodal training data set to perform joint training to obtain a data processing model based on multimodal fusion.

[0011] Accordingly, an embodiment of the present invention further provides a data processing method based on multimodal fusion, comprising:

[0012] Obtain multimodal data to be processed;

[0013] The multimodal data to be processed is input into a data processing model based on multimodal fusion constructed by using any of the methods for constructing a data processing model based on multimodal fusion as described above to obtain corresponding data processing results.

[0014] Accordingly, an embodiment of the present invention further provides a data processing device based on multimodal fusion, comprising:

[0015] A data acquisition unit, adapted to acquire multimodal data to be processed;

[0016] The analysis and prediction unit is suitable for inputting the multimodal data to be processed into a data processing model based on multimodal fusion constructed by using the construction method of a data processing model based on multimodal fusion as described in any of the above items to obtain corresponding data processing results.

[0017] Correspondingly, an embodiment of the present invention also provides a device, characterized in that it includes at least one memory and at least one processor, the memory stores one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method for constructing a data processing model based on multimodal fusion as described in any one of the above or the data processing method based on multimodal fusion as described above.

[0018] Correspondingly, an embodiment of the present invention also provides a storage medium, characterized in that the storage medium stores one or more computer instructions, and the one or more computer instructions are used to implement the method for constructing a data processing model based on multimodal fusion as described in any one of the above items or the data processing method based on multimodal fusion as described above.

[0019] Compared with the prior art, the technical solution of the embodiment of the present invention has the following advantages:

[0020] An embodiment of the present invention provides a method for constructing a data processing model based on multimodal fusion, comprising: obtaining a multimodal training data set, wherein the multimodal training data set includes multimodal training data; performing joint training using the multimodal training data in the multimodal training data set to obtain a data processing model based on multimodal fusion.

[0021] In the method for constructing a data processing model based on multimodal fusion provided by an embodiment of the present invention, a multimodal training data set is obtained, and the multimodal training data set includes multimodal training data, which can increase the information richness of the training data in the training data set. Subsequently, the multimodal training data in the multimodal training data set is used for joint training to obtain a data processing model based on multimodal fusion, which correspondingly helps to improve the performance of the constructed data processing model based on multimodal fusion, and then when the data processing model based on multimodal fusion is subsequently used to detect the sample data to be processed, it helps to improve the accuracy of the prediction results of the sample data to be processed. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A flow chart of an embodiment of a method for constructing a data processing model based on multimodal fusion provided by the technical solution of the present invention;

[0023] Figure 2 A schematic diagram of a flow chart of an embodiment of a data processing model based on multimodal fusion obtained by performing joint training using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set in the technical solution of the present invention;

[0024] FIG3 is a schematic diagram showing a comparison of confusion matrices of the accuracy of a data processing model based on multimodal fusion;

[0025] Figure 4 is a schematic diagram of the framework structure of a device for constructing a data processing model based on multimodal fusion in an embodiment of the present invention;

[0026] Figure 5 Schematic diagram of a flow chart of a data processing method based on multimodal fusion in an embodiment of the present invention;

[0027] Figure 6 is a structural schematic diagram of a data processing device based on multimodal fusion in an embodiment of the present invention;

[0028] Figure 7 It is a flow chart of an embodiment of a data processing method of the present invention;

[0029] Figure 8 yes Figure 7 A schematic diagram of raw mass spectrum data of an embodiment corresponding to step S10;

[0030] Fig. 9 is a schematic diagram of an embodiment of Gaussian distribution of signal intensity in the data processing method of the present invention;

[0031] Fig.10 yes Figure 7 A schematic diagram of newly added mass spectrum data of an embodiment corresponding to step S20;

[0032] Fig.11 is a t-SNE distribution diagram of an embodiment obtained based on original mass spectrum data, and a t-SNE distribution diagram of an embodiment obtained based on mass spectrum data obtained by the data processing method according to an embodiment of the present invention;

[0033] Fig.12 This is a comparison diagram of the confusion matrix of the accuracy of the machine learning model;

[0034] Fig.13 This is a comparison diagram of the confusion matrix of the accuracy of the deep learning model;

[0035] Fig.14 It is a structural schematic diagram of an embodiment of a data processing system of the present invention;

[0036] Fig.15 A schematic diagram of the structure of a device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] As mentioned in the background technology, the accuracy of existing data processing methods based on multimodal fusion still needs to be improved.

[0038] In order to solve the above technical problems, an embodiment of the present invention provides a method for constructing a data processing model based on multimodal fusion, including: obtaining a multimodal training data set, wherein the multimodal training data set includes multimodal training data; performing joint training using the multimodal training data in the multimodal training data set to obtain a data processing model based on multimodal fusion.

[0039] In the method for constructing a data processing model based on multimodal fusion provided by an embodiment of the present invention, a multimodal training data set is obtained, and the multimodal training data set includes multimodal training data, which can increase the information richness of the training data in the training data set. Subsequently, the multimodal training data in the multimodal training data set is used for joint training to obtain a data processing model based on multimodal fusion, which correspondingly helps to improve the performance of the constructed data processing model based on multimodal fusion, and then when the data processing model based on multimodal fusion is subsequently used to detect the sample data to be processed, it helps to improve the accuracy of the prediction results of the sample data to be processed.

[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0041] Figure 1 The flowchart of an embodiment of a method for constructing a data processing model based on multimodal fusion provided by the technical solution of the present invention is shown. Figure 1A method for constructing a data processing model based on multimodal fusion may specifically include the following steps:

[0042] Step S110: Acquire a multimodal training data set, where the multimodal training data set includes multimodal training data;

[0043] Step S120: performing joint training using the multimodal training data in the multimodal training data set to obtain a data processing model based on multimodal fusion.

[0044] Please continue to refer to Figure 1 , execute step S110 to obtain a multimodal training data set, where the multimodal training data set includes multimodal training data.

[0045] Acquiring a multimodal training data set provides a basis for subsequent joint training using multimodal training data in the multimodal training data set to obtain a data processing model based on multimodal fusion.

[0046] In some embodiments, the multimodal training data set includes a first training data set and a second training data set, wherein the first training data set includes a plurality of one-dimensional training data, and the second training data set includes a plurality of two-dimensional training data.

[0047] The one-dimensional training data is one-dimensional data. Specifically, the one-dimensional data is composed of ordered or unordered data with a peer relationship.

[0048] In some embodiments, the one-dimensional training data in the first training data set has multiple first modes, that is, the first training data set has multi-modal one-dimensional training data. It should be noted that the first mode is a general term for the modes of the one-dimensional training data in the first training data set, so as to distinguish it from the modes of the two-dimensional training data in the second training data set. In the first training data set, the first mode of at least part of the one-dimensional training data is different from the first mode of the other part of the one-dimensional training data.

[0049] As an example, the one-dimensional training data includes Raman spectrum data, mass spectrum data, infrared spectrum data, and point-scanning Fluorescence Lifetime Imaging Microscopy (FLIM) data.

[0050] Mass spectrometry data is commonly used in the fields of medicine, biology, environment and food science. It is the mass-to-charge ratio (m / z) of molecules in a sample and the information of the intensity at each mass-to-charge ratio obtained by testing the sample with a mass spectrometer. Accordingly, mass spectrometry data contains information about the intensity that varies with the mass-to-charge ratio.

[0051] Raman spectroscopy is an analytical method that uses the Raman scattering effect of molecules to obtain information on molecular vibration, rotation, etc. Specifically, Raman spectroscopy data is obtained by analyzing the scattered spectrum with a wavelength different from the excitation light to obtain information on molecular vibration and rotation.

[0052] Infrared spectroscopy is an analytical chemistry technique that uses the properties of a substance absorbing or scattering infrared radiation to study the structure and chemical composition of a substance. Specifically, an infrared spectrometer is used to obtain and measure the energy of infrared light absorbed or scattered by a sample, so that the absorption or scattering intensity of the sample at different wavelengths can be obtained, thereby revealing information such as the sample's molecular structure, functional groups, and chemical bonds.

[0053] Fluorescence Lifetime Imaging Microscopy (FLIM) technology detects the fluorescence generated by dyeing the sample with fluorescent materials and then irradiating it or directly irradiating it to obtain relevant information such as the shape of the corresponding position of the sample. Among them, the point scanning fluorescence lifetime imaging data is the point-to-point time-correlated single photon counting (TCSPC) data obtained by combining fluorescence lifetime imaging technology with laser point scanning microscopy technology.

[0054] In other embodiments, the one-dimensional training data may also be two or three of Raman spectral data, mass spectral data, and point scanning fluorescence lifetime imaging data, or may also include other one-dimensional data of other modalities that can be used for training data processing models based on multimodal fusion, without limitation herein.

[0055] The source of the one-dimensional training data with multiple first modes in the first training data set can be selected according to actual needs.

[0056] As an example, the step of obtaining a first training data set includes: testing a sample to obtain first original training data; performing first data enhancement processing on the first original training data to obtain corresponding first newly added training data, and the first newly added training data and the first original training data constitute the first training data set.

[0057] As an example, the first original training data is first copied, and the signal strength in the copied first original training data is adjusted according to the distribution rule of the signal strength in the first original training data to obtain corresponding first newly added training data.

[0058] The amount of one-dimensional training data in the first training data set can be set according to the training requirements of the data processing model based on multimodal fusion, and is not limited here.

[0059] The two-dimensional training data is two-dimensional data, wherein the two-dimensional data is a combination of one-dimensional data, and is composed of a plurality of one-dimensional data.

[0060] The two-dimensional training data includes at least one of surface scanning optical imaging data, confocal imaging data, and surface scanning fluorescence lifetime imaging data.

[0061] Surface scanning optical imaging is a method of obtaining sample surface images using optical technology. It usually uses optical lenses and detectors to capture the optical signals on the sample surface and convert them into digital images. Surface scanning optical imaging can usually be used to observe microstructures, detect surface defects, measure size and shape, etc.

[0062] Surface scanning fluorescence lifetime imaging data is a type of surface scanning optical imaging data. It scans the entire sample surface to obtain the fluorescence intensity and lifetime information of each point, which is used to reveal the distribution and lifetime changes of fluorescent substances in the sample, thereby providing information about the structure and properties of the sample. By analyzing the surface scanning fluorescence lifetime imaging data, the fluorescence lifetime imaging image and related quantitative information about the sample can be obtained.

[0063] Confocal imaging is an optical imaging method that uses point-by-point illumination and spatial pinhole modulation to remove scattered light from non-focal planes of the sample, which can improve optical resolution and visual contrast. Specifically, confocal imaging data includes the obtained fluorescence intensity and position information, as well as the three-dimensional structure and fluorescence lifetime of the sample obtained from it.

[0064] In other embodiments, the two-dimensional training data may also be both surface scanning optical imaging data and confocal imaging data, or may also include other two-dimensional imaging data of the sample, which is not limited here.

[0065] The source of the two-dimensional training data in the second training data set can be selected according to actual needs. As an example, the step of obtaining the second training data set includes: testing the sample to obtain second original training data; performing second data enhancement processing on the second original training data to obtain corresponding second newly added training data, and the second newly added training data and the second original training data constitute the second training data set.

[0066] As an example, performing second data enhancement processing on the second original training data, and obtaining corresponding second newly added training data includes: copying the second original training data to obtain copied second original training data; adjusting the signal strength in the copied second original training data according to the signal strength distribution rule in the second original training data, and obtaining corresponding second newly added training data.

[0067] The amount of two-dimensional training data in the second training data set can be set accordingly according to the model training requirements and is not limited here.

[0068] Please continue to refer to Figure 1 , execute step S120, use the multimodal training data in the multimodal training data set to perform joint training, and obtain a data processing model based on multimodal fusion.

[0069] The multimodal training data in the multimodal training data set is used for joint training to obtain a data processing model based on multimodal fusion. The data processing model based on multimodal fusion is subsequently used to implement data analysis, such as data classification.

[0070] In some embodiments, the multimodal training data set includes a first training data set and a second training data set. The first training data set includes a plurality of one-dimensional training data, and the second training data set includes a plurality of two-dimensional training data. Accordingly, the step of using the multimodal training data in the multimodal training data set for joint training to obtain a data processing model based on multimodal fusion includes: using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set for joint training to obtain a data processing model based on multimodal fusion.

[0071] Figure 2 The flowchart of an embodiment of the technical solution of the present invention is to use the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to perform joint training to obtain a data processing model based on multimodal fusion. Figure 2 Taking the one-dimensional training data having multiple first modalities in the first training data set and the one-dimensional training data having one or more second modalities in the second training data set as an example, the step of performing joint training using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to obtain a data processing model based on multimodal fusion may include:

[0072] Step S1201: performing a first fusion process on one-dimensional training data having a plurality of first modalities in the first training data set, obtaining a plurality of corresponding first fused data, and generating the first fused data set;

[0073] Step S1202: performing first directional attention feature extraction processing on the first fused data in the first fused data set respectively to obtain first directional attention feature data corresponding to each of the first modalities;

[0074] Step S1203: performing a first convolution process on the first directional attention feature data corresponding to each first modality and the corresponding one-dimensional training data of other first modalities, obtaining corresponding multiple first feature data, and generating a first feature data set;

[0075] Step S1204: performing second attention feature extraction processing on the two-dimensional training data in the second training data set to obtain corresponding second attention feature data;

[0076] Step S1205: performing a second convolution process on the second attention feature data and the corresponding one-dimensional training data of the first modality respectively, obtaining corresponding multiple pieces of second feature data, and generating a second feature data set;

[0077] Step S1206: performing first aggregation processing on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set, obtaining corresponding multiple pieces of first aggregated feature data, and generating a first aggregated feature data set;

[0078] Step S1207: performing a first classification process on the first aggregated feature data in the first aggregated feature data set to obtain a corresponding first prediction result;

[0079] Step S1208: Based on the first prediction result obtained, a preset first loss function is used to calculate the first loss value of the data processing model based on multimodal fusion, and the weight of the data processing model based on multimodal fusion is adjusted according to the calculated first loss value until the first loss value of the data processing model based on multimodal fusion converges.

[0080] Please continue to refer to Figure 2 , execute step S1201, perform first fusion processing on the one-dimensional training data with multiple first modalities in the first training data set, obtain corresponding multiple first fused data, and generate the first fused data set.

[0081] A first fusion processing is performed on the one-dimensional training data with multiple first modalities in the first training data set to obtain multiple corresponding first fusion data, and the first fusion data set is generated, so as to provide a basis for subsequently performing first directional attention feature extraction processing on the first fusion data in the first fusion data set, respectively, to obtain first directional attention feature data corresponding to each first modality.

[0082] Performing a first fusion process on the one-dimensional training data with multiple first modes in the first training data set refers to fusing multiple one-dimensional training data with different first modes. In other words, the multiple one-dimensional training data to be fused have different first modes.

[0083] As an example, the first training data set includes Raman spectrum data and mass spectrum data. Accordingly, one Raman spectrum data and one mass spectrum data are respectively obtained from the first training data set, and the obtained Raman spectrum data and the obtained mass spectrum data are subjected to a first fusion processing to obtain a corresponding first fusion data.

[0084] According to actual needs, a preset data fusion algorithm can be used to fuse the one-dimensional training data with multiple first modalities in the first training data set. The data fusion algorithm can be selected by those skilled in the art according to actual needs and is not limited here.

[0085] A first fusion processing is performed on the one-dimensional training data with multiple first modalities in the first training data set, so that the corresponding first fused data generated simultaneously has the feature information of the one-dimensional training data with multiple first modalities, so that the generated first fused data has richer and more comprehensive feature information, which correspondingly helps to improve the prediction accuracy and generalization ability of the obtained data processing model based on multimodal fusion.

[0086] Please continue to refer to Figure 2 , execute step S1202, perform first directional attention feature extraction processing on the first fusion data in the first fusion data set respectively, and obtain first directional attention feature data corresponding to each first modality.

[0087] Perform first directional attention feature extraction processing on the first fused data in the first fused data set to obtain first directional attention feature data corresponding to each first modality, so as to provide a basis for subsequently performing first convolution processing on the first directional attention feature data corresponding to each first modality with the corresponding one-dimensional training data of other first modalities to obtain corresponding multiple first feature data and generate a first feature data set.

[0088] The first fusion data in the first fusion data set is respectively subjected to first directional attention feature extraction processing, so that the acquired first directional attention feature data can pay more attention to the detail information related to the features of the corresponding direction, which helps to improve the expression ability of the first directional attention feature and helps to speed up the information processing efficiency.

[0089] Performing first directional attention feature extraction processing on the first fused data in the first fused data set respectively refers to performing attention feature extraction processing on the first fused data in the first fused data set in corresponding directions respectively, wherein the corresponding directions correspond one-to-one to the one-dimensional training data of the multiple first modalities of the fused first fused data.

[0090] As an example, the first training data set includes Raman spectrum data and mass spectrum data. Accordingly, the first fusion data in the first fusion data set are respectively subjected to first directional attention feature extraction processing to obtain first directional attention feature data corresponding to each first modality, including: performing attention feature extraction processing in Raman direction and mass spectrum direction on the first fusion data in the first fusion data set to obtain first directional attention feature data in Raman direction and first directional attention feature data in mass spectrum direction.

[0091] As an example, a first multi-head attention mechanism is used to perform first directional attention feature extraction processing on the first fused data in the first fused data set to obtain first directional attention feature data corresponding to each first modality.

[0092] Specifically, the first fusion data are respectively combined with the corresponding multiple sets of trainable parameter matrices W Q , W K , W V Multiply them to get multiple groups and parameter matrix W Q , W K , W V The corresponding multiple sets of query matrices (Q), key matrices (K) and value (V) matrices are concatenated and vector dot products are performed on the multiple sets of query matrices, key matrices and value matrices to obtain the corresponding attention matrices. Among them, the corresponding multiple sets of trainable parameter matrices W Q , W K , W V Multiple sets of trainable parameter matrices W corresponding to each first mode Q , W K , W V In other words, each first mode is associated with a set of trainable parameter matrices W Q , W K , W V Corresponding.

[0093] Please continue to refer to Figure 2 , execute step S1203, perform a first convolution process on the first directional attention feature data corresponding to each first modality and the corresponding one-dimensional training data of other first modalities, obtain the corresponding multiple first feature data, and generate a first feature data set.

[0094] The first directional attention feature data corresponding to each first modality is respectively subjected to a first convolution process with the corresponding one-dimensional training data of other first modalities to obtain a corresponding plurality of first feature data and generate a first feature data set, so as to prepare for the subsequent first aggregation process of the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a corresponding plurality of first aggregated feature data and generate a first aggregated feature data set.

[0095] As an example, the first training data set includes Raman spectrum data and mass spectrum data. Accordingly, the step of convolving the first directional attention feature data corresponding to each first modality with the corresponding one-dimensional training data of other first modalities includes: fusing the first directional attention feature data in the Raman direction with the mass spectrum data, and convolving the first directional attention feature data in the mass spectrum direction with the Raman data.

[0096] When obtaining first directional attention feature data corresponding to each first modality, first fusion data are first obtained by performing fusion processing on the one-dimensional training data with multiple first modalities. The first fusion data corresponds to the one-dimensional training data with multiple first modalities before the fusion processing. Then, the first fusion data are respectively subjected to first directional attention feature extraction processing to obtain first directional attention feature data corresponding to each first modality. Then, the first directional attention feature data corresponds one-to-one to the one-dimensional training data with multiple first modalities corresponding to the first fusion data.

[0097] Accordingly, in the step of performing a first convolution processing on the first directional attention feature data corresponding to each first modality and the corresponding one-dimensional training data of other first modalities, the corresponding one-dimensional training data of other first modalities are the one-dimensional training data of other first modalities excluding the one-dimensional training data of the first modality corresponding to the first directional attention feature data from the one-dimensional training data with multiple first modalities corresponding to the corresponding first fusion data.

[0098] For example, when the one-dimensional training data undergoing the first fusion processing includes one-dimensional input data 1, one-dimensional input data 2, and one-dimensional input data 3, the first directional attention feature data obtained by performing the first directional attention feature extraction processing on the one-dimensional input data 1 are subjected to the first convolution processing with the one-dimensional input data 2 and the one-dimensional input data 3 respectively, the first directional attention feature data obtained by performing the first directional attention feature extraction processing on the one-dimensional input data 2 are subjected to the first convolution processing with the one-dimensional input data 1 and the one-dimensional input data 3 respectively, and the first directional attention feature data obtained by performing the first directional attention feature extraction processing on the one-dimensional input data 3 are subjected to the first convolution processing with the one-dimensional input data 2 and the one-dimensional input data 1 respectively.

[0099] The first directional attention feature data corresponding to each first modality is convolved with the corresponding one-dimensional training data of other first modalities, so that the acquired first feature data can contain the associated feature information between the one-dimensional training data of two different first modalities, which is conducive to further increasing the richness of the feature information in the first feature data.

[0100] Please continue to refer to Figure 2 , execute step S1204, perform second attention feature extraction processing on the two-dimensional training data in the second training data set respectively, and obtain corresponding second attention feature data.

[0101] The second attention feature extraction process is performed on the two-dimensional training data in the second training data set to obtain corresponding second attention feature data, so as to provide a basis for subsequently performing a second convolution process on the second attention feature data with the corresponding one-dimensional training data of the first modality to obtain corresponding multiple second feature data and generate a second feature data set.

[0102] The second attention feature extraction process is performed on the two-dimensional training data in the second training data set respectively, so that the obtained second attention feature data can pay more attention to the detail information related to the features of the corresponding direction.

[0103] As an example, the second training data set includes confocal imaging data and surface scanning fluorescence lifetime imaging training data. Accordingly, the two-dimensional training data in the second training data set are respectively subjected to second attention feature extraction processing, and the step of obtaining corresponding second attention feature data includes: performing self-attention feature extraction processing in the confocal imaging direction on the confocal imaging data in the second training data set to obtain second attention feature data in the confocal imaging direction, and performing self-attention feature extraction processing in the fluorescence lifetime imaging direction of surface scanning on the fluorescence lifetime imaging training data of surface scanning in the second training data set to obtain second attention feature data in the fluorescence lifetime imaging direction of surface scanning.

[0104] In some embodiments, a second multi-head attention mechanism is used to perform second attention feature extraction processing on the two-dimensional training data in the second training data set to obtain corresponding multiple second attention feature data. The second multi-head attention mechanism may be the same as or different from the first multi-head attention mechanism.

[0105] Please continue to refer to Figure 2 , execute step S1205, perform a second convolution process on the second attention feature data and the corresponding one-dimensional training data of the first modality, obtain corresponding multiple second feature data, and generate a second feature data set.

[0106] The second attention feature data corresponding to each second modality is respectively subjected to a second convolution process with the one-dimensional training data of the corresponding first modality to obtain a corresponding plurality of second feature data and generate a second feature data set, in preparation for the subsequent first aggregation process of the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a corresponding plurality of first aggregated feature data and generate a first aggregated feature data set.

[0107] In the step of performing a second convolution processing on the second attention feature data and the corresponding one-dimensional training data of the first modality, the corresponding one-dimensional training data of the first modality is one-dimensional training data with multiple first modalities used when performing a first fusion processing to obtain the corresponding first fusion data.

[0108] As an example, the first training data set includes Raman spectral data and mass spectral data, and the second training data set includes confocal imaging data. Accordingly, the steps of performing a second convolution processing on the second attention feature data with the corresponding one-dimensional training data of the first modality include: performing a second convolution processing on the second attention feature data in the confocal imaging direction with the corresponding Raman spectral data and mass spectral data.

[0109] As another example, the first training data set includes infrared spectral data, and the second training data set includes surface scanning optical imaging data. Accordingly, the steps of performing a second convolution dimensionality reduction processing on the second attention feature data corresponding to each second modality and the corresponding one-dimensional training data of the first modality include: performing a second convolution dimensionality reduction processing on the second attention feature data in the surface scanning optical imaging direction and the infrared spectral data.

[0110] The second attention feature data is subjected to a second convolution process with the corresponding one-dimensional training data of the first modality, so that the acquired second feature data can contain the associated feature information between the one-dimensional training data and the two-dimensional training data, which is beneficial to further increase the richness of the information in the second feature data.

[0111] Please continue to refer to Figure 2 , execute step S1206, aggregate the first feature data in the first feature data set and the corresponding second feature data in the second feature data set, obtain corresponding multiple first aggregated feature data, and generate a first aggregated feature data set.

[0112] Perform a first aggregation process on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a corresponding plurality of first aggregated feature data and generate a first aggregated feature data set, thereby providing a basis for subsequent classification processing of the first aggregated feature data in the first aggregated feature data set to obtain a corresponding first prediction result.

[0113] The step of performing a first aggregation (concat) processing on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set includes: concatenating the first feature data in the first feature data set with the second feature data in the second feature data set respectively to obtain a corresponding plurality of aggregated feature data.

[0114] In the step of aggregating the first feature data in the first feature data set and the corresponding second feature data in the second feature data set, a first convolution process is performed to obtain the first feature data and the corresponding second feature data by using the same one-dimensional training data with multiple first modalities as the convolution kernel to perform the first convolution process and the second convolution process respectively.

[0115] For example, in the case where the one-dimensional training data undergoing the first fusion processing includes one-dimensional input data 1, one-dimensional input data 2, and one-dimensional input data 3, accordingly, in the step S1203 of performing the first convolution processing on the first directional attention feature data corresponding to each first modality with the corresponding one-dimensional training data of other first modalities, the first directional attention feature data obtained by performing the first directional attention feature extraction processing on the one-dimensional input data 1 are respectively subjected to the first convolution processing on the one-dimensional input data 2 and the one-dimensional input data 3, the first directional attention feature data obtained by performing the first directional attention feature extraction processing on the one-dimensional input data 2 are respectively subjected to the first convolution processing on the one-dimensional input data 1 and the one-dimensional input data 3, and the first directional attention feature data obtained by performing the first directional attention feature extraction processing on the one-dimensional input data 3 are respectively subjected to the first convolution processing on the one-dimensional input data 1 and the one-dimensional input data 2.

[0116] At the same time, when the two-dimensional training data in the second training data set includes two-dimensional input data 1 and two-dimensional input data 2, accordingly, in the step of performing a second convolution processing on the second attention feature data with the corresponding one-dimensional training data of the first modality in step S1205, the second directional attention feature data obtained by performing a second attention feature extraction processing on the two-dimensional input data 1 are respectively subjected to a second convolution processing with the one-dimensional input data 1, the one-dimensional input data 2 and the one-dimensional input data 3, and the second directional attention feature data obtained by performing a second attention feature extraction processing on the two-dimensional input data 2 are respectively subjected to a second convolution processing with the one-dimensional input data 1, the one-dimensional input data 2 and the one-dimensional input data 3.

[0117] Correspondingly, in the step of aggregating the first feature data in the first feature data set with the corresponding second feature data in the second feature data set in step S1206, the first feature data obtained by performing a first convolution operation on the first directional attention feature data corresponding to the one-dimensional input data 1 with the one-dimensional input data 2 and the one-dimensional input data 3, the first feature data obtained by performing a first convolution operation on the first directional attention feature data corresponding to the one-dimensional input data 2 with the one-dimensional input data 1 and the one-dimensional input data 3, and the first feature data obtained by performing a first convolution operation on the first directional attention feature data corresponding to the one-dimensional input data 3 with the one-dimensional input data 1 and the one-dimensional input data 2, are aggregated with the second feature data obtained by performing a second convolution operation on the second directional attention feature data corresponding to the two-dimensional input data 1 with the one-dimensional input data 1, the one-dimensional input data 2 and the one-dimensional input data 3, and the second feature data obtained by performing a second convolution operation on the second directional attention feature data corresponding to the two-dimensional input data 2 with the one-dimensional input data 1, the one-dimensional input data 2 and the one-dimensional input data 3.

[0118] Correspondingly, the multiple aggregated features include first feature data and second feature data, the first feature data is composed of one-dimensional training data with multiple first modalities, and the second feature data is composed of two-dimensional training data with one or more second modalities, so that the aggregated features have richer and more comprehensive feature information of the sample.

[0119] In some embodiments, a first convolution process is performed on the first directional attention feature data corresponding to each first modality and the corresponding one-dimensional training data of other first modalities to obtain a corresponding plurality of first feature data and generate a first feature data set. A first aggregation process is performed on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a corresponding plurality of first aggregated feature data and before the first aggregated feature data set is generated, joint training is performed using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to obtain a data processing model based on multimodal fusion, and the process also includes: a first dimensionality reduction process is performed on the first feature data in the first feature data set.

[0120] Performing a first dimensionality reduction process on the first feature data in the first feature data set can achieve dimensionality reduction of the first feature data and the second feature data, which correspondingly helps to reduce the subsequent amount of calculations.

[0121] As an example, the step of performing a first dimensionality reduction process on the first feature data in the first feature data set includes: performing a first convolution dimensionality reduction process on the first feature data in the first feature data set.

[0122] In other implementations, other dimensionality reduction methods may be used to perform the first dimensionality reduction processing on the first feature data in the first feature data set. Those skilled in the art may select one according to actual needs, and no limitation is made here.

[0123] The second attention feature data are respectively subjected to a second convolution process with the corresponding one-dimensional training data of the first modality to obtain multiple corresponding second feature data to generate a second feature data set, and the first feature data in the first feature data set and the corresponding second feature data in the second feature data set are subjected to a first aggregation process to obtain multiple corresponding first aggregated feature data. Before generating the first aggregated feature data set, the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set are used for joint training to obtain a data processing model based on multimodal fusion, which also includes: performing a second dimensionality reduction process on the second feature data in the second feature data set.

[0124] Performing a second dimensionality reduction process on the second feature data in the second feature data set can achieve dimensionality reduction of the second feature data, which correspondingly helps to reduce the subsequent amount of calculations.

[0125] As an example, the step of performing a second dimensionality reduction process on the second feature data in the second feature data set includes: performing a second convolution dimensionality reduction process on the second feature data in the second feature data set.

[0126] In other implementations, other dimensionality reduction methods may be used to perform a second dimensionality reduction process on the second feature data in the second feature data set. Those skilled in the art may select one according to actual needs, and no limitation is made here.

[0127] Correspondingly, the first feature data in the first feature data set and the corresponding second feature data in the second feature data set are subjected to a first aggregation processing to obtain a corresponding plurality of first aggregated feature data, and the step of generating a first aggregated feature data set includes: performing a first aggregation processing on the first feature data subjected to the first dimensionality reduction processing and the corresponding second feature data subjected to the second dimensionality reduction processing to obtain a corresponding plurality of first aggregated feature data, and generating a first aggregated feature data set.

[0128] Please continue to refer to Figure 2 , execute step S1207, perform first classification processing on the first aggregated feature data in the first aggregated feature data set respectively, and obtain corresponding first prediction results.

[0129] Perform first classification processing on the first aggregated feature data in the first aggregated feature data set respectively to obtain corresponding first prediction results, thereby providing a basis for subsequently calculating the first loss value of the data processing model based on multimodal fusion using a preset first loss function according to the obtained first prediction results.

[0130] In some embodiments, a first linear classifier is used to perform a first linear classification process on the first aggregated feature data in the first aggregated feature data set to obtain a corresponding first prediction result, wherein the corresponding first prediction result is information on the probability values ​​of the one-dimensional training data and the two-dimensional training data corresponding to the first aggregated feature data belonging to each sample category.

[0131] Please continue to refer to Figure 2 , execute step S1208, calculate the first loss value of the data processing model based on multimodal fusion according to the first prediction result obtained, and use the preset first loss function to adjust the weight of the data processing model based on multimodal fusion according to the calculated first loss value until the first loss value of the data processing model based on multimodal fusion converges.

[0132] According to the first prediction result obtained, a preset first loss function is used to calculate the first loss value of the data processing model based on multimodal fusion, and the weight of the data processing model based on multimodal fusion is adjusted according to the calculated first loss value until the first loss value of the data processing model based on multimodal fusion converges, so as to obtain the final data processing model based on multimodal fusion.

[0133] In some embodiments, based on the first prediction result obtained, a preset first loss function is used to calculate the first loss value of the data processing model based on multimodal fusion, and the weight of the data processing model based on multimodal fusion is adjusted according to the calculated first loss value to complete an iterative training of the data processing model based on multimodal fusion.

[0134] Specifically, the process of each iterative training includes: using a preset number (such as batch size) of aggregated feature data to train the data processing model based on multimodal fusion to be trained, and obtaining a preset number of first prediction results; according to the difference between the first prediction result and the actual result pair, using a preset first loss function to calculate the corresponding first loss value; performing back propagation derivation based on the calculated first loss value to obtain the corresponding first gradient value; according to the first gradient value obtained by back propagation derivation, adjusting the weight of the data processing model based on multimodal fusion.

[0135] Accordingly, multiple iterations of training are performed to continuously iterate and update the weights of the data processing model based on multimodal fusion until the first loss value of the data processing model based on multimodal fusion on the preset validation set converges. The convergence of the first loss value of the data processing model based on multimodal fusion on the preset first validation set means that the first loss value of the data processing model based on multimodal fusion on the preset first validation set reaches a minimum value.

[0136] For more detailed information about the multiple iterative training process of the data processing model based on multimodal fusion, please refer to the iterative training process of the neural network model in the prior art, which will not be repeated here.

[0137] In some embodiments, the data processing model based on multimodal fusion is used to classify pathogens. In other embodiments, the data processing model based on multimodal fusion can also classify other types of samples including particulate matter, which is not limited here.

[0138] In the above, taking the example that the first training data set includes one-dimensional training data with multiple first modalities and the second training data set includes two-dimensional training data with one or more second modalities, the steps of how to use the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to perform joint training to obtain a data processing model based on multimodal fusion are introduced, but the present invention is not limited to this.

[0139] Figure 2Taking the example of using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to perform joint training to obtain the data processing model based on multimodal fusion, the method for constructing the data processing model based on multimodal fusion in the embodiment of the present invention is described. It can be understood that the first training data set can also include one-dimensional training data with a first modality, and the second training data set can include two-dimensional training data with one or more second modalities.

[0140] Accordingly, in the case where the first training data set includes one-dimensional training data having a first modality, and the second training data set includes two-dimensional training data having one or more second modalities, the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set are used for joint training to obtain a step of a data processing model based on multimodal fusion, including: performing first self-attention feature extraction processing on the one-dimensional training data in the first training data set, obtaining a corresponding plurality of first attention feature data, and forming a first attention feature data set; performing second self-attention feature extraction processing on the two-dimensional training data in the second training data set, obtaining a corresponding plurality of second attention feature data, and generating a second Attention feature data set; performing second aggregation processing on the first attention feature data in the first attention feature data set and the second attention feature data in the second attention feature data set to obtain a corresponding plurality of second aggregated feature data and generate a second aggregated feature data set; performing second classification processing on the second aggregated feature data in the second aggregated feature data set to obtain corresponding second prediction results; according to the obtained second prediction results, using a preset second loss function to calculate the second loss value of the data processing model based on multimodal fusion, and adjusting the weight of the data processing model based on multimodal fusion according to the calculated second loss value until the second loss value of the data processing model based on multimodal fusion converges.

[0141] Regarding the step of performing joint training using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to obtain a data processing model based on multimodal fusion when the first training data set includes one-dimensional training data with a first modality and the second training data set includes two-dimensional training data with one or more second modalities, please refer to the aforementioned step of performing joint training using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to obtain a data processing model based on multimodal fusion when the first training data set includes one-dimensional training data with multiple first modalities and the second training data set includes two-dimensional training data with one or more second modalities, and no further details are given herein.

[0142] In another embodiment, it is also possible to use only one-dimensional training data with multiple first modalities in the first training data set for training to obtain a data processing model based on multi-modal fusion.

[0143] Specifically, the step of using one-dimensional training data with multiple first modalities in a first training data set for training to obtain a data processing model based on multimodal fusion includes: performing a first fusion process on the one-dimensional training data with multiple first modalities in the first training data set to obtain a corresponding plurality of first fused data and generate the first fused data set; performing a first directional attention feature extraction process on the first fused data in the first fused data set to obtain first directional attention feature data corresponding to each first modality; performing a first convolution process on the first directional attention feature data corresponding to each first modality with the corresponding one-dimensional training data of other first modalities to obtain the corresponding A plurality of first feature data are used to generate a first feature data set; a first aggregation process is performed on the first feature data in the first feature data set to obtain a plurality of corresponding first aggregated feature data to generate a first aggregated feature data set; a first classification process is performed on the aggregated feature data in the first aggregated feature data set to obtain a corresponding first prediction result; according to the obtained first prediction result, a preset first loss function is used to calculate a first loss value of the data processing model based on multimodal fusion, and the weight of the data processing model based on multimodal fusion is adjusted according to the calculated first loss value until the first loss value of the data processing model based on multimodal fusion converges.

[0144] For information on using one-dimensional training data with multiple first modalities in the first training data set to train a data processing model based on multimodal fusion, please refer to Figure 2 The corresponding parts shown in the figure are executed and will not be repeated here.

[0145] Refer to Figure 3, which shows a comparative schematic diagram of the prediction accuracy confusion matrix of a data processing model based on multimodal fusion, and the darker the color of the grid where the number is located, the higher the prediction accuracy.

[0146] Among them, Figure 3(a) shows the prediction accuracy confusion matrix of the data processing model based on multimodal fusion obtained by training only with Raman spectroscopy training data, Figure 3(b) shows the prediction accuracy confusion matrix of the data processing model based on multimodal fusion obtained by training only with mass spectrometry training data, and Figure 3(c) shows the prediction accuracy confusion matrix of the data processing model based on multimodal fusion obtained by jointly training the first training data set formed by Raman spectroscopy training data and mass spectrometry training data obtained from pathogen samples and the second training data set formed by pathogen image data obtained from pathogen samples in an embodiment of the present invention.

[0147] As an example, the sample model is used to analyze pathogens, and in the confusion matrix, True represents the true result, Predicted represents the predicted result, and the types of pathogens include different species or subspecies of Enterobacter cloacae: E. bugandensis, E. hormaechei, E. chengduensis, E. cloacae, E. dissolvens, E. asburiae, E. kobei, and E. ludwigii. Taking E. hormaechei as an example, see Figure 3(a). When the hospital clinical identification pathogens obtained by training with Raman spectroscopy training data based on multimodal fusion data processing model are used to analyze the sample, the probability of predicting an accurate result is 0.49 (ie 49%), there is a 0.46 (ie 46%) probability of predicting it as E. chengduensis, and there is a 0.05 (ie 5%) probability of predicting it as E. cloacae. See Figure 3(b). When the mass spectrometry training data is used, the probability of predicting it as E. cloacae is 0. According to the data processing model based on multimodal fusion for hospital clinical identification of pathogenic bacteria obtained through training, the probability of predicting an accurate result is 0.3 (i.e. 30%), the probability of predicting it as E.bugandensis is 0.55 (i.e. 55%), and the probability of predicting it as E.chengduensis is 0.15 (i.e. 15%); referring to FIG3(c), when the data processing model based on multimodal fusion in this embodiment is used for analysis, the probability of predicting an accurate result is 1 (i.e. 100%).

[0148] It can be seen from Figure 3(a) that the overall prediction accuracy (acc) of the pathogen category of the data processing model based on multimodal fusion obtained by training only with Raman spectroscopy training data is 71.72%. It can be seen from Figure 3(b) that the overall prediction accuracy (acc) of the pathogen category of the data processing model based on multimodal fusion obtained by training only with mass spectrometry training data is 60.71%. It can be seen from Figure 3(c) that the prediction accuracy (acc) of the pathogen category analyzed by the data processing model based on multimodal fusion in this embodiment is 98.91%.

[0149] FIG3( d ) shows a schematic diagram of a confusion matrix of the prediction accuracy of a particulate matter sample generated by a data processing model based on multimodal fusion using the method for constructing a data processing model based on multimodal fusion in an embodiment of the present invention.

[0150] Referring to FIG. 3( d ), the data processing model based on multimodal fusion generated by the method for constructing a data processing model based on multimodal fusion in the embodiment of the present invention is used to analyze various particle samples, and all of them can achieve a 100% prediction accuracy. Taking polypropylene as an example, the data processing model based on multimodal fusion generated by the method for constructing a data processing model based on multimodal fusion in the embodiment of the present invention is used to analyze polypropylene particle samples, and the probability of predicting an accurate result is 1 (i.e., 100%).

[0151] It can be seen from the above description that the data processing model based on multimodal fusion generated by the method for generating a data processing model based on multimodal fusion in the embodiment of the present invention has a higher prediction accuracy.

[0152] It is worth noting that for biological samples that require a culture cycle, the data processing model based on multimodal fusion constructed by the method for constructing a data processing model based on multimodal fusion in the embodiment of the present invention can effectively integrate sample information of different scales in a short period of time, shorten the culture cycle of biological samples required to obtain corresponding sample data, and improve the identification speed of actual clinical samples or other biological samples.

[0153] For example, when using the current data processing model based on multimodal fusion to analyze and identify biological samples, it is usually necessary to culture the biological samples for at least 48 hours to obtain mass spectrometry data with resolution peaks in order to achieve relatively accurate analysis and identification of the biological samples. However, the data processing model based on multimodal fusion constructed by the method for constructing a data processing model based on multimodal fusion in the embodiment of the present invention can analyze and identify the mass spectrometry data obtained from biological samples with a culture time of only 24 hours, effectively shortening the culture cycle of biological samples.

[0154] Correspondingly, an embodiment of the present invention also provides a device for constructing a data processing model based on multimodal fusion.

[0155] Figure 4 FIG. 1 is a schematic diagram showing a framework structure of a device for constructing a data processing model based on multimodal fusion in an embodiment of the present invention. Figure 4 A device 400 for constructing a data processing model based on multimodal fusion includes: a training data acquisition unit 401, suitable for acquiring a multimodal training data set, wherein the multimodal training data set includes multimodal training data; a joint training unit 402, suitable for performing joint training using the multimodal training data in the multimodal training data set to obtain a data processing model based on multimodal fusion.

[0156] The device for constructing a data processing model based on multimodal fusion in this embodiment can be used to execute the aforementioned method for constructing a data processing model based on multimodal fusion, or other functional structures can be used to execute the aforementioned method for constructing a data processing model based on multimodal fusion. For the device for constructing a data processing model based on multimodal fusion, please refer to the aforementioned method for constructing a data processing model based on multimodal fusion, which will not be repeated here.

[0157] Accordingly, an embodiment of the present invention also provides a data processing method based on multimodal fusion.

[0158] Figure 5 FIG. 1 is a flow chart showing a data processing method based on multimodal fusion in an embodiment of the present invention. Figure 5 , a data processing method based on multimodal fusion may include:

[0159] Step S510: Acquire multimodal data to be processed;

[0160] Step S520: input the multimodal data to be processed into the data processing model based on multimodal fusion constructed by the method for constructing a data processing model based on multimodal fusion, and obtain corresponding data processing results.

[0161] In some embodiments, the multimodal data to be processed includes one-dimensional data to be processed and two-dimensional data to be processed.

[0162] Accordingly, the data processing model based on multimodal fusion constructed by the method for constructing a data processing model based on multimodal fusion is used to analyze and process the multimodal data to be processed to obtain the prediction results of the multimodal data to be processed, such as the data classification results of the multimodal data to be processed. For the construction method of the data processing model based on multimodal fusion, please refer to the corresponding description in the above section and will not be repeated here.

[0163] Correspondingly, an embodiment of the present invention also provides a data processing device based on multimodal fusion.

[0164] Figure 6 FIG. 1 is a schematic diagram showing the structure of a data processing device based on multimodal fusion in an embodiment of the present invention. Figure 6 A data processing device 600 based on multimodal fusion may include: a data acquisition unit 601, suitable for acquiring data to be processed; an analysis and prediction unit 602, suitable for inputting the data to be processed into a data processing model based on multimodal fusion constructed by adopting the method for constructing a data processing model based on multimodal fusion, to obtain corresponding data processing results.

[0165] The data processing device based on multimodal fusion in this embodiment can be used to execute the aforementioned data processing method based on multimodal fusion, or other functional structures can be used to execute the aforementioned data processing method based on multimodal fusion. For the data processing device based on multimodal fusion, please refer to the aforementioned content about the data processing method based on multimodal fusion, which will not be repeated here.

[0166] In addition, in order to improve the training effect of the model, the amount of data required is getting higher and higher. However, due to the limitation of the number of actual tests on the samples to be tested, it is difficult to obtain diverse data (for example, in a hospital, the amount of mass spectrometry data obtained from the test of a single strain is usually in the single digit), which makes it difficult for the amount of data actually collected to meet the needs of model training.

[0167] In order to solve the technical problem, the embodiment of the present invention also provides a data processing method. Figure 7 , showing a flow chart of an embodiment of a data processing method of the present invention.

[0168] In this embodiment, the data processing method includes the following basic steps:

[0169] Step S10: acquiring raw mass spectrum data, wherein the raw mass spectrum data includes signal intensity that varies with mass-to-charge ratio;

[0170] Step S20: Obtaining Gaussian distribution of the signal strength;

[0171] Step S30: performing data sampling on the Gaussian distribution of the signal intensity, and adjusting the distribution of the signal intensity of the original mass spectrum data to different degrees based on the sampling result, so as to obtain a plurality of different newly added mass spectrum data corresponding to the original mass spectrum data.

[0172] The embodiment of the present invention utilizes the Gaussian distribution of signal intensity, and through sampling, adjusts the distribution of the signal intensity of the original mass spectrum data to different degrees based on the sampling results, so as to obtain multiple different new mass spectrum data corresponding to the original mass spectrum data. Among them, since the Gaussian distribution of signal intensity can characterize the normal fluctuation law of signal intensity, the signal intensity is sampled based on the Gaussian distribution of signal intensity, so that the reliability of the new mass spectrum data is higher, and data amplification of the original mass spectrum data is realized, thereby increasing the amount of data while improving the diversity of data.

[0173] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0174] Combined with reference Figure 7 and Figure 8 , Figure 8 is a schematic diagram of an embodiment of raw mass spectrum data. Step S10 is executed to obtain raw mass spectrum data, wherein the raw mass spectrum data includes signal intensity that varies with mass-to-charge ratio.

[0175] Subsequently, the signal intensity distribution of the original mass spectrometry data is adjusted to different degrees to obtain adjusted signal intensity, and new mass spectrometry data different from the original mass spectrometry data is obtained accordingly, so as to obtain a larger number of new mass spectrometry data based on the original mass spectrometry data to achieve data amplification.

[0176] It should be noted that, in the mass spectrum data, the abscissa is the mass-to-charge ratio (m / z), and the ordinate is the signal intensity.

[0177] Mass spectrometry data is: the sample is dissociated, and different flight times are different according to the size of the molecules, forming different fragmentation mass spectrometry characteristics.

[0178] Therefore, the mass spectrometry data is amplified by adjusting the distribution of signal intensity to different degrees. Since the test of mass spectrometry data usually has a certain volatility, the data processing method of this embodiment can generate fitting mass spectrometry data caused by signal intensity fluctuations.

[0179] It should also be noted that the original mass spectrum data is obtained by testing a preset number of samples.

[0180] like Figure 8 As shown, Figure 8 The horizontal axis represents the mass-to-charge ratio, and the vertical axis represents the signal intensity. In this embodiment, the signal intensity of the mass spectrum data is the peak intensity. For example, the sample to be tested may be a pathogen, and the mass spectrum data is obtained by detecting the pathogen.

[0181] Mass spectrometry is a technology used to analyze the chemical composition of molecules in a sample to be tested. By testing the sample with a mass spectrometer, the mass-to-charge ratio (m / z) of the molecule and the intensity (Intensity) at each mass-to-charge ratio can be obtained. Therefore, mass spectrometry data contains the intensity that varies with the mass-to-charge ratio. Mass spectrometry data is often used in fields such as medicine, biology, environment and food science.

[0182] Correspondingly, the mass-to-charge ratio of the mass spectrum data is the position of the mass-to-charge ratio corresponding to each molecule, and the signal intensity is the intensity under the mass-to-charge ratio.

[0183] In order to further improve the reliability of sample analysis, the method of fusing or splicing mass spectrometry data with data from other modalities (e.g., Raman data) is gradually being adopted. For example, when a machine learning model or a deep learning model is used for sample analysis, both the mass spectrometry data and the Raman data of the sample to be tested can be input into the model, and the sample analysis can be realized by fusing or splicing the data of the two, thereby improving the accuracy of sample analysis.

[0184] Specifically, the raw mass spectrum data is obtained by detecting the sample through a detection device, for example, the detection device may be a mass spectrometer.

[0185] It should be noted that the number of the original mass spectrum data may be one or more.

[0186] Continue to refer Figure 1 , execute step S20 to obtain the Gaussian distribution of the signal strength.

[0187] The Gaussian distribution of signal intensity can characterize the normal fluctuation law of signal intensity, so the Gaussian distribution of the signal intensity is first obtained so that the signal intensity can be sampled based on the Gaussian distribution later, thereby generating simulated mass spectrum data as new mass spectrum data.

[0188] Furthermore, the signal intensity is sampled based on the Gaussian distribution of the signal intensity, making the newly added mass spectrometry data more reliable.

[0189] In this embodiment, in the step of obtaining the Gaussian distribution of the signal intensity, the Gaussian distribution of the signal intensity detectable by a detection device is obtained, and the detection device is used to obtain the original mass spectrum data.

[0190] When the detection equipment detects the sample, the detected signal intensity usually fluctuates to a certain extent (for example, the fluctuation of the detection result of the detection equipment may be caused by human operation, sample preparation or the detection equipment itself), and the random distribution of the signal intensity of the statistical mass spectrometry data satisfies the Gaussian distribution.

[0191] Moreover, fluctuations in the detection results of the detection equipment will usually have similar or identical effects on different mass-to-charge ratios of the same sample being tested. In other words, it can be considered that different mass-to-charge ratios are subject to the same Gaussian distribution, and even have similar or identical effects on different samples being tested. In other words, it can be considered that different samples being tested are subject to the same Gaussian distribution. Therefore, selecting a Gaussian distribution of signal intensity that can be detected by the detection equipment is beneficial to improving the universality of the Gaussian distribution. Accordingly, compared with the solution of setting an independent Gaussian distribution for each mass-to-charge ratio, this embodiment is beneficial to reducing the complexity of the data processing method.

[0192] In addition, when using the newly added mass spectrometry data for model training, feature extraction is usually performed, and the signal intensity Gaussian distribution used to characterize the stability of the detection results of the detection equipment is used to indicate that the fluctuation cannot reflect the characteristics of the sample being tested itself, and the fluctuation is caused by the detection equipment. This is beneficial to reducing the attention paid to the fluctuation caused by the detection equipment during model training. Therefore, using the newly added mass spectrometry data obtained by the data processing method described in this embodiment for model training can increase the training samples while reducing the probability of negative impact on the training effect, thereby making the trained model more accurate.

[0193] Specifically, in conjunction with reference Fig. 9 , Fig. 9 It is a schematic diagram of the Gaussian distribution of signal intensity provided by an embodiment of the present invention. In this embodiment, the Gaussian distribution is a Gaussian distribution of signal intensity offset percentage, and the signal intensity offset percentage refers to: the offset percentage of the signal intensity relative to the signal intensity of the original mass spectrometry data.

[0194] like Fig. 9 As shown, Fig. 9 The horizontal axis represents the signal strength deviation percentage, and the vertical axis represents the quantity. The higher the quantity of the vertical axis, the higher the probability corresponding to the deviation percentage.

[0195] The offset percentage is used to characterize the relative intensity, so that in subsequent sampling, different mass-to-charge ratios or different tested samples can share the same Gaussian distribution data (ie, the offset percentage of signal intensity), thereby reducing the complexity of the data processing.

[0196] It should be noted that, before subsequently adjusting the signal intensity distribution of the original mass spectrum data to different degrees, it also includes: executing step S25, performing a first data amplification on the original mass spectrum data by copying the data, and obtaining a plurality of copy data corresponding to the original mass spectrum data.

[0197] The copied data is obtained by copying the original mass spectrum data, that is, the copied data is the same as the corresponding original mass spectrum data. Therefore, the subsequent adjustment of the distribution of the signal intensity of the copied data to different degrees is equivalent to adjusting the distribution of the signal intensity of the original mass spectrum data to different degrees.

[0198] It should be noted that by duplicating the data, after subsequent data sampling, it is convenient to use multiple sampling results to adjust each duplicate data separately at the same time, thereby improving the efficiency of data processing.

[0199] It is understandable that in other embodiments, the step of copying data may not be performed, and the distribution of the signal intensity of the original mass spectrum data may be adjusted through different sampling results, and the adjusted data may be stored as newly added mass spectrum data.

[0200] It should also be noted that, when there are multiple original mass spectrum data, the number of duplicate data corresponding to each original mass spectrum data can be determined according to data requirements.

[0201] In this embodiment, in the first data amplification performed on the original mass spectrum data by means of data replication, the higher the quality of the original mass spectrum data, the greater the number of corresponding replicated data.

[0202] The higher the quality of the original mass spectrometry data, the higher the accuracy of the original mass spectrometry data. Correspondingly, the more features it embodies, and the greater the effect on data analysis (for example, it is beneficial to realize data calculation or classification). Therefore, for original mass spectrometry data with higher quality, the more data amplification is performed, which is more conducive to improving the reliability of the results of data analysis. Correspondingly, when training the model, increasing the number of reliable training samples is conducive to improving the training effect of the model, making the trained model more accurate.

[0203] As an example, the method for obtaining the number of copy data corresponding to each of the original mass spectrometry data includes: based on the quality of the original mass spectrometry data, setting the weight corresponding to each of the original mass spectrometry data, and the higher the quality of the original mass spectrometry data, the greater the corresponding weight; based on the target total number of mass spectrometry data and the weight of each of the original mass spectrometry data, obtaining the number of copy data corresponding to each of the original mass spectrometry data.

[0204] The weights are set based on the quality, thereby increasing the proportion of high-quality mass spectrometry data in the overall data, that is, improving the validity of the data information.

[0205] In this embodiment, the method of judging the quality of the original mass spectrum data includes: comparing the original mass spectrum data with standard mass spectrum data, and the higher the matching degree, the higher the quality of the original mass spectrum data.

[0206] The degree of matching with standard mass spectrometry data is used as the evaluation criterion, which reduces the complexity of quality judgment.

[0207] Specifically, the method of comparing the original mass spectrum data with the standard mass spectrum data includes: comparing the position distribution of the mass-to-charge ratio of the original mass spectrum data with the position distribution of the mass-to-charge ratio of the standard mass spectrum data. The higher the matching degree of the position distribution, the higher the quality of the original mass spectrum data.

[0208] The signal intensities obtained from testing different samples are often different, and the signal intensity has little significance for quality evaluation. In a single original mass spectrum, the position of each mass-to-charge ratio should theoretically be fixed. Therefore, the quality of the original mass spectrum data is comprehensively evaluated through the position distribution of the mass-to-charge ratio to obtain the overall quality of a single original mass spectrum.

[0209] It should be noted that in other embodiments, other quality assessment methods may be selected according to other situations such as the specific type of the original mass spectrum data, or actual needs.

[0210] refer to Figure 7 , execute step S30, perform data sampling on the Gaussian distribution of the signal intensity, and adjust the distribution of the signal intensity of the original mass spectrum data to different degrees based on the sampling result to obtain multiple different new mass spectrum data corresponding to the original mass spectrum data.

[0211] Since the Gaussian distribution of signal intensity can characterize the normal fluctuation law of signal intensity, sampling the signal intensity based on the Gaussian distribution of signal intensity makes the reliability of the newly added mass spectrometry data higher and realizes data amplification of the original mass spectrometry data, thereby increasing the amount of data while improving the diversity of data; accordingly, model training based on richer and more diverse data is conducive to improving the accuracy of the model.

[0212] In addition, by performing data amplification on the original mass spectrometry data, in actual operation, when the original mass spectrometry data needs to be fused or spliced ​​with data of other modalities, the data volume of the mass spectrometry data of the modality described in this embodiment can match that of the data of other modalities, thereby being compatible with the data of other modalities.

[0213] Since a number of replicated data corresponding to the original mass spectrum data are first obtained by copying the data, data sampling is performed on the Gaussian distribution of the signal intensity, and the distribution of the signal intensity of the original mass spectrum data is adjusted to different degrees based on the sampling results, including: adjusting the signal intensity of the several replicated data based on different sampling results to achieve second data amplification and obtain multiple different newly added mass spectrum data.

[0214] That is to say, for a single original mass spectrum data, a plurality of newly added mass spectrum data different from the original mass spectrum data are obtained through the second data amplification, and the newly added mass spectrum data are also different from each other.

[0215] In this embodiment, data sampling is performed on the Gaussian distribution of the signal intensity, and based on the sampling results, the distribution of the signal intensity of the original mass spectrum data is adjusted to different degrees. From the Gaussian distribution of the offset percentage, an offset percentage is selected for each mass-to-charge ratio, and the signal intensity corresponding to the mass-to-charge ratio in the original mass spectrum data is adjusted based on the selected offset percentage.

[0216] When there are multiple original mass spectrum data, since each original mass spectrum data shares the same Gaussian distribution data, and the Gaussian distribution is a Gaussian distribution of signal intensity offset percentage, for each mass-to-charge ratio in each original mass spectrum data, the original value of the signal intensity of the mass-to-charge ratio can be adjusted based on the sampled selected offset percentage.

[0217] For example, for each mass-to-charge ratio, the signal intensity can be adjusted using the formula I2=I1*(1+m%); wherein I2 represents the signal intensity of the mass-to-charge ratio in the newly added mass spectrum data, I1 represents the signal intensity of the mass-to-charge ratio in the original mass spectrum data, and m% represents the offset percentage of the signal intensity, which can be zero, a positive value, or a negative value. In other words, for each mass-to-charge ratio, after determining the signal intensity offset percentage, the original signal intensity of the mass-to-charge ratio is adjusted to obtain a new signal intensity.

[0218] It can be seen that although the signal intensities of different mass-to-charge ratios may differ, and the signal intensity distributions of different tested samples may also differ, by using a Gaussian distribution of relative intensity, the same calculation method can be used to adjust the original value of the signal intensity of each mass-to-charge ratio for different original mass spectrometry data and different mass-to-charge ratios, thereby reducing the complexity of data amplification.

[0219] In this embodiment, in the same newly added mass spectrum data, the adjustment degrees of the signal intensity of each mass-to-charge ratio relative to the signal intensity of the mass-to-charge ratio in the original mass spectrum data are different.

[0220] Specifically, since several replicated data corresponding to the original mass spectrum data are obtained by copying the data, the signal intensities of the several replicated data are adjusted respectively based on different sampling results, and the signal intensities of each mass-to-charge ratio in the same replicated data are adjusted to different degrees.

[0221] By making the signal intensity of each mass-to-charge ratio in the same newly added mass spectrum data change to different degrees relative to the original value, it is beneficial to obtain more abundant and diverse data. Moreover, when the data obtained by the method described in this embodiment is used for data analysis, even if the data is normalized, the diversity of the normalized data can still be maintained.

[0222] For example, for a certain mass-to-charge ratio, relative to the signal intensity in the original mass spectrum data, the offset of the signal intensity in the newly added mass spectrum data is +3% (i.e., an increase of 3%), while for another mass-to-charge ratio, relative to the signal intensity in the original mass spectrum data, the offset of the signal intensity in the newly added mass spectrum data is -2% (i.e., a decrease of 2%).

[0223] refer to Fig.10 , Fig.10 is a schematic diagram of newly added mass spectrum data according to an embodiment of the present invention, and in order to show the difference between the original mass spectrum data and the newly added mass spectrum data, Figure 4 In the Figure 2 The raw mass spectrum data in are shown in the same coordinates.

[0224] Among them, Fig.10 In the figure, the darker data represent the original mass spectrum data, and the lighter data represent the newly added mass spectrum data. Therefore, by performing data amplification, newly added mass spectrum data different from the original mass spectrum data can be obtained.

[0225] Combined with reference Fig.11 , Fig.11 The t-SNE distribution diagram based on mass spectrometry data is shown, where Fig.11 (a) shows a t-SNE distribution diagram of an embodiment obtained based on the original mass spectrum data, Fig.11 (b) shows a t-SNE distribution diagram of an embodiment obtained based on the mass spectrometry data obtained by the method described in this embodiment.

[0226] t-SNE (t-Distributed Stochastic Neighbor Embedding) is an unsupervised nonlinear technology, which is mainly used to reduce the dimensionality of data and enable the data to retain the information it carries in the high-dimensional space in the low-dimensional space.

[0227] like Fig.11 As shown, taking the analysis of pathogens as an example, each point represents a data, and the data points in the same circle, ellipse, square or trapezoidal circle belong to the same pathogen category. For example, the pathogens include: Mycobacterium abscessus (M.abscessus), Mycobacterium fortuitum (M.fortuitum), Mycobacterium ulcerans (M.ulcerans), Mycobacterium peregrinum (M.peregrinum), Mycobacterium phlei (M.phlei) and Mycobacterium chelonae (M.chelonae).

[0228] It should be noted that for the convenience of illustration, Fig.11In the figure, the points in the circle represent Mycobacterium chelonae, the points in the square circle represent Mycobacterium fortuitum, the points in the trapezoidal circle represent Mycobacterium abscessus, the points in the solid oval circle represent Mycobacterium ulcerans, the points in the dotted oval circle represent Mycobacterium peregrinum, and the points in the double-dashed oval circle represent Mycobacterium phlei.

[0229] from Fig.11 As can be seen from (a), the t-SNE distribution diagram obtained by analyzing samples only with raw mass spectrometry data shows that the number of data points under the same pathogen category is relatively small. Fig.11 As can be seen in (b), when the mass spectrometry data obtained by the method described in this embodiment is used for sample analysis, the number of data points under the same pathogen category increases and the distribution is stable, and the distribution of the data points does not show serious deformation, and the category distinction can still be achieved well.

[0230] refer to Fig.12 , Fig.12 This is a comparative diagram of the accuracy confusion matrix obtained based on the machine learning model. The darker the color of the grid where the number is located, the higher the accuracy.

[0231] in, Fig.12 (a) represents an accuracy confusion matrix of an embodiment of a machine learning model trained based on raw mass spectrometry data, Fig.12 (b) represents the accuracy confusion matrix of an embodiment of a machine learning model obtained by training the mass spectrometry data obtained by the data processing method described in this embodiment.

[0232] As an example, the model is used to analyze pathogens, and in the confusion matrix, True represents the true result, Predicted represents the predicted result, and the types of pathogens include: Mycobacterium abscessus (M.abscessus), Mycobacterium fortuitum (M.fortuitum), Mycobacterium ulcerans (M.ulcerans), Mycobacterium peregrinum (M.peregrinum), Mycobacterium phlei (M.phlei) and Mycobacterium chelonae (M.chelonae).

[0233] For example, taking True as Mycobacterium chelonae (M. chelonae) as an example, when the machine learning model trained based on the original mass spectrometry data is used for analysis, the probability of predicting an accurate result is 0.83 (ie 83%), and there is a 0.17 (ie 17%) probability of predicting it as Mycobacterium ulcerans (M. ulcerans).

[0234] like Fig.12 As shown in (a), after training based on the original mass spectrometry data, the overall prediction accuracy of the machine learning model for pathogen categories is 69.40%. Fig.12 As shown in (b), after training based on the mass spectrometry data obtained by the data processing method described in this embodiment, the overall prediction accuracy of the machine learning model for the pathogen category is 78.43%, and a higher prediction accuracy can be obtained.

[0235] refer to Fig.13 , Fig.13 This is a comparative diagram of the accuracy confusion matrix obtained based on the deep learning model.

[0236] in, Fig.13 (a) represents the accuracy confusion matrix of an embodiment of a deep learning model trained based on raw mass spectrometry data, Fig.13 (b) represents the accuracy confusion matrix of an embodiment of a deep learning model obtained by training the mass spectrometry data obtained by the data processing method described in the embodiment of the present invention.

[0237] As an example, the model is used to analyze pathogens, and in the confusion matrix, True represents the true result, and Predicted represents the predicted result.

[0238] like Fig.13 As shown in (a), after training based on the original mass spectrometry data, the overall prediction accuracy of the deep learning model for pathogen categories is 75.38%, as shown in Fig.13 As shown in (b), after training based on the mass spectrometry data obtained by the data processing method described in this embodiment, the overall prediction accuracy of the deep learning model for the pathogen category is 90.33%, and a higher prediction accuracy can be obtained.

[0239] Correspondingly, the present invention also provides a data processing system. Fig.14 It is a structural diagram of an embodiment of a data processing system of the present invention.

[0240] refer to Fig.14 , and combined with reference Figures 8 to 13 The data processing system includes: an original data acquisition module 10, used to acquire original mass spectrum data, wherein the original mass spectrum data includes a signal intensity that varies with the mass-to-charge ratio; a Gaussian distribution acquisition module 20, used to acquire the Gaussian distribution of the signal intensity; a data amplification module 30, used to perform data sampling on the Gaussian distribution of the signal intensity, and adjust the distribution of the signal intensity of the original mass spectrum data to different degrees based on the sampling result, so as to obtain a plurality of different newly added mass spectrum data corresponding to the original mass spectrum data.

[0241] The data processing system adjusts the distribution of the signal intensity of the original mass spectrum data to different degrees to obtain the adjusted signal intensity, and thereby obtains new mass spectrum data different from the original mass spectrum data, thereby obtaining a larger amount of new mass spectrum data based on the original mass spectrum data to achieve data amplification.

[0242] Among them, since the Gaussian distribution of signal intensity can characterize the normal fluctuation law of signal intensity, the signal intensity is sampled based on the Gaussian distribution of signal intensity, so that the reliability of the newly added mass spectrometry data is higher. In addition, data amplification of the original mass spectrometry data is achieved, thereby increasing the amount of data while improving the diversity of data; accordingly, model training based on richer and more diverse data is conducive to improving the accuracy of the model.

[0243] In addition, by performing data amplification on the original mass spectrometry data, in actual operation, when the original mass spectrometry data needs to be fused or spliced ​​with data of other modalities, the data volume of the mass spectrometry data of the modality described in this embodiment can match that of the data of other modalities, thereby being compatible with the data of other modalities.

[0244] It should be noted that, in the mass spectrum data, the abscissa of the mass spectrum data is the mass-to-charge ratio, and the ordinate is the signal intensity.

[0245] It should also be noted that the original mass spectrum data is obtained by testing a preset number of samples.

[0246] like Figure 8 As shown, Figure 8 The horizontal axis in represents the position of the mass-to-charge ratio, and the vertical axis represents the signal intensity. In this embodiment, the signal intensity of the mass spectrum data is the spectrum peak intensity. For example, the sample to be tested may be a pathogen, and the mass spectrum data is obtained by detecting the pathogen.

[0247] Mass spectrometry is a technology used to analyze the chemical composition of molecules in a sample to be tested. By testing the sample with a mass spectrometer, the mass-to-charge ratio (m / z) of the molecule and the intensity (Intensity) at each mass-to-charge ratio can be obtained. Therefore, mass spectrometry data contains the intensity that varies with the mass-to-charge ratio. Mass spectrometry data is often used in fields such as medicine, biology, environment and food science.

[0248] Correspondingly, the mass-to-charge ratio of the mass spectrum data is the position of the mass-to-charge ratio corresponding to each molecule, and the signal intensity is the intensity under the mass-to-charge ratio.

[0249] In order to further improve the reliability of sample analysis, the method of fusing or splicing mass spectrometry data with data from other modalities (e.g., Raman data) is gradually being adopted. For example, when a machine learning model or a deep learning model is used for sample analysis, both the mass spectrometry data and the Raman data of the sample to be tested can be input into the model, and the sample analysis can be realized by fusing or splicing the data of the two, thereby improving the accuracy of sample analysis.

[0250] Specifically, the raw mass spectrum data is obtained by detecting the sample through a detection device, for example, the detection device may be a mass spectrometer.

[0251] The Gaussian distribution of signal intensity can characterize the normal fluctuation law of signal intensity, so the Gaussian distribution of the signal intensity is first obtained so that the data amplification module 30 samples the signal intensity based on the Gaussian distribution, thereby generating simulated mass spectrum data as newly added mass spectrum data.

[0252] Furthermore, the signal intensity is sampled based on the Gaussian distribution of the signal intensity, making the newly added mass spectrometry data more reliable.

[0253] In this embodiment, the Gaussian distribution acquisition module 20 is used to acquire the Gaussian distribution of the signal intensity that can be detected by the detection device, and the detection device is used to acquire the original mass spectrum data.

[0254] When the detection equipment detects the sample, the detected signal intensity usually fluctuates to a certain extent (for example, the fluctuation of the detection result of the detection equipment may be caused by human operation, sample preparation or the detection equipment itself), and the random distribution of the signal intensity of the statistical mass spectrometry data often satisfies the Gaussian distribution.

[0255] Moreover, fluctuations in the detection results of the detection equipment will usually have similar or identical effects on different mass-to-charge ratios of the same sample being tested. In other words, it can be considered that different mass-to-charge ratios are subject to the same Gaussian distribution, and even have similar or identical effects on different samples being tested. In other words, it can be considered that different samples being tested are subject to the same Gaussian distribution. Therefore, selecting a Gaussian distribution of signal intensity that can be detected by the detection equipment is beneficial to improving the universality of the Gaussian distribution. Accordingly, compared with the solution of setting an independent Gaussian distribution for each mass-to-charge ratio, this embodiment is beneficial to reducing the complexity of the data processing method.

[0256] In addition, when using the newly added mass spectrometry data for model training, feature extraction is usually performed, and the signal intensity Gaussian distribution used to characterize the stability of the detection results of the detection equipment is used to indicate that the fluctuation cannot reflect the characteristics of the sample being tested itself, and the fluctuation is caused by the detection equipment. This is beneficial to reducing the attention paid to the fluctuation caused by the detection equipment during model training. Therefore, using the newly added mass spectrometry data obtained by the data processing method described in this embodiment for model training can increase the training samples while reducing the probability of negative impact on the training effect, thereby making the trained model more accurate.

[0257] Combined with reference Fig. 9 In this embodiment, the Gaussian distribution is a Gaussian distribution of signal intensity offset percentage, and the signal intensity offset percentage refers to: the offset percentage of the signal intensity relative to the signal intensity of the original mass spectrum data. Fig. 9 As shown, Fig. 9 The horizontal axis represents the signal strength deviation percentage, and the vertical axis represents the quantity. The higher the quantity of the vertical axis, the higher the probability corresponding to the deviation percentage.

[0258] The offset percentage is used to characterize the relative intensity, so that in subsequent sampling, different mass-to-charge ratios or different tested samples can share the same Gaussian distribution data (ie, the offset percentage of signal intensity), thereby reducing the complexity of the data processing.

[0259] It should be noted that the data processing system also includes: a data replication module 25, which is used to perform a first data amplification on the original mass spectrum data by replicating the data before subsequently adjusting the distribution of the signal intensity of the original mass spectrum data to different degrees, so as to obtain a plurality of replicated data corresponding to the original mass spectrum data.

[0260] The copied data is obtained by copying the original mass spectrum data, that is, the copied data is the same as the corresponding original mass spectrum data. Therefore, the subsequent adjustment of the distribution of the signal intensity of the copied data to different degrees is equivalent to adjusting the distribution of the signal intensity of the original mass spectrum data to different degrees.

[0261] It should be noted that by duplicating the data, after subsequent data sampling, it is convenient to use multiple sampling results to adjust each duplicate data separately at the same time, thereby improving the efficiency of data processing.

[0262] It is understandable that in other embodiments, the data replication module may be omitted, and the data amplification module 30 adjusts the distribution of the signal intensity of the original mass spectrum data through different sampling results, and stores the adjusted data as newly added mass spectrum data.

[0263] It should also be noted that, when there are multiple original mass spectrum data, the number of duplicate data corresponding to each original mass spectrum data can be determined according to data requirements.

[0264] In this embodiment, the higher the quality of the original mass spectrum data, the greater the number of corresponding replicated data.

[0265] The higher the quality of the original mass spectrometry data, the higher the accuracy of the original mass spectrometry data. Correspondingly, the more features it embodies, and the greater the effect on data analysis (for example, it is conducive to realizing data calculation or classification). Therefore, for original mass spectrometry data with higher quality, the more data amplification is performed, which is more conducive to improving the reliability of the results of data analysis. Correspondingly, when training the model, the number of reliable training samples can be increased, which is conducive to improving the training effect of the model and making the trained model more accurate.

[0266] As an example, the data replication module 25 includes: a weight setting unit, used to set the weight corresponding to each of the original mass spectrometry data based on the quality of the original mass spectrometry data, and the higher the quality of the original mass spectrometry data, the greater the corresponding weight; a quantity setting unit, used to obtain the number of replicated data corresponding to each of the original mass spectrometry data based on the target total number of mass spectrometry data and the weight of each of the original mass spectrometry data.

[0267] The weights are set based on the quality, thereby increasing the proportion of high-quality mass spectrometry data in the overall data, that is, improving the validity of the data information.

[0268] In this embodiment, the method of judging the quality of the original mass spectrum data includes: comparing the original mass spectrum data with standard mass spectrum data, and the higher the matching degree, the higher the quality of the original mass spectrum data.

[0269] The degree of matching with standard mass spectrometry data is used as the evaluation criterion, which reduces the complexity of quality judgment.

[0270] Specifically, the method of comparing the original mass spectrum data with the standard mass spectrum data includes: comparing the position distribution of the mass-to-charge ratio of the original mass spectrum data with the position distribution of the mass-to-charge ratio of the standard mass spectrum data. The higher the matching degree of the position distribution, the higher the quality of the original mass spectrum data.

[0271] The signal intensities obtained from testing different samples are often different, and the signal intensity has little significance for quality evaluation. In a single original mass spectrum, the position of each mass-to-charge ratio should theoretically be fixed. Therefore, the quality of the original mass spectrum data is comprehensively evaluated through the position distribution of the mass-to-charge ratio to obtain the overall quality of a single original mass spectrum.

[0272] It should be noted that, in other embodiments, according to other situations such as the specific type of the original mass spectrum data, or actual needs, the quality of the original mass spectrum data can also be obtained by other quality assessment methods.

[0273] In this embodiment, since a number of replicated data corresponding to the original mass spectrum data are obtained by first copying the data, the data amplification module 30 adjusts the signal strength of the several replicated data based on different sampling results to achieve a second data amplification and obtain a plurality of different newly added mass spectrum data.

[0274] That is to say, for a single original mass spectrum data, a plurality of newly added mass spectrum data different from the original mass spectrum data are obtained through the second data amplification, and the newly added mass spectrum data are also different from each other.

[0275] When there are multiple original mass spectrum data, since each original mass spectrum data shares the same Gaussian distribution data, and the Gaussian distribution is a Gaussian distribution of signal intensity offset percentage, for each mass-to-charge ratio in each original mass spectrum data, the original value of the signal intensity of the mass-to-charge ratio can be adjusted based on the sampled selected offset percentage.

[0276] For example, for each mass-to-charge ratio, the data amplification module 30 adjusts the signal intensity based on the formula I2=I1*(1+m%); wherein I2 represents the signal intensity of the mass-to-charge ratio in the newly added mass spectrum data, I1 represents the signal intensity of the mass-to-charge ratio in the original mass spectrum data, and m% represents the offset percentage of the signal intensity, which can be zero, a positive value, or a negative value. That is, for each mass-to-charge ratio, after determining the signal intensity offset percentage, the original signal intensity of the mass-to-charge ratio is adjusted to obtain a new signal intensity.

[0277] It can be seen that although the signal intensities of different mass-to-charge ratios may differ, and the signal intensity distributions of different tested samples may also differ, by using a Gaussian distribution of relative intensity, the same calculation method can be used to adjust the original value of the signal intensity of each mass-to-charge ratio for different original mass spectrometry data and different mass-to-charge ratios, thereby reducing the complexity of data amplification.

[0278] In this embodiment, in the same newly added mass spectrum data, the adjustment degrees of the signal intensity of each mass-to-charge ratio relative to the signal intensity of the mass-to-charge ratio in the original mass spectrum data are different.

[0279] Specifically, since a plurality of replicated data corresponding to the original mass spectrum data are obtained by replicating the data, the data amplification module 30 adjusts the signal strength of each mass-to-charge ratio in the same replicated data to different degrees.

[0280] By making the signal intensity of each mass-to-charge ratio in the same newly added mass spectrum data change to different degrees relative to the original value, it is beneficial to obtain more abundant and diverse data. Moreover, when the data obtained by the method described in this embodiment is used for data analysis, even if the data is normalized, the diversity of the normalized data can still be maintained.

[0281] For example, for a certain mass-to-charge ratio, relative to the signal intensity in the original mass spectrum data, the offset of the signal intensity in the newly added mass spectrum data is +3% (i.e., an increase of 3%), while for another mass-to-charge ratio, relative to the signal intensity in the original mass spectrum data, the offset of the signal intensity in the newly added mass spectrum data is -2% (i.e., a decrease of 2%).

[0282] refer to Fig.10 , Fig.10 is a schematic diagram of newly added mass spectrum data according to an embodiment of the present invention, and in order to show the difference between the original mass spectrum data and the newly added mass spectrum data, Figure 4 In the Figure 2 The raw mass spectrum data in are shown in the same coordinates.

[0283] Among them, Fig.10 In the figure, the darker data represent the original mass spectrum data, and the lighter data represent the newly added mass spectrum data. Therefore, by performing data amplification, newly added mass spectrum data different from the original mass spectrum data can be obtained.

[0284] Combined with reference Fig.11 , Fig.11 The t-SNE distribution diagram based on mass spectrometry data is shown, where Fig.11 (a) shows a t-SNE distribution diagram of an embodiment obtained based on the original mass spectrum data, Fig.11 (b) shows a t-SNE distribution diagram of an embodiment obtained based on the mass spectrometry data obtained by the method described in this embodiment.

[0285] like Fig.11 As shown, taking the analysis of pathogens as an example, each point represents a data, and the data points in the same circle, ellipse, square or trapezoidal circle belong to the same pathogen category. For example, the pathogens include: Mycobacterium abscessus (M.abscessus), Mycobacterium fortuitum (M.fortuitum), Mycobacterium ulcerans (M.ulcerans), Mycobacterium peregrinum (M.peregrinum), Mycobacterium phlei (M.phlei) and Mycobacterium chelonae (M.chelonae).

[0286] It should be noted that for the convenience of illustration, Fig.11In the figure, the points in the circle represent Mycobacterium chelonae, the points in the square circle represent Mycobacterium fortuitum, the points in the trapezoidal circle represent Mycobacterium abscessus, the points in the solid oval circle represent Mycobacterium ulcerans, the points in the dotted oval circle represent Mycobacterium peregrinum, and the points in the double-dashed oval circle represent Mycobacterium phlei.

[0287] from Fig.11 As can be seen from (a), the t-SNE distribution diagram obtained by analyzing samples only with raw mass spectrometry data shows that the number of data points under the same pathogen category is relatively small. Fig.11 As can be seen in (b), when the mass spectrometry data obtained by the method described in this embodiment is used for sample analysis, the number of data points under the same pathogen category increases and the distribution is stable, and the distribution of the data points does not show serious deformation, and the category distinction can still be achieved well.

[0288] refer to Fig.12 , Fig.12 This is a comparative diagram of the accuracy confusion matrix obtained based on the machine learning model. The darker the color of the grid where the number is located, the higher the accuracy.

[0289] in, Fig.12 (a) represents an accuracy confusion matrix of an embodiment of a machine learning model trained based on raw mass spectrometry data, Fig.12 (b) represents the accuracy confusion matrix of an embodiment of a machine learning model obtained by training the mass spectrometry data obtained by the data processing method described in this embodiment.

[0290] As an example, the model is used to analyze pathogens, and in the confusion matrix, True represents the true result, Predicted represents the predicted result, and the types of pathogens include: Mycobacterium abscessus (M.abscessus), Mycobacterium fortuitum (M.fortuitum), Mycobacterium ulcerans (M.ulcerans), Mycobacterium peregrinum (M.peregrinum), Mycobacterium phlei (M.phlei) and Mycobacterium chelonae (M.chelonae).

[0291] For example, taking True as Mycobacterium chelonae (M. chelonae) as an example, when the machine learning model trained based on the original mass spectrometry data is used for analysis, the probability of predicting an accurate result is 0.83 (ie 83%), and there is a 0.17 (ie 17%) probability of predicting it as Mycobacterium ulcerans (M. ulcerans).

[0292] like Fig.12 As shown in (a), after training based on the original mass spectrometry data, the overall prediction accuracy of the machine learning model for pathogen categories is 69.40%. Fig.12 As shown in (b), after training based on the mass spectrometry data obtained by the data processing method described in this embodiment, the overall prediction accuracy of the machine learning model for the pathogen category is 78.43%, and a higher prediction accuracy can be obtained.

[0293] refer to Fig.13 , Fig.13 This is a comparative diagram of the accuracy confusion matrix obtained based on the deep learning model.

[0294] in, Fig.13 (a) represents the accuracy confusion matrix of an embodiment of a deep learning model trained based on raw mass spectrometry data, Fig.13 (b) represents the accuracy confusion matrix of an embodiment of a deep learning model obtained by training the mass spectrometry data obtained by the data processing method described in the embodiment of the present invention.

[0295] As an example, the model is used to analyze pathogens, and in the confusion matrix, True represents the true result, and Predicted represents the predicted result.

[0296] like Fig.13 As shown in (a), after training based on the original mass spectrometry data, the overall prediction accuracy of the deep learning model for pathogen categories is 75.38%, as shown in Fig.13 As shown in (b), after training based on the mass spectrometry data obtained by the data processing method described in this embodiment, the overall prediction accuracy of the deep learning model for the pathogen category is 90.33%, and a higher prediction accuracy can be obtained.

[0297] It should be noted that, in this embodiment, the data processing system is used to implement the data processing method described in the aforementioned embodiment, and the specific description of the data processing system can be combined with the relevant records in the aforementioned embodiment.

[0298] Accordingly, an embodiment of the present invention further provides a device, comprising at least one memory and at least one processor, wherein the memory stores one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method for constructing a data processing model based on multimodal fusion or the method for processing data based on multimodal fusion. The method for constructing a data processing model based on multimodal fusion or the method for processing data based on multimodal fusion can be executed by referring to the corresponding description in the above section, and will not be repeated here.

[0299] Accordingly, an embodiment of the present invention further provides a storage medium storing one or more computer instructions, wherein the one or more computer instructions are used to implement the method for constructing a data processing model based on multimodal fusion or the data processing method based on multimodal fusion as described. Wherein, the method for constructing a data processing model based on multimodal fusion or the data processing method based on multimodal fusion or the data processing method can be executed by referring to the corresponding description in the above-mentioned part, and will not be repeated here.

[0300] Correspondingly, an embodiment of the present invention also provides a device, which can implement the method for constructing a data processing model based on multimodal fusion or the data processing method based on multimodal fusion or data processing method provided by an embodiment of the present invention by loading the above-mentioned method for constructing a data processing model based on multimodal fusion or the data processing method based on multimodal fusion in the form of a loading program.

[0301] refer to Fig.15 , shows a hardware structure diagram of a device provided by an embodiment of the present invention. The device of this embodiment includes: at least one processor 01, at least one communication interface 02, at least one memory 03 and at least one communication bus 04.

[0302] In some implementations, the number of each of the processor 01 , the communication interface 02 , the memory 03 and the communication bus 04 is at least one, and the processor 01 , the communication interface 02 and the memory 03 communicate with each other via the communication bus 04 .

[0303] The communication interface 02 may be an interface of a communication module for network communication, such as an interface of a GSM module.

[0304] The processor 01 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the method described in this embodiment.

[0305] The memory 03 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. The memory 03 stores one or more computer instructions, and the one or more computer instructions are executed by the processor 01 to implement the method for constructing a data processing model based on multimodal fusion or the data processing method or data processing method based on multimodal fusion provided in the above-mentioned embodiment.

[0306] It should be noted that the above-mentioned implementation device may also include other devices (not shown) that may not be necessary for understanding the contents disclosed in the embodiments of the present invention; since these other devices may not be necessary for understanding the contents disclosed in the embodiments of the present invention, the embodiments of the present invention will not introduce them one by one.

[0307] An embodiment of the present invention also provides a storage medium, which stores one or more computer instructions, and the one or more computer instructions are used to implement the method for constructing a data processing model based on multimodal fusion or the data processing method or data processing method based on multimodal fusion provided in the aforementioned embodiment.

[0308] The above-mentioned embodiments of the present invention are combinations of elements and features of the present invention. Unless otherwise mentioned, elements or features may be considered as optional. Each element or feature may be put into practice without being combined with other elements or features. In addition, embodiments of the present invention may be constructed by combining some elements and / or features. The order of operations described in the embodiments of the present invention may be rearranged. Some configurations of any one embodiment may be included in another embodiment, and may be replaced by the corresponding configuration of another embodiment. It is obvious to those skilled in the art that claims that do not have a clear reference relationship to each other in the attached claims may be combined into embodiments of the present invention, or may be included as new claims in the amendment after submitting this application.

[0309] The embodiments of the present invention can be implemented by various means such as hardware, firmware, software or a combination thereof. In a hardware configuration, the method according to the exemplary embodiment of the present invention can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, etc.

[0310] In a firmware or software configuration, the embodiments of the present invention may be implemented in the form of modules, procedures, functions, etc. The software code may be stored in a memory unit and executed by a processor. The memory unit is located inside or outside the processor and may send data to and receive data from the processor via various known means.

[0311] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0312] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A method for constructing a data processing model based on multimodal fusion, characterized in that: include: Acquire a multimodal training data set, wherein the multimodal training data set includes multimodal training data; The multimodal training data in the multimodal training data set is used for joint training to obtain a data processing model based on multimodal fusion.

2. The method for constructing a data processing model based on multimodal fusion according to claim 1, characterized in that: The multimodal training data set includes a first training data set, wherein the first training data set includes one-dimensional training data of multiple first modalities; The multimodal training data in the multimodal training data set are used for joint training to obtain a data processing model based on multimodal fusion, including: performing a first fusion process on the one-dimensional training data with multiple first modalities in the first training data set to obtain corresponding multiple first fusion data and generate the first fusion data set; performing a first directional attention feature extraction process on the first fusion data in the first fusion data set to obtain first directional attention feature data corresponding to each first modality; performing a first convolution process on the first directional attention feature data corresponding to each first modality with the corresponding one-dimensional training data of other first modalities to obtain corresponding multiple first feature data and generate a first feature data set; performing a first aggregation process on the first feature data in the first feature data set to obtain corresponding multiple first aggregated feature data and generate a first aggregated feature data set; performing a first classification process on the aggregated feature data in the first aggregated feature data set to obtain corresponding first prediction results; according to the obtained first prediction results, a preset first loss function is used to calculate the first loss value of the data processing model based on multimodal fusion, and the weight of the data processing model based on multimodal fusion is adjusted according to the calculated first loss value until the first loss value of the data processing model based on multimodal fusion converges.

3. The method for constructing a data processing model based on multimodal fusion according to claim 2, wherein the multimodal training data set further includes the second training data set, and the second training data set includes two-dimensional training data having one or more second modalities; The method further comprises: performing joint training using the multimodal training data in the multimodal training data set to obtain a data processing model based on multimodal fusion, and further comprising: performing second attention feature extraction processing on the two-dimensional training data in the second training data set to obtain corresponding second attention feature data; performing second convolution processing on the second attention feature data and the corresponding one-dimensional training data of the first modality to obtain corresponding multiple second feature data and generate a second feature data set; Performing a first aggregation process on the first feature data in the first feature data set, obtaining a corresponding plurality of first aggregated feature data, and generating a first aggregated feature data set, including: performing a first aggregation process on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set, obtaining a corresponding plurality of first aggregated feature data, and generating a first aggregated feature data set.

4. The method for constructing a data processing model based on multimodal fusion according to claim 3, characterized in that: The method further includes: performing a first convolution process on the first directional attention feature data corresponding to each first modality and the corresponding one-dimensional training data of other first modalities to obtain a plurality of corresponding first feature data, and generating a first feature data set; performing a first aggregation process on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a plurality of corresponding first aggregated feature data, and before generating the first aggregated feature data set, performing joint training using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to obtain a data processing model based on multimodal fusion; and further includes: performing a first dimensionality reduction process on the first feature data in the first feature data set; The second attention feature data is respectively subjected to a second convolution process with the corresponding one-dimensional training data of the first modality to obtain a plurality of corresponding second feature data, and after that, a second feature data set is generated, and a first aggregation process is performed on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a plurality of corresponding first aggregated feature data, and before the first aggregated feature data set is generated, joint training is performed using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to obtain a data processing model based on multimodal fusion, and the method further includes: performing a second dimensionality reduction process on the second feature data in the second feature data set to obtain a plurality of corresponding second dimensionality reduction feature data; Performing a first aggregation process on the first feature data in the first feature data set and the corresponding second feature data in the second feature data set to obtain a corresponding plurality of first aggregated feature data and generate a first aggregated feature data set, including: performing a first aggregation process on the first feature data that has undergone a first dimensionality reduction process and the corresponding second feature data that has undergone a second dimensionality reduction process to obtain a corresponding plurality of first aggregated feature data and generate a first aggregated feature data set.

5. The method for constructing a data processing model based on multimodal fusion according to claim 4, characterized in that: The first dimensionality reduction processing includes a first convolution dimensionality reduction processing, and the second dimensionality reduction processing includes a second convolution dimensionality reduction processing.

6. The method for constructing a data processing model based on multimodal fusion according to claim 3, characterized in that: The one-dimensional training data includes at least two of Raman spectrum data, mass spectrum data, infrared spectrum data and point-scanning fluorescence lifetime imaging data; The two-dimensional training data includes at least one of area scanning imaging data and confocal imaging data.

7. The method for constructing a data processing model based on multimodal fusion according to claim 3, characterized in that: The multimodal training data set includes a first training data set and a second training data set, the first training data set includes one-dimensional training data having a first modality, and the second training data set includes two-dimensional training data having one or more second modalities; Using the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set to perform joint training to obtain a data processing model based on multimodal fusion, including: Performing first self-attention feature extraction processing on the one-dimensional training data in the first training data set respectively, obtaining corresponding multiple pieces of first attention feature data, and forming a first attention feature data set; Performing second self-attention feature extraction processing on the two-dimensional training data in the second training data set respectively, obtaining a corresponding plurality of second attention feature data, and generating a second attention feature data set; Performing second aggregation processing on the first attention feature data in the first attention feature data set and the second attention feature data in the second attention feature data set, obtaining a corresponding plurality of second aggregated feature data, and generating a second aggregated feature data set; performing second classification processing on the second aggregated feature data in the second aggregated feature data set respectively to obtain corresponding second prediction results; According to the second prediction result obtained, a preset second loss function is used to calculate the second loss value of the data processing model based on multimodal fusion, and the weight of the data processing model based on multimodal fusion is adjusted according to the calculated second loss value until the second loss value of the data processing model based on multimodal fusion converges.

8. The method for constructing a data processing model based on multimodal fusion according to claim 8, characterized in that: The one-dimensional training data in the first training data set are respectively subjected to a first self-attention feature extraction process to obtain a corresponding plurality of first attention feature data to form a first attention feature data set, and the first attention feature data in the first attention feature data set and the second attention feature data in the second attention feature data set are subjected to a second aggregation process to obtain a corresponding plurality of second aggregated feature data. Before generating a second aggregated feature data set, the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set are used for joint training to obtain a data processing model based on multimodal fusion, further comprising: performing a third dimensionality reduction process on the first attention feature data in the first attention feature data set; The two-dimensional training data in the second training data set are respectively subjected to second self-attention feature extraction processing to obtain a plurality of corresponding second attention feature data, and after the second attention feature data set is generated, the first attention feature data in the first attention feature data set and the second attention feature data in the second attention feature data set are subjected to second aggregation processing to obtain a plurality of corresponding second aggregated feature data, and before the second aggregated feature data set is generated, the one-dimensional training data in the first training data set and the two-dimensional training data in the second training data set are used for joint training to obtain a data processing model based on multimodal fusion, and the method further includes: performing a fourth dimensionality reduction processing on the second attention feature data in the second attention feature data set; Performing a second aggregation processing on the first attention feature data in the first attention feature data set and the second attention feature data in the second attention feature data set to obtain a corresponding plurality of second aggregated feature data and generate a second aggregated feature data set, including: performing a second aggregation processing on the first attention feature data that has undergone the third dimensionality reduction processing and the corresponding second attention feature data that has undergone the fourth dimensionality reduction processing to obtain a corresponding plurality of second aggregated feature data and generate a second aggregated feature data set.

9. The method for constructing a data processing model based on multimodal fusion according to claim 9, characterized in that: The third dimensionality reduction process includes a third convolution dimensionality reduction process, and the fourth dimensionality reduction process includes a fourth convolution dimensionality reduction process.

10. The method for constructing a data processing model based on multimodal fusion according to claim 9, characterized in that: The one-dimensional training data includes Raman spectrum data, mass spectrum data, infrared spectrum data or point scanning fluorescence lifetime imaging data; The two-dimensional training data includes at least one of area scanning imaging data and confocal imaging data.

11. The method for constructing a data processing model based on multimodal fusion according to claim 1, characterized in that: The data processing model based on multimodal fusion is used to classify pathogens or particulate matter.

12. A device for constructing a data processing model based on multimodal fusion, characterized in that: include: A training data acquisition unit, adapted to acquire a multimodal training data set, wherein the multimodal training data set comprises multimodal training data; The joint training unit is suitable for using the multimodal training data in the multimodal training data set to perform joint training to obtain a data processing model based on multimodal fusion.

13. A data processing method based on multimodal fusion, characterized in that: include: Obtain multimodal data to be processed; The multimodal data to be processed is input into a data processing model based on multimodal fusion constructed by the method for constructing a data processing model based on multimodal fusion as described in any one of claims 1 to 12 to obtain a corresponding data processing result.

14. A data processing device based on multimodal fusion, characterized in that: include: A data acquisition unit, adapted to acquire multimodal data to be processed; The analysis and prediction unit is suitable for inputting the multimodal data to be processed into a data processing model based on multimodal fusion constructed by the method for constructing a data processing model based on multimodal fusion as described in any one of claims 1 to 12, and obtaining corresponding data processing results.

15. A device, characterized in that It includes at least one memory and at least one processor, wherein the memory stores one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method for constructing a data processing model based on multimodal fusion as described in any one of claims 1 to 12 or the data processing method based on multimodal fusion as described in claim 14.

16. A storage medium, characterized in that: The storage medium stores one or more computer instructions, and the one or more computer instructions are used to implement the method for constructing a data processing model based on multimodal fusion as described in any one of claims 1-12 or the data processing method based on multimodal fusion as described in claim 14.

Citation Information

Patent Citations

  • Dual-temporal remote sensing image semantic change detection method based on multi-modal feature fusion

    CN112488025A

  • Multi-omics conjoint analysis method and device and computing equipment

    CN114664382A

  • Multi-modal data fusion three-dimensional target detection method based on attention mechanism

    CN115082674A

  • Multi-modal drug-protein target interaction prediction method and system

    CN115985386A

  • Model training method and device, electronic equipment and storage medium

    CN116070169A

Cited By

  • Data classification and model construction method based on Raman and mass spectrum, and related equipment

    CN118760980A

  • Method for data classification and model construction based on raman and mass spectrometry, related devices

    CN118760980B

  • Multi-modal model-based comprehensive two-dimensional mass spectrum data alkane qualitative method, equipment and medium

    CN121237268A

  • Alkane qualitative method, apparatus, medium based on multimodal model for full two-dimensional mass spectrometry data

    CN121237268B

  • Multi-modal fusion-based data processing method, construction method for multi-modal fusion-based model, and related device

    WO2026002055A1