Multi-modal large model construction method and system, refrigeration equipment and storage medium

Through the multi-modal large model construction method, different types of data are processed and optimized, and the training efficiency and performance of the large model are significantly improved, which solves the problems of high computing resource consumption and low efficiency of multi-source data processing in the existing technology, and achieves high efficiency. Smart device interaction and service operation.

CN118568672APending Publication Date: 2024-08-30QINDAO HAIER REFRIGERATOR CO LTD

Patent Information

Application Number
CN202411044768.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The huge demand for computing resources during training of existing large AI models results in high costs and low efficiency, and it is difficult to process real-time or offline multi-source heterogeneous data, affecting the response speed and service quality of smart devices.

Method used

Adopt a multi-modal large model construction method to preprocess and convert multi-modal data (voice, text, image, video, etc.) to generate high-quality training corpus, select appropriate large model types and structures for training, and Optimize model performance and efficiency through iterative updates through comparison with large model libraries.

Benefits of technology

It significantly improves the training efficiency and generation capabilities of large models, maximizes model performance and optimizes training efficiency, enables rapid construction and deployment of new models, and maintains the quality and diversity of the model library through continuous optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568672A
    Figure CN118568672A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a multi-modal large model construction method and system, refrigeration equipment and a storage medium, firstly, multi-modal data is utilized, and targeted processing is performed on different types of data, so that a rich and high-quality corpus is prepared for large model training; then corresponding training corpora are generated according to different learning requirements, and appropriate large model types and structures are selected for training; and comparing and analyzing the trained large model with a large model library to determine whether to update or store, thereby keeping the current property and effectiveness of the large model library. Through the process of model construction, training, optimization and evaluation, maximization of model performance and optimization of training efficiency can be realized, a new model can be rapidly constructed and deployed, and the quality and diversity of a model library can be continuously optimized through comparison with an existing model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a multi-modal large model construction method, system, refrigeration equipment, and storage medium. Background Art

[0002] The rapid development and application of deep learning and artificial intelligence technologies in the field of smart home appliances and refrigeration equipment. As smart devices become more and more popular, their requirements for data processing and interaction efficiency are also increasing. Especially when processing large amounts of multimodal data (such as text, images, sounds, etc.), how to improve the training efficiency and generation methods of large AI models while ensuring the high quality of service operation has become an urgent problem to be solved. The huge demand for computing resources during training of large models makes the training cost high and the efficiency low; secondly, when processing real-time or offline multi-source heterogeneous data, existing models often find it difficult to achieve the ideal state of both efficiency and accuracy, which affects the response speed and service quality of smart devices. Summary of the invention

[0003] The object of the present invention is to provide a multi-modal large model construction method, system, refrigeration equipment, and storage medium.

[0004] The present invention provides a method for constructing a multimodal large model, which comprises the steps of: Acquiring multimodal data, the multimodal data comprising at least two of voice data, text data, image data, audio data, and video data; Preprocessing and converting the multimodal data, and fusing the converted multimodal data; Generate a large model training corpus based on fused multimodal data; Select the type and structure of the constructed big model, train the big model using the training corpus, and generate a new big model; Compare the new large model with the answer model of the current large model library, and iteratively update and optimize the large model in the current large model library; Encapsulate and deploy large models in the application's large model library.

[0005] As a further improvement of the present invention, the new large model is compared with the answer model of the current large model library, and the large model of the current large model library is iteratively updated and optimized, specifically including: Evaluate the effect of the new large model. When the effect of the new large model is higher than expected and there is no large model with the same structure and parameter configuration as the new large model in the current large model library, add the new large model to the current large model library; When the effect of the new large model is lower than expected, the structure of the new large model is improved and the parameters of the new large model are optimized.

[0006] As a further improvement of the present invention, the encapsulation and deployment of the large model in the large model library specifically includes: Selecting a large model whose effect meets expectations from the large model library, and encapsulating it according to the multimodal data type of the large model; Deploy and publish the encapsulated large model.

[0007] As a further improvement of the present invention, the encapsulation and deployment of the large model in the large model library also includes: Get a large model service application; After review and authorization, the interface is connected to the big model and the big model is called; Monitor the performance and status of large models in real time during use, and record call data and performance data.

