A framework system and method for AI productivity platform for traffic scenarios

Through the AI ​​productivity platform framework system for traffic scenarios, we open up the entire process of online AI operations, solve the data processing and model management problems of AI models in traffic scenarios, achieve efficient data integration and model optimization, and support heterogeneous computing equipment. , improves productivity and model adaptability, and empowers intelligent transportation.

CN118520978BActive Publication Date: 2024-10-18QINGDAO TURING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410992993.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-18
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Existing AI model full life cycle management technology has insufficient data processing capabilities, lack of model tuning and version management functions, and lack of support for heterogeneous computing devices, model deployment and updates when dealing with the AI ​​productivity platform framework system of traffic scenarios. Problems such as lack of automation limit its application in the transportation industry.

Method used

An AI productivity platform framework system for traffic scenarios is designed, including productivity platform, control gateway, data factory, model factory, perception service, computing engine, business platform and intelligent links. By opening up the entire online AI operation process, data can be realized Integrated management, model optimization training, and engine scenario tuning support continuous model optimization and automated deployment, adapting to heterogeneous computing devices.

Benefits of technology

It improves data processing efficiency, reduces manual processing risks, realizes systematic and online tuning, improves model performance and real-time performance, supports automatic deployment and update of models, adapts to complex traffic scenarios, and enhances model versatility. flexibility and portability, solving the deficiencies in existing technologies and empowering intelligent transportation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520978B_ABST
    Figure CN118520978B_ABST
Patent Text Reader

Abstract

The present invention discloses a traffic scene AI productivity platform framework system and method, which relates to the field of intelligent transportation technology, including: productivity platform, control gateway, data factory, model factory, perception service, computing engine, business platform, intelligent link; wherein, the productivity platform realizes data interaction with data factory, model factory, perception service, computing engine, and business platform through the control gateway; the data factory is used for data storage and backup; the model factory is used for model experiments and model management; the perception service is used to implement the test of the model or algorithm on a specific heterogeneous computing device; the computing engine is used to enable the trained model to be applied in actual scenarios; the business platform is used to receive the data reported by the computing engine and perform data aggregation and analysis. The advantages of the present invention are: by opening up the entire process of online AI operation, productivity is improved, intelligent transportation is enabled, and it has important practical significance and application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a traffic scenario-oriented AI productivity platform framework system and method. Background Art

[0002] AI models usually refer to machine learning models with ultra-large-scale parameters and complex computing structures, which can process massive amounts of data and complete various complex tasks.

[0003] The existing AI model lifecycle management technology has problems such as insufficient data processing capabilities, lack of model tuning and version management functions, lack of support for heterogeneous computing devices, and non-automatic model deployment and update when dealing with the AI ​​productivity platform framework system for traffic scenarios. These problems limit its application in the transportation industry. Therefore, it is of great practical significance and application value to develop an AI productivity platform framework system and method for traffic scenarios to solve the above problems, improve productivity, and enable intelligent transportation. Summary of the invention

[0004] In order to solve the above technical problems, a framework system and method of an AI productivity platform for traffic scenarios is provided. This technical solution focuses on the three major functions of data storage and annotation, algorithm training and optimization, and product tuning and release. It opens up the entire online AI operation process, improves model production efficiency, supports continuous model optimization, and solves the needs of unified and flexible use of various AI data, algorithm visualization optimization and evaluation, and online tuning of engine business. It forms an AI technology productivity empowerment platform with data integration management capabilities, model optimization training capabilities, and engine scenario tuning capabilities.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] An AI productivity platform framework system for traffic scenarios, including:

[0007] Productivity platform (AIOps), control gateway (AIG), data factory (AID), model factory (AIF), perception service (AIS), computing engine (AIC), business platform (AIB), intelligent link (AIL);

[0008] The productivity platform realizes data interaction with the data factory, model factory, perception service, computing engine and business platform through the control gateway;

