Automatic machine learning method and device based on artificial intelligence visual modeling platform

By uploading and managing the search strategy of the neural network architecture on the artificial intelligence visual modeling platform, feature engineering, hyperparameter tuning and model selection are automatically processed, which solves the time-consuming and error-prone problem of machine learning algorithm configuration and optimization in the existing technology. problem, realizing automated training and efficient machine learning model application.

CN118863025APending Publication Date: 2024-10-29TAIJI COMPUTER CORPORATION LIMITED
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410900236.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Machine learning algorithms in the existing technology require a lot of manual intervention for configuration and optimization, which results in time-consuming, error-prone and difficult to manage, and there is a lack of automated solutions.

Method used

Adopting an automatic machine learning method based on the artificial intelligence visual modeling platform, by uploading and managing the search strategy of the neural network architecture, including feature engineering, hyperparameter tuning and model selection, using templated, visual, and guided modeling operations. Automate machine learning experiment tasks.

Benefits of technology

It realizes the automated training of machine learning models, reduces manual intervention, improves efficiency and accuracy, and enables machine learning models to be applied without manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118863025A_ABST
    Figure CN118863025A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an automatic machine learning method and device based on an artificial intelligence visual modeling platform, electronic equipment and a storage medium, and the method comprises the steps: uploading and managing a search strategy of a neural network architecture, the search strategy specifically comprises feature engineering, hyper-parameter tuning and model selection; through templated, visual and guide modeling operation and tools, a needed search strategy is selected to create an automatic machine learning experiment task, automatic processing of feature engineering, hyper-parameter tuning and model selection is carried out, and a proper model is obtained through training.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of computer technology, and in particular to an automatic machine learning method, device, electronic device and storage medium based on an artificial intelligence visualization modeling platform. Background Art

[0002] Machine learning algorithms need to be configured and optimized for each different real-world scenario, which requires a lot of manual intervention. This process is very time-consuming, error-prone, and difficult to manage. Therefore, there is an urgent need for an automatic machine learning method to solve the above problems. Summary of the invention

[0003] The purpose of the present invention is to provide an automatic machine learning method, device, electronic device and storage medium based on an artificial intelligence visual modeling platform, aiming to solve the above-mentioned problems in the prior art.

[0004] The present invention provides an automatic machine learning method based on an artificial intelligence visual modeling platform, comprising:

[0005] Upload and manage search strategies for neural network architectures, including feature engineering, hyperparameter tuning, and model selection;

[0006] Through templated, visualized, and wizard-style modeling operations and tools, you can select the required search strategy to create an automatic machine learning experimental task, automate feature engineering, hyperparameter tuning, and model selection, and train a suitable model.

[0007] The present invention provides an automatic machine learning device based on an artificial intelligence visual modeling platform, comprising:

[0008] A search strategy module, which is used to upload and manage the search strategy of the neural network architecture, wherein the search strategy specifically includes: feature engineering, hyperparameter tuning and model selection;

[0009] The task execution module is used to create automatic machine learning experimental tasks by selecting the required search strategies through templated, visualized, and wizard-style modeling operations and tools. It will automate feature engineering, hyperparameter tuning, and model selection to train a suitable model.

[0010] An embodiment of the present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the above-mentioned automatic machine learning method based on the artificial intelligence visual modeling platform.

[0011] An embodiment of the present invention also provides a computer-readable storage medium, on which a program for implementing information transmission is stored. When the program is executed by a processor, the steps of the above-mentioned automatic machine learning method based on the artificial intelligence visualization modeling platform are implemented.

[0012] By adopting the embodiments of the present invention, important steps related to models, optimization, and evaluation can be automatically learned through automatic machine learning, so that the machine learning model can be applied without human intervention. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0014] Figure 1 is a flow chart of an automatic machine learning method based on an artificial intelligence visual modeling platform according to an embodiment of the present invention;

[0015] Figure 2 It is a detailed flowchart of an automatic machine learning method based on an artificial intelligence visual modeling platform according to an embodiment of the present invention;

[0016] Figure 3 is a schematic diagram of an automatic machine learning device based on an artificial intelligence visual modeling platform according to an embodiment of the present invention;

[0017] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0019] Method Embodiment