[0008] As a further improvement of the present invention, the acquiring of multimodal data specifically includes: Initialize multimodal data acquisition channels; Acquiring multimodal data collected by a data collection device, and / or, Acquire multimodal data transmitted from a client terminal.

[0009] As a further improvement of the present invention, the multimodal data includes voice data, text data, image data, audio data and video data.

[0010] As a further improvement of the present invention, the preprocessing and converting of the multimodal data specifically includes: Cleaning and formatting the multimodal data; Separating the video data into audio and video to obtain separated video audio data and video image data; Preprocess the text data; Perform standardization and adjustment processing on image data and video image data.

[0011] As a further improvement of the present invention, the preprocessing and converting of the multimodal data further includes: Extracting features of the voice data and video voice data to obtain voice features; Inputting the speech features into a speech recognition convolutional neural network to obtain output text data; Aligning the output text data sequence with the speech feature sequence by a connection temporal classification method; The output text data is combined through a fully connected layer and then output to a classification function to calculate a score to obtain speech text data.

[0012] As a further improvement of the present invention, the preprocessing and converting of the multimodal data further includes: Acquire image feature sequences of image data and video image data; The image semantic representation is obtained through a large model of distillation diffusion deep fusion based on spatiotemporal and long-distance dependent features; The image semantics is output by connecting the temporal classification and the fully connected layer.

[0013] As a further improvement of the present invention, the image semantic representation is obtained by using a distillation diffusion deep fusion large model based on spatiotemporal and long-distance dependent features, specifically including: After the distillation diffusion deep fusion large model is trained, the teacher model is introduced into a student model that is continuous in time and space to obtain a student model with the same parameters as the teacher model; Convert the distilled large model into a student model with discrete time steps and short steps, and repeat the above steps until the teacher model is distilled to half the steps of the student model.

[0014] As a further improvement of the present invention, it also includes: Obtain historical multimodal data, vectorize the historical multimodal data, and map it to the same vector space for transfer learning.

[0015] As a further improvement of the present invention, the generating of a large model training corpus based on the fused multimodal data specifically includes: Generate large model training corpora of supervised learning, semi-supervised learning and unsupervised learning types according to the data training type.

[0016] The present invention also provides a multi-modal large model construction system, which includes: a data acquisition module configured to acquire multimodal data, wherein the multimodal data includes at least two of voice data, text data, image data, audio data, and video data; A data processing module, configured to preprocess and convert the multimodal data and fuse the converted multimodal data; A corpus generation module, configured to generate a large model training corpus based on the fused multimodal data; A large model construction module is configured to select the type and structure of the large model to be constructed, train the large model through the training corpus, and generate a new large model; compare the new large model with the answer model of the current large model library, and iteratively update and optimize the large model in the current large model library; The big model application module is configured to encapsulate and deploy the big model in the big model library.

[0017] The present invention also provides a refrigeration device, comprising: A memory for storing executable instructions; The processor is used to implement the above-mentioned multimodal large model construction method when running the executable instructions stored in the memory.

[0018] The present invention also provides a storage medium storing executable instructions, which implement the above-mentioned multimodal large model construction method when executed by a processor.

[0019] The beneficial effects of the present invention are as follows: the present invention first prepares a rich and high-quality corpus for large model training by utilizing multimodal data and performing targeted processing on different types of data. Then, the corresponding training corpus is generated according to different learning needs, and the appropriate large model type and structure are selected for training. The trained large model is compared and analyzed with the large model library to determine whether to update or store it, so as to maintain the currency and effectiveness of the large model library. Through the process of model construction, training, optimization and evaluation, the model performance can be maximized and the training efficiency can be optimized. Not only can new models be quickly built and deployed, but also the quality and diversity of the model library can be continuously optimized by comparison with existing models. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a schematic diagram of the steps of a method for constructing a multimodal large model in one embodiment of the present invention; Figure 2 is a schematic diagram of preprocessing steps of multimodal data in one embodiment of the present invention; Figure 3 is a schematic diagram of steps for converting voice data into text data in one embodiment of the present invention; Figure 4 is a schematic diagram of steps for converting image data into text data in one embodiment of the present invention; Figure 5 is a schematic diagram of step S5 of a multimodal large model construction method in one embodiment of the present invention; Figure 6 It is a block diagram of a multimodal large model building system in one embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in combination with the specific implementation methods of the present invention and the corresponding drawings. Obviously, the described implementation methods are only part of the implementation methods of the present invention, not all implementation methods. Based on the implementation methods of the present invention, all other implementation methods obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0022] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0023] This embodiment provides a multimodal large model construction method. The large model collects multimodal data, and after fusing the multimodal data, the large model structure is accurately selected and optimized to ensure the efficiency and stability of the large model training process. By optimizing the parameters and structure of the large model, the training efficiency is significantly improved. It can effectively solve the limitations of traditional AI large models in training efficiency and generation capabilities, and build an efficient technical system that integrates construction, training and generation.