[0009] The data factory is used for data storage and backup;

[0010] The model factory is electrically connected to the data factory, and the model factory is used for model experiments and model management;

[0011] The perception service is electrically connected to the model factory, and the perception service is used to implement the testing of the model or algorithm on a specific heterogeneous computing device;

[0012] The computing engine is electrically connected to the perception service, and the computing engine is used to enable the trained model to be applied in actual scenarios;

[0013] The business platform is electrically connected to the computing engine, and is used to receive data reported by the computing engine and perform data aggregation and analysis.

[0014] Preferably, the data factory includes at least two distributed database nodes;

[0015] The data factory divides and shards the data and evenly stores the data on multiple distributed database nodes;

[0016] The data factory sets data replication and redundant backup strategies in the distributed database, adopts master-slave replication or multi-master replication, and replicates data to multiple distributed database nodes;

[0017] The data factory uses distributed transaction processing technology to achieve data consistency and synchronization in a distributed database;

[0018] The data factory adopts a data sharding routing method to implement load balancing and performance optimization strategies in a distributed database;

[0019] The data factory sets up a disaster tolerance and fault recovery mechanism including fault detection and automatic switching in a distributed database.

[0020] Preferably, the model factory comprises:

[0021] A service discovery module, which is used to discover and register services in the system;

[0022] A resource management module, the resource management module is used to receive the output of the service discovery module and manage the hardware and software resources in the system;

[0023] A data preprocessing module, the data preprocessing module is used to receive the output of the resource management module and preprocess the data;

[0024] A model training module, the model training module is used to receive the output of the data preprocessing module and perform model training;

[0025] A model evaluation module, which is used to receive the output of the model training module and perform model evaluation;

[0026] A model deployment module, which is used to receive the output of the model evaluation module and perform model deployment;

[0027] The model maintenance module is used to receive the output of the model deployment module and perform model maintenance.

[0028] Preferably, the service discovery module includes:

[0029] A service discovery component, wherein the service discovery component is used to discover new services in the system;

[0030] A service registration component, the service registration component is used to register new services in the system with the productivity platform;

[0031] A health check component is used to perform cluster management, load balancing, and fault tolerance on registered services.

[0032] Preferably, the model training module includes:

[0033] A model design component, which is used to select an algorithm model to use and configure training parameters based on the algorithm model;

[0034] A model training component, wherein the model training component trains training parameters of the algorithm model based on the training data set;

[0035] A model tuning component is used to adjust a training data set or modify a training data set.

[0036] Preferably, the model evaluation module includes:

[0037] A model testing component, wherein the model testing component is used to test the tuned model and obtain test results;

[0038] A model evaluation component, wherein the model evaluation component is used to further evaluate the test results of the model;

[0039] A model comparison component is used to select an optimal model from multiple tuned models.

[0040] Preferably, the model deployment module includes:

[0041] A model publishing component, wherein the model publishing component is used to register the model to the model center;

[0042] A model deployment component, which is used to publish the model registered with the model center to the online service;

[0043] A model monitoring component is used to monitor the performance of the model of the online service.

[0044] Preferably, the model maintenance module includes:

[0045] A model update component, which is used to collect new data for annotation when the performance of the model of the online service deteriorates, and then retrain the model, republish the model after tuning, and update the model version;

[0046] A model backup component, wherein the model backup component is used to regularly back up the model;

[0047] The model retirement component is used to retire the model when the performance of the model of the online service drops to the retirement standard, and archive the retired model.

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