[0020] According to an embodiment of the present invention, an automatic machine learning method based on an artificial intelligence visual modeling platform is provided. Figure 1is a flow chart of an automatic machine learning method based on an artificial intelligence visual modeling platform according to an embodiment of the present invention, Figure 2 is a schematic diagram of the operation flow of the automatic machine learning method based on the artificial intelligence visual modeling platform according to an embodiment of the present invention, such as Figure 1 and Figure 2 As shown, the automatic machine learning method based on the artificial intelligence visual modeling platform according to an embodiment of the present invention specifically includes:

[0021] Step S101, upload and manage the search strategy of the neural network architecture, wherein the search strategy specifically includes: feature engineering, hyperparameter tuning and model selection; the feature engineering specifically includes: automatic feature selection, automatic feature derivation and automatic feature data enhancement; the hyperparameter tuning specifically includes: grid search, random search and Bayesian optimization. The search strategy for uploading the neural network architecture specifically includes:

[0022] Upload the search strategy of the neural network architecture, and perform BASE phase configuration of the search strategy; perform TRAIN phase configuration; perform SELECT phase configuration; and perform RETRAIN phase configuration.

[0023] Step S102, through templated, visualized, wizard-style modeling operations and tools, select the required search strategy to create an automatic machine learning experiment task, perform feature engineering, hyperparameter tuning, and model selection automation, and train a suitable model. Selecting the required search strategy to create an automatic machine learning experiment task specifically includes:

[0024] Create task mazes and task descriptions for automated machine learning experiment tasks;

[0025] Determine the search strategy and its version;

[0026] Perform resource configuration, data set configuration and operation parameter configuration in the TRAIN stage, SELECT stage and RETRAIN stage, wherein the operation parameter configuration specifically includes: task termination condition configuration and trial concurrent number configuration, wherein the task termination condition configuration specifically includes: maximum trial number configuration and current stage maximum running time configuration.

[0027] In addition, the embodiment of the present invention also performs information viewing of automatic machine learning experimental tasks, wherein the information specifically includes: model indicators, resource consumption, and training time.

[0028] That is to say, in the embodiment of the present invention, automatic learning can automate the process of feature engineering, hyperparameter tuning, model selection and other links, and at the same time reduce the technical threshold required by users for developers through templated, visualized, and wizard-style modeling operations and tools. This capability item can be set but not limited to the following assessment aspects: hyperparameter search, automatic learning templates, etc. The embodiment of the present invention also supports a variety of automatic feature engineering functions, such as automatic feature selection, automatic feature derivation, automatic feature data enhancement and other strategies. Supports a variety of hyperparameter search technologies, such as grid search, random search, Bayesian optimization, etc. Supports information viewing of automated modeling tasks, such as model indicators, resource consumption, training time, etc. In addition, the technical solution of the embodiment of the present invention also supports automatic modeling scenario templates for classification tasks, and users only need to set a small number of parameters to complete the model construction of classification tasks.

[0029] The following is a description of the artificial intelligence visual modeling platform involved in the embodiments of the present invention.

[0030] The artificial intelligence visual modeling platform according to an embodiment of the present invention specifically includes:

[0031] Data annotation module, used to prepare original training data and improve existing training data, UI-label the training data, and export the labeled training data into the required model format;

[0032] The model development module is used to provide development tools and a development environment, and to provide users with a visual operation interface. Based on the development tools and the development environment, visual modeling, interactive modeling, and pre-trained model modeling are performed through the visual operation interface to obtain a constructed model; the development environment integrates and supports machine learning frameworks and deep learning frameworks.

[0033] A model training module is used to perform multi-dimensional model training on the constructed model based on the marked training data and different pre-set training modes to obtain a trained model, wherein the model training specifically includes scheduling training resources, model training operations, and model training optimization; the model training module is further used to:

[0034] Provide appropriate accuracy evaluation indicators to evaluate the quality of the trained model and obtain model indicators. Use the model indicator visualization tool to present the indicator comparison of different model versions in the form of charts.

[0035] The model training module is specifically used for:

[0036] The model training module provides templated, visual, and wizard-style modeling operations and tools based on the labeled training data and different pre-set training modes. It uses automatic learning to automate the feature engineering, hyperparameter tuning, and model selection processes, and performs multi-dimensional model training on the constructed model to obtain a trained model.

[0037] The model management module is used to store and manage the trained models and deploy the trained models in different real-world environments. The model management module 16 is specifically used to:

[0038] Provide model conversion and model compression, deploy the trained model to the specified environment in a way that matches the inference environment, and integrate it with other business applications in the form of specified interfaces.

[0039] The artificial intelligence visualization modeling platform further includes:

[0040] The model running module is used to provide a window for model services to the outside world. According to the actual needs of users, it allocates corresponding computing resources, runs the specified model and outputs the prediction results.

[0041] The above technical solution of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.

[0042] Before describing the technical solution of the embodiment of the present invention in detail, the terms involved are first explained.

[0043] A dataset is also called a data set, a data set, or a data set. In the artificial intelligence visual modeling platform, a dataset refers to a collection of labeled data that can be used for specific tasks such as image classification, target detection, target tracking, and natural language processing.

[0044] Data labeling: Currently, a large number of AI applications are highly dependent on supervised learning. By labeling data, true values ​​are provided for downstream training. Common methods include manual labeling and machine labeling combined with manual editing and confirmation.

[0045] Image classification: Identify whether a picture is a certain type of object / state / scene. It is applicable to scenes with a single subject or state in the picture.

[0046] Target detection: Customized recognition of multiple targets in an image, providing the location of the target object, corresponding name and other elements, such as marking and labeling pedestrians, cars, bicycles, etc. in a road condition monitoring photo.

[0047] Target tracking: Target tracking is to find the movement position of the specified target object in each frame of the video sequence. One or more target elements can be tracked in real time based on the video.

[0048] Model: A model is essentially a function that maps from a sample to the labeled value of the sample.

[0049] Model training: Model training refers to the process of adjusting model parameters based on known data and objectives.

[0050] Algorithm: An algorithm is a description of the steps to complete a specific task, which is represented as a finite sequence of instructions in a computer. Generally speaking, machine learning algorithms can be divided into supervised learning, unsupervised learning, semi-supervised learning, reinforcement learning, and recommendation.

[0051] The artificial intelligence visual modeling platform is aimed at the life cycle of AI model production, providing functions such as data processing, model development, model training and model management, making it convenient for users to build AI algorithms in one stop.

[0052] Specifically include:

[0053] Data Annotation Module: You can use a simple and intuitive UI to label data types such as audio, text, images, videos, and time series, and export them into various model formats. It can also be used to prepare raw data or improve existing training data to obtain more accurate machine learning models.

[0054] The development process of machine learning often requires massive amounts of data, and in general, suitable training data sets have very high requirements for file quality and specifications. The quality of the data determines the quality of the model to a certain extent. The data management module of the artificial intelligence visual modeling platform integrates one-stop data services such as data import, data screening, data labeling, data enhancement, and version management. It provides a series of data processing solutions such as automatic labeling and data enhancement, has high-quality data labeling processing algorithms, outputs high-quality data, and supports downstream AI data training to obtain better training results.

[0055] Currently, it supports data types such as pictures, videos, text, tables, and audio, and supports data annotation functions such as image classification, target detection, semantic segmentation, target tracking, text classification, Chinese word segmentation, and named entity recognition. The built-in data enhancement function (for picture types) can quickly expand existing data sets to obtain better data diversity. The data set currently supports vision / speech / text. The details are shown in Table 1.

[0056] Table 1

[0057]

[0058]

[0059] Image classification: Visual datasets currently support two file types: pictures and videos. Different types of annotation tasks have different requirements for the content of pictures / videos. Image classification: Identify whether a picture contains a certain type of object / scene. It is suitable for scenes where the picture content is a single subject and the entire picture needs to be classified. The prepared data is divided into two categories: unlabeled data and local labeled data sets:

[0060] 1. Unlabeled data: a. Prepare labels. Before uploading, determine which objects you want to identify and upload pictures containing these objects. Each label corresponds to an object you want to detect in the picture. The Taiji Artificial Intelligence Service Support Platform provides common data labels as preset labels for users to use as needed. As shown in Table 2:

[0061] Table 2

[0062]

[0063] b. Prepare data

[0064] Ensure image quality: no damaged images; currently supported formats include .jpg / .png / .bmp / .jpeg; single files are no larger than 5MB. Ensure video quality: no damaged videos; currently supported formats include .mp4 / .avi / .mkv / .mov / .webm / .wmv; single files are no larger than 1024MB. Ensure audio quality: no damaged videos; currently supported formats include .mp3 / .wav / .wma / .aac; single files are no larger than 5MB. Do not put multiple tasks with significantly different data in the same dataset. To ensure the prediction accuracy of the model, the training samples should be as similar to the actual usage scenarios as possible. To ensure the generalization ability of the model, the dataset should cover as many possible scenarios as possible.