[0024] The method provided in this embodiment can be applied to a large model of interaction between smart electronic appliances and users. Exemplarily, in this embodiment, the method is described by taking a smart refrigerator as an example. Based on the usage scenario of the smart refrigerator, this embodiment adaptively optimizes the acquisition and processing method of multimodal data, which is suitable for the specific information interaction and service operation requirements of refrigeration equipment.

[0025] like Figure 1 FIG. 1 is a schematic diagram of the steps of a multimodal large model construction method provided by the present invention, which includes: S1: Acquire multimodal data, where the multimodal data includes at least two of voice data, text data, image data, audio data, and video data.

[0026] S2: Preprocess and transform the multimodal data, and fuse the transformed multimodal data.

[0027] S3: Generate a large model training corpus based on the fused multimodal data.

[0028] S4: Select the type and structure of the big model to be constructed, train the big model through training corpus, and generate a new big model.

[0029] S5: Compare the new large model with the model in the current large model library, and iteratively update and optimize the current large model library.

[0030] S6: Encapsulate and deploy the large model in the large model library.

[0031] In step S1, multimodal data is obtained, which specifically includes: Initialize multimodal data acquisition channels; Acquiring multimodal data collected by a data collection device, and / or, Acquire multimodal data transmitted from a client terminal.

[0032] In this embodiment, the multimodal data includes voice data, text data, image data, audio data and video data.

[0033] First, initialize the channel for multimodal information data input to ensure smooth data collection and transmission.

[0034] For smart refrigerators, the acquisition of multimodal information requires the integration of multiple input methods, including real-time and offline acquisition of voice, text, video and other data. Diversified data access methods can meet the needs of different scenarios and user habits, and improve the convenience and efficiency of user interaction.

[0035] In this embodiment, for voice data, the user's real-time voice can be collected by voice collection devices such as microphones and microphone arrays arranged in the smart refrigerator. For video data and image data, they can be collected by image collection devices such as cameras arranged in the smart refrigerator. In addition, the transmitted user voice data, video data, text data, etc. can also be obtained through a client terminal connected to the smart refrigerator based on a wireless communication protocol. The client terminal is an electronic device with an information sending function, such as a mobile phone, a tablet computer, a smart speaker, a smart bracelet or a Bluetooth headset. During use, the user directly inputs multimodal data to the client terminal, and the client terminal collects the data and transmits it to the smart refrigerator through wireless communication methods such as wifi or Bluetooth. Thereby realizing a multi-channel real-time multimodal data acquisition method, which is not limited to operating facing the smart refrigerator. Multi-channel multimodal information acquisition channels significantly enrich the types and quality of data and improve the training quality of large models.

[0036] Multimodal data provides richer and more comprehensive information than a single modality by combining different types of data such as text, images, and sounds. The comprehensive use of information can significantly enhance the ability of large models to understand complex phenomena in the real world. Data of different modalities can depict the same thing or event from multiple dimensions, helping large models capture deeper features and associations, thereby achieving higher accuracy when performing prediction or classification tasks. In some cases, single-modal data may become incomplete or inaccurate due to noise, occlusion, or other interference factors. The use of multimodal data can mitigate the impact of these problems through complementary information and enhance the robustness of large models.

[0037] By establishing a comprehensive, efficient and stable information data input channel, a solid foundation is provided for in-depth information interaction between refrigeration equipment and users, and high-quality input data is provided for subsequent data processing, analysis and large model training.

[0038] like Figure 2As shown, in step S2, the multimodal data is preprocessed and converted, which specifically includes: S201: Clean and format-convert multimodal data.

[0039] S202: Separate the video data into audio and video to obtain separated video audio data and video image data.

[0040] S203: Preprocess the text data.

[0041] S204: Performing standardization adjustment processing on the image data and the video image data.

[0042] It should be noted that, in step S2, there is no clear order between step S202 and step S203, and they can be performed in alternating order or simultaneously.

[0043] For video data, it is necessary to separate voice and image data, extract the pure audio part and visual content in the audio and video stream, so as to further process and analyze different types of data in a targeted manner. Existing software tools and development libraries can be used to process and edit audio and video data. In addition, scripts can be written to customize the audio and video processing process to meet specific needs and automated processes. The separated pure audio data can be used for a variety of applications such as speech-to-text and sentiment analysis, while visual data can be used for image recognition, object detection, etc. Separation makes it possible to use the most suitable technologies and algorithms to process different types of data in a targeted manner, improving the efficiency and accuracy of data analysis.

[0044] For text data, preprocessing is performed to clean and prepare the text data for more effective analysis and large model training. This includes operations such as removing stop words, deduplication, and word segmentation. Removing these words can help reduce the size of the data set, improve the efficiency of subsequent processing steps, and improve the accuracy of large model training. There may be duplicate content in the text data, which will increase the complexity of the text and may also cause deviations when training large models. By identifying and removing these duplicate contents, the quality and diversity of the data set can be ensured. Word segmentation breaks down the text into smaller units, such as words or phrases. In addition to the above steps, it can also include steps such as stemming, word form restoration, and punctuation removal. Through text data preprocessing, the quality and processing efficiency of the data can be significantly improved, laying the foundation for subsequent text analysis, feature extraction, and large model training.

[0045] For the image data and the separated video image data, standardization and adjustment processing are performed to improve the efficiency of large model training. Such as resizing, standardization, denoising, etc. All images and video frames are adjusted to a uniform size and resolution, and the pixel values ​​of the image and video image data are scaled to a standard range, which helps to speed up the convergence speed during training and improve the stability of the large model.

[0046] By performing these standardization and adjustment processes on image data and video image data, it is possible to ensure that the data has a consistent format and quality before being input into the large model, thereby reducing the uncertainty in the large model training process and improving the performance of the large model in practical applications.

[0047] After preprocessing the multimodal data through the above steps, the multimodal data needs to be converted to uniformly convert the multimodal data into text data.

[0048] like Figure 3 As shown, converting voice data into text data specifically includes: S205: Extract features of voice data and video voice data to obtain voice features.

[0049] S206: Input the speech features into the speech recognition convolutional neural network to obtain output text data.

[0050] S207: Align the output text data sequence with the speech feature sequence through a connection temporal classification method.

[0051] S208: After the output text data is combined through the fully connected layer, it is output to the classification function to calculate the score to obtain the speech text data.

[0052] Considering the spatiotemporal characteristics and contextual information relationship characteristics of speech data of refrigeration equipment such as refrigerators, in order to accurately convert the speech data of refrigeration equipment into text, connection temporal classification is used as an end-to-end learning method. The connection temporal classification method can effectively deal with the problem of mismatch between the length of input and output sequences, and is suitable for continuous speech recognition tasks. By assigning a label to each frame in the sequence, the large model can automatically learn the alignment relationship between the input speech and the output text. Based on the end-to-end deep learning method, a large model integrating recurrent neural network and convolutional neural network is constructed, and then combined with the connection temporal classification loss function and attention mechanism, the ability of convolutional neural network is used to capture local features in speech signals. The recurrent neural network processes sequence data to understand the temporal dependencies, and the attention mechanism enables the large model to focus more on the key information in the speech signal. Through the above deep learning model, rich high-level speech feature information can be extracted from the original speech signal. This information contains important features such as intonation, rhythm, and intensity of speech, which plays an important role in improving the accuracy of speech recognition and understanding user intentions.

[0053] By adopting the connection time classification technology and the end-to-end deep learning model integrating the recurrent convolutional network, the accuracy of transcribing the voice data of refrigeration equipment into text has been significantly improved, providing technical support for achieving efficient and accurate multimodal interaction.

[0054] like Figure 4 As shown, converting image data into text data specifically includes: S209: Acquire image feature sequences of image data and video image data.

[0055] S210: Obtain image semantic representation through a deep fusion model based on distillation diffusion of spatiotemporal and long-distance dependent features.

[0056] S211: Output the image semantics by connecting the temporal classification and the fully connected layer.

[0057] Specifically, step S210 obtains the image semantic representation through a distillation diffusion deep fusion large model based on spatiotemporal and long-distance dependent features, specifically including: S2101: After the distillation diffusion deep fusion large model is trained, the teacher model is introduced into a student model that is continuous in time and space to obtain a student model with the same parameters as the teacher model.

[0058] S2102: Convert the distilled large model into a student model with discrete time steps and short steps, and repeat the above steps until the teacher model is distilled to half the steps of the student model.

[0059] Image features are extracted from image data and video image data to identify text content. Considering the complexity of identifying sentences from the image features of speakers, such as the length variation of sentences, the diversity of words, and the contextual relevance between sentences, a large model of deep fusion based on migration and distillation diffusion of spatiotemporal relationships and long-distance dependency features is adopted, so that the features that change over time in images and the contextual information maintained in long texts can be captured and analyzed. The large model of deep fusion of distillation diffusion transfers and simplifies the knowledge of a complex teacher model to a lighter student model through distillation, maintaining the performance of the teacher model while reducing the consumption of computing resources. The outputs of the teacher model and the student model are further integrated using deep fusion technology to optimize the large model's processing capabilities for time series and contextual dependencies, thereby improving the efficiency of mining semantic feature information in sentence sequences.

[0060] Through the above method, the large model can effectively extract and recognize text content from image data, especially process sentences containing complex semantics and long-distance dependencies, improving the accuracy and efficiency of identifying from image features to text content.

[0061] In step S2, after obtaining multi-source text data through multi-modal data processing, the text data from different sources are integrated together, and the effective text data are fused to form a unified data set, which provides a high-quality and information-rich training data set for large model construction, and can improve the efficiency of subsequent large model training and generation work.

[0062] Furthermore, in this embodiment, the steps are also included: Obtain historical multimodal data, vectorize the historical multimodal data, and map it to the same vector space for transfer learning. The vectorized data is mapped to a unified vector space to ensure that data collected at different time points and different devices are comparable. Through this mapping, data can be measured and compared under the same metric, providing a unified basis for further analysis and application of the data. In a unified vector space, transfer learning technology can be effectively applied to accelerate the learning process of new tasks by leveraging the knowledge learned by existing large models on similar tasks.

[0063] Historical data accumulates a large amount of information and knowledge, providing rich resources for large model training. Historical data usually contains diverse scenarios and cases, which increases the sample size for training, thus helping to improve the generalization ability and prediction accuracy of large models.

[0064] In step S3, the fused text data, image data, audio data, etc. are used to generate large model training corpora of supervised learning, semi-supervised learning and unsupervised learning types.

[0065] Comprehensively generating a dataset containing supervised learning, semi-supervised learning, and unsupervised learning corpora for training can effectively improve the performance, flexibility, and application scope of large models. Through the labeled data of supervised learning, large models can learn the accurate mapping relationship between input and output. Combined with the data of semi-supervised learning and unsupervised learning, large models can also explore the inherent structure and patterns of data. The strategy of using different types of corpora helps large models capture a wider range of data features and improve their generalization ability.

[0066] In practical applications, unlabeled data is often much more than labeled data, and generating datasets containing semi-supervised learning and unsupervised learning corpora can make full use of these unlabeled data. This can not only significantly reduce the cost and time of data annotation, but also improve the learning efficiency and performance of large models through a large amount of unlabeled data. With abundant unlabeled data, especially in semi-supervised learning and unsupervised learning settings, large models can better adapt to new fields or tasks, quickly adjust and optimize through transfer learning, and improve performance in new environments.

[0067] In addition, different types of corpora support large models to learn at multiple levels, from learning task-specific knowledge through precise annotations to learning general features and distribution of data through unlabeled data. Multi-task learning strategies can make the learning results of large models on one task benefit other tasks, enhancing the adaptability and flexibility of large models. By combining different types of training data, large models can not only learn explicit annotation information, but also autonomously explore the implicit structure and rules of the data, which helps to improve the interpretability and reliability of large models.

[0068] like Figure 5 As shown, in step S5, the new large model is compared with the model of the current large model library, and the current large model library is iteratively updated and optimized, which specifically includes: S51: Evaluate the effect of the new large model. When the effect of the new large model is higher than expected and there is no large model with the same structure and parameter configuration as the new large model in the current large model library, add the new large model to the current large model library.

[0069] S52: When the effect of the new large model is lower than expected, the structure of the new large model is improved and the parameters of the new large model are optimized.

[0070] Determine the appropriate big model type and structure based on task requirements and data characteristics. For example, it may include machine learning big models, deep learning models, reinforcement learning big models, etc. When processing multimodal corpus data, an end-to-end codec deep neural network big model can be used. The end-to-end big model reduces the need for manual feature engineering by automatically learning the intrinsic representation of the data.

[0071] The generated corpus data is used to train the big model. After the big model training is completed, the effect of the big model is comprehensively analyzed through evaluation indicators (such as accuracy, recall rate, F1 score, etc.). If the performance of the new model exceeds expectations, the trained big model is compared with the model in the big model library. A comprehensive performance evaluation of the newly trained big model provides a basis for comparative analysis. Query the big models that already exist in the big model library. If there is a big model with the same structure and parameters as the newly trained big model in the big model library, and the performance is similar or better, it can be considered that the new big model does not provide additional value, so there is no need to update or store it. If the newly trained big model outperforms the corresponding big model in the big model library in performance, or there is no big model with the structure in the big model library, the new big model should be added to the big model library. This enriches the diversity of the big model library and provides a better choice for subsequent big model applications and research. For new big models that need to be stored, version control and metadata records are performed, including information such as the structure description, training parameters, and performance indicators of the big model, to facilitate future big model search, reuse, and transfer learning tasks.

[0072] By comparing and analyzing the newly trained big models with the existing big models in the big model library, the continuous optimization and updating of the big model library is ensured.

[0073] If the performance of the new large model fails to meet expectations, necessary improvements will be made to the structure of the new large model, including adjusting the depth and width of the network layer, or changing the configuration of specific layers or modules, adjusting the learning rate, applying regularization technology, and selecting optimizers, etc., to ensure that the model achieves better performance. Therefore, the technical solution can not only effectively manage the update and maintenance of the model library, but also continuously promote the further optimization of model performance. The dynamic evaluation and update mechanism can maintain the continuous progress and update of the model library.

[0074] Step S5 integrates the process of model building, training, optimization and evaluation, which can maximize model performance and optimize training efficiency. It can not only quickly build and deploy new models, but also continuously optimize the quality and diversity of the model library by comparing with existing large models. Features are extracted from a large amount of diverse data, and these features are effectively converted into model inputs to quickly build new large models. The newly trained new large model will be carefully compared with the existing large models in the model library to evaluate their performance and resource efficiency on specific tasks. Based on the comparison results, automated optimization tools and strategies are used to adjust model parameters or redesign the model architecture to ensure that the model library continues to adapt to new technical standards and application requirements and maintain its leading position.

[0075] The systematic model building, training, optimization and evaluation process not only enriches the diversity of the large model library, but also significantly improves the performance and training efficiency of large models. Through this approach, users can be provided with intelligent models that can respond quickly and efficiently handle various tasks, greatly improving applicability.

[0076] In step S6, the large model in the large model library is encapsulated and deployed, which specifically includes: Select a large model that meets your expectations in the large model library, package it according to the multimodal data type of the large model, and deploy and publish the packaged large model.

[0077] Obtain a big model service application, review and authorize it, connect the interface to the big model, call the big model, monitor the performance and status of the big model in real time during use, and record the call data and performance data.

[0078] The trained large model is packaged into code, including the weights, configurations, and preprocessing steps of the large model, to form an easy-to-call software development kit or application programming interface. For specific types of data processing, such as speech recognition, the large model can be packaged into a service that follows a specific protocol (such as the Media Resource Control Protocol, MRCP) to seamlessly integrate with the speech platform and applications. The packaging process also includes selecting the appropriate technology stack and protocol (such as HTTP, RESTful) to meet the needs of different application scenarios and ensure that the large model can be efficiently accessed through the network.

[0079] The process of installing a packaged large model into the actual operating environment. This can be a cloud service environment that provides elastic and scalable computing resources, or an edge device such as a smartphone or embedded device that supports inference computing directly on the device side.

[0080] After the deployment is completed, the description, performance indicators, usage conditions and other information of different large models are provided to form a large model list for users to choose from.

[0081] In the process of big model application, users or developers first need to apply for a specific big model service. The big model service will review the application information and determine whether to authorize the use of the big model service. When the application is approved, the user will obtain the permission to access and use the big model service. Users or developers use the provided authorization credentials to connect with the big model service through the big model API or SDK to upload data, send processing requests and receive results. In order to ensure the stability and performance of the big model service, the service provider needs to monitor the running status of the big model in real time, including key indicators such as processing speed, error rate, and resource consumption. After the user successfully connects, he can start sending prediction or analysis requests to the big model service and obtain the results of the big model processing to support application scenarios such as decision making, content generation, and data analysis. In order to ensure the transparency and traceability of the service, all big model call operations and results will be recorded in the application log to facilitate operations such as fault diagnosis, performance evaluation, and security auditing.

[0082] like Figure 6 As shown, this embodiment also provides a multi-modal large model construction system, which includes: A data acquisition module 1, which is configured to acquire multimodal data, the multimodal data including at least two of voice data, text data, image data, audio data and video data; A data processing module 2, which is configured to pre-process and convert the multimodal data and fuse the converted multimodal data; A corpus generation module 3, which is configured to generate a large model training corpus based on the fused multimodal data; The big model construction module 4 is configured to select the type and structure of the big model to be constructed, train the big model through the training corpus, and generate a new big model; compare the new big model with the answer model of the current big model library, and iteratively update and optimize the big model in the current big model library; The big model application module 5 is configured to encapsulate and deploy the big models in the big model library.

[0083] This embodiment also provides a refrigeration device, including: A memory for storing executable instructions; The processor is used to implement the above-mentioned multimodal large model construction method when running the executable instructions stored in the memory.

[0084] This embodiment also provides a storage medium storing executable instructions, which, when executed by a processor, implement the above-mentioned multimodal large model construction method.

[0085] In summary, this implementation first prepares a rich and high-quality corpus for big model training by utilizing multimodal data and performing targeted processing on different types of data. Then, the corresponding training corpus is generated according to different learning needs, and the appropriate big model type and structure are selected for training. The trained big model is compared and analyzed with the big model library to decide whether to update or store it, so as to maintain the currentness and effectiveness of the big model library. Finally, the solution completes the code encapsulation and deployment of the big model, supports multiple calling methods, and provides easy-to-access, safe and reliable big model services through perfect service processes such as application, calling, authorization and log monitoring. Through precise data processing and efficient big model training, the intelligence level of the equipment is improved, and the efficiency of information interaction and the quality of service operation are improved.

[0086] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

[0087] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. All equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for constructing a multimodal large model, characterized in that: include: Acquiring multimodal data, the multimodal data comprising at least two of voice data, text data, image data, audio data, and video data; Preprocessing and converting the multimodal data, and fusing the converted multimodal data; Generate a large model training corpus based on fused multimodal data; Select the type and structure of the constructed big model, train the big model using the training corpus, and generate a new big model; Compare the new large model with the answer model of the current large model library, and iteratively update and optimize the large model of the current large model library; Encapsulate and deploy large models in the application's large model library.

2. The multimodal large model construction method according to claim 1, characterized in that: The new large model is compared with the answer model of the current large model library, and the large model of the current large model library is iteratively updated and optimized, specifically including: Evaluate the effect of the new large model. When the effect of the new large model is higher than expected and there is no large model with the same structure and parameter configuration as the new large model in the current large model library, add the new large model to the current large model library; When the effect of the new large model is lower than expected, the structure of the new large model is improved and the parameters of the new large model are optimized.

3. The multimodal large model construction method according to claim 1, characterized in that: The encapsulation and deployment of the large model in the large model library specifically includes: Selecting a large model whose effect meets expectations from the large model library, and encapsulating it according to the multimodal data type of the large model; Deploy and publish the encapsulated large model.

4. The multimodal large model construction method according to claim 3, characterized in that: The encapsulation and deployment of the large model in the large model library also includes: Get a large model service application; After review and authorization, the interface is connected to the big model and the big model is called; Monitor the performance and status of large models in real time during use, and record call data and performance data.

5. The multimodal large model construction method according to claim 1, characterized in that: The acquiring of multimodal data specifically includes: Initialize multimodal data acquisition channels; Acquiring multimodal data collected by a data collection device, and / or, Acquire multimodal data transmitted from a client terminal.

6. The multimodal large model construction method according to claim 1, characterized in that: The multimodal data includes voice data, text data, image data, audio data and video data.

7. The multimodal large model construction method according to claim 6, characterized in that: The preprocessing and converting of the multimodal data specifically includes: Cleaning and formatting the multimodal data; Separating the video data into audio and video to obtain separated video audio data and video image data; Preprocess the text data; Perform standardization and adjustment processing on image data and video image data.

8. The multimodal large model construction method according to claim 7, characterized in that: The preprocessing and converting of the multimodal data further includes: Extracting features of the voice data and video voice data to obtain voice features; Inputting the speech features into a speech recognition convolutional neural network to obtain output text data; Aligning the output text data sequence with the speech feature sequence by a connection temporal classification method; The output text data is combined through a fully connected layer and then output to a classification function to calculate a score to obtain speech text data.

9. The multimodal large model construction method according to claim 7, characterized in that: The preprocessing and converting of the multimodal data further includes: Acquire image feature sequences of image data and video image data; The image semantic representation is obtained through a large model of distillation diffusion deep fusion based on spatiotemporal and long-distance dependent features; The image semantics is output by connecting the temporal classification and the fully connected layer.

10. The multimodal large model construction method according to claim 9, characterized in that: The image semantic representation is obtained by using a distillation diffusion deep fusion large model based on spatiotemporal and long-distance dependent features, specifically including: After the distillation diffusion deep fusion large model is trained, the teacher model is introduced into a student model that is continuous in time and space to obtain a student model with the same parameters as the teacher model; Convert the distilled large model into a student model with discrete time steps and short steps, and repeat the above steps until the teacher model is distilled to half the steps of the student model.

11. The multimodal large model construction method according to claim 1, characterized in that: Also includes: Obtain historical multimodal data, vectorize the historical multimodal data, and map it to the same vector space for transfer learning.

12. The multimodal large model construction method according to claim 1, characterized in that: The generating of a large model training corpus based on the fused multimodal data specifically includes: Generate large model training corpora of supervised learning, semi-supervised learning and unsupervised learning types according to the data training type.

13. A multimodal large model construction system, characterized in that: include: a data acquisition module configured to acquire multimodal data, wherein the multimodal data includes at least two of voice data, text data, image data, audio data, and video data; A data processing module, configured to preprocess and convert the multimodal data and fuse the converted multimodal data; A corpus generation module, configured to generate a large model training corpus based on the fused multimodal data; A large model construction module, which is configured to select the type of large model to be constructed and the structure of the large model, perform large model training through the training corpus, and generate a new large model; Compare the new large model with the answer model of the current large model library, and iteratively update and optimize the large model in the current large model library; The big model application module is configured to encapsulate and deploy the big model in the big model library.

14. A refrigeration device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the multimodal large model construction method according to any one of claims 1 to 12 when running the executable instructions stored in the memory.

15. A storage medium storing executable instructions, characterized in that: When the executable instructions are executed by the processor, the multimodal large model construction method described in any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Multi-task continuous learning method and device based on evolutionary algorithm, equipment and medium

    CN116861979A

  • Method for constructing pre-training subject corpus of digital human teacher multi-mode large language model

    CN117076693A

  • Text generation method and device, refrigerator and storage medium

    CN117077787A

  • Multi-mode speech recognition method and device, refrigerator and storage medium

    CN117594034A

  • Iterative optimization method and system for multi-modal large language model

    CN117709483A

Cited By

  • Multi-modal large model data set construction method and system based on data governance

    CN119782275A