[0049] The present invention proposes an AI productivity platform framework for traffic scenarios. By opening up the entire process of online AI operations, data integration management capabilities are realized, data processing efficiency is improved, and the risk of manual processing is reduced. At the same time, the systematic and online tuning strategy and the necessary tuning process records enable the model to be optimized according to the actual application scenario, thereby improving the performance and effect of the model. In addition, the online tuning of the engine business can better adapt to complex traffic scenarios and improve the real-time and accuracy of the model. Effectively managing the update and retirement of the model is an important advantage for the transportation industry, which needs to update the model frequently. Supporting the operation of AI models on different heterogeneous computing devices, such as GPU, NPU, etc., improves the versatility and portability of the model. Finally, automated model deployment and updating reduce the complexity and difficulty of deployment, so that the model can adapt to changes in traffic scenarios in a timely manner. This AI productivity platform framework system and method for traffic scenarios solves the problems existing in the prior art when processing the AI ​​productivity platform framework system for traffic scenarios, improves productivity, and enables intelligent transportation, which has important practical significance and application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is the overall framework diagram of the traffic scenario-oriented AI productivity platform framework system proposed by the present invention;

[0051] Figure 2 This is a service discovery sequence diagram in the present invention;

[0052] Figure 3 The hierarchical relationship between the models, experiments, and tasks in the present invention;

[0053] Figure 4 Schematic diagram of the interactive workflow of the model factory in the present invention. DETAILED DESCRIPTION

[0054] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0055] Reference Figure 1 As shown in the figure, an AI productivity platform framework system for traffic scenarios is composed of eight subsystems, including productivity platform (AIOps), control gateway (AIG), data factory (AID), model factory (AIF), perception service (AIS), computing engine (AIC), business platform (AIB), and intelligent link (AIL). The entire system is designed around the MLOps concept, and information interaction is achieved between different subsystems to complete an end-to-end closed loop, creating an AI productivity platform that fits the engineering implementation experience.

[0056] Among them, the productivity platform (AIOps) is responsible for the user interaction of the entire system. It mainly includes:

[0057] User authority management: different user roles have different user authorities for each subsystem, which improves the security of the system.

[0058] Data annotation: users can manually annotate the collected traffic scene images, or choose to use automatic annotation, and specific user roles will review the annotation results. Users with management roles can also count the workload of different annotators and generate reports to track the completion of data annotation and improve the management capabilities of data assets.

[0059] Model training and management: users submit model training tasks to complete model training, and then optimize and verify them. After verification, they can be published to the model center, and other interactive tasks such as model maintenance can also be completed. In addition, users can monitor model training through a visual interface during model training to make timely adjustments and avoid wasting computing resources.

[0060] Engine tuning: users can perform business tuning on the specified traffic engine version to improve business capabilities for different traffic scenarios.

[0061] In addition, AIOps can also have other data, models, engines and other functions.

[0062] Control Gateway (AIG)

[0063] AIG is the connection between AIOps and the backend AI service subsystem, responsible for managing and controlling each service in the system. The backend service can be configured as a cluster, and AIG also has cluster management and load balancing functions. In addition, AIG also provides authentication, authorization and other security management functions for each backend service and AIOps, and is responsible for real-time monitoring of cluster performance.

[0064] Data Factory (AID)

[0065] AID reduces redundant data, avoids the risk of data loss and leakage, and ensures data security and reliability through centralized storage and backup mechanisms. In addition, it enables data sharing and circulation between different usage scenarios, breaking the data silo phenomenon. AID can achieve a faster and more accurate data preprocessing process, greatly reducing the workload and difficulty of manual cleaning and labeling, and improving the efficiency of data processing. In terms of data labeling, AID supports manual, semi-automatic and fully automatic labeling, provides different labeling methods for different application scenarios, and can handle the labeling of more complex scenarios;

[0066] AID includes at least two distributed database nodes. When storing data, AID divides and fragments the data, evenly stores the data on multiple distributed database nodes, and sets data replication and redundant backup strategies in the distributed database. AID uses master-slave replication or multi-master replication to replicate data to multiple distributed database nodes. AID uses distributed transaction processing technology to achieve data consistency and synchronization in the distributed database; AID uses a data fragmentation routing method to implement load balancing and performance optimization strategies in the distributed database; AID sets up a disaster tolerance and fault recovery mechanism including fault detection and automatic switching in the distributed database.