[0065] Labeled dataset: Imported dataset. The image format supports jpg / png / bmp / jpeg, which is no larger than 5MB and is located in the origin directory. Directory nesting is not supported. The local dataset needs to include three parts: source file (origin directory), annotation file (annotation directory) and label file. The annotation file is in json format and is located in the annotation directory. It must have the same name as the file (if no annotation exists, it can be omitted). Directory nesting is not supported. The label file is in json format and is named label_{name}.json, where name is the label group name and cannot be the same as the existing label group in the system. The imported image name cannot be repeated.

[0066] Directory description: The local dataset needs to include three parts: source files (origin directory), annotation files (annotation directory) and label files.

[0067] Data labeling: The data management module provides data labeling functions. Automatic labeling can quickly complete data labeling, saving developers more than 70% of labeling time. Automatic labeling refers to automatic labeling based on the "pre-set label group" provided by the system, combined with the built model, to quickly complete the labeling operation of the image. Developers can also complete the operation through manual labeling. The data set details page shows pictures marked with "no label information" and "with label information". Click on the picture to preview the picture. For the labeled pictures, the label information and labeling method of the picture will be displayed in the upper left corner.

[0068] Dataset publishing: Provides data set management functions that differentiate content based on different versions. In the subsequent model training phase, different versions of data sets can be selected for training and development. After the developer completes the labeling of the data set, he can publish the data set and generate a new version of this data set.

[0069] 2. Object detection: Visual datasets currently support two file types: images and videos. Different types of annotation tasks have different requirements for image / video content. Object detection: Detect the position and label category of each object on the image. Applicable when there are multiple objects to be detected in the image. The prepared data is divided into two categories: unlabeled data and local labeled datasets:

[0070] Unlabeled data: a. Prepare labels: Determine which objects you want to identify before uploading, and upload pictures containing these objects. Each label corresponds to an object you want to detect in the picture. The Taiji Artificial Intelligence Service Support Platform provides common data labels as preset labels for users to use on demand. b. Prepare data: Ensure image quality: There must be no damaged images; currently supported formats include .jpg / .png / .bmp / .jpeg; a single file is no larger than 5MB; Ensure video quality: There must be no damaged videos; currently supported formats include .mp4 / .avi / .mkv / .mov / .webm / .wmv; a single file is no larger than 1024MB; Ensure audio quality: There must be no damaged videos; currently supported formats include .mp3 / .wav / .wma / .aac; a single file is no larger than 5MB; Do not put multiple tasks that are significantly different in the same data set; In order to ensure the prediction accuracy of the model, the training samples should be as similar as possible to the actual usage scenarios; In order to ensure the generalization ability of the model, the data set should cover various possible scenarios as much as possible.

[0071] Labeled dataset: Imported dataset. The image format supports jpg / png / bmp / jpeg, which is no larger than 5MB and is located in the origin directory. Directory nesting is not supported. The local dataset needs to include three parts: source file (origin directory), annotation file (annotation directory) and label file. The annotation file is in json format and is located in the annotation directory. It must have the same name as the file (if no annotation exists, it can be omitted). Directory nesting is not supported. The label file is in json format and must be named label_{name}.json, where name is the label group name and cannot be the same as the existing label group in the system. The imported image names cannot be repeated.

[0072] Directory description: The local dataset needs to include three parts: source files (origin directory), annotation files (annotation directory) and label files.

[0073] Data labeling: The data management module provides data labeling functions. Automatic labeling can quickly complete data labeling, saving developers more than 70% of labeling time. Automatic labeling refers to automatic labeling based on the "pre-set label group" provided by the system, combined with the built model, to quickly complete the labeling operation of the image. Developers can also complete the operation through manual labeling. The data set details page shows pictures marked with "no label information" and "with label information". Click on the picture to preview the picture. For the labeled pictures, the label information and labeling method of the picture will be displayed in the upper left corner.

[0074] Dataset publishing: Provides data set management functions that differentiate content based on different versions. In the subsequent model training phase, different versions of data sets can be selected for training and development. After the developer completes the labeling of the data set, he can publish the data set and generate a new version of this data set.

