Multi-scene adaptive intelligent model optimization and cross-platform deployment system and method
Through the multi-scenario adaptive intelligent model optimization and cross-platform deployment system, we combine scene information for data set construction and model development, and adopt lightweight, cross-frame conversion and compilation methods to solve the problem of intelligent model deployment and optimization on cloud and edge devices. , achieving efficient operation and rapid deployment of intelligent models on different devices.
Patent Information
- Application Number
- CN202410687909.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-27
AI Technical Summary
In complex application environments, how to effectively optimize and deploy intelligent algorithm models on various cloud and edge devices, especially when faced with diversified edge devices and computing power acceleration devices in different task scenarios, currently exist Technology is difficult to achieve rapid deployment and optimization of models.
A multi-scenario adaptive intelligent model optimization and cross-platform deployment system is proposed. Through the training data set subsystem, algorithm model development subsystem and model deployment subsystem, it combines scene information to perform data set construction, model development and model deployment. Using the model Lightweight, cross-frame conversion and model compilation methods generate task-specific intelligent models and provide unified management and scheduling through intelligent algorithm model libraries.
It realizes the rapid conversion and deployment of intelligent models on different computing devices and inference frameworks, ensures that the models run efficiently on various hardware, supports the synchronous training and deployment of multi-related models, and provides efficient and flexible intelligent algorithm solutions to achieve Rapid deployment and continuous evolution of smart services.
Smart Images