[0067] It can also support a variety of different annotation boxes such as matrix annotation, rotated box annotation and polygon annotation, providing more choices for annotators.

[0068] Model Factory (AIF)

[0069] As the core subsystem of the AI ​​productivity platform, AIF implements functions such as model experimentation and model management. The AIF subsystem can be further divided into multiple submodules. The following are the functions of each submodule:

[0070] Service discovery module (CI-1): This module is the entrance to the system. It is responsible for discovering and registering services in the system, including service registration, service discovery, and health check. This module is used as a basic module to provide security functions such as cluster management, load balancing, and fault tolerance. The service discovery sequence diagram is shown in Figure 2 shown.

[0071] Resource management module (CI-2): This module receives the output of the service discovery module and manages the hardware and software resources in the system. Hardware resources include computing resource scheduling of heterogeneous computing devices such as NVIDIA's GPU or Ascend NPU; in addition, it also includes large-capacity storage devices for storing unstructured data such as models, videos and pictures. Software resources include model, experiment, and task resources. The three concepts here are important abstract concepts of the model factory.

[0072] like Figure 3 The hierarchical relationship between models, experiments, and tasks shown:

[0073] Model refers to a class of models with the same network structure used to serve a certain traffic scenario. For example, the detection models all use the Yolov5 network structure, but the detection of people, vehicles and roads and the detection model are divided into two different models because they are two different scenarios.

[0074] An experiment refers to a series of tasks performed for a certain research. For example, if you are training a new model, you need to modify the parameters and train it multiple times to get a qualified model. In this case, these multiple trainings can be combined into one experiment. Or if you need to tune an existing model because a new data set is added, multiple trainings are also required during the tuning process. These multiple trainings can also be recorded as one experiment. In addition to training actions, experiments can also include other actions, such as verification and testing, which can all be bound to one experiment.

[0075] A task refers to an action process performed for a certain result. For example, training a model, validating a model, testing a model, etc. can all be considered a task. A model can contain multiple experiments, but an experiment only belongs to one model; similarly, an experiment can contain multiple tasks, but a task only belongs to one experiment. In addition, each model, experiment, and task has a unique number, which can be used to track the entire life cycle of the model, experiment, and task, and its association with other modules.

[0076] Data preprocessing module (CI-3): This module receives the output of the resource management module and preprocesses the data. It controls the quality and format of the data for model training. It mainly includes functions such as annotation data format conversion, data set segmentation, and data set enhancement. The data preprocessing module can convert the original annotation data into a data set training format suitable for a certain training framework, thereby realizing the sharing and reuse of data sets.

[0077] Model training module (CI-4): This module receives the output of the data preprocessing module and performs model training. It controls the model training process. It mainly includes three components: model design, model training, and model tuning.

[0078] Model evaluation module (CI-5): This module receives the output of the model training module and performs model evaluation. It controls the performance evaluation of the model. It mainly includes three components: model testing, model evaluation, and model comparison. Here, the original model based on the training framework is tested, evaluated, and compared. The test mainly includes picture and video testing, and the test process can be presented in a real-time visual way to give users an intuitive experience. Model comparison can visually compare multiple training models in an experiment, such as viewing model verification and test results under different parameters or training data sets through curve charts, bar charts, etc., so as to provide a basis for users to evaluate models.

[0079] Model deployment module (CI-6): This module receives the output of the model evaluation module and deploys the model. It controls the model deployment process. It mainly includes three components: model publishing, model deployment, and model monitoring. The original model based on the training framework is published, deployed, and monitored here. The model published is the verified and tested model, and the model is published to the model center.

[0080] Model maintenance module (CI-7): This module receives the output of the model deployment module and performs model maintenance. It controls the maintenance and update of the model. It includes three components: model update, model backup, and model retirement. Model update updates the existing models in the model center. The update process does not delete the existing models, but adds new model versions. You can also set version properties, such as specifying a template as an experimental version, a production version, or a retired archived version. In this way, you can achieve historical tracking of the entire life cycle of a model.

