Intelligent data enhancement method and device based on generative adversarial network and multi-modal data, and medium

Through intelligent data enhancement methods based on generative adversarial networks and multi-modal data, the problem of lack of diversity of samples generated by traditional data enhancement methods in high-dimensional and complex data scenarios has been solved, and high-quality and diverse data generation has been achieved, improving Improve the performance and generalization ability of machine learning models.

CN118606715APending Publication Date: 2024-09-06SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202410842960.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The data samples generated by traditional data augmentation methods in high-dimensional and complex data scenarios lack diversity and complexity, making it difficult to effectively improve the performance and generalization capabilities of machine learning models, especially in data-scarce fields such as medical imaging, natural language processing, and automation. Driving etc.

Method used

Using an intelligent data enhancement method based on generative adversarial networks and multi-modal data, high-quality and diverse training samples are generated through multi-modal data preprocessing, feature fusion, and generative adversarial network model construction and training. Specific steps include preprocessing, feature extraction and fusion of image, text and audio data, using the generator and discriminator of a deep convolutional neural network architecture for mutual game optimization, and the generator inputs random noise to generate simulation data.

Benefits of technology

It effectively improves the quality and diversity of training data sets, improves the performance and generalization capabilities of machine learning models, is suitable for single-modal and multi-modal data scenarios, and has broad application prospects.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the field of artificial intelligence, in particular to an intelligent data enhancement method and device based on a generative adversarial network and multi-modal data and a medium. According to the method, multi-modal data are preprocessed, then multi-modal feature fusion is carried out, a generative adversarial network model is constructed and trained, and finally data enhancement is carried out based on the trained generative adversarial network. According to the method, the generative adversarial network is utilized to generate the high-quality synthetic data sample, richer and more diversified data samples are generated based on the multi-modal data by utilizing complementary information among different modal data, and the quality and diversity of the training data set are effectively improved, so that the performance and generalization ability of a machine learning model are improved. The method is not only suitable for single-modal data, but also can be widely applied to scenes of multi-modal data, and has wide application prospects and practical value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence, and in particular to an intelligent data enhancement method, device and medium based on generative adversarial networks and multimodal data. Background Art

[0002] In the field of machine learning and artificial intelligence (AI), the quality and quantity of data directly affect the performance and generalization ability of the model. High-quality training data can help the model learn the target task more accurately. However, collecting and annotating a large amount of high-quality data is usually a time-consuming and laborious process, especially in some fields where data is scarce or difficult to obtain, such as medical imaging, natural language processing, and autonomous driving. Therefore, data augmentation technology, as an effective solution, aims to generate new training samples through various methods to supplement and enrich the original data set.

[0003] Traditional data augmentation methods mainly rely on various transformations of existing data, such as rotation, flipping, cropping, scaling, and color transformation. Although these methods are simple and easy to use, the data samples they generate usually lack sufficient diversity and complexity, especially when faced with high-dimensional and complex data, and their effects are limited.

[0004] In recent years, the rise of generative adversarial networks (GANs) and multimodal data processing technology has provided new methods and ideas for data enhancement. GAN is a powerful generative model that can generate high-quality synthetic data samples. Multimodal data processing technology can utilize the complementary information between different modal data (such as images, text, and audio) to generate richer and more diverse data samples. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide an intelligent data enhancement method, device and medium based on generative adversarial networks and multimodal data, so as to generate high-quality and diverse training samples based on generative adversarial networks and multimodal data.