[0075] 3. Target tracking: Prepare data. Visual datasets currently support two file types: pictures and videos. Different types of annotation tasks have different requirements for the content of pictures / videos. Target tracking: Given one or more targets, track the movement and position changes of the targets. Applicable to continuous tracking and monitoring of targets in video files. Prepared data is divided into two categories: unlabeled data and local labeled datasets:

[0076] a. Unlabeled data: prepare labels, determine which objects you want to identify before uploading, and upload pictures containing these objects. Each label corresponds to an object you want to detect in the picture, and common data labels are provided as preset labels for users to use on demand. Prepare data and ensure image quality: no damaged images; currently supported formats include .jpg / .png / .bmp / .jpeg; a single file is no larger than 5MB; ensure video quality: no damaged videos; currently supported formats include .mp4 / .avi / .mkv / .mov / .webm / .wmv; a single file is no larger than 1024MB; ensure audio quality: no damaged videos; currently supported formats include .mp3 / .wav / .wma / .aac; a single file is no larger than 5MB; do not put significantly different multiple task data in the same dataset; in order to ensure the prediction accuracy of the model, the training samples should be as similar as possible to the actual usage scenarios; in order to ensure the generalization ability of the model, the dataset should cover various possible scenarios as much as possible;

[0077] b. Labeled dataset

[0078] Import datasets. The image formats supported are jpg / png / bmp / jpeg, no larger than 5MB, and located in the origin directory. Directory nesting is not supported. The local dataset needs to include three parts: source file (origin directory), annotation file (annotation directory), and label file. The annotation file is in json format and located in the annotation directory. It must have the same name as the file (if no annotation exists, it can be omitted). Directory nesting is not supported. The label file is in json format and must be named label_{name}.json, where name is the label group name and cannot be the same as the existing label group in the system. The imported image names cannot be repeated.

[0079] Directory description: The local dataset needs to include three parts: source files (origin directory), annotation files (annotation directory) and label files.

[0080] Data labeling: The data management module provides data labeling functions. Automatic labeling can quickly complete data labeling, saving developers more than 70% of labeling time. Automatic labeling refers to automatic labeling based on the "pre-set label group" provided by the system and the built model to quickly complete the image labeling operation. Developers can also complete the operation through manual labeling.

[0081] The dataset details page displays images marked with "no annotation information" and "with annotation information". Click on an image to preview it. For annotated images, the label information and annotation method of the image will be displayed in the upper left corner.

[0082] Dataset publishing: Provides data set management functions that differentiate content based on different versions. In the subsequent model training phase, different versions of data sets can be selected for training and development. After the developer completes the labeling of the data set, he can publish the data set and generate a new version of this data set.

[0083] 4. Text annotation: prepare data:

[0084] a. Unlabeled data: Prepare labels and provide common data labels as preset labels for users to use as needed, as shown in Table 3.

[0085] Table 3

[0086]

[0087] Text data preparation: Currently supported format is .txt; a single file is no larger than 100KB; dataset names only support Chinese, English, numbers, underscores, and English hyphens; if the text dataset is not associated with a preset label group, the "auto labeling" function may not be available; before importing data, please confirm that the encoding format is UTF-8; file format: .txt, a single file is no larger than 5MB, and a single upload limit of 5,000 text files.

[0088] Table data preparation: Currently supported formats include .csv / .xlsx; a single file is no larger than 5MB; dataset names only support Chinese, English, numbers, underscores, and English hyphens; before importing data, please confirm that the encoding format is UTF-8;

[0089] b. Local labeled dataset:

[0090] The text format supports txt and is located in the origin directory. Nested directories are not supported. The local dataset needs to include three parts: text (origin directory), annotation file (annotation directory) and label file. The annotation file is in json format and is located in the annotation directory. It must have the same name as the file (if no annotation exists, it can be omitted). Nested directories are not supported. The label file is in json format and is named label_{name}.json, where name is the label group name and cannot be the same as the existing label group in the system. The imported file name cannot be repeated.

[0091] Directory description: The local dataset needs to include three parts: source files (origin directory), annotation files (annotation directory) and label files.

[0092] Data labeling: The data management module provides data labeling functions. Automatic labeling can quickly complete data labeling, saving developers more than 70% of labeling time. Automatic labeling refers to automatic labeling based on the "pre-set label group" provided by the system and the built model to quickly complete the image labeling operation. Developers can also complete the operation through manual labeling.