[0081] like Figure 4 As shown, the model factory interaction workflow is as follows:

[0082] After the AIF system is started, the service registration component first completes the service registration and then waits for user input.

[0083] When the user is ready to train the model, the user first needs to call the model resource management component to create a model instance for managing experiments.

[0084] Then, under the model instance, the user requests to create an experimental instance to manage training tasks.

[0085] Finally, create a training task under the experimental instance.

[0086] After creating a training task, first convert or clean the training dataset to determine the training dataset to be used.

[0087] Then, call the model design component to complete the selection of the algorithm model to be used, and then complete the training parameter configuration.

[0088] Then call the model training component to start model training.

[0089] This is just one training. If you need to tune the model, you need to call the model tuning component to continuously adjust the hyperparameters or modify the data set. Each adjustment calls the model training component to start a model training. By analyzing the results, select the optimal model.

[0090] After completing model tuning, you can test the model. You can complete the model test by calling the model test component and loading the test image or video.

[0091] After completing the model test, call the model evaluation component to further evaluate the model performance.

[0092] If the model has been tuned multiple times, you can further select the best one by calling the model comparison component.

[0093] After selecting the optimal model, you can call the model publishing component to register the model to the model center.

[0094] Afterwards, you can publish the model in the model center to the online service by calling model deployment.

[0095] When the model service is running, the performance of the model can be monitored by calling the model monitoring component.

[0096] When monitoring the model, if the model performance is found to have degraded, new data is collected and annotated, and then the model is retrained. After optimization, the model is republished and the model version is updated.

[0097] During model maintenance, the model needs to be backed up regularly.

[0098] When a model is no longer applicable to market demand, it can be retired and archived.

[0099] The experimental instances and training task instances created by users, as well as the model training parameters and indicator data collected during the training process will be stored in a structured database for users to query.

[0100] The model generated during the model training process, as well as the test images and videos during the model testing process and the predicted images and videos after the test are completed will all be stored in the object storage system for users to call and query.

[0101] The entire AIF control process is implemented by calling computer hardware components.

[0102] Both model training and model testing will be performed by heterogeneous computing device components.

[0103] Awareness Service (AIS)

[0104] The main function of AIS is to implement model or algorithm testing on specific heterogeneous computing devices. On specific heterogeneous computing devices, each type of model will be encapsulated into an algorithm SDK, which is uniformly managed and called by AIS. AIS implements model acceleration reasoning calculation of pictures or videos by providing interfaces. This means that they can draw the reasoning results on the original pictures or videos and display them. In addition, AIS is also responsible for implementing model conversion on specific heterogeneous computing devices, converting the original model into a model format that can be accelerated based on heterogeneous computing devices for reasoning acceleration. For example, when using the .pt model trained by pytorch to perform model reasoning on NVIDIA GPU, Huawei Ascend's NPU, Cambrian's MLU, Bitmain's Computing TPU, etc., the .pt model needs to be converted to a format supported by the corresponding platform before accelerated reasoning can be achieved. In addition, in actual applications of traffic scenarios, the computing devices of these scenarios are also used to achieve reasoning acceleration, and quantization operations are also required. Therefore, after completing model training, the corresponding model conversion needs to be completed for different computing devices, and then tested to see whether the performance meets the requirements before it can be implemented.

[0105] Calculation Engine (AIC)