[0006] In order to solve the technical problem, the technical solution adopted by the present invention is: an intelligent data enhancement method based on generative adversarial network and multimodal data, comprising the following steps: S01), multimodal data preprocessing, multimodal data includes images, text and audio. The preprocessing of images is to normalize and enhance the images. The preprocessing of text is to convert the text into vector representation by using word segmentation and pre-trained word vector model. The preprocessing of audio is to first perform sampling and normalization, and then perform feature extraction; S02), multimodal feature fusion, fusing the preprocessed multimodal data; S03) Construct a generative adversarial network model, which includes a generator and an adversary. The input of the generator is a random noise vector or a feature vector extracted from multimodal data. The generator uses a deep convolutional neural network architecture to generate simulated data through a deep convolutional neural network. The input of the discriminator is real data and simulated data generated by the generator. The discriminator uses a deep convolutional neural network architecture to distinguish the authenticity of the simulated data through a deep convolutional neural network and output the true or false probability of the simulated data. S04) Generate adversarial network model training. Use the fused multimodal data to train the generative adversarial network model. During the training process, the generator and the discriminator are continuously optimized through mutual game. S05), obtaining Gaussian white noise randomly generated by normal distribution, and inputting the Gaussian white noise into the trained generative adversarial network model to obtain enhanced multimodal data.

[0007] Furthermore, the image enhancement in step S01) includes rotation, flipping, cropping, and color dithering.

[0008] Furthermore, the pre-trained word vector model Word2Vec, GloVe or BERT is used to convert the segmented text into a vector representation.

[0009] Furthermore, for audio data, the Mel-frequency cepstral coefficient method is used to extract audio features and convert the audio signal into a feature vector.

[0010] Furthermore, the joint representation learning method is used to perform multimodal feature fusion. The specific steps are as follows: A1), feature mapping, using neural networks to map features of different modalities into a common feature space; A2) Semantic consistency processing: By using the loss function, we ensure that the features of different modalities maintain similar semantic information in the common feature space.

[0011] Furthermore, the attention mechanism is used for multimodal feature fusion, and the self-attention or multi-head attention mechanism is used to perform weighted combination of features of different modalities to achieve feature fusion, in which the features most relevant to the current task are given the greatest weight.

[0012] Furthermore, the generator adopts a deep convolutional neural network DCGAN, including multiple layers of deconvolution layers, batch normalization layers and activation functions, and the activation function adopts ReLU or LeakyReLU.

[0013] Furthermore, the deep convolutional neural network used by the discriminator includes multiple convolutional layers, batch normalization layers and activation functions, and the activation function uses LeakyReLU.

[0014] The present invention also discloses an intelligent data enhancement device based on generative adversarial networks and multimodal data, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the intelligent data enhancement method based on generative adversarial networks and multimodal data as described above when running the program instructions.

[0015] The present invention also discloses a storage medium storing program instructions, which, when running, execute the intelligent data enhancement method based on generative adversarial networks and multimodal data as described above.

[0016] Beneficial effects of the invention: The invention provides a method for intelligent data enhancement of generative adversarial networks and multimodal data, which generates high-quality synthetic data samples using generative adversarial networks, and generates richer and more diverse data samples based on multimodal data by using complementary information between different modal data (such as images, texts, and audios). The invention effectively improves the quality and diversity of training data sets, thereby improving the performance and generalization ability of machine learning models. This method is not only applicable to single-modal data, but can also be widely used in multimodal data scenarios, and has broad application prospects and practical value. DETAILED DESCRIPTION

[0017] The present invention will be further described below in conjunction with specific embodiments.

[0018] Example 1 This embodiment discloses an intelligent data enhancement method based on a generative adversarial network and multimodal data, which aims to generate high-quality and diverse training samples, thereby improving the performance and generalization ability of a machine learning model, and includes the following steps: S01), multimodal data preprocessing, multimodal data includes image, text and audio data, and the preprocessing of multimodal data is as follows: Image data preprocessing: 1. Image normalization: normalize the image pixel values ​​to between 0 and 1 to ensure that all input data have the same scale, which helps accelerate model training.

[0019] 2. Image enhancement, using traditional data enhancement methods such as rotation, flipping, cropping, color jittering, etc. These methods reduce the overfitting of the model to specific patterns by increasing the diversity of data.

[0020] Text data preprocessing 1. Word segmentation: perform word segmentation on text data and use natural language processing technology to split sentences into separate words or phrases.