[0093] The dataset details page displays images marked with "no annotation information" and "with annotation information". Click on an image to preview it. For annotated images, the label information and annotation method of the image will be displayed in the upper left corner.

[0094] Dataset publishing: Provides data set management functions that differentiate content based on different versions. In the subsequent model training phase, different versions of data sets can be selected for training and development. After the developer completes the labeling of the data set, he can publish the data set and generate a new version of this data set.

[0095] 5. Audio annotation:

[0096] The annotation type description is shown in Table 4:

[0097] Table 4

[0098]

[0099]

[0100] Prepare data: Dataset names only support Chinese, English, numbers, underscores, and English hyphens; file formats: .mp3 / .wav / .wma / .aac, and a single file should not exceed 5MB.

[0101] Then create the dataset.

[0102] Data labeling: The data management module provides data labeling functions. Automatic labeling can quickly complete data labeling, saving developers more than 70% of labeling time. Automatic labeling refers to automatic labeling based on the "pre-set label group" provided by the system and the built model to quickly complete the image labeling operation. Developers can also complete the operation through manual labeling.

[0103] The dataset details page displays images marked with "no annotation information" and "with annotation information". Click on an image to preview it. For annotated images, the label information and annotation method of the image will be displayed in the upper left corner.

[0104] Dataset publishing: Provides data set management functions that differentiate content based on different versions. In the subsequent model training phase, different versions of data sets can be selected for training and development. After the developer completes the labeling of the data set, he can publish the data set and generate a new version of this data set.

[0105] Model development module (also called algorithm development module): provides convenient, systematic and professional development tools and environment, helps developers at different levels to develop algorithms through a more user-friendly operation interface, supports visual modeling, interactive modeling, and pre-trained model methods, and integrates and supports mainstream machine learning and deep learning frameworks in the development environment.

[0106] The algorithm development module is a module provided by the artificial intelligence visual modeling platform for users to develop algorithms. It includes two parts: Notebook and algorithm management:

[0107] Notebook is an interactive programming environment where AI developers can develop machine learning in the cloud. This module integrates the open source JupyterLab, which supports developers to edit, debug, and run code online. It also pre-installs multiple deep learning frameworks such as OneFlow, PyTorch, TensorFlow, etc. Users can switch freely between multiple frameworks. Each Notebook is an independent programming environment, and users can create, open, stop, start, delete, and other operations on Notebooks. After the algorithm development is completed, it can also be saved to "My Algorithm" in "Algorithm Management" so that subsequent training work can be carried out.

[0108] Algorithm management is used to save some platform preset algorithms and algorithms developed by users. For saved algorithms, users can perform online editing, create training tasks, download, fork, delete, and other operations.

[0109] Model training module: provides multi-dimensional training support, including scheduling of training resources, support for training operations, and support for training optimization. It shields users from the complex networking and configuration of the underlying computing facilities, and enables different training modes through simple settings. It supports quality evaluation of trained models, provides appropriate accuracy evaluation indicators, and helps users choose appropriate models. The platform provides model indicator visualization tools to present indicator comparisons of different model versions in the form of charts. It supports automatic learning methods, which can automate feature engineering, hyperparameter tuning, model selection, and other links. At the same time, through templated, visualized, and wizard-style modeling operations and tools, it reduces the technical threshold required by users for developers.

[0110] In the existing technology, machine learning algorithms need to be configured and optimized for each different real-world scenario, which requires a lot of manual intervention. This process is very time-consuming, error-prone and difficult to manage. The automatic machine learning module of the artificial intelligence visual modeling platform automates the important steps related to modeling, optimization and evaluation, so that machine learning models can be applied without manual intervention.

[0111] Automatic machine learning mainly includes the following two functions:

[0112] Implementation management: Users can select search strategies to create experimental tasks and train appropriate models.

[0113] Search Strategies: Administrators can upload and manage neural network architecture search strategies.

[0114] The AI ​​visual modeling platform provides a variety of experimental templates, covering common task types such as data processing, machine learning, time series, statistics, etc., which can help users quickly create experiments. A virtual container is allocated separately for each AI training task for training. Each training task is isolated from each other and does not interfere with each other, which improves the reliability of the training task. The training task supports multiple deep learning frameworks such as TensorFlow, OneFlow, and PyTorch, and uses preset algorithms or user-defined algorithms for cloud training. It supports multi-version control of training tasks. Users can modify based on the existing version and dynamically adjust the algorithm hyperparameters to obtain a satisfactory model.