[0106] The main function of AIC is to enable the application of trained models in actual scenarios, realize the automatic detection and reporting of traffic incidents, including multiple engine deployment methods such as cloud, edge, and end. In addition, AIC also has the function of traffic engine business tuning. The traffic engine has designed a large number of business event detection functions for different scenarios, but for the same business component, the optimal parameters may be different for different scenarios. In order to enable event detection to achieve the optimal detection capability, operation and maintenance personnel need to customize and tune business-related parameters according to the scenario. If manual tuning is used, it will take a long time. For this reason, AIC has designed an engine tuning function, which can easily tune the business parameters of specific scenarios without changing the model or restarting the engine, reducing the complexity of engine tuning and saving time costs, thereby better realizing the detection of traffic incidents.

[0107] Business Platform (AIB)

[0108] The main function of AIB is to conduct big data analysis on the data reported by AIC, including historical data, and provide data support for traffic managers through data mining, data visualization and other technologies, so as to formulate more efficient and optimized traffic operation strategies and improve social productivity.

[0109] Intelligent Link (AIL)

[0110] The main function of AIL is to achieve coordinated scheduling of cloud, edge and end computing engines based on the standard protocol of digital retina, and to build efficient AI intelligent perception and analysis capabilities of traffic scenes based on three links: video encoding stream, feature encoding stream and model update stream, including real-time video acquisition, real-time feature aggregation and real-time model update.

[0111] Furthermore, based on the above-mentioned AI productivity platform framework system for traffic scenarios, a specific implementation method of the AI ​​productivity platform framework system for traffic scenarios is proposed:

[0112] S1. The user creates a new environment detection model production requirement in AIOps.

[0113] S2. Currently, AID has a data set that can match the environmental detection needs, because the previously collected human and vehicle data sets can be used for environmental detection. Data personnel use data tools such as data cleaning and filtering tools to select a part of the data set based on the existing data set and manually annotate it (in the initial stage, because there is no environmental detection model, it can only be annotated manually).

[0114] S3. The environment data set with qualified annotations generated by AID is imported into the AIF subsystem for operations such as annotation format conversion and data set segmentation to train a primary version of the environment detection model. Then, verification and tuning are performed until the conditions set by the user are met. For example, in some embodiments, the mAP reaching the set threshold can be used as the training termination condition, and it can be used to achieve semi-automatic annotation.

[0115] S4. Return to AID and use semi-automatic or fully automatic labeling to increase the number of annotations in the environment detection data set. After manual review, continue training the environment detection model.

[0116] S5. After multiple cycles of AID<->AIF, when the performance of the environment detection model meets the requirements of the production environment, AIF will publish the environment detection model to the model center.

[0117] S6. AIS obtains the newly released environmental detection model from the model center, implements model conversion on different heterogeneous computing devices, and tests the algorithm SDK, including image and video testing. Once the test results meet QA expectations, the converted model can be published to the model center.

[0118] S7. Users select some cloud servers, edge servers, and terminal device instances in AIOps to send the trained and converted environmental detection models, such as the TRT model, OM model, and Cambridge model, to the corresponding heterogeneous computing devices for on-site testing.

[0119] After S8 and AIC upgrade the environment detection algorithm SDK and model, they start road environment detection and report the detection results to the central database. Structured data is stored in the structured DB, and unstructured data, such as pictures and videos, is stored in the unstructured DB or file system.

[0120] S9. If the operation and maintenance personnel find that the environmental detection effect of a certain scene is poor, they will issue instructions through AIOps to collect image data of this scene and then store it in the original data set storage center in AID. After that, the data personnel of AID will clean the original data set and then manually or semi-automatically annotate it (because the automatic annotation effect is not good) to form an incremental update data set.

[0121] S10. AIF uses data enhancement tools to load the incrementally updated data set and perform model tuning. After verification, the trained new model is found to have fixed the detection problem in this scenario. Then AIF updates the model of the environment model in the model center and generates a new version.

[0122] S11. Repeat S6-S10, continuously update and optimize the environmental detection model, and enable the road environment detection function.