[0021] 2. Word vector representation: Use pre-trained word vector models (such as Word2Vec, GloVe, BERT, etc.) to convert the segmented text into vector representation. These word vectors can capture the semantic information of words and help the model understand text data.

[0022] Audio data preprocessing 1. Sampling and normalization: Sampling and normalization of audio data to ensure that the audio signal is within a standard range.

[0023] 2. Feature extraction: use MFCC (Mel-Frequency Cepstral Coefficient) and other methods to extract audio features and convert audio signals into feature vectors.

[0024] S02) Multimodal feature fusion: After the feature extraction of multimodal data is completed, feature fusion is required. Commonly used methods include joint representation learning and attention mechanism.

[0025] The process of feature fusion using joint representation learning is: 1. Feature mapping, using neural networks (such as multi-layer perceptrons or deep neural networks) to map features of different modalities into a common feature space.

[0026] 2. Semantic consistency processing, by using loss functions (such as contrastive loss) to ensure that features of different modalities maintain similar semantic information in a common feature space.

[0027] The process of feature fusion using the attention mechanism is: Weighted combination: Use self-attention or multi-head attention mechanism to perform weighted combination of features of different modalities to highlight the features most relevant to the current task and give the greatest weight to the features most relevant to the current task.

[0028] S03) Generative Adversarial Network (GAN) architecture construction. The generative adversarial network mainly consists of two parts: the generator and the discriminator. The introduction of the two parts is as follows: Generator Input: Random noise vector or feature vector extracted from multimodal data.

[0029] Architecture: Uses the Deep Convolutional Neural Network (DCGAN) architecture. The generator includes multiple layers of deconvolution layers (transposed convolution layers), batch normalization layers, and activation functions (such as ReLU or LeakyReLU). The combination of these layers is able to generate high-resolution and realistic image, text, or audio features.

[0030] Output: Generated image, text, or audio features.

[0031] Discriminator Input: real data and data generated by the generator.

[0032] Architecture: Uses a deep convolutional neural network, including multiple layers of convolutional layers, batch normalization layers, and activation functions (such as LeakyReLU). These layers are able to effectively distinguish the authenticity of the input data.

[0033] Output: The probability of the data being true or false S04) Generative adversarial network model training: Use the fused multimodal data to train the generative adversarial network model. During the training process, the generator and the discriminator are continuously optimized through mutual game. The generator tries to generate more realistic data to deceive the discriminator, while the discriminator continuously improves its ability to distinguish between real data and generated data.

[0034] S05), obtaining Gaussian white noise randomly generated by normal distribution, and inputting the Gaussian white noise into the trained generative adversarial network model to obtain enhanced multimodal data.

[0035] In this embodiment, after constructing the generative adversarial network model, model evaluation and optimization are performed, and the model evaluation is specifically as follows: Evaluate generated samples and sample quality. Use a combination of manual and automatic evaluation to evaluate the quality and diversity of generated samples. Task performance evaluation: Evaluate the accuracy and generalization ability of the model on real tasks (such as image classification, text classification, or speech recognition).

[0036] The specific model optimization is as follows: Structural adjustment: adjust the model structure according to the evaluation results, such as changing the size of the convolution kernel to improve the model's ability to capture detailed features.

[0037] Hyperparameter adjustment: adjust the adversarial weights between the generator and discriminator networks to balance the quality and diversity of generated samples.

[0038] Data augmentation: Obtain additional training data from other public datasets or pre-trained models to enrich the model’s knowledge and generalization capabilities.

[0039] Example 2 This embodiment discloses an intelligent data enhancement device based on a generative adversarial network and multimodal data, including a processor and a memory storing program instructions, wherein the processor is configured to execute the intelligent data enhancement method based on a generative adversarial network and multimodal data as described in Example 1 when running the program instructions.