[0115] Training management mainly includes the following two functions:

[0116] Training tasks: Users can train published datasets using algorithms they create or preset algorithms.

[0117] Visualization tasks: Users can use the model structure, data, and parameters displayed in the visualization function to provide an intuitive reference for deep learning model training and tuning. The visualization function provides a visualization function for model structure, scalar data, media data, statistical analysis, dimensionality reduction analysis, hyperparameter analysis, anomaly detection, and user-customized data during and after the training task is executed. The model structure, data, and parameters displayed in the visualization function can provide an intuitive reference for deep learning model training and tuning.

[0118] Model management module: supports the management, deployment and reasoning of models, ensuring that models can be deployed in different real-world environments such as computing hardware, operating systems, and reasoning frameworks, maximizing resource effectiveness and empowering business systems. Provides management of AI models trained on the platform and imported externally. At the same time, in order to adapt to different deployment and reasoning environments, it is also necessary to provide optimization and adaptation functions such as model conversion and model compression. Subsequently, the models managed on the platform will be deployed to the specified environment in a manner that matches the reasoning environment, and integrated with other business applications in the form of specified interfaces. The AI ​​service support platform itself provides a window for model services to the outside world. According to the actual needs of users, the platform allocates corresponding computing resources, runs the specified model and outputs prediction results.

[0119] The present invention also provides model optimization technology for computer vision application fields and natural language processing application fields. Computer vision application fields mainly include model compression technologies such as channel pruning and random pruning; natural language processing application fields involve a variety of knowledge distillation technologies.

[0120] The AI ​​visual modeling platform can also manage images, pre-fabricate common images in the system, and provide methods for building models. Images are the carriers of algorithms.

[0121] Model management can import the models generated by training and manage the model version iterations in a unified manner. Users can upload model files locally or import them from the "Training Management" page. Users can manage models here, and supported operations include creating models, querying models, historical versions, downloading, editing, deleting, etc.

[0122] After completing model training and model format conversion, users can deploy the models in the specified format saved in "Model Management", supporting online deployment and batch deployment.

[0123] Device Example 1

[0124] According to an embodiment of the present invention, an automatic machine learning device based on an artificial intelligence visual modeling platform is provided. Figure 3 is a schematic diagram of an automatic machine learning device based on an artificial intelligence visual modeling platform according to an embodiment of the present invention, such as Figure 3 As shown, the automatic machine learning device based on the artificial intelligence visual modeling platform according to an embodiment of the present invention specifically includes:

[0125] The search strategy module 30 is used to upload and manage the search strategy of the neural network architecture, wherein the search strategy specifically includes: feature engineering, hyperparameter tuning and model selection; the feature engineering specifically includes: automatic feature selection, automatic feature derivation and automatic feature data enhancement; the hyperparameter tuning specifically includes: grid search, random search and Bayesian optimization; the search strategy module 30 is specifically used to: upload the search strategy of the neural network architecture, perform BASE phase configuration of the search strategy; perform TRAIN phase configuration; perform SELECT phase configuration; perform RETRAIN phase configuration;

[0126] The task execution module 32 is used to select the required search strategy to create an automatic machine learning experiment task through templated, visualized, wizard-style modeling operations and tools, and to perform feature engineering, hyperparameter tuning, and model selection automation to train a suitable model. The task execution module 32 is specifically used to: create the task maze childhood and task description of the automatic machine learning experiment task; determine the search strategy and its version; perform resource configuration, data set configuration, and operation parameter configuration in the TRAIN stage, SELECT stage, and RETRAIN stage, wherein the operation parameter configuration specifically includes: task termination condition configuration and trial concurrent number configuration, wherein the task termination condition configuration specifically includes: maximum trial number configuration and current stage maximum running time configuration.

[0127] The system further comprises:

[0128] The viewing module is used to view information of automatic machine learning experimental tasks, wherein the information specifically includes: model indicators, resource consumption, and training time.

[0129] The embodiment of the present invention is a device embodiment corresponding to the above method embodiment. The specific operations of each module can be understood by referring to the description of the method embodiment, which will not be repeated here.