[0123] S12. When the detection results collected by the data center reach a certain amount, AIB can be used to perform big data analysis on the road environment, classify and analyze the scene environment, and output the analysis results. For example, in some embodiments, AIB finds that a certain weather environment often occurs at a certain intersection, causing the road condition to deteriorate. For example, congestion is prone to occur when the road is flooded. In this case, the traffic manager can repair the road at this intersection or give corresponding warning signs, thereby optimizing road operations and ensuring traffic safety.

[0124] To sum up, the advantages of the present invention are: by opening up the entire process of online AI operations, productivity is improved, intelligent transportation is enabled, and it has important practical significance and application value.

[0125] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A traffic scene-oriented AI productivity platform framework system, characterized by: include: Productivity platform, control gateway, data factory, model factory, perception service, computing engine, business platform, intelligent connection; The productivity platform realizes data interaction with the data factory, model factory, perception service, computing engine and business platform through the control gateway; The data factory is used for data storage and backup; The model factory is electrically connected to the data factory, and the model factory is used for model experiments and model management; The perception service is electrically connected to the model factory, and the perception service is used to implement the testing of the model or algorithm on a specific heterogeneous computing device; The computing engine is electrically connected to the perception service, and the computing engine is used to enable the trained model to be applied in actual scenarios; The business platform is electrically connected to the computing engine, and the business platform is used to receive data reported by the computing engine and perform data aggregation and analysis; The workflow of the model factory is: The model factory is started, and the service registration component completes the service registration, and then waits for input; When training a model, the model resource management component is called to create a model instance, which is used to manage experiments; Under the model instance, request to create an experimental instance, which is used to manage training tasks; Under the experimental instance, create a training task; After the training task is created, the training data set is first converted or cleaned to determine the training data set to be used; Call the model design component to select the algorithm model to use, and configure the training parameters based on the algorithm model; Call the model training component to start model training; Call the model tuning component to adjust or modify the data set several times, and call the model training component once to start model training after each adjustment or modification of the data set to complete model tuning; Call the model test component, load the test data, test the tuned model, and obtain the test results; Call the model evaluation component to further evaluate the test results of the model; By calling the model comparison component, the optimal model is selected from multiple tuned models; After selecting the optimal model, call model publishing to register the model to the model center; Call the model deployment component to publish the model in the model center to the online service; When the model is running in the online service, the performance of the model is monitored by calling the model monitoring component; During model monitoring, if the model performance deteriorates, the model update component collects new data for annotation, and then retrains the model. After optimization, the model is republished and the model version is updated. During model maintenance, the model backup component backs up the model regularly; When the performance of an online service model drops to the retirement standard, the model is retired through the model retirement component and the retired model is archived.

2. According to claim 1, the AI ​​productivity platform framework system for traffic scenarios is characterized in that: The data factory includes at least two distributed database nodes; The data factory divides and shards the data and evenly stores the data on multiple distributed database nodes; The data factory sets data replication and redundant backup strategies in the distributed database, adopts master-slave replication or multi-master replication, and replicates data to multiple distributed database nodes; The data factory uses distributed transaction processing technology to achieve data consistency and synchronization in a distributed database; The data factory adopts a data sharding routing method to implement load balancing and performance optimization strategies in a distributed database; The data factory sets up a disaster tolerance and fault recovery mechanism including fault detection and automatic switching in a distributed database.

3. According to claim 2, the AI ​​productivity platform framework system for traffic scenarios is characterized in that: The model factory includes: A service discovery module, which is used to discover and register services in the system; A resource management module, the resource management module is used to receive the output of the service discovery module and manage the hardware and software resources in the system; A data preprocessing module, the data preprocessing module is used to receive the output of the resource management module and preprocess the data; A model training module, the model training module is used to receive the output of the data preprocessing module and perform model training; A model evaluation module, which is used to receive the output of the model training module and perform model evaluation; A model deployment module, which is used to receive the output of the model evaluation module and perform model deployment; The model maintenance module is used to receive the output of the model deployment module and perform model maintenance.

4. The traffic scene-oriented AI productivity platform framework system according to claim 3 is characterized in that: The service discovery module includes: A service discovery component, wherein the service discovery component is used to discover new services in the system; A service registration component, the service registration component is used to register new services in the system with the productivity platform; A health check component is used to perform cluster management, load balancing, and fault tolerance on registered services.

5. The traffic scene-oriented AI productivity platform framework system according to claim 4 is characterized in that: The model training module includes: A model design component, which is used to select an algorithm model to use and configure training parameters based on the algorithm model; A model training component, wherein the model training component trains training parameters of the algorithm model based on the training data set; A model tuning component is used to adjust a training data set or modify a training data set.

6. The traffic scene-oriented AI productivity platform framework system according to claim 5 is characterized in that: The model evaluation module includes: A model testing component, wherein the model testing component is used to test the tuned model and obtain test results; A model evaluation component, wherein the model evaluation component is used to further evaluate the test results of the model; A model comparison component is used to select an optimal model from multiple tuned models.

7. The traffic scene-oriented AI productivity platform framework system according to claim 6 is characterized in that: The model deployment module includes: A model publishing component, wherein the model publishing component is used to register the model to the model center; A model deployment component, which is used to publish the model registered with the model center to the online service; A model monitoring component is used to monitor the performance of the model of the online service.

8. The traffic scene-oriented AI productivity platform framework system according to claim 7 is characterized in that: The model maintenance module includes: A model update component, which is used to collect new data for annotation when the performance of the model of the online service deteriorates, and then retrain the model, republish the model after tuning, and update the model version; A model backup component, wherein the model backup component is used to regularly back up the model; The model retirement component is used to retire the model when the performance of the model of the online service drops to the retirement standard, and archive the retired model.

9. A working method of a traffic scene AI productivity platform framework system as described in any one of claims 1 to 8, characterized in that: include: Create a new environment detection model production demand in the productivity platform; Get data sets that match the environment detection requirements from the data factory; Data personnel use data tools to manually and / or automatically annotate existing data sets; Import the labeled environment dataset generated by the data factory into the model factory to train a primary version of the environment detection model; Return the primary version of the environment detection model to the data factory, perform semi-automatic and / or fully automatic labeling through the primary version of the environment detection model, increase the number of qualified labeled environment data sets, and continue to import the environment detection model into the model factory for training after manual review. After multiple cycles of the data factory and the model factory, it is determined whether the performance of the environment detection model meets the requirements of the production environment. If so, the model factory publishes the environment detection model to the model center. If not, the cycle continues; The perception service obtains the newly released environment detection model from the model center and implements model conversion on different heterogeneous computing devices; The perception service performs algorithm SDK testing on the converted model. The algorithm SDK testing includes image and video testing. If the test results meet QA expectations, the converted model will be published to the model center. Select a device instance on the productivity platform to send the trained and converted environment detection model to the corresponding heterogeneous computing device for on-site testing; After the computing engine upgrades the environment detection algorithm and model, it starts to detect the road environment and reports the detection results to the central database. For structured data, it is stored in the structured DB, and for unstructured data, it is stored in the unstructured DB or file system. If the environmental detection effect of a certain scene is lower than expected, an instruction will be issued through the productivity platform to collect image data for this scene, and then stored in the original data set storage center in the data factory; Clean the original data set and perform manual or semi-automatic annotation to form an incremental update data set; The model factory uses data enhancement tools to load the incremental update data set and perform model tuning. The trained new model is verified. If the detection problem of the scene has been fixed, the model factory updates the environment model of the model center and generates a new version. Otherwise, it continues to generate incremental update data sets for model tuning. The business platform conducts big data analysis on the road environment, classifies and analyzes the scene environment, and outputs the analysis results.

Citation Information

Patent Citations

  • Diversified service modeling framework system based on interactive learning technology

    CN111047190A

  • Power AI training platform based on containerized management and training method thereof

    CN111814911A