[0040] Example 3 This embodiment discloses a storage medium storing program instructions, which, when run, execute the intelligent data enhancement method based on generative adversarial networks and multimodal data as described in Example 1.

[0041] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0042] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0043] The present invention provides a method for intelligent data enhancement by combining generative adversarial networks and multimodal data, which effectively improves the quality and diversity of training data sets, thereby improving the performance and generalization ability of machine learning models. This method is not only applicable to single-modal data, but can also be widely used in multimodal data scenarios, and has broad application prospects and practical value.

[0044] The above description is only the basic principle and preferred embodiments of the present invention. Improvements and substitutions made by those skilled in the art based on the present invention belong to the protection scope of the present invention.

Claims

1. An intelligent data enhancement method based on generative adversarial networks and multimodal data, characterized by: The following steps are involved: S01), multimodal data preprocessing, multimodal data includes images, text and audio. The preprocessing of images is to normalize and enhance the images. The preprocessing of text is to convert the text into vector representation by using word segmentation and pre-trained word vector model. The preprocessing of audio is to first perform sampling and normalization, and then perform feature extraction; S02), multimodal feature fusion, fusing the preprocessed multimodal data; S03) Construct a generative adversarial network model, which includes a generator and an adversary. The input of the generator is a random noise vector or a feature vector extracted from multimodal data. The generator uses a deep convolutional neural network architecture to generate simulated data through a deep convolutional neural network. The input of the discriminator is real data and simulated data generated by the generator. The discriminator uses a deep convolutional neural network architecture to distinguish the authenticity of the simulated data through a deep convolutional neural network and output the true or false probability of the simulated data. S04) Generate adversarial network model training. Use the fused multimodal data to train the generative adversarial network model. During the training process, the generator and the discriminator are continuously optimized through mutual game. S05), obtaining Gaussian white noise randomly generated by normal distribution, and inputting the Gaussian white noise into the trained generative adversarial network model to obtain enhanced multimodal data.

2. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: Step S01) The image enhancement includes rotation, flipping, cropping, and color dithering.

3. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: Use the pre-trained word vector model Word2Vec, GloVe or BERT to convert the segmented text into a vector representation.

4. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: For audio data, the Mel-frequency cepstral coefficient method is used to extract audio features and convert the audio signal into a feature vector.

5. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: Use joint representation learning method to perform multimodal feature fusion. The specific steps are as follows: A1), feature mapping, using neural networks to map features of different modalities into a common feature space; A2) Semantic consistency processing: By using the loss function, we ensure that the features of different modalities maintain similar semantic information in the common feature space.

6. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: Use the attention mechanism for multimodal feature fusion, and use self-attention or multi-head attention mechanism to perform weighted combination of features of different modalities to achieve feature fusion, in which the most relevant features of the current task are given the greatest weight.

7. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: The generator uses a deep convolutional neural network DCGAN, which includes multiple layers of deconvolution layers, batch normalization layers and activation functions. The activation function uses ReLU or LeakyReLU.

8. The intelligent data enhancement method based on generative adversarial network and multimodal data according to claim 1, characterized in that: The deep convolutional neural network used by the discriminator includes multiple convolutional layers, batch normalization layers and activation functions, and the activation function uses LeakyReLU.

9. An intelligent data enhancement device based on a generative adversarial network and multimodal data, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the intelligent data enhancement method based on generative adversarial network and multimodal data as described in any one of claims 1 to 8 when running the program instructions.

10. A storage medium storing program instructions, characterized in that: When the program instructions are run, they execute the intelligent data enhancement method based on generative adversarial networks and multimodal data as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Multi-modal data enhancement method and system based on AI training platform

    CN119557630A

  • A Multimodal Data Augmentation Method and System Based on an AI Training Platform

    CN119557630B

  • Data enhancement method for event information deduction

    CN120180378A

  • A data enhancement method for event information deduction

    CN120180378B

  • Intelligent nutrition mode management method and system based on HAP multi-modal data

    CN120448947A