Incremental multi-mode expert large model architecture based on integrated model

Through the incremental multi-modal expert large model architecture and the network interactive AIAgent framework based on the integrated model, the problem of modal interaction processing of multi-modal large models in complex application scenarios is solved, and the unified modal representation and user Customized content generation reduces computing resource requirements and improves the robustness and security of the model.

CN118607665APending Publication Date: 2024-09-06NINGBO INST OF INFORMATION TECH APPL CHINESE ACAD OF SCI +1
View PDF 0 Cites 5 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

It is difficult for existing large multi-modal models to directly handle the interactions between different modalities and cannot meet the needs of complex application scenarios. The huge parameter scale leads to high demand for computing resources, making it difficult to implement incremental training to adapt to rapidly updated multi-modal data.

Method used

Design an incremental multi-modal expert large model architecture based on the integrated model. Combined with the network interactive AIAgent framework, the modal data is classified and unified vectorized through the decision-making large model, and algorithms such as ViT and DiT are used to realize the modality. The representation is unified, and feature extraction and matching are performed through technologies such as QFormer and dVAE, supporting multi-task processing and transfer learning.

Benefits of technology

It achieves joint understanding and reasoning among various modalities in complex application scenarios, improves the robustness and generalization ability of the model, reduces computing resource requirements, supports user-customized content generation, and improves the processing of multi-modal data. Comprehension and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607665A
    Figure CN118607665A
Patent Text Reader

Abstract

The invention discloses an incremental multi-modal expert large model architecture based on an integrated model, the large model architecture generates a large model based on multi-field multi-modal customized content, and the large model architecture has the characteristics of good stability and high accuracy while flexibly expanding modals. The model framework is combined with a mesh interaction AIAgent framework, decision classification of input modals is carried out through a decision big model, technologies such as DiT, ViT and YOLOS are integrated, and vectorization unification, modal matching and target detection of different modal tasks are achieved. Through adaptation of different scenes in different fields of education, smart cities, material design and the like, user customized content in a specific scene is generated, and a universal multi-modal large model key technology in all fields is broken through; and through the adaptation of a localized computing power platform, the safety of the multi-modal large model is improved, and meanwhile, the development of the localized computing power platform is promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of large language model technology, AI Agent technology, multimodal technology, and computer vision technology, and in particular to an incremental multimodal expert large model architecture based on an integrated model. Background Art

[0002] The multimodal big model aims to simulate the human ability to understand and generate information across perceptions, and to achieve more comprehensive and in-depth cognitive intelligence by integrating multiple data modalities such as text, images, audio, and video. In recent years, the research results of the multimodal big model have not only attracted widespread attention in academia, but also spawned a series of groundbreaking application products and services in the industry.

[0003] With the rapid development of advanced technologies such as artificial intelligence, big data, cloud computing, and deep learning, especially in the fields of natural language processing and computer vision, large language models developed based on the Transformer architecture have been widely used in various tasks and achieved remarkable results. However, most of these models are optimized for a single modality and it is difficult to directly handle the interaction between different modalities. Single-modality models can no longer meet the needs of complex application scenarios, such as smart home scenarios, smart city scenarios, medical and health scenarios, etc. Many practical applications require joint understanding and reasoning of data from multiple modalities, and require models that can comprehensively process and analyze information from different modalities. In order to achieve the task of joint understanding and reasoning between modalities in complex application scenarios, and have strong scenario versatility, it is necessary to design a multi-expert large model architecture that can map different modal information into a shared semantic space and then form an integrated model and application.