Figure CN118550550A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent algorithm training and application research, and in particular, relates to a multi-scenario adaptive intelligent model optimization and cross-platform deployment system and method. Background Art
[0002] With the development of intelligent technology, more and more tasks can be automatically processed by intelligent algorithm models. As the types of tasks, model algorithms, and devices that perform tasks become more and more diverse, a system that can automatically optimize intelligent models for task scenarios is needed to help people manage all intelligent models required for tasks, as well as the tuning and updating of these models.
[0003] In complex application environments, different edge devices have very different tasks, which usually involve a series of complex algorithm models, including but not limited to target detection, path planning, autonomous decision-making, etc. On the other hand, there are many types of edge equipment, and these edge devices can usually freely combine various computing acceleration devices when facing different task scenarios. Therefore, for specific task scenarios, how to effectively optimize and deploy intelligent algorithm models on various devices on the cloud edge is an unresolved problem. Summary of the invention
[0004] The present invention proposes a multi-scenario adaptive intelligent model optimization and cross-platform deployment system and method, which realizes the training and deployment of intelligent algorithms through scenario traction.
[0005] The first aspect of the present invention discloses a multi-scenario adaptive intelligent model optimization and cross-platform deployment system, the system comprising:
[0006] The training data set subsystem is configured to obtain data set construction configuration information according to different application scenarios, and fuse and process multi-source heterogeneous data according to the data set construction configuration information to provide a scenario-specific data set;
[0007] The algorithm model development subsystem is configured to construct a development workflow of the relevant algorithm model in combination with the scenario information, ensure that the configuration of all relevant models can respond to changes in the scenario environment, and develop and optimize the algorithm model according to the scenario requirements based on the data provided by the training data set subsystem;
[0008] The model deployment subsystem is configured to generate task-specific intelligent models by using model lightweighting, cross-framework conversion, and model compilation methods, so that the task-specific intelligent models can be quickly converted, deployed, and perform optimally on different computing devices and reasoning frameworks;
[0009] The intelligent algorithm model library is configured to integrate the initialization models and task-specific intelligent models produced by each subsystem to provide unified management and scheduling.
[0010] Furthermore, the training data set subsystem includes a data set construction management module, a data connection module, a data annotation module, a data set splitting module and a data set warehouse;
[0011] The data set construction management module obtains data set construction configuration information, and decomposes the data set construction configuration information to form data channel configuration information, data annotation specifications and data set division principles;
[0012] The data connection module obtains the original business data according to the data channel configuration information, generates a business data set and sends it to the data annotation module;
[0013] The data annotation module annotates the data in the business data set according to the data annotation specification;
[0014] The data set splitting module splits the labeled data according to the data set division principle, and the final data set constructed for the task-specific intelligent model is stored in the data set warehouse.
[0015] Furthermore, the algorithm model development subsystem includes a basic algorithm model library, a model development module, a training job management module, and a cluster computing power management module;
[0016] The basic algorithm model library provides a basic algorithm architecture according to the requirements of intelligent model development;
[0017] The model development module generates an initialization model through low-threshold modeling according to the basic algorithm architecture, and submits it to the training job management module;
[0018] The training job management module submits the intelligent computing power demand to the cluster computing power management module, receives the intelligent computing power allocation plan fed back by the cluster computing power management module, generates an optimized initialization training plan, and calls the training set and verification set constructed in the data set warehouse to carry out model initialization training.
[0019] Furthermore, the model development module supports a variety of online integrated development environments based on browser modeling, interactive data research modeling and visual modeling.
[0020] Furthermore, the cluster computing power management module collects training tasks and computing power cluster status information from the training job management module, tracks the entire training process, and promptly captures various abnormal alarm events, thereby optimizing the intelligent computing power allocation plan.
[0021] Furthermore, the algorithm model development subsystem also includes a model evaluation module;
[0022] The model evaluation module selects appropriate evaluation indicators according to the characteristics of the task, uses the test data set to calculate the performance of the model on each evaluation indicator, and analyzes and visualizes the model evaluation results.
[0023] Furthermore, the model deployment subsystem first optimizes the initialized intelligent model that has met the training standards according to the application scenario, and then combines the hardware specifications and inference framework of the end-side device, and uses the cloud-edge deployment tool to lightweight and convert the model to generate a task-specific intelligent model, thereby achieving rapid conversion and deployment on different computing power devices and inference frameworks.
[0024] The second aspect of the present invention discloses a multi-scenario adaptive intelligent model optimization and cross-platform deployment method, characterized in that the method is implemented by using the multi-scenario adaptive intelligent model optimization and cross-platform deployment system described in any one of the above embodiments, and the method includes:
[0025] According to different application scenarios, obtain the data set construction configuration information, and fuse and process multi-source heterogeneous data based on the data set construction configuration information to provide scenario-specific data sets;
[0026] Combine scenario information to build relevant algorithm model development workflows, ensure that the configuration of all relevant models can respond to changes in the scenario environment, and develop and optimize algorithm models based on the data provided by the dataset and scenario requirements;
[0027] Use model lightweighting, cross-framework conversion, and model compilation methods to generate task-specific intelligent models, so that task-specific intelligent models can be quickly converted, deployed, and perform at their best on different computing devices and reasoning frameworks;
[0028] The intelligent algorithm model library integrates the initialization models and task-specific intelligent models produced by each subsystem to provide unified management and scheduling.
[0029] Furthermore, the steps of obtaining data set construction configuration information according to different application scenarios, and fusing and processing multi-source heterogeneous data according to the data set construction configuration information to provide a scenario-specific data set include:
[0030] The data set construction management module obtains the data set construction configuration information and decomposes the data set construction configuration information to form data channel configuration information, data annotation specifications and data set division principles;
[0031] The data connection module obtains the original business data according to the data channel configuration information, generates a business data set and sends it to the data annotation module;
[0032] The data annotation module annotates the data in the business data set according to the data annotation specification;
[0033] The data set splitting module splits the labeled data according to the data set partitioning principle, and the final data set constructed for the task-specific intelligent model is stored in the data set warehouse.
[0034] Furthermore, the development workflow of the relevant algorithm model is constructed in combination with the scene information to ensure that the configuration of all relevant models can respond to changes in the scene environment, and based on the data provided by the data set and according to the scene requirements, the steps of developing and optimizing the algorithm model include:
[0035] The basic algorithm model library provides the basic algorithm architecture according to the development requirements of intelligent models;
[0036] The model development module generates an initialization model through low-threshold modeling based on the basic algorithm architecture and submits it to the training job management module;
[0037] The training job management module submits the intelligent computing power demand to the cluster computing power management module, receives the intelligent computing power allocation plan fed back by the cluster computing power management module, generates an optimized initialization training plan, and calls the training set and verification set constructed in the data set warehouse to carry out model initialization training.
[0038] In summary, the solution proposed in the present invention has the following technical effects: the system of the present invention organizes the workflows in all modules according to the model relationships in the scene, supports the synchronous training and deployment of multiple related models, so as to adapt to the task requirements and characteristics. Specifically, in this system, the generation of training data sets, the development of algorithm models, the construction of task-specific intelligent models, the management of training resources, and the deployment of models are all organized around the scene. The training data set subsystem adjusts the data collection and processing strategies according to the scene, the algorithm model development subsystem develops and optimizes according to the scene requirements, and optimizes resource allocation to adapt to the scene requirements, while the model deployment subsystem ensures that the model can run efficiently on various hardware. With the intelligent algorithm model library as a support, appropriate algorithms and agents are deployed according to the scene requirements. This full-chain optimization from training to deployment, from data processing to resource management, ensures that the system can provide efficient and flexible intelligent algorithm solutions for specific scenarios, and realize the rapid deployment and continuous evolution of intelligent services. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 It is a structural diagram and flow chart of a multi-scenario adaptive intelligent model optimization and cross-platform deployment system according to an embodiment of the present invention;
[0041] Figure 2 The present invention is a flowchart of a multi-scenario adaptive intelligent model optimization and cross-platform deployment method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0043] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first image may be referred to as a second image, and similarly, a second image may be referred to as a first image without departing from the scope of this application. Both the first image and the second image are images, but they are not the same image.
[0044] The existing technical solutions are mainly based on building a closed-loop learning process. This process will return the business flow data of the system where the model is located to the model training system, that is, data reflow. The model training system uses this reflow data to automatically optimize the model training to improve performance. The existing technology has made great progress in the automatic optimization process, but these advances are mainly for processing structured data. There are still many problems in the processing of visual and decision-making task models, as follows:
[0045] Tuning of diverse tasks and algorithm models: When the types of tasks are diverse, each task may require a unique algorithm model. Existing technologies support optimization for a single algorithm model, but they are difficult to manage and optimize multiple different models at the same time when facing multiple tasks.
[0046] Highly free combination of computing power and model deployment: In the edge environment, there are many types of edge devices equipped with different computing power acceleration devices. Existing solutions cannot effectively solve the problem of rapid model deployment and optimization in such a diverse hardware environment, especially the cross-device model universality and performance tuning.
[0047] In view of the above technical problems, the first aspect of the present invention discloses a multi-scenario adaptive intelligent model optimization and cross-platform deployment system, see Figure 1 , the system comprising:
[0048] The training data set subsystem is configured to obtain data set construction configuration information according to different application scenarios, and fuse and process multi-source heterogeneous data according to the data set construction configuration information to provide a scenario-specific data set;
[0049] The algorithm model development subsystem is configured to construct a development workflow for related algorithm models in combination with scenario information, ensure that the configurations of all related models can respond to changes in the scenario environment, and develop and optimize the algorithm model according to scenario requirements based on the data provided by the training data set subsystem; the algorithm model development subsystem can construct a development workflow for related algorithm models in combination with scenario information, ensure that the configurations of all related models can respond to changes in the scenario environment.
[0050] The model deployment subsystem is configured to generate task-specific intelligent models using methods such as model lightweighting, cross-framework conversion, and model compilation, so that task-specific intelligent models can be quickly converted, deployed, and perform at their best on different computing devices and reasoning frameworks; the model deployment subsystem directly responds to scene changes and adjusts data collection and processing strategies to adapt to scene-driven training needs. The subsystem takes the relevant hardware environment in the scene as a key factor to ensure the effectiveness and flexibility of model deployment.
[0051] The intelligent algorithm model library is configured to integrate the initialization models and task-specific intelligent models produced by each subsystem to provide unified management and scheduling. It can organize and deploy suitable algorithm models and intelligent agents (task-specific intelligent models) according to the scenario requirements of different battlefield environments to support scenario-specific intelligent applications.
[0052] Through the organic connection and coordinated operation between the above modules, the core of the present invention lies in its scene-driven intelligent service chain. Each subsystem does not work in isolation, but forms a closely connected whole that can quickly adapt and evolve to respond to real-time changes and complex needs of the scene, thereby providing a comprehensive and complete intelligent algorithm training and application solution.
[0053] Furthermore, the training data set subsystem is data-driven and focuses on multi-source heterogeneous data fusion and processing to provide high-quality training data sets for other subsystems of the intelligent cultivation system. The deep learning model is used to pre-label the screened data, and the data review of human-computer collaboration is combined to ensure the accuracy of the training data set. The training data set subsystem includes a data set construction management module, a data connection module, a data labeling module, a data set splitting module, and a data set warehouse;
[0054] The data set construction management module obtains data set construction configuration information, and decomposes the data set construction configuration information to form data channel configuration information, data annotation specifications and data set division principles;
[0055] The data connection module obtains the original business data according to the data channel configuration information, generates a business data set and sends it to the data annotation module;
[0056] The data annotation module annotates the data in the business data set according to the data annotation specification;
[0057] The data set splitting module splits the labeled data according to the data set division principle, and the final data set constructed for the task-specific intelligent model is stored in the data set warehouse.
[0058] In this step, the data access service supports multiple access modes for intelligent warfare related sample data, and is also the unified entry for data raw materials generated by subsequent algorithm model training. It can provide access extraction of multiple types (structured, unstructured, semi-structured) and multi-modal data (such as text, pictures), and supports multiple access methods such as files, databases, and services. The data access module supports file access, database access, service access, and other functions.
[0059] The data annotation module provides automatic annotation functions, supports automatic annotation of image and text data sets, and uniformly manages all unstructured data to be annotated, data in annotation, and result data exported after annotation on the training data set subsystem, ensuring data security, permission isolation, and flexible operation and use of data sets. Image and text data sets can be automatically annotated online, and new data sets with structured data can be generated to improve annotation efficiency. The template tool of the annotation platform supports reading structured data after automatic annotation, and returns the structured data recognized by the machine to the annotation template tool for the annotation personnel to adjust and modify. It supports common image detection tasks such as human key point inspection, face target box, human target box, and vehicle target box; supports interactive pre-recognition of semantic segmentation, and the annotator can realize the point selection operation of foreground and background by using the left and right mouse buttons; supports OCR interactive pre-recognition: the annotator selects the text in the image by dragging the box, and submits it to the model to automatically annotate the text in the box, and supports recognition of Chinese printed text. It also provides configurable generation services for annotation tools for image and text data, supports functions such as custom configuration of labels and attributes, and can generate annotation tools according to tasks based on annotation requirements.
[0060] The dataset management service includes functions such as dataset classification and dataset version management. It provides a unified metadata description format, and provides metadata add, delete, modify, and query functions, making data governance efficient and convenient. It also provides functions such as data cleaning and data splitting. Dataset version management can help technical support personnel compare data modification content, merge data, cancel, modify, and trace data information, etc., to provide high-quality training datasets for subsequent knowledge learning and intelligent model development. The dataset management service module (implemented by the dataset construction management module, the dataset splitting module, and the dataset warehouse, and the dataset warehouse includes version management) supports dataset classification management, dataset construction management, dataset version management and other functions.
[0061] Furthermore, the algorithm model development subsystem focuses on developing combat-specific deep learning algorithm models, supports multiple programming languages and deep learning frameworks, and supports the development and optimization of various machine learning and deep learning algorithm models. The subsystem also has functions such as online debugging, performance evaluation, and model optimization, providing convenient support for the iterative update of algorithm models. The algorithm model development subsystem consists of three services: model development, model evaluation, and training operation monitoring. The algorithm model development subsystem includes a basic algorithm model library, a model development module, a training job management module, and a cluster computing power management module;
[0062] The basic algorithm model library provides a basic algorithm architecture according to the requirements of intelligent model development;
[0063] The model development module generates an initialization model through low-threshold modeling according to the basic algorithm architecture, and submits it to the training job management module;
[0064] The training job management module submits the intelligent computing power demand to the cluster computing power management module, receives the intelligent computing power allocation plan fed back by the cluster computing power management module, generates an optimized initialization training plan, and calls the training set and verification set constructed in the data set warehouse to carry out model initialization training.
[0065] Furthermore, the training job management module focuses on optimizing distributed training, and provides high-performance distributed computing technology for the training needs of knowledge learning, deep learning algorithms, and reinforcement learning algorithm models in intelligent cultivation systems, so as to achieve efficient execution of large-scale training tasks and optimized resource allocation. It supports multiple training styles such as single-machine multi-card and multi-machine multi-card to meet the needs of training tasks of different scales and types. The multi-machine multi-card training service supports existing mainstream deep learning frameworks and can maximize the reuse of existing algorithm model resources. By using functional modules such as training logic automation parallelism and distributed execution plan compiler, the training plan for the initial intelligent model is automatically generated to accelerate algorithm model development and training. The multi-machine multi-card training service supports functions such as distributed execution plan compiler and training logic automation distributed components.
[0066] The training job management service optimizes resource allocation in the initialization phase of model training through the job resource allocation mechanism, effectively reducing the waste of computing resources. The job resource scheduling mechanism is designed to coordinate the resource scheduling of jobs in multiple namespaces to ensure balanced resource scheduling of jobs. The training job management service supports functions such as training scheduling framework, job resource allocation, and job resource scheduling.
[0067] Furthermore, the model development module supports a variety of online integrated development environments based on browser modeling, interactive data research modeling and visual modeling. Specifically, the model development module provides end-to-end machine learning capabilities, supports a variety of mainstream visual modeling tools and frameworks, including a variety of online integrated development environments based on browsers, interactive data research and visual modeling, quickly build models and quickly deploy and publish results; provide continuous, end-to-end model monitoring, support model performance evaluation; support automatic and manual model building, can automatically prepare training data, and select algorithms and technologies based on data characteristics, providing complete, reliable and highly flexible intelligent model development capabilities. Based on the loosely coupled containerized architecture design of the platform, the Studio modeling IDE can easily complete the creation of intelligent models by establishing a standardized development process, creating projects, adding one or more model components, editing model configurations, etc. It has high availability and high throughput concurrent performance, supports multi-workflow parallel execution and distributed computing, supports resource configuration for modeling workflows, supports starting and stopping modeling workflows at any point, supports canvas history and version management, etc., and helps technical support personnel complete the submission of distributed training tasks and deployment of online services in the IDE after the model development is completed. It supports model development modes such as importing offline scripts, interactive online development, visual modeling and mining, and online WebIDE compilation.
[0068] Furthermore, the cluster computing power management module collects training tasks and computing power cluster status information from the training job management module, tracks the entire training process, and promptly captures various abnormal alarm events, thereby optimizing the intelligent computing power allocation plan. The cluster computing power management module supports functions such as real-time training monitoring, training log recording, and training performance analysis.
[0069] Computing resource management service refers to the effective management and scheduling of computing resources for distributed computing application scenarios through the collaborative work of multiple components such as cluster topology perception, computing resource perception and computing resource management to improve computing efficiency and performance. The computing resource management service supports modules such as cluster topology perception, computing resource perception and computing resource management.
[0070] Furthermore, the algorithm model development subsystem also includes a model evaluation module;
[0071] The model evaluation module selects appropriate evaluation indicators according to the characteristics of the task, uses the test data set to calculate the performance of the model on each evaluation indicator, and analyzes and visualizes the model evaluation results. The model evaluation service can select appropriate evaluation indicators according to the characteristics of the task, such as accuracy, precision, recall rate, F1 score, etc., and use the test data set to calculate the performance of the model on each indicator. At the same time, the model evaluation results can be analyzed and visualized, for example, using ROC curves, confusion matrices, etc. to evaluate the classification effect of the model and generate an evaluation report. The model evaluation service module supports functions such as operator verification, performance analysis, and test visualization. If the evaluation effect is insufficient, continue training until the evaluation requirements are met or training is abandoned.
[0072] Furthermore, the model deployment subsystem takes flexible and efficient model application as the core, provides fast and stable deployment tools for knowledge, deep learning models and reinforcement learning agents in the intelligent cultivation system, and is mainly responsible for connecting to external systems. The model deployment subsystem first optimizes the initialized intelligent model that has been trained to meet the standards according to the application scenario, and then combines the hardware specifications and reasoning framework of the end-side device to use the cloud-edge-end deployment tool to lightweight and convert the model to generate a task-specific intelligent model, thereby achieving rapid conversion and deployment on different computing power devices and reasoning frameworks.
[0073] The model deployment subsystem consists of three services: deployment management, cloud-edge deployment, and model compilation.
[0074] (1) Deployment Management
[0075] The deployment management service first generates a deployment plan by matching the intelligent model with the model inference environment, and provides functions such as external call interface service, algorithm model service directory and algorithm model service deployment.
[0076] (2) Cloud-edge deployment
[0077] The cloud-edge deployment service includes functions such as model conversion, evaluation, and edge deployment. In order to effectively deploy the trained model on the edge, the model needs to be converted into a compressed, cropped, and optimized version under a specific framework according to the software and hardware environment of the edge. The model evaluation test module evaluates the model performance and visualizes it, which helps to find the optimal model under a specific software and hardware environment. At the same time, based on the two frameworks of cloud service tools and lightweight reasoning, it meets the operation guarantee of intelligent combat-specific models in different software and hardware scenarios. Expand the deployment tool chain adapted to cloud, edge devices, and terminal devices. The trained model can be easily deployed to the cloud, edge, and terminal through the integrated training and reasoning tool stack of this development framework. The cloud-edge deployment service supports functions such as cloud reasoning and lightweight reasoning on the edge.
[0078] (3) Model compilation
[0079] The model compilation service includes common functions such as framework intermediate representation and deep learning compilation. The framework intermediate representation is to cope with the complexity of adapting to different hardware. According to the dependency inversion principle, a framework abstraction layer is introduced in the training framework. It consists of a series of interfaces. These interfaces are abstracted from the capabilities provided by the hardware devices required during the framework operation. Deep learning compilation determines the most suitable model specifications based on the characteristics of the target hardware, and completes the compilation optimization after combining the characteristics of the target hardware and the training framework. The model compilation service supports functions such as framework intermediate representation and deep learning compilation.
[0080] The second aspect of the present invention discloses a multi-scenario adaptive intelligent model optimization and cross-platform deployment method, characterized in that the method is implemented by using the multi-scenario adaptive intelligent model optimization and cross-platform deployment system described in any one of the above embodiments, and the method includes:
[0081] According to different application scenarios, obtain the data set construction configuration information, and fuse and process multi-source heterogeneous data based on the data set construction configuration information to provide scenario-specific data sets;
[0082] Combine scenario information to build relevant algorithm model development workflows, ensure that the configuration of all relevant models can respond to changes in the scenario environment, and develop and optimize algorithm models based on the data provided by the dataset and scenario requirements;
[0083] Use model lightweighting, cross-framework conversion, and model compilation methods to generate task-specific intelligent models, so that task-specific intelligent models can be quickly converted, deployed, and perform at their best on different computing devices and reasoning frameworks;
[0084] The intelligent algorithm model library integrates the initialization models and task-specific intelligent models produced by each subsystem to provide unified management and scheduling.
[0085] Furthermore, the steps of obtaining data set construction configuration information according to different application scenarios, and fusing and processing multi-source heterogeneous data according to the data set construction configuration information to provide a scenario-specific data set include:
[0086] The data set construction management module obtains the data set construction configuration information and decomposes the data set construction configuration information to form data channel configuration information, data annotation specifications and data set division principles;
[0087] The data connection module obtains the original business data according to the data channel configuration information, generates a business data set and sends it to the data annotation module;
[0088] The data annotation module annotates the data in the business data set according to the data annotation specification;
[0089] The data set splitting module splits the labeled data according to the data set partitioning principle, and the final data set constructed for the task-specific intelligent model is stored in the data set warehouse.
[0090] Furthermore, the development workflow of the relevant algorithm model is constructed in combination with the scene information to ensure that the configuration of all relevant models can respond to changes in the scene environment, and based on the data provided by the data set and according to the scene requirements, the steps of developing and optimizing the algorithm model include:
[0091] The basic algorithm model library provides the basic algorithm architecture according to the development requirements of intelligent models;
[0092] The model development module generates an initialization model through low-threshold modeling based on the basic algorithm architecture and submits it to the training job management module;
[0093] The training job management module submits the intelligent computing power demand to the cluster computing power management module, receives the intelligent computing power allocation plan fed back by the cluster computing power management module, generates an optimized initialization training plan, and calls the training set and verification set constructed in the data set warehouse to carry out model initialization training.
[0094] In summary, the solution proposed in the present invention has the following technical effects: the system of the present invention organizes the workflows in all modules according to the model relationships in the scene, supports the synchronous training and deployment of multiple related models, so as to adapt to the task requirements and characteristics. Specifically, in this system, the generation of training data sets, the development of algorithm models, the construction of task-specific intelligent models, the management of training resources, and the deployment of models are all organized around the scene. The training data set subsystem adjusts the data collection and processing strategies according to the scene, the algorithm model development subsystem develops and optimizes according to the scene requirements, and optimizes resource allocation to adapt to the scene requirements, while the model deployment subsystem ensures that the model can run efficiently on various hardware. With the intelligent algorithm model library as a support, appropriate algorithms and agents are deployed according to the scene requirements. This full-chain optimization from training to deployment, from data processing to resource management, ensures that the system can provide efficient and flexible intelligent algorithm solutions for specific scenarios, and realize the rapid deployment and continuous evolution of intelligent services.
[0095] Please note that the technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the patent in this application shall be based on the attached claims.
Claims
1. A multi-scenario adaptive intelligent model optimization and cross-platform deployment system, It is characterized in that The system comprises: The training data set subsystem is configured to obtain data set construction configuration information according to different application scenarios, and fuse and process multi-source heterogeneous data according to the data set construction configuration information to provide a scenario-specific data set; The algorithm model development subsystem is configured to build a development workflow of related algorithm models in combination with scenario information, ensure that the configuration of all related models can respond to changes in the scenario environment, and develop and optimize the algorithm model based on the data provided by the training data set subsystem and according to the scenario requirements; wherein, The algorithm model development subsystem includes a basic algorithm model library, a model development module, a training job management module, and a cluster computing power management module; The basic algorithm model library provides a basic algorithm architecture according to the requirements of intelligent model development; The model development module generates an initialization model through low-threshold modeling according to the basic algorithm architecture, and submits it to the training job management module; The training job management module submits the intelligent computing power demand to the cluster computing power management module, receives the intelligent computing power allocation plan fed back by the cluster computing power management module, generates an optimized initialization training plan, and calls the training set and verification set constructed in the training data set subsystem to carry out model initialization training; The model deployment subsystem is configured to generate task-specific intelligent models by using model lightweighting, cross-framework conversion, and model compilation methods, so that the task-specific intelligent models can be quickly converted, deployed, and perform optimally on different computing devices and reasoning frameworks; The intelligent algorithm model library is configured to integrate the initialization models and task-specific intelligent models produced by each subsystem to provide unified management and scheduling.
2. The system according to claim 1, It is characterized in that The training data set subsystem includes a data set construction management module, a data connection module, a data annotation module, a data set splitting module and a data set warehouse; The data set construction management module obtains data set construction configuration information, and decomposes the data set construction configuration information to form data channel configuration information, data annotation specifications and data set division principles; The data connection module obtains the original business data according to the data channel configuration information, generates a business data set and sends it to the data annotation module; The data annotation module annotates the data in the business data set according to the data annotation specification; The data set splitting module splits the labeled data according to the data set division principle, and the final data set constructed for the task-specific intelligent model is stored in the data set warehouse.
3. The system according to claim 2, It is characterized in that The model development module supports a variety of online integrated development environments such as browser-based modeling, interactive data research modeling and visual modeling.
4. The system according to claim 1, It is characterized in that The cluster computing power management module collects training tasks and computing power cluster status information from the training job management module, tracks the entire training process, and promptly captures various abnormal alarm events, thereby optimizing the intelligent computing power allocation plan.
5. The system according to claim 1, It is characterized in that The algorithm model development subsystem also includes a model evaluation module; The model evaluation module selects evaluation indicators according to the characteristics of the task, uses the test data set to calculate the performance of the model on each evaluation indicator, and analyzes and visualizes the model evaluation results.
6. The system according to claim 5, It is characterized in that The model deployment subsystem first optimizes the initialized intelligent model that meets the training standards according to the application scenario, and then uses the cloud-edge deployment tool to lightweight and convert the model into a task-specific intelligent model based on the hardware specifications and inference framework of the terminal device, thereby achieving rapid conversion and deployment on different computing power devices and inference frameworks.
7. A multi-scenario adaptive intelligent model optimization and cross-platform deployment method, It is characterized in that The method is implemented by using the multi-scenario adaptive intelligent model optimization and cross-platform deployment system described in any one of claims 1 to 6, and the method comprises: According to different application scenarios, obtain the data set construction configuration information, and fuse and process multi-source heterogeneous data based on the data set construction configuration information to provide scenario-specific data sets; Combine the scenario information to build the development workflow of related algorithm models, ensure that the configuration of all related models can respond to changes in the scenario environment, and develop and optimize the algorithm models based on the data provided by the dataset and the scenario requirements; specifically include: The basic algorithm model library provides the basic algorithm architecture according to the development requirements of intelligent models; The model development module generates an initialization model through low-threshold modeling based on the basic algorithm architecture and submits it to the training job management module; The training job management module submits the intelligent computing power demand to the cluster computing power management module, receives the intelligent computing power allocation plan fed back by the cluster computing power management module, generates an optimized initialization training plan, and calls the training set and verification set constructed in the data set warehouse to carry out model initialization training; Use model lightweighting, cross-framework conversion, and model compilation methods to generate task-specific intelligent models, so that task-specific intelligent models can be quickly converted, deployed, and perform at their best on different computing devices and reasoning frameworks; The intelligent algorithm model library integrates the initialization models and task-specific intelligent models produced by each subsystem to provide unified management and scheduling.
8. The method according to claim 7, It is characterized in that The steps of obtaining data set construction configuration information according to different application scenarios, and fusing and processing multi-source heterogeneous data according to the data set construction configuration information to provide a scenario-specific data set include: The data set construction management module obtains the data set construction configuration information and decomposes the data set construction configuration information to form data channel configuration information, data annotation specifications and data set division principles; The data connection module obtains the original business data according to the data channel configuration information, generates a business data set and sends it to the data annotation module; The data annotation module annotates the data in the business data set according to the data annotation specification; The data set splitting module splits the labeled data according to the data set division principle, and the final data set constructed for the task-specific intelligent model is stored in the data set warehouse.
9. The method according to claim 7, It is characterized in that The cluster computing power management module collects training tasks and computing power cluster status information from the training job management module, tracks the entire training process, and promptly captures various abnormal alarm events, thereby optimizing the intelligent computing power allocation plan.
Citation Information
Cited By
Lightweight real-time data system
CN119151474A
Customizable AI agent management platform facing enterprise demands and management method thereof
CN120046871A
Multi-isolation channel parallel data transmission method based on data access service
CN120811741A
Public safety visual agent construction method and system based on multi-scene requirements
CN121277715A
Method and system for constructing public security visual intelligent agent based on multi-scene requirements
CN121277715B