[0130] Device Example 2

[0131] An embodiment of the present invention provides an electronic device, such as Figure 4 As shown, it includes: a memory 40, a processor 42, and a computer program stored in the memory 40 and executable on the processor 42. When the computer program is executed by the processor 42, the steps described in the method embodiment are implemented.

[0132] Device Example 3

[0133] An embodiment of the present invention provides a computer-readable storage medium, on which a program for implementing information transmission is stored. When the program is executed by the processor 42, the steps described in the method embodiment are implemented.

[0134] The computer-readable storage medium in this embodiment includes, but is not limited to, ROM, RAM, magnetic disk or optical disk, etc.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An automatic machine learning method based on an artificial intelligence visual modeling platform, characterized in that: include: Upload and manage search strategies for neural network architectures, including feature engineering, hyperparameter tuning, and model selection; Through templated, visualized, and wizard-style modeling operations and tools, you can select the required search strategy to create an automatic machine learning experimental task, automate feature engineering, hyperparameter tuning, and model selection, and train a suitable model.

2. The method according to claim 1, characterized in that The feature engineering specifically includes: automatic feature selection, automatic feature derivation and automatic feature data enhancement; the hyperparameter tuning specifically includes: grid search, random search and Bayesian optimization.

3. The method according to claim 1, characterized in that The search strategy for uploading a neural network architecture specifically includes: Upload the search strategy of the neural network architecture, and perform BASE phase configuration of the search strategy; perform TRAIN phase configuration; perform SELECT phase configuration; and perform RETRAIN phase configuration.

4. The method according to claim 1, characterized in that Select the required search strategy to create an automated machine learning experiment task, including: Create task mazes and task descriptions for automated machine learning experiment tasks; Determine the search strategy and its version; Perform resource configuration, data set configuration and operation parameter configuration in the TRAIN stage, SELECT stage and RETRAIN stage, wherein the operation parameter configuration specifically includes: task termination condition configuration and trial concurrent number configuration, wherein the task termination condition configuration specifically includes: maximum trial number configuration and current stage maximum running time configuration.

5. The method according to claim 1, characterized in that The method further comprises: View information about automatic machine learning experiment tasks, where the information specifically includes: model indicators, resource consumption, and training time.

6. An automatic machine learning device based on an artificial intelligence visual modeling platform, characterized in that: include: A search strategy module, used to upload and manage search strategies for neural network architectures, wherein the search strategies specifically include: feature engineering, hyperparameter tuning, and model selection; The task execution module is used to create automatic machine learning experimental tasks by selecting the required search strategies through templated, visualized, and wizard-style modeling operations and tools. It will automate feature engineering, hyperparameter tuning, and model selection to train a suitable model.

7. The device according to claim 6, characterized in that The feature engineering specifically includes: automatic feature selection, automatic feature derivation and automatic feature data enhancement; the hyperparameter tuning specifically includes: grid search, random search and Bayesian optimization; The search strategy module is specifically used to: upload the search strategy of the neural network architecture, perform BASE phase configuration of the search strategy; perform TRAIN phase configuration; perform SELECT phase configuration; perform RETRAIN phase configuration; The task execution module is specifically used to: create a task maze and task description for an automatic machine learning experiment task; determine a search strategy and its version; perform resource configuration, data set configuration, and operating parameter configuration for the TRAIN stage, SELECT stage, and RETRAIN stage, wherein the operating parameter configuration specifically includes: task termination condition configuration and trial concurrent number configuration, wherein the task termination condition configuration specifically includes: maximum trial number configuration and current stage maximum running time configuration.

8. The device according to claim 6, characterized in that The system further comprises: The viewing module is used to view information of automatic machine learning experimental tasks, wherein the information specifically includes: model indicators, resource consumption, and training time.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the automatic machine learning method based on an artificial intelligence visual modeling platform as described in any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an implementation program for information transmission, and when the program is executed by the processor, the steps of the automatic machine learning method based on the artificial intelligence visual modeling platform as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Automatic training system and method for package recommendation machine learning model

    CN112685457A

  • System resource and model hyper-parameter collaborative optimization method in deep learning training

    CN112836796A

  • Automatic machine learning interactive black box visual modeling method and system

    CN115860141A

  • Neural network structure searching method and device, program product and storage medium

    CN116542293A