[0004] Multimodal feature extraction and fusion can combine the characteristics of different modal data, reveal the internal connection of different modal data, capture the potential meaning of data more comprehensively, understand and interpret input information from multiple perspectives, enhance the model's ability to understand complex problems and prediction accuracy, reduce misjudgment caused by the loss of single-modal information, and improve the robustness of the model. Unified multimodal representation helps the model better capture and utilize the internal connections and laws between modalities, improve the performance of the model on multimodal tasks, and enhance the model's generalization ability for never-seen modal combinations. Future artificial intelligence is expected to have more comprehensive understanding and expression capabilities, including simulating the multisensory synergy in human perception and cognition, and the unification of multimodal representation is one of the key foundations to achieve this goal. With the development of Internet and Internet of Things technologies, the generation speed and accumulation of multimodal data are growing exponentially and are continuously and rapidly updated. For large pre-trained models, it is neither realistic nor economical to process all historical data for training at one time. Modern multimodal large models such as CLIP, VLM, M6, etc. have billions or even tens of billions of parameters, which require huge computing resources. Incremental training allows the model to gradually learn and adapt as it continuously acquires new data. This can avoid the need to reprocess the entire dataset for each training while maintaining model performance improvements, thereby effectively reducing hardware resource requirements and operating costs. Summary of the invention

[0005] The present invention constructs an incremental expert large model architecture based on an integrated model to form a large model for customized content generation based on multi-domain and multi-modality, which has the characteristics of good stability and high accuracy while flexible modal expansion. Combined with the mesh interactive AIAgent framework, through the adaptation of completely different scenarios in different fields, user customized content in specific scenarios is generated, breaking through the key technology of multi-modal large models that are universal in all fields; through the adaptation of the domestic computing power platform, the security of the multi-modal large model is improved, and the development of the domestic computing power platform is promoted at the same time.

[0006] The technical solution adopted by the present invention to solve the above technical problems is: an incremental multimodal expert large model architecture based on an integrated model, comprising the following steps:

[0007] ① First, train and fine-tune a decision-making model (1). This decision-making model serves as the brain of the entire expert model architecture. It is responsible for classifying the input modal data and making decisions to determine the flow of the classified modal data. The decision-making model performs modal classification on the tasks input by the user (5), and divides the input modal data into single-modal tasks and multi-modal tasks. Multi-modal tasks are further divided into general domain modalities, cross-domain modalities, and scene-specific modalities. These modalities include text modalities, voice modalities, image modalities, etc., while single modality is any of the above modalities. Different modal data correspond to different generation strategies and modal processing technologies;

[0008] ② Among them, the text modal data is directly unified and vectorized through the original large model technology (6), and the non-text modalities show diverse characteristics due to different acquisition methods and fields. Therefore, the present invention subdivides the non-text modalities into general field modalities, scene-specific field modalities, and cross-field modalities. The general field modalities can be directly unified and vectorized through ViT (Vision Transformer) (2) or DiT (Diffusion Transformer) (3) technology (6). Scene-specific field modalities such as the modalities of multiple specific scenes such as the marking recognition scene, urban governance scene, alloy material structure design scene, etc. need to migrate the ViT (2) and DiT (3) algorithms to form an extensible MXT cluster for modal unified vectorization (6). Similarly, the cross-field modalities also migrate the ViT and DiT algorithms to form an extensible CViT (CrossVision Transformer) and CDiT (Cross Diffusion Transformer) clusters for this type of scene to achieve modal unified vectorization;

[0009] ③ The decision-making model cannot realize the multi-modal division in ① and ② by relying on its own capabilities. Therefore, the present invention combines the mesh interactive AIAgent framework (4) to expand the multi-modal scenario by plugging in the knowledge base, using the knowledge graph, carrying out the prompt word project, building the thinking chain template and calling the professional tool set, so that the decision-making model can realize the multi-modal division in ① and ②.

[0010] ④ After completing the modal classification steps in ① and ②, convert different modal data such as text modality and image modality into a unified token vector according to the classified modality, and use the token vector as the intermediate modality to unify the representation of data of different modalities. For example, based on ViT, use adversarial training, domain-specific fine-tuning, or use unsupervised or semi-supervised learning to adapt to data from new fields to adjust its feature extraction capabilities in order to better understand image features from different fields and expand it into a multi-domain cross-visual modality Transformer (CViT for short). Use the variant ViT model as the image feature extractor, and then use the intermediate converter QFormer (7) as a bridge to map the compressed features of the two-dimensional image to the one-dimensional token vector to achieve the unified representation of the token vector and the image data. Subsequently, the obtained token vector is concatenated with the token vector directly tokenized by the text to achieve modal matching and unified representation to improve the accuracy of input into the large language model, or directly use the token vector to achieve target detection using YOLOS (8) target detection technology;

[0011] ⑤ When the output is mainly in the form of images, the present invention refers to the DiT structure, and the image data is vectorized and compressed by the dVAE (Discrete Variational Autoencoder) encoder to achieve unified token vectorization. If the user's input has text modality, the text tokenized vector and the image tokenized vector encoded by the dVAE encoder are spliced ​​with ViT to achieve modality matching and representation unification. Then, Gaussian noise is introduced into the unified vector, and the modal features are introduced into the corresponding modal implicit space feature samples through DiT Transformer Blocks to improve the generalization of the entire model. Subsequently, the samples in the modal implicit space feature are remapped back to the image through the dVAE decoder cluster. This method is based on the diffusion process in the diffusion model, in which the diffusion process and its inverse process are defined as Markov chains.

[0012]

[0013] ⑥After completing steps ④ and ⑤, the model combines AiAgent to perform modal matching scoring constraints on the outputs of ④ and ⑤ to generate results (5) and find the customized content that best matches the target modality;

[0014] Compared with the prior art, the present invention has the following beneficial effects:

[0015] 1) The present invention solves the problem of intent recognition based on end-to-end learning and multi-task processing of large models. The end-to-end learning method enables the model to learn the representation between multimodal data and the mapping between tasks directly from the original multimodal data without the need for manual feature extraction, thereby improving the model's adaptability and generalization performance. By pre-training on large-scale multimodal data, the model can learn the internal structure and mapping information of multimodal data, so as to better understand the meaning of multimodal data and significantly improve the performance of intent recognition. Through transfer learning and fine-tuning, the model can adjust parameters on small-scale data, reducing the training cost when data is scarce. Using multi-task learning, the model can simultaneously process tasks in multiple related scenarios, such as smart home, smart city, medical health and other scenarios;

[0016] 2) In the mesh interactive AIAgent between the multimodal large model and the user, the present invention supports AIAgent-assisted modal classification of multimodal data, assists manual modal matching scoring to find the customized content that best matches the target modality, and sets the constraints of the framework model so that the multi-domain multimodal technology and AIAgent technology complement each other to form positive feedback, thereby assisting the entire model framework to provide more personalized and accurate services and customized content generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is an architecture diagram of an incremental multi-modal expert large model architecture based on an integrated model of the present invention;

[0018] Figure Number:

[0019] Decision-making model 1. ViT (Vision Transformer) 2. DiT (Diffusion Transformer) 3. AiAgent framework 4. User input 5. Unified vectorization 6. Qformer multimodal matching technology 7. YOLOS target detection technology 8. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and beneficial technical effects of the present invention clearer, the technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the embodiments described in this specification are only for explaining the present invention, not for limiting the present invention, and the parameters, proportions, etc. of the embodiments can be selected according to local conditions without substantial impact on the results.

[0021] The present invention provides an incremental multimodal expert big model architecture based on an integrated model. By constructing an incremental expert big model architecture based on an integrated model, a customized content generation big model based on multi-domain multimodality is formed. The modal expansion is flexible while having the characteristics of good stability and high accuracy. Combined with the mesh interactive AIAgent framework, through the adaptation of completely different scenarios in different fields, user customized content in specific scenarios is generated, breaking through the key technology of multimodal big models that are universal in all fields; through the adaptation of domestic computing power platforms, the security of multimodal big models is improved, and the development of domestic computing power platforms is promoted. Using multimodal data from the fields of education, smart cities, and material design as the base data set, the image modal data, text, voice and other modal data are aligned using the unified technology of multimodal information representation. In the model training stage, incremental training technology is used based on the base model to create multimodal large models in various fields. In the development of AIAgent applications, multimodal AI agents are formed based on prompt word engineering, thinking chain technology, and tool set calling functions. They are applied to multiple fields, such as teaching assistance in the field of education to improve teaching quality and efficiency; material analysis in the field of material structure design to accelerate the discovery process of new materials; and intelligent urban governance decision-making in the field of urban governance to enhance urban governance capabilities and improve people's service experience.

[0022] The overall architecture of the present invention is shown in FIG. Figure 1 As shown, the specific steps include:

[0023] ① Collect and create data sets related to multimodal data decision classification for large model fine-tuning training. Use the data sets to train and fine-tune a large decision model. The large decision model, as the brain of the entire expert large model architecture, is responsible for classifying the input modal data and making decisions to determine the flow of classified modal data. The large decision model performs modal classification on the modal tasks input by the user, and divides the input modal data into single-modal tasks and multi-modal tasks. It also divides multi-modal tasks into general domain modalities, cross-domain modalities, and scene-specific modalities. These modalities include text modalities, voice modalities, image modalities, and other modalities, while single modality is any of the above modalities. Different modal data correspond to different generation strategies and modal processing technologies.

[0024] ② Among them, the text modal data is directly uniformly vectorized through the original large model technology for representation and unification. The non-text modalities show diverse characteristics due to different acquisition methods and fields. Therefore, the decision-making large model will subdivide the non-text modalities into general field modalities, scene-specific field modalities, and cross-field modalities. General field modalities can be uniformly vectorized directly through ViT or DiT technology. Scene-specific field modalities such as marking recognition scenarios, urban governance scenarios, alloy material structure design scenarios and other specific scenarios need to migrate ViT and DiT algorithms to form a scalable MXT cluster for modal uniform vectorization. Similarly, cross-domain modalities also migrate ViT and DiT algorithms to form a scalable CViT and CDiT cluster for such scenarios to achieve modal uniform vectorization.

[0025] ③ The decision-making big model cannot realize the multimodal division in ① and ② by relying on its own capabilities. Therefore, an incremental multimodal expert big model architecture based on an integrated model is combined with a mesh interactive AI Agent framework. By plugging in knowledge bases, using knowledge graphs, carrying out prompt word engineering, building thinking chain templates, and calling professional tool sets to expand multimodal scenarios, the decision-making big model can realize the multimodal division in ① and ②.

[0026] ④ After completing the modal classification steps in ① and ②, convert different modal data such as text modality and image modality into a unified token vector according to the classified modality, and use the token vector as the intermediate modality to unify the representation of data of different modalities. For example, based on ViT, use adversarial training, domain-specific fine-tuning, or use unsupervised or semi-supervised learning to adapt to data in new fields to adjust its feature extraction capabilities in order to better understand image features from different fields and expand it into a multi-domain cross-visual modality Transformer (CViT for short). Using the variant ViT model as the image feature extractor, and supplemented by QFormer as a bridge, the compressed features of the two-dimensional image are mapped to the one-dimensional token vector to achieve the unified representation of the token vector and the image data. Subsequently, the obtained token vector and the token vector directly tokenized by the text are spliced ​​to achieve modal matching and unified representation to improve the accuracy of input into the large language model, or the token vector is directly used to achieve target detection using YOLOS target detection technology.

[0027] ⑤ When the output is mainly in the form of images, this architecture refers to the DiT (Diffusion Transformer) structure, and the image data is vectorized and compressed with the dVAE encoder to achieve unified token vectorization. If the user's input has text modality, the text tokenized vector and the image tokenized vector encoded by the dVAE encoder are concatenated with ViT to achieve modality matching and representation unification. Then, Gaussian noise is introduced into the unified vector, and the modal features are introduced into the corresponding modal implicit space feature samples through DiT TransformerBlocks to improve the generalization of the entire model. Subsequently, the samples in the modal implicit space feature are remapped back to the image through the dVAE decoder cluster. This method is based on the diffusion process in the diffusion model, in which the diffusion process and its inverse process are defined as Markov chains.

[0028]

[0029] ⑥After completing steps ④ and ⑤, the model combines the results of AiAgent constraint generation and passes the outputs of ④ and ⑤ through the machine automatic scoring algorithm, and then manually performs modal matching scoring to find the customized content that best matches the target modality. If the generated sample matching result does not match the customized content that best matches the target modality, the output sample is re-entered into the decision-making model and steps ①②③④⑤ are repeated until the customized content that best matches the target modality is obtained.

Claims

1. An incremental multimodal expert large model architecture based on an integrated model, characterized in that: Including a decision-making big model; the decision-making big model serves as the brain of the entire expert big model architecture, responsible for classifying the input modal data and making decisions on the flow of classified modal data, combining with the AIAgent framework to perform modal classification on the tasks input by the user, dividing the input modal data into single-modal tasks and multi-modal tasks, and deciding whether to flow to the ViT (Vision Transformer) technology block or the DiT (Diffusion Transformer) technology block and combining with the original big model technology to directly unify vectorization.

2. The incremental multimodal expert large model architecture based on the integrated model according to claim 1 is characterized in that The user input modality tasks include general domain modalities, cross-domain modalities, and scene-specific modalities, and these modalities include text modalities, voice modalities, image modalities, and other modalities.

3. The incremental multimodal expert large model architecture based on an integrated model according to claim 1 is characterized in that The ViT (Vision Transformer) technology block is composed of a Vision Transformer block that can uniformly vectorize general domain modalities and an extensible CViT (Cross Vision Transformer) cluster obtained by transfer learning ViT that can uniformly vectorize modalities of multiple specific scenes. It uses adversarial training, domain-specific fine-tuning, or unsupervised or semi-supervised learning to adapt to data in new domains to adjust its feature extraction capabilities in order to better understand image features from different domains, and combines with the intermediate converter QFormer so that the compressed features of the two-dimensional image are mapped to a one-dimensional token vector to achieve the unified representation of the token vector and the image data.

4. The incremental multimodal expert large model architecture based on an integrated model according to claim 1 is characterized in that The DiT (Diffusion Transformer) technology block is composed of DiT Transformer Blocks that can uniformly vectorize general domain modalities and an extensible CDiT (Cross Diffusion Transformer) cluster obtained by transfer learning DiT that can uniformly vectorize modalities of multiple specific scenarios. The image data is vectorized and compressed using the dVAE (Discrete Variational Autoencoder) encoder to achieve unified token vectorization. If the user's input contains text modality, the text tokenized vector and the image tokenized vector encoded by the dVAE encoder are spliced ​​with ViT to achieve modality matching and representation unification.

5. The incremental multimodal expert large model architecture based on an integrated model according to claim 1 is characterized in that The AIAgent framework expands multimodal scenarios by plugging in knowledge bases, utilizing knowledge graphs, carrying out prompt word engineering, building thought chain templates, and calling professional tool sets. AiAgent will also combine the model to output modal matching scoring constraints to generate results and find customized content that best matches the target modality.

6. An incremental multimodal expert large model architecture based on an integrated model according to any one of claims 1 to 5, characterized in that The specific process steps are: Step 1: Collect and create data sets related to multimodal data decision classification for large model fine-tuning training. Train and fine-tune a large decision model through the data set. The large decision model, as the brain of the entire expert large model architecture, is responsible for classifying the input modal data and making decisions to determine the flow of the classified modal data. The large decision model performs modal classification on the modal tasks input by the user, and divides the input modal data into single-modal tasks and multi-modal tasks, and divides the multi-modal tasks into general domain modalities, cross-domain modalities, and scene-specific modalities. These modalities include text modalities, voice modalities, image modalities, etc., while single modality is any of the above modalities; different modal data correspond to different generation strategies and modal processing technologies; Step 2: Text modal data is directly vectorized and represented uniformly through the original big model technology. Non-text modalities present diverse characteristics due to different acquisition methods and fields. Therefore, the decision-making big model will subdivide non-text modalities into general field modalities, scene-specific field modalities, and cross-field modalities. General field modalities can be directly vectorized uniformly through ViT or DiT technology. Scene-specific field modalities such as marking recognition scenarios, urban governance scenarios, alloy material structure design scenarios and other specific scenarios need to migrate ViT and DiT algorithms to form an extensible MXT cluster for modal uniform vectorization. Similarly, cross-field modalities also migrate ViT and DiT algorithms to form an extensible CViT and CDiT cluster for modal uniform vectorization. Step 3: The decision-making big model cannot realize the multi-modal division in step 1 and step 2 by its own capabilities. Therefore, an incremental multi-modal expert big model architecture based on an integrated model is combined with a mesh interactive AI Agent framework. By plugging in knowledge bases, using knowledge graphs, carrying out prompt word engineering, building thinking chain templates, and calling professional tool sets to expand multi-modal scenarios, the decision-making big model can realize the multi-modal division in step 1 and step 2. Step 4: After completing the modality classification steps in steps 1 and 2, convert different modality data such as text modality and image modality into a unified token vector according to the classified modality, and use the token vector as the intermediate modality to unify the representation of data of different modalities; for example, based on ViT, use adversarial training, domain-specific fine-tuning, or use unsupervised or semi-supervised learning to adapt to data in new fields to adjust its feature extraction capabilities, so as to better understand image features from different fields, and expand it into a multi-domain cross-visual modality Transformer (CViT for short); The variant ViT model is used as the image feature extractor, and QFormer is used as a bridge to map the compressed features of the two-dimensional image to the one-dimensional token vector to achieve the unified representation of the token vector and the image data; subsequently, the obtained token vector is concatenated with the token vector of the text directly tokenized to achieve modal matching and unified representation to improve the accuracy of input into the large language model, or the token vector is directly used to achieve target detection using YOLOS target detection technology; Step 5. When the output is mainly in the form of images, this architecture refers to the DiT (Diffusion Transformer) structure, and uses the dVAE encoder to vectorize and compress the image data to achieve unified token vectorization. If the user's input has text modality, the text tokenized vector and the image tokenized vector encoded by the dVAE encoder are concatenated with ViT to achieve modality matching and representation unification. Then, Gaussian noise is introduced into the unified vector, and the modal features are introduced into the corresponding modal implicit space feature samples through DiT TransformerBlocks to improve the generalization of the entire model. Subsequently, the samples in the modal implicit space features are remapped back to the image through the dVAE decoder cluster. Step 6. After completing steps 4 and 5, the model combines the results of AiAgent constraint generation and passes the output of steps 4 and 5 through the machine automatic scoring algorithm. After manual modal matching scoring, the customized content that best matches the target modality is found; if the generated sample matching result does not match the customized content that best matches the target modality, the output sample is re-entered into the decision-making model and steps 1, 2, 3, 4, and 5 are repeated until the customized content that best matches the target modality is obtained.

Citation Information

Cited By

  • Large model design technology for operation control in complex environment

    CN119045338A

  • Method and system for extreme optimization of large model agent output unit

    CN119248280A

  • A method and system for extreme optimization of the output unit of a large model agent

    CN119248280B

  • Autonomous electromagnetic intelligent agent system based on programmable metasurface

    CN119514589A

  • Autonomous electromagnetic agent system based on programmable metasurfaces

    CN119514589B