Method and apparatus for performing automatic machine learning

By monitoring and updating the machine learning model group, the problem of inaccurate prediction results caused by changes in data distribution in automatic machine learning is solved, and more accurate predictions under data changes are achieved.

CN110705719BActive Publication Date: 2024-09-03THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910540759.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-06-21
Filing Date
2019-06-21
Publication Date
2024-09-03
Estimated Expiration
2039-06-21

AI Technical Summary

Technical Problem

Existing automatic machine learning technology assumes that data distribution is static and cannot effectively handle changes in data distribution status, making it difficult to obtain accurate prediction results after changes in data distribution.

Method used

By monitoring changes in the distribution state of the predicted data, if it exceeds the preset threshold, the initial machine learning model group is automatically updated and updated by retraining, adjusting weights, or combining models to adapt to the data changes.

Benefits of technology

It realizes continuous learning and updating of machine learning models when data distribution changes, provides more accurate prediction results, and improves the adaptability and efficiency of automatic machine learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110705719B_ABST
    Figure CN110705719B_ABST
Patent Text Reader

Abstract

Provided are a method and apparatus for performing automatic machine learning, the method comprising: obtaining an initial machine learning model group including at least one machine learning model by automatic machine learning; continuously obtaining prediction data; monitoring whether distribution state changes exceeding a preset threshold value occur in the continuously obtained prediction data; and automatically updating the initial machine learning model group in the event of a distribution state change exceeding the threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to the field of artificial intelligence, and more specifically, to a method and apparatus for performing automatic machine learning. Background Art

[0002] With the emergence of massive data, artificial intelligence technology has developed rapidly, and machine learning is the inevitable product of artificial intelligence development to a certain stage. It is committed to mining valuable potential information from large amounts of data through computing.

[0003] In the field of machine learning, machine learning models are often trained by providing empirical data to machine learning algorithms to determine the ideal parameters that constitute the machine learning models, and the trained machine learning models can be used to provide corresponding prediction results when faced with new prediction data. For example, machine learning models can be applied to the following scenarios: image processing scenarios, speech recognition scenarios, natural language processing scenarios, automatic control scenarios, intelligent question-and-answer scenarios, business decision-making scenarios, recommended business scenarios, search scenarios, and abnormal behavior detection scenarios. Of course, machine learning can also be applied to other scenarios not listed above.

[0004] However, many tasks involved in the machine learning process (e.g., feature preprocessing and selection, model algorithm selection, hyperparameter adjustment, etc.) often require both computer (especially machine learning) expertise and specific business experience related to the prediction scenario, and therefore require a lot of manpower costs. In order to improve the efficiency of machine learning, automatic machine learning (AutoML) technology has been proposed in recent years, which automates a series of processes from data preprocessing to parameter selection, thus greatly lowering the threshold for machine learning and reducing the manpower costs for machine learning.

[0005] However, when performing automatic machine learning, AutoML technology actually always assumes that the data used to train the machine learning model is independent and identically distributed, or in other words, assumes that the distribution state of the data used to train the machine learning model is unchanged (i.e., static data), without considering the changes in the data distribution state. However, in fact, in the actual scenario of applying machine learning, the distribution state of data often changes over time, and if the previously trained machine learning model is still used to perform predictions on new data whose data distribution state has changed, it is difficult to obtain more accurate prediction results. In view of this, a more complete automatic machine learning technology is needed. Summary of the invention

[0006] According to an exemplary embodiment of the present application, a method for performing automatic machine learning is provided, and the method may include: obtaining an initial machine learning model group including at least one machine learning model by automatic machine learning; continuously obtaining prediction data; monitoring whether a distribution state change exceeding a preset threshold occurs in the continuously obtained prediction data; and automatically updating the initial machine learning model group in the event of a distribution state change exceeding the threshold.

[0007] Optionally, in the initial machine learning model group, the prediction results provided by each machine learning model for the prediction data may be weighted summed as the prediction result of the initial machine learning model group for the prediction data, and the monitoring step may include: monitoring the distribution status of the continuously acquired prediction data and / or the prediction effect of the initial machine learning model group for the prediction data to determine whether there is a distribution status change that exceeds a preset threshold.

[0008] Optionally, in the event of a distribution state change that exceeds a preset threshold, one of a plurality of predetermined updating methods is fixedly or adaptively used to automatically update the initial machine learning model group.

[0009] Optionally, the predetermined multiple updating methods may include the following updating methods: a first updating method, retraining a new machine learning model group to replace the initial machine learning model group; a second updating method, adjusting the weights of each machine learning model in the initial machine learning model group; or a third updating method, training a new machine learning model group and combining the new machine learning model group with the initial machine learning model group to form an updated machine learning model group.

[0010] Optionally, in the first updating method, the training data formed based on at least a part of the predicted data and its actual results can be used to retrain a new machine learning model group; in the second updating method, the weights of each machine learning model in the initial machine learning model group can be adjusted according to the prediction effect of the initial machine learning model group on the observation data formed based on at least a part of the predicted data and its actual results; in the third updating method, the new machine learning model group can be trained using the training data formed based on at least a part of the predicted data and its actual results, and an updated machine learning model group can be formed by combining the new machine learning model group with the initial machine learning model group and determining the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observation data formed based on at least a part of the predicted data and its actual results.

[0011] Optionally, in the first update method, the at least part of the prediction data may include all the prediction data continuously acquired; in the second update method and the third update method, the at least part of the prediction data may include prediction data whose distribution state changes exceed a preset threshold or all the prediction data continuously acquired.

[0012] Optionally, the step of adaptively using one of a plurality of predetermined update methods to automatically update the initial machine learning model group may include: adaptively selecting a corresponding update method from among the plurality of predetermined update methods at least based on information related to the prediction data to automatically update the initial machine learning model group.

[0013] Optionally, the information related to the predicted data may include the amount of predicted data that can be used to update the initial machine learning model group and / or information related to changes in the distribution state of the predicted data. Optionally, the information related to changes in the distribution state of the predicted data may include a rate of change of the distribution state of the predicted data and / or the periodicity of changes in the distribution state of the predicted data.

[0014] Optionally, the step of adaptively selecting a corresponding update method may include: when the data volume is less than a first threshold and the distribution state change rate is greater than a second threshold, selecting a third update method; when the data volume is less than the first threshold and the distribution state change rate is less than the second threshold, selecting the first update method; when the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, selecting the second update method; when the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, selecting the second update method; when the data volume is greater than the first threshold and the distribution state changes periodically, selecting the second update method; when the data volume is greater than the first threshold, the distribution state change rate is greater than the second threshold, and the distribution state changes are not periodic, selecting the third update method.

[0015] Optionally, the monitoring step may include: obtaining prediction results of the initial machine learning model group for the prediction data; determining the prediction effect of the initial machine learning model group for the prediction data by comparing the obtained prediction results with the actual results of the prediction data; and determining whether a distribution state change that exceeds a threshold occurs based on the determined prediction effect.

[0016] Optionally, the method described in any of the above items can be applied to any of the following scenarios:

[0017] Online content recommendations;

[0018] Credit card fraud detection;

[0019] Abnormal behavior detection;

[0020] Smart marketing;

[0021] Intelligent investment advisor;

[0022] Network traffic analysis.

[0023] Optionally, the method described in any of the above items can be applied to any of the following scenarios:

[0024] Image processing scenarios;

[0025] Speech recognition scenario;

[0026] Natural language processing scenarios;

[0027] Automatically control the scene;

[0028] Intelligent question-answering scenario;

[0029] Business decision scenarios;

[0030] Recommended business scenarios;

[0031] Search scene;

[0032] Abnormal behavior detection scenario.

[0033] Optionally,

[0034] The image processing scenarios include: optical character recognition (OCR), face recognition, object recognition and image classification;

[0035] The speech recognition scenarios include: products that can perform human-computer interaction through speech;

[0036] The natural speech processing scenarios include: reviewing text, identifying spam content, and classifying text;

[0037] The automatic control scenarios include: prediction of mine group regulation operation, prediction of wind turbine group regulation operation and prediction of air conditioning system regulation operation;

[0038] The intelligent question-answering scenarios include: chatbots and intelligent customer service;

[0039] The business decision-making scenarios include: financial technology, medical and municipal fields. The financial technology field includes: marketing and customer acquisition, anti-fraud, anti-money laundering, underwriting and credit scoring; the medical field includes: disease screening and prevention, personalized health management and auxiliary diagnosis; the municipal field includes: social governance and regulatory enforcement, resource environment and facility management, industrial development and economic analysis, public services and people's livelihood security and smart cities;

[0040] The recommendation business scenarios include: recommendations of news, advertisements, music, consulting, videos and financial products;

[0041] The search scenarios include: web page search, image search, text search, and video search;

[0042] The abnormal behavior detection scenarios include: abnormal power consumption behavior detection of State Grid customers, network malicious traffic detection and abnormal behavior detection in operation logs.

[0043] According to another exemplary embodiment of the present application, a computer-readable medium for performing automatic machine learning is provided, wherein a computer program for executing the method as described above is recorded on the computer-readable medium.

[0044] According to another exemplary embodiment of the present application, a computing device for performing automatic machine learning is provided, including a storage component and a processor, wherein a set of computer-executable instructions is stored in the storage component, and when the set of computer-executable instructions is executed by the processor, the processor is prompted to perform the method as described above.

[0045] According to another exemplary embodiment of the present application, a device for performing automatic machine learning is provided, and the device may include: an initial machine learning model group acquisition unit, configured to acquire an initial machine learning model group including at least one machine learning model by automatic machine learning; a prediction data acquisition unit, configured to continuously acquire prediction data; a monitoring unit, configured to monitor whether a distribution state change exceeding a preset threshold occurs in the continuously acquired prediction data; and an updating unit, configured to automatically update the initial machine learning model group when a distribution state change exceeding the threshold occurs.

[0046] Optionally, in the initial machine learning model group, the prediction results provided by each machine learning model for the prediction data may be weighted summed as the prediction result of the initial machine learning model group for the prediction data, and the monitoring unit may monitor the distribution status of the continuously acquired prediction data and / or the prediction effect of the initial machine learning model group for the prediction data to determine whether there is a distribution status change that exceeds a preset threshold.

[0047] Optionally, in the event of a distribution state change that exceeds a preset threshold, the update unit may fixedly use or adaptively use one of a plurality of predetermined update methods to automatically update the initial machine learning model group.

[0048] Optionally, the predetermined multiple updating methods may include the following updating methods: a first updating method, retraining a new machine learning model group to replace the initial machine learning model group; a second updating method, adjusting the weights of each machine learning model in the initial machine learning model group; or, a third updating method, training a new machine learning model group and combining the new machine learning model group with the initial machine learning model group to form an updated machine learning model group.

[0049] Optionally, in the first updating method, the updating unit may retrain a new machine learning model group using training data formed based on at least a portion of the predicted data and its actual results; in the second updating method, the updating unit may adjust the weights of each machine learning model in the initial machine learning model group according to the prediction effect of the initial machine learning model group on the observed data formed based on at least a portion of the predicted data and its actual results; in the third updating method, the updating unit may train a new machine learning model group using training data formed based on at least a portion of the predicted data and its actual results, and form an updated machine learning model group by combining the new machine learning model group with the initial machine learning model group and determining the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observed data formed based on at least a portion of the predicted data and its actual results.

[0050] Optionally, in the first update method, the at least part of the prediction data may include all the prediction data continuously acquired; in the second update method and the third update method, the at least part of the prediction data may include prediction data whose distribution state changes exceed a preset threshold or all the prediction data continuously acquired.

[0051] Optionally, the updating unit may adaptively select a corresponding updating method from among the plurality of predetermined updating methods at least according to information related to the prediction data to automatically update the initial machine learning model group.

[0052] Optionally, the information related to the predicted data may include the amount of predicted data that can be used to update the initial machine learning model group and / or information related to changes in the distribution state of the predicted data. Optionally, the information related to changes in the distribution state of the predicted data may include a rate of change of the distribution state of the predicted data and / or the periodicity of changes in the distribution state of the predicted data.

[0053] Optionally, when the data volume is less than a first threshold and the distribution state change rate is greater than a second threshold, the update unit may select a third update method; when the data volume is less than the first threshold and the distribution state change rate is less than the second threshold, the update unit may select the first update method; when the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, the update unit may select the second update method; when the data volume is greater than the first threshold and the distribution state changes periodically, the update unit may select the second update method; when the data volume is greater than the first threshold, the distribution state change rate is greater than the second threshold, and the distribution state changes are not periodic, the update unit may select the third update method.

[0054] Optionally, the monitoring unit may obtain prediction results of the initial machine learning model group for the prediction data, determine the prediction effect of the initial machine learning model group for the prediction data by comparing the acquired prediction results with the actual results of the prediction data, and determine whether a distribution state change that exceeds a threshold occurs based on the determined prediction effect.

[0055] Optionally, the device described in any one of the above items can be applied to any of the following scenarios:

[0056] Online content recommendations;

[0057] Credit card fraud detection;

[0058] Abnormal behavior detection;

[0059] Smart marketing;

[0060] Intelligent investment advisor;

[0061] Network traffic analysis.

[0062] Optionally, the device as described in any of the above items can be applied to any of the following scenarios:

[0063] Image processing scenarios;

[0064] Speech recognition scenario;

[0065] Natural language processing scenarios;

[0066] Automatically control the scene;

[0067] Intelligent question-answering scenario;

[0068] Business decision scenarios;

[0069] Recommended business scenarios;

[0070] Search scene;

[0071] Abnormal behavior detection scenario.

[0072] Optionally,

[0073] The image processing scenarios include: optical character recognition (OCR), face recognition, object recognition and image classification;

[0074] The speech recognition scenarios include: products that can perform human-computer interaction through speech;

[0075] The natural speech processing scenarios include: reviewing text, identifying spam content, and classifying text;

[0076] The automatic control scenarios include: prediction of mine group regulation operation, prediction of wind turbine group regulation operation and prediction of air conditioning system regulation operation;

[0077] The intelligent question-answering scenarios include: chatbots and intelligent customer service;

[0078] The business decision-making scenarios include: financial technology, medical and municipal fields. The financial technology field includes: marketing and customer acquisition, anti-fraud, anti-money laundering, underwriting and credit scoring; the medical field includes: disease screening and prevention, personalized health management and auxiliary diagnosis; the municipal field includes: social governance and regulatory enforcement, resource environment and facility management, industrial development and economic analysis, public services and people's livelihood security and smart cities;

[0079] The recommendation business scenarios include: recommendations of news, advertisements, music, consulting, videos and financial products;

[0080] The search scenarios include: web page search, image search, text search, and video search;

[0081] The abnormal behavior detection scenarios include: abnormal power consumption behavior detection of State Grid customers, network malicious traffic detection and abnormal behavior detection in operation logs.

[0082] According to the method and apparatus for performing automatic machine learning of the exemplary embodiments of the present application, the current automatic machine learning technology is further improved by monitoring the distribution state changes of the predicted data during the automatic machine learning process and automatically updating the initial machine learning model when the distribution state changes exceeding a preset threshold appear in the predicted data. Moreover, since the distribution state changes of the predicted data can be continuously learned by automatically updating the machine learning model group, the updated machine learning model group can be used to provide more accurate prediction results for new predicted data. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] These and / or other aspects and advantages of the present application will become clearer and easier to understand from the following detailed description of the embodiments of the present application in conjunction with the accompanying drawings, in which:

[0084] Figure 1 is a block diagram showing an apparatus for performing automatic machine learning according to an exemplary embodiment of the present application;

[0085] Figure 2 is a flowchart illustrating a method for performing automatic machine learning according to an exemplary embodiment of the present application;

[0086] Figure 3 is a schematic diagram illustrating a method for performing automatic machine learning according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0087] In order to enable those skilled in the art to better understand the present application, exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0088] Figure 1 1 is a block diagram showing an apparatus 100 for performing automatic machine learning according to an exemplary embodiment of the present application (hereinafter, referred to as the automatic machine learning apparatus 100). The automatic machine learning apparatus 100 may include an initial machine learning model group acquisition unit 110, a prediction data acquisition unit 120, a monitoring unit 130, and an updating unit 140.

[0089] Specifically, the initial machine learning model group acquisition unit 110 can acquire an initial machine learning model group including at least one machine learning model by an automatic machine learning method. Here, the automatic machine learning method can be any automatic machine learning method such as AutoML and a combination of different automatic machine learning methods. In addition, it should be noted that the initial machine learning model group can not only include one or more machine learning models, but also when the initial machine learning model group includes multiple machine learning models, the types of the multiple machine learning models can be the same or different (for example, the same or different feature processing can be applied according to the same or different algorithms, etc.), and each machine learning model can be any type of machine learning model, for example, a logistic regression (LR) model, a support vector machine (SVM), a gradient boosting decision tree or a deep neural network, etc., but not limited to this.

[0090] In one embodiment of the present invention, the initial machine learning model group is used in any of the following scenarios: online content (such as news, advertising, music, etc.) recommendation; credit card fraud detection; abnormal behavior detection; intelligent marketing; intelligent investment advisor; network traffic analysis.

[0091] Furthermore, the scenarios to which the initial machine learning model group in the embodiments of the present invention can be applied include but are not limited to the following scenarios:

[0092] Image processing scenarios include: optical character recognition (OCR), face recognition, object recognition and image classification. For example, OCR can be applied to bill (such as invoice) recognition, handwriting recognition, etc., face recognition can be applied to security and other fields, object recognition can be applied to traffic sign recognition in autonomous driving scenarios, and image classification can be applied to "take a photo and buy" and "find the same item" on e-commerce platforms.

[0093] Voice recognition scenarios, including products that enable human-computer interaction through voice, such as mobile phone voice assistants (such as Siri on Apple phones) and smart speakers;

[0094] Natural language processing scenarios, including: reviewing text (such as contracts, legal documents, and customer service records), identifying spam content (such as identifying spam text messages), and classifying text (emotion, intent, and topic).

[0095] Automatic control scenarios include: prediction of adjustment operations of mine groups, wind turbine groups and air conditioning systems; specifically, for mine groups, a group of adjustment operations with high mining rates can be predicted; for wind turbine groups, a group of adjustment operations with high power generation efficiency can be predicted; for air conditioning systems, a group of adjustment operations that can meet demand while saving energy can be predicted;

[0096] Intelligent question-and-answer scenarios, including chatbots and intelligent customer service;

[0097] Business decision-making scenarios, including: scenarios in the fields of financial technology, medical care, and municipal administration, among which:

[0098] The financial technology field includes: marketing (such as coupon usage prediction, ad click behavior prediction, user portrait mining, etc.) and customer acquisition, anti-fraud, anti-money laundering, underwriting and credit scoring, and commodity price prediction;

[0099] Medical fields include: disease screening and prevention, personalized health management and auxiliary diagnosis;

[0100] The municipal sector includes: social governance and regulatory enforcement, resource environment and facility management, industrial development and economic analysis, public services and livelihood security, and smart cities (deployment and management of various urban resources such as public transportation, online car-hailing, and shared bicycles);

[0101] Recommended business scenarios, including: recommendations of news, advertising, music, consulting, videos, and financial products (such as financial management, insurance, etc.);

[0102] Search scenarios include: web search, image search, text search, video search, etc.;

[0103] Abnormal behavior detection scenarios include: abnormal behavior detection of State Grid customers’ electricity consumption, network malicious traffic detection, abnormal behavior detection in operation logs, etc.

[0104] According to an exemplary embodiment, the initial machine learning model group acquisition unit 110 can train the initial machine learning model group based on the pre-acquired training data by an automatic machine learning method. Here, the training data can be acquired from an external data source (e.g., a server, a database, etc.) by the initial machine learning model group acquisition unit 110, other data acquisition units (not shown) included in the automatic machine learning device 100, or other data acquisition devices, or can be input into the automatic machine learning device 100 through an input device. For example, the above-mentioned pre-acquired training data can be continuously input in a streaming manner, or can be input once or in batches, so that the initial machine learning model group acquisition unit 110 can use these training data to train the initial machine learning model group. As an example, the initial machine learning model group acquisition unit 110 can adopt an AutoML method based on Ensemble Learning to train the initial machine learning model group based on the acquired training data. Here, the initial machine learning model group acquisition unit 110 can be based on a greedy algorithm, by continuously iteratively adjusting the weight of each machine learning model to maximize the prediction effect of the initial machine learning model group on the training data set, to finally determine the weight of each machine learning model in the initial machine learning model group. According to an exemplary embodiment, an initial machine learning model group obtained by automatic machine learning can be used to perform predictions on prediction data, and the initial machine learning model group including multiple machine learning models can generally provide better prediction results than a single machine learning model.

[0105] Those skilled in the art can understand that when the initial machine learning model group is applied to a specific scenario, the initial machine learning model group is based on the training sample data set corresponding to the scenario, and a specific machine learning strategy (including at least one machine learning algorithm and a corresponding hyperparameter combination) is used to perform model training. For example, for commodity price prediction, the corresponding training sample data set is the historical data of the commodity (for example, the attributes, season, inventory, etc. of the commodity when it was sold in history are used as the characteristics of the sample, and the price sold is used as the label), and the regression machine learning algorithm and the adapted hyperparameters are used to perform machine learning training to obtain the initial machine learning model group for predicting the price of the commodity. Accordingly, in the commodity price prediction scenario, the prediction data is composed of the current relevant information of the commodity, and the prediction sample is constructed based on the prediction data, for example, the current attributes, season and inventory of the commodity are used as the characteristics of the prediction sample, and the prediction sample is input into the initial machine learning model group to obtain the predicted price output by the model. Other scenarios are similar and will not be described one by one here.

[0106] The prediction data acquisition unit 120 can continuously acquire prediction data. As an example, the prediction data can be continuously input in a streaming manner, where the prediction data can come from the entity that expects to obtain the prediction results of the model (for example, from the bank, enterprise, school, etc. that expects to obtain the prediction results), or the prediction data can also come from outside the above entities, for example, from data providers, the Internet (for example, social networking sites), mobile operators, APP operators, express companies, credit institutions, etc. In addition, the prediction data can be data obtained online or offline, and the prediction data can be pre-processed into a predetermined format before being acquired by the prediction data acquisition unit 120 for subsequent prediction processing, or can be processed into a predetermined format after being acquired by the prediction data acquisition unit 120 for subsequent prediction processing. In addition, the prediction data can also be input into the prediction data acquisition unit 120 through an input device, or can be automatically generated by the prediction data acquisition unit 120 according to the acquired data, or can be acquired by the prediction data acquisition unit 120 from a network (for example, a storage medium on the network (for example, a data warehouse)). In addition, an intermediate data exchange device such as a server can help the prediction data acquisition unit 120 to obtain corresponding data from an external data source. It should be noted that this application does not impose any restrictions on the generation method, existence form, type, source, and acquisition method of the prediction data here, as long as it is applicable to the initial machine learning model group.

[0107] The acquired prediction data can be used to form prediction samples corresponding to the prediction data so that the corresponding prediction process is provided by the machine learning model group. According to an exemplary embodiment, in the above-mentioned initial machine learning model group, the prediction results provided by each machine learning model for the prediction data are weighted and summed as the prediction results of the initial machine learning model group for the prediction data.

[0108] The monitoring unit 130 may monitor whether a distribution state change exceeding a preset threshold value occurs in the continuously acquired prediction data. Here, the distribution state change may include a change in the joint probability distribution of the prediction data. In addition, the preset threshold here may be pre-set by the user according to the actual application scenario of the machine learning model. According to an exemplary embodiment, the monitoring unit 130 may monitor the distribution state of the continuously acquired prediction data and / or the prediction effect of the initial machine learning model group on the prediction data to determine whether a distribution state change exceeding a preset threshold value occurs. Here, the distribution state of the prediction data may refer to the probability distribution state of the prediction data and its true result, and the size of its change may characterize the degree of change of the features contained in the prediction data to a certain extent. Therefore, by comparing its change size with the preset threshold, it can be determined whether a distribution state change exceeding the preset threshold value occurs in the prediction data.

[0109] As an example, the prediction effect of the initial machine learning model group for the predicted data may include prediction accuracy, precision, recall, etc., but it is clear to those skilled in the art that the indicators used to evaluate the prediction effect are not limited to this. Generally, if the distribution state of the predicted data changes, the prediction effect of the initial machine learning model group trained using the previous training data for the newly arrived predicted data will also decrease. Therefore, optionally, the monitoring unit 130 can also determine whether a distribution state change exceeding a preset threshold value occurs in the continuously acquired predicted data by monitoring the prediction effect of the initial machine learning model group for the predicted data. Specifically, for example, the monitoring unit 130 can obtain the prediction results of the initial machine learning model group for the continuously acquired predicted data, determine the prediction effect of the initial machine learning model group for the predicted data by comparing the obtained prediction results with the actual results of the predicted data, and determine whether a distribution state change exceeding the threshold value occurs based on the determined prediction effect. As an example, the monitoring unit can compare the change in the prediction effect (for example, the change in the prediction accuracy) with the preset threshold to determine whether a distribution state change exceeding the preset threshold value occurs in the predicted data. As an example, the monitoring unit 130 may obtain the prediction results of the initial machine learning model group for the continuously acquired prediction data from the prediction unit (not shown) of the automatic machine learning device. Specifically, the prediction unit may use the initial machine learning model group to perform predictions on the continuously acquired prediction data to generate prediction results for the continuously acquired prediction data, and provide the generated prediction results to the monitoring unit 130.

[0110] Alternatively, optionally, the monitoring unit 130 may also monitor both the distribution state of the continuously acquired prediction data and the prediction effect of the initial machine learning model group on the prediction data to determine whether a distribution state change exceeding a preset threshold occurs, so as to comprehensively analyze the changes in the above two to obtain a more accurate determination result on whether a distribution state change exceeding a preset threshold occurs in the prediction data.

[0111] In the event that there is no distribution state change exceeding the preset threshold, the initial machine learning model group does not need to be updated, and the prediction results of the initial machine learning model group for the prediction data can be provided to the entity that expects to obtain the model prediction results. However, in the event that there is a distribution state change exceeding the preset threshold, the update unit 140 may automatically update the initial machine learning model group. According to an exemplary embodiment, in the event that there is a distribution state change exceeding the preset threshold, the update unit 140 may fixedly use or adaptively use one of a plurality of predetermined update methods to automatically update the initial machine learning model group. "Fixed use" may mean that in the event that there is a distribution state change exceeding the threshold, the update unit 140 may always select a fixed update method from a plurality of predetermined update methods to automatically update the initial machine learning model group. "Adaptively use" may mean that in the event that there is a distribution state change exceeding the threshold, the update unit 140 may adaptively select a corresponding update method from the plurality of predetermined update methods to automatically update the initial machine learning model group. According to an exemplary embodiment, the predetermined multiple updating methods here may include the following updating methods: a first updating method, retraining a new machine learning model group to replace the initial machine learning model group; a second updating method, adjusting the weights of each machine learning model in the initial machine learning model group; or a third updating method, training a new machine learning model group and combining the new machine learning model group with the initial machine learning model group to form an updated machine learning model group. However, the updating method is not limited to this, for example, the following updating method may also be used: deleting some machine learning models in the initial machine learning model group whose prediction effects are lower than a threshold and retaining only some machine learning models in the initial machine learning model group with relatively high prediction effects, and then combining the retained some machine learning models with the retrained machine learning model group to form an updated machine learning model group.

[0112] According to an exemplary embodiment, in the above first updating method, the updating unit 140 may use the training data formed based on at least a part of the predicted data and its true results to retrain the new machine learning model group. Here, the at least a part of the predicted data may be all the predicted data continuously acquired by the prediction data acquisition unit 120, but is not limited thereto. Optionally, the at least a part of the predicted data may also be a part of the predicted data of the continuously acquired predicted data, which at least includes the predicted data whose distribution state changes beyond a preset threshold, rather than all the continuously acquired predicted data. Here, the true result of the predicted data may include true label information about the predicted data. As an example, the true label information may include true feedback information about the predicted data obtained from an external data source. In addition, as an example, in the same way as the previous method of acquiring the initial machine learning model group, the updating unit 140 may also retrain the new machine learning model group using an automatic machine learning method, and may determine the weights of each machine learning model in the new machine learning model group based on the greedy algorithm according to the prediction effect of the new machine learning model group on the above training data. Regarding the greedy algorithm, given that those skilled in the art are familiar with the relevant content, the specific details of the greedy algorithm will not be repeated here.

[0113] In the second updating method, the updating unit 140 may adjust the weights of each machine learning model in the initial machine learning model group according to the prediction effect of the initial machine learning model group on the observation data formed based on at least a portion of the prediction data and its actual results. According to an exemplary embodiment, the at least a portion of the prediction data may include prediction data whose distribution state changes exceed a preset threshold or all prediction data acquired continuously. It should be noted that, unlike the first updating method, the second update does not require retraining a new machine learning model group, but only adjusts the weights of each machine learning model in the previous initial machine learning model group to obtain an updated machine learning model group. As an example, the updating unit 140 can calculate the contribution of each machine learning model when the prediction effect of the initial machine learning model group on the above-mentioned observation data is maximized by evaluating the prediction effect performance of each machine learning model in the initial machine learning model group on the above-mentioned observation data, so as to determine the weight of each machine learning model.

[0114] In the third updating method, the updating unit 140 can train a new machine learning model group using training data formed based on at least a portion of the predicted data and its true results, and form an updated machine learning model group by combining the new machine learning model group with the initial machine learning model group and determining the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observed data formed based on at least a portion of the predicted data and its true results. That is, the updating unit 140 can form an updated machine learning model group by introducing a new machine learning model group into the initial machine learning model group. Specifically, the updating unit 140 first trains a new machine learning model group using training data formed based on at least a portion of the predicted data and its true results. Here, the at least a portion of the predicted data may include predicted data whose distribution state changes exceed a preset threshold or all predicted data that are continuously acquired, and the method of training a new machine learning model group using training data in the third updating method may be the same as the method of retraining a new machine learning model group in the first updating method mentioned above (for example, an automatic machine learning method may also be used), so it will not be repeated here. Subsequently, the updating unit 140 may combine the new machine learning model group with the initial machine learning model group, and determine the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observation data formed based on at least a portion of the prediction data and its true results. Here, the observation data formed based on at least a portion of the prediction data and its true results may be completely the same or partially the same as the training data formed based on at least a portion of the prediction data and its true results described above. In addition, similar to other updating methods, in the third updating method, the updating unit 140 may also determine the weights of each machine learning model in the combined machine learning model group based on a greedy algorithm, which will not be repeated here.

[0115] As described above, the updating unit 140 may adaptively use one of a plurality of predetermined updating methods to automatically update the initial machine learning model group. Specifically, according to an exemplary embodiment, the updating unit 140 may adaptively select a corresponding updating method from among the plurality of predetermined updating methods to automatically update the initial machine learning model group based at least on information related to the prediction data. Here, as an example, the information related to the prediction data may include the amount of prediction data that can be used to update the initial machine learning model group and / or information related to changes in the distribution state of the prediction data. As described above, if the initial machine learning model group can be updated using all the prediction data that is continuously acquired, the amount of prediction data that can be used to update the initial machine learning model group may be the amount of prediction data that is continuously acquired. If the initial machine learning model group can be updated using prediction data whose distribution state has changed, the amount of prediction data that can be used to update the initial machine learning model group may be the amount of prediction data whose distribution state has changed. As an example, the information related to changes in the distribution state of the prediction data may include a distribution state change rate of the prediction data and / or a periodicity of changes in the distribution state of the prediction data. Here, the distribution state change rate of the predicted data may refer to how fast the distribution state of the predicted data changes, and it may be obtained by, for example, directly calculating how fast the distribution state of the predicted data changes within a predetermined time, or it may be obtained by calculating how fast the prediction effect of the machine learning model group on the predicted data changes. The periodicity of the distribution state change of the predicted data may refer to whether the distribution state of the predicted data changes periodically.

[0116] According to an exemplary embodiment, assuming that the predetermined multiple update methods include the above three update methods (i.e., the first update method, the second update method, and the third update method), when the update unit 140 adaptively selects the corresponding update method, when the data volume is less than the first threshold and the distribution state change rate is greater than the second threshold, the update unit 140 may select the third update method; when the data volume is less than the first threshold and the distribution state change rate is less than the second threshold, the update unit 140 may select the first update method; when the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, the update unit 140 may select the second update method; when the data volume is greater than the first threshold and the distribution state change rate is periodic, the update unit 140 may select the second update method; when the data volume is greater than the first threshold, the distribution state change rate is greater than the second threshold, and the distribution state change is not periodic, the update unit 140 may select the third update method. This is because the first update method usually uses all the continuously acquired prediction data to retrain the new machine learning model group, so the computing resources and time consumed are often large. Therefore, if the data volume is small and the state changes slowly, it is more appropriate to select the first update method. Since the second update method does not require retraining a new machine learning model group but only adjusts the weights of the initial machine learning model group, the computing resources and time consumed are relatively small. Therefore, if the amount of data is large and the distribution state changes slowly, or the amount of data is large and the distribution state changes periodically, it is more suitable to choose the second update method. Since the third update method introduces a new machine learning model group into the initial machine learning model group, it is more suitable for handling situations where the distribution state changes rapidly. Here, the first threshold and the second threshold can be set according to the actual application scenario of machine learning, and this application has no restrictions on this.

[0117] It should be noted that although several situations of adaptively selecting corresponding update methods are mentioned in the exemplary embodiments, it is clear to those skilled in the art that neither the factors on which the adaptive selection of the update method is based nor the specific selection strategy of the adaptive selection of the update method is limited to the above examples.

[0118] The updated machine learning model group can be used to continue to perform predictions on the prediction data acquired by the prediction data acquisition unit 120, and the prediction results of the updated machine learning model group on the prediction data can be provided to the monitoring unit 130, so that the monitoring unit 130 can determine whether a distribution state change exceeding a preset threshold value occurs in the prediction data based on the prediction results and / or the distribution state change of the prediction data. In the case where the monitoring unit 130 determines that a distribution state change exceeding a preset threshold value occurs in the prediction data, the update unit 140 can automatically update the current machine learning model group by fixedly using or adaptively using one of the predetermined multiple update methods as described above.

[0119] In addition, according to an exemplary embodiment, the automatic machine learning device 100 can be deployed in the cloud or locally. The automatic machine learning device 100 can be deployed on, for example, a public cloud, a private cloud, or a hybrid cloud, and can provide machine learning services related to prediction data to entities (e.g., content operators) that expect to obtain corresponding prediction results. Optionally, the automatic machine learning device 100 can also be deployed locally, for example, in a local system of a content operator.

[0120] It should be noted that, although the automatic machine learning device 100 is divided into units for respectively performing corresponding processing (e.g., the initial machine learning model group acquisition unit 110, the prediction data acquisition unit 120, the monitoring unit 130, and the updating unit 140) for the convenience of description, it is clear to those skilled in the art that the processing performed by the above-mentioned units can also be performed by the automatic machine learning device 100 itself without any specific unit division or without clear demarcation between the units. In addition, the above reference Figure 1 The described automatic machine learning device 100 is not limited to including the units described above, but some units may be added as needed, and the above units may also be combined.

[0121] According to the automatic machine learning device of the exemplary embodiment of the present application, the distribution state changes of the input (e.g., inflow) prediction data can be continuously monitored during the automatic machine learning process, and the initial machine learning model can be continuously and automatically updated according to the monitoring results, so that the continuously updated initial machine learning model group can always provide relatively accurate prediction results, thereby further improving the current automatic machine learning technology. In addition, since the initial machine learning model group can be continuously and automatically updated in the event of a distribution state change, the distribution state changes of the prediction data can be continuously and automatically learned, thereby facilitating the use of the updated initial machine learning model group to provide more accurate prediction results for new prediction data.

[0122] The above has been referred to Figure 1 The automatic machine learning device 100 according to an exemplary embodiment of the present application is described. Figure 2 and Figure 3 A method for performing automatic machine learning according to an exemplary embodiment of the present application is described.

[0123] Figure 2 A flowchart showing a method for performing automatic machine learning according to an exemplary embodiment of the present application is shown.

[0124] Here, as an example, Figure 2 The automated machine learning method shown can be Figure 1The automatic machine learning device 100 shown in the figure can be implemented by the automatic machine learning device 100, or it can be implemented completely by a computer program in software, or it can be implemented by a computing device with a specific configuration. Figure 2 The method shown is Figure 1 The automatic machine learning device 100 shown in FIG. 1 is used to perform the automatic machine learning. It is assumed that the automatic machine learning device 100 may have Figure 1 Configuration shown.

[0125] Reference Figure 2 In step S210, the initial machine learning model group acquisition unit 110 may acquire an initial machine learning model group including at least one machine learning model by automatic machine learning. Figure 1 The automatic machine learning method and the initial machine learning model group have been described, so they are not repeated here. As an example, the initial machine learning model group acquisition unit 110 can train the initial machine learning model group based on the pre-acquired training data through the automatic machine learning method. Regarding the training data and the specific method of training the initial machine learning model group, the above reference is also made to Figure 1 This has been described in the process of describing the initial machine learning model group acquisition unit 110 and will not be repeated here.

[0126] In step S220, the prediction data acquisition unit 120 may continuously acquire prediction data. As an example, the prediction data acquisition unit 120 may continuously acquire prediction data in a manual, semi-automatic or fully automatic manner. The acquired prediction data may be pre-processed into a predetermined format or form, or may be processed into a predetermined format or form after being acquired by the prediction data acquisition unit 120. For example, the prediction data acquisition unit 120 may receive prediction data manually and continuously input by an operator (e.g., an operator from an entity that expects to obtain prediction results) through an input device (e.g., a workstation). Alternatively, the prediction data acquisition unit 120 may systematically and continuously acquire prediction data from a data source in a fully automatic manner, for example, by systematically requesting a data source and obtaining the requested prediction data from a response through a timer mechanism implemented in software, firmware, hardware or a combination thereof. The data source may include one or more databases or servers. The prediction data acquisition unit 120 may acquire prediction data via an internal network and / or an external network, and the prediction data may be encrypted data. In the case where the server, database, network, etc. are configured to communicate with each other, the acquisition of prediction data can be performed automatically without human intervention, but it should be noted that certain user input operations may still exist in this manner. For example, when a specific user input is received, a request to obtain prediction data is generated. In addition, each time the prediction data is obtained, the obtained prediction data can be stored in a corresponding storage medium as needed. As an example, a data warehouse can be used to store the continuously obtained prediction data.

[0127] According to an exemplary embodiment, the acquired prediction data can be used to form prediction samples corresponding to the prediction data to participate in the prediction process of the initial machine learning model group. According to an exemplary embodiment, in the above-mentioned initial machine learning model group, the prediction results provided by each machine learning model for the prediction data are weighted and summed as the prediction results of the initial machine learning model group for the prediction data.

[0128] In step S230, the monitoring unit 130 may monitor whether a distribution state change exceeding a preset threshold value occurs in the continuously acquired prediction data. According to an exemplary embodiment, in step S230, the monitoring unit 230 may monitor the distribution state of the continuously acquired prediction data and / or the prediction effect of the initial machine learning model group on the prediction data to determine whether a distribution state change exceeding a preset threshold value occurs. Figure 1 In the description of the monitoring unit, the distribution state transformation, preset threshold value and prediction effect are introduced, so they are not repeated here. As an example, in step S230, the monitoring unit 130 may monitor the change size of the joint probability distribution state of the prediction data, and compare the transformation size with the preset threshold value to determine whether a distribution state change exceeding the preset threshold value occurs in the prediction data. As another example, in step S230, the monitoring unit 130 may obtain the prediction results of the initial machine learning model group for the continuously acquired prediction data, determine the prediction effect of the initial machine learning model group for the prediction data by comparing the acquired prediction results with the actual results of the prediction data, and determine whether a distribution state change exceeding the threshold value occurs based on the determined prediction effect. Optionally, in step S230, the monitoring unit 130 may monitor both the distribution state of the continuously acquired prediction data and the prediction effect of the initial machine learning model group for the prediction data, and determine whether a distribution state change exceeding the threshold value occurs in the prediction data by comprehensively analyzing the changes of the above two.

[0129] In the case where there is no distribution state change exceeding the preset threshold, the initial machine learning model group does not need to be updated, and the prediction data acquisition unit 120 can continue to acquire new prediction data. In addition, the prediction results of the initial machine learning model group for the prediction data can be provided to the entity that expects to obtain the model prediction results. However, in the case where the monitoring unit 130 determines in step S230 that there is a distribution state change exceeding the preset threshold in the prediction data, in step S240, the update unit 140 can automatically update the initial machine learning model group.

[0130] Specifically, in step S240, in the event of a distribution state change that exceeds a preset threshold, the update unit 140 may fixedly use or adaptively use one of a plurality of predetermined update methods to automatically update the initial machine learning model group. According to an exemplary embodiment, the plurality of predetermined update methods here may include the following update methods: a first update method, retraining a new machine learning model group to replace the initial machine learning model group; a second update method, adjusting the weights of each machine learning model in the initial machine learning model group; or a third update method, training a new machine learning model group and combining the new machine learning model group with the initial machine learning model group to form an updated machine learning model group. However, the update method is not limited thereto.

[0131] According to an exemplary embodiment, in the first updating mode, the updating unit 140 may retrain a new machine learning model group using training data formed based on at least a portion of the predicted data and its true results. As an example, the at least a portion of the predicted data may be all the predicted data continuously acquired in step S120. In the second updating mode, the updating unit 140 may adjust the weights of each machine learning model in the initial machine learning model group according to the prediction effect of the initial machine learning model group on the observed data formed based on at least a portion of the predicted data and its true results. As an example, the at least a portion of the predicted data may include predicted data whose distribution state changes exceed a preset threshold or all the predicted data continuously acquired. In the third updating mode, the updating unit 140 may train a new machine learning model group using training data formed based on at least a portion of the predicted data and its true results, and, by combining the new machine learning model group with the initial machine learning model group, and determining the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observed data formed based on at least a portion of the predicted data and its true results to form an updated machine learning model group. As an example, in the third updating mode, the at least a portion of the predicted data may include predicted data whose distribution state changes exceed a preset threshold or all the predicted data continuously acquired.

[0132] As described above, in step S240, the update unit 140 may adaptively use one of a plurality of predetermined update methods to automatically update the initial machine learning model group. Specifically, according to an exemplary embodiment, the update unit 140 may adaptively select a corresponding update method from among the plurality of predetermined update methods to automatically update the initial machine learning model group based at least on information related to the prediction data. Here, the information related to the prediction data may include the amount of prediction data that can be used to update the initial machine learning model group and / or information related to changes in the distribution state of the prediction data. As an example, the information related to changes in the distribution state of the prediction data may include a rate of change of the distribution state of the prediction data and / or the periodicity of changes in the distribution state of the prediction data.

[0133] According to an exemplary embodiment, assuming that the predetermined multiple update methods include the above three update methods (i.e., the first update method, the second update method and the third update method), then in step S240, when the data volume is less than the first threshold and the distribution state change rate is greater than the second threshold, the update unit 140 may select the third update method; when the data volume is less than the first threshold and the distribution state change rate is less than the second threshold, the update unit 140 may select the first update method; when the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, the update unit 140 may select the second update method; when the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, the update unit 140 may select the second update method; when the data volume is greater than the first threshold and the distribution state changes periodically, the update unit 140 may select the second update method; when the data volume is greater than the first threshold, the distribution state change rate is greater than the second threshold, and the distribution state changes are not periodic, the update unit 140 may select the third update method.

[0134] The above reference Figure 1 In the process of describing the update unit, the above three update methods and the related contents involved have been introduced, so they will not be repeated here. In addition, it should be noted that the factors based on which the update method is adaptively selected in step S240 are not limited to the amount of data that can be used to update the prediction data of the initial machine learning model group and the information related to the change in the distribution state of the prediction data, but other information related to the prediction data can also be considered, and the specific selection strategy for adaptively selecting the update method can also change according to other considerations.

[0135] After the initial machine learning model group is updated in step S240, the updated machine learning model group can be used to continue to perform predictions on the prediction data acquired by the prediction data acquisition unit 120 in step S220, and the prediction results of the updated machine learning model group on the prediction data can be provided to the monitoring unit 130, so that the monitoring unit 130 can continue to execute step S230 to determine whether a distribution state change exceeding a preset threshold value occurs in the prediction data, and in the event of a distribution state change exceeding the preset threshold value, the updating unit 140 can automatically update the current machine learning model group in step S240 in the manner of automatically updating the initial machine learning model group as described above. The process as described above can be continued, so that changes in the distribution state of the prediction data can always be considered in the automatic machine learning and such changes can be continuously learned by automatically updating the current machine learning model group, so that the machine learning model group can provide more accurate prediction results for the new prediction data.

[0136] It should be noted that although the above description Figure 2 When Figure 2 However, it is clear to those skilled in the art that the steps in the above method are not necessarily executed in sequence, but can also be executed in parallel. For example, the above-described steps S220 and S230 can be executed in parallel, that is, while the monitoring unit 230 monitors whether there is a distribution state change exceeding a preset threshold in the acquired prediction data, the prediction data acquisition unit 220 can still continue to acquire new prediction data. In addition, during the automatic update of the initial machine learning model in step S240, step S220 can also be executed simultaneously to continuously acquire prediction data.

[0137] According to the automatic machine learning method of the exemplary embodiment of the present application, the distribution state changes of the predicted data can be monitored during the automatic machine learning process, and the initial machine learning model can be automatically updated when the distribution state changes exceeding the preset threshold value appear in the predicted data, thereby further improving the current automatic machine learning technology. In addition, because the machine learning model group can continuously and automatically learn the distribution state changes of the predicted data through the above monitoring operation and automatic update operation, it is convenient to provide more accurate prediction results for new predicted data.

[0138] In order to more clearly understand the automatic machine learning method according to the exemplary embodiment of the present application, the following reference is made to Figure 3 A brief description of the exemplary process of the automatic machine learning method is given more intuitively.

[0139] Figure 3 is a schematic diagram illustrating a method for performing automatic machine learning according to an exemplary embodiment of the present application.

[0140] exist Figure 3 In the exemplary embodiment shown, it is assumed that only the prediction effect of the initial machine learning model group on the prediction data is monitored to determine whether a distribution state change exceeding a preset threshold value occurs in the prediction data. However, it should be clear that, as mentioned above, Figure 2 As described, in the present application, the distribution state of the continuously acquired prediction data can also be directly monitored to determine whether a distribution state change exceeding a preset threshold value occurs in the prediction data, or, the distribution state of the continuously acquired prediction data and the prediction effect of the initial machine learning model group on the prediction data can both be monitored to determine whether a distribution state change exceeding a preset threshold value occurs.

[0141] like Figure 3 As shown, first, the initial machine learning model group acquisition unit 110 can acquire training data, and train the initial machine learning model group based on the acquired training data by AutoML. Subsequently, the prediction data acquisition unit 120 continuously acquires the prediction data. Here, the acquired prediction data can be input into the initial machine learning model group at predetermined intervals to perform predictions on the prediction data using the initial machine learning model group. Next, the prediction results of the initial machine learning model group for the prediction data can be provided to the monitoring unit 130. Subsequently, the monitoring unit 130 can determine whether a distribution state change exceeding a preset threshold value occurs in the prediction data according to the prediction effect (e.g., prediction accuracy) of the initial machine learning model group for the prediction data. Specifically, for example, the monitoring unit 130 can determine the prediction effect of the initial machine learning model group for the prediction data by comparing the acquired prediction result with the actual result of the prediction data, and determine whether a distribution state change exceeding the threshold value occurs according to the determined prediction effect. In the case where there is no distribution state change exceeding the preset threshold value, the prediction data acquisition unit 120 continues to acquire the prediction data. In the case where there is a distribution state change exceeding the preset threshold value, the updating unit 140 can automatically update the initial machine learning model group. The updated machine learning model group can continue to perform predictions for the prediction data acquired by the prediction data acquisition unit 120. Such a process can be repeatedly performed, so that whenever a distribution state change exceeding a preset threshold value is detected in the continuously acquired prediction data, the machine learning model group can be automatically updated, thereby continuously and automatically learning the distribution state change of the prediction data, so that the machine learning model group can provide more accurate prediction results for the new prediction data.

[0142] The above has been referred to Figures 1 to 3 The apparatus and method for performing automatic machine learning according to the exemplary embodiments of the present application are described. However, it should be understood that: Figure 1The devices and units shown and their units may be configured as software, hardware, firmware or any combination of the above items to perform specific functions. For example, these devices or units may correspond to a dedicated integrated circuit, or may correspond to pure software code, or may correspond to a module combining software and hardware. In addition, one or more functions implemented by these devices or units may also be uniformly executed by components in a physical entity device (e.g., a processor, a client or a server, etc.).

[0143] It can be seen that the initial machine learning model can be applied to any scenario, and the device and method for performing automatic machine learning in the exemplary embodiment of the present application can be applied to the corresponding scenario.

[0144] In addition, the above method can be implemented by a program recorded on a computer-readable medium. For example, according to an exemplary embodiment of the present application, a computer-readable medium for performing automatic machine learning can be provided, wherein a computer program for performing the following method steps is recorded on the computer-readable medium: obtaining an initial machine learning model group including at least one machine learning model by automatic machine learning; continuously acquiring prediction data; monitoring whether there is a distribution state change that exceeds a preset threshold in the continuously acquired prediction data; and automatically updating the initial machine learning model group in the event of a distribution state change that exceeds the threshold.

[0145] The computer program in the computer-readable medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. It should be noted that the computer program can also be used to perform additional steps in addition to the above steps or perform more specific processing when performing the above steps. The contents of these additional steps and further processing have been described in reference to Figure 2 It is mentioned in the description of the related method, so it will not be repeated here to avoid repetition.

[0146] It should be noted that the automatic machine learning device according to the exemplary embodiment of the present application can completely rely on the operation of the computer program to realize the corresponding functions, that is, each unit corresponds to each step in the functional architecture of the computer program, so that the entire device is called through a special software package (for example, lib library) to realize the corresponding function.

[0147] on the other hand, Figure 1 The devices or units shown may also be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. When implemented by software, firmware, middleware, or microcode, the program code or code segment for performing the corresponding operation may be stored in a computer-readable medium such as a storage medium, so that the processor may perform the corresponding operation by reading and running the corresponding program code or code segment.

[0148] For example, an exemplary embodiment of the present application can also be implemented as a computing device, which includes a storage component and a processor, wherein a set of computer-executable instructions is stored in the storage component, and when the set of computer-executable instructions is executed by the processor, a method including the following steps is executed: obtaining an initial machine learning model group including at least one machine learning model through automatic machine learning; continuously acquiring prediction data; monitoring whether there is a distribution state change that exceeds a preset threshold in the continuously acquired prediction data; and automatically updating the initial machine learning model group when a distribution state change that exceeds the threshold occurs.

[0149] Specifically, the computing device may be deployed in a server or client, or may be deployed on a node device in a distributed network environment. In addition, the computing device may be a PC, a tablet device, a personal digital assistant, a smart phone, a web application, or other device capable of executing the above instruction set.

[0150] Here, the computing device is not necessarily a single computing device, but may be any device or circuit collection that can execute the above instructions (or instruction sets) individually or jointly. The computing device may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that is interconnected with a local or remote (e.g., via wireless transmission) interface.

[0151] In the computing device, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller or a microprocessor. By way of example and not limitation, the processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.

[0152] According to the exemplary embodiment of the present application, some operations described in the method for performing automatic machine learning can be implemented by software, some operations can be implemented by hardware, and furthermore, these operations can also be implemented by a combination of software and hardware.

[0153] The processor may execute instructions or codes stored in one of the storage components, which may also store data. Instructions and data may also be sent and received over a network via a network interface device, which may employ any known transmission protocol.

[0154] The storage component may be integrated with the processor, for example, RAM or flash memory is arranged within an integrated circuit microprocessor, etc. In addition, the storage component may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The storage component and the processor may be operatively coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor can read files stored in the storage component.

[0155] In addition, the computing device may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the computing device may be connected to each other via a bus and / or a network.

[0156] The operations involved in the method for performing automatic machine learning according to the exemplary embodiments of the present application can be described as various interconnected or coupled functional blocks or functional diagrams. However, these functional blocks or functional diagrams can be equally integrated into a single logical device or operated according to non-exact boundaries.

[0157] The method and apparatus for performing automatic machine learning according to the present application have been described above in combination with exemplary embodiments, and can be widely applied to any machine learning scenarios in which data are not independent and identically distributed. For example, these machine learning scenarios can be machine learning scenarios such as online content (such as news, advertising, music, etc.) recommendations, credit card fraud detection, abnormal behavior detection, intelligent marketing, intelligent investment advisors, network traffic analysis, etc.

[0158] Furthermore, the method and device for performing automatic machine learning according to the present application can be applied to scenarios including but not limited to the following scenarios: image processing scenarios, speech recognition scenarios, natural language processing scenarios, automatic control scenarios, intelligent question-answering scenarios, business decision-making scenarios, recommended business scenarios, search scenarios, and abnormal behavior detection scenarios. For more specific application scenarios under the above-mentioned scenarios, please refer to the previous description.

[0159] The method and device for performing automatic machine learning of the present application have no difference in the overall execution scheme when applied to different scenarios, except that the data (training data and prediction data) targeted in different scenarios are different. Therefore, technical personnel in this field can apply the scheme of the present application to different scenarios without any obstacles based on the aforementioned scheme disclosure, so there is no need to explain each scenario one by one.

[0160] Although the exemplary embodiments of the present application are described above, it should be understood that the above description is only exemplary and not exhaustive. The present application is not limited to the disclosed exemplary embodiments, and many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope and spirit of the present application. Therefore, the scope of protection of the present application should be based on the scope of the claims.

Claims

1. A method for performing automated machine learning, include: Acquire an initial machine learning model group including at least one machine learning model by automatic machine learning; Continuously obtain forecast data; Monitor whether there are distribution state changes exceeding the preset threshold in the continuously acquired forecast data; In the event of a distribution state change exceeding a threshold, the initial machine learning model group is automatically updated by adaptively selecting a corresponding update method from among a plurality of predetermined update methods at least according to information related to the prediction data, wherein the plurality of predetermined update methods include the following update methods: The first updating method is to retrain a new machine learning model group to replace the initial machine learning model group; A second updating method is to adjust the weights of each machine learning model in the initial machine learning model group; or The third updating method is to train a new machine learning model group and combine the new machine learning model group with the initial machine learning model group to form an updated machine learning model group. The predicted data is non-independent and identically distributed data involved in any of the following scenarios: image processing scenario, speech recognition scenario, natural language processing scenario, Among them, the information related to the predicted data includes information related to the distribution state change of the predicted data, and the information related to the distribution state change of the predicted data includes the distribution state change rate of the predicted data and / or the periodicity of the distribution state change of the predicted data, wherein the distribution state change of the predicted data includes the joint probability distribution change of the predicted data.

2. The method according to claim 1, in, In the initial machine learning model group, the prediction results provided by each machine learning model for the prediction data are weighted and summed to serve as the prediction result of the initial machine learning model group for the prediction data. In addition, the monitoring step includes: monitoring the distribution status of the continuously acquired prediction data and / or the prediction effect of the initial machine learning model group on the prediction data to determine whether there is a distribution status change that exceeds a preset threshold.

3. The method according to claim 2, in, In the first updating method, a new machine learning model group is retrained using training data formed based on at least a portion of the predicted data and its actual results. In a second updating method, the weights of the individual machine learning models in the initial machine learning model group are adjusted according to the prediction effect of the initial machine learning model group on the observation data formed based on at least a portion of the prediction data and its true results; In the third updating method, a new machine learning model group is trained using training data formed based on at least a part of the predicted data and its actual results, and an updated machine learning model group is formed by combining the new machine learning model group with the initial machine learning model group and determining the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observed data formed based on at least a part of the predicted data and its actual results.

4. The method according to claim 3, in, In the first updating method, the at least part of the prediction data includes all the prediction data continuously acquired. In the second updating method and the third updating method, the at least part of the prediction data includes the prediction data whose distribution state changes exceed a preset threshold or all the prediction data continuously acquired.

5. The method according to claim 2, in, Information related to the prediction data also includes the amount of prediction data that can be used to update the initial machine learning model group.

6. The method according to claim 5, in, The steps of adaptively selecting the corresponding update method include: When the data volume is less than the first threshold and the distribution state change rate is greater than the second threshold, selecting the third update mode; When the data volume is less than the first threshold and the distribution state change rate is less than the second threshold, selecting the first update mode; When the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, selecting the second update mode; When the data volume is greater than the first threshold and the distribution state changes periodically, the second updating method is selected; When the data volume is greater than the first threshold, the distribution state change rate is greater than the second threshold, and the distribution state change is not periodic, the third update method is selected.

7. The method according to claim 1, in, Monitoring steps include: Obtain prediction results of the initial machine learning model group for the prediction data; Determining the prediction effect of the initial machine learning model group on the prediction data by comparing the obtained prediction results with the actual results of the prediction data; Based on the determined prediction effect, it is determined whether a distribution state change exceeding a threshold occurs.

8. A computer-readable medium for performing automated machine learning, in, A computer program for executing the method according to any one of claims 1 to 7 is recorded on the computer readable medium.

9. A computing device for performing automated machine learning, comprising a storage component and a processor, in, The storage component stores a computer executable instruction set, and when the computer executable instruction set is executed by the processor, the processor is prompted to execute the method according to any one of claims 1 to 7.

10. A device for performing automatic machine learning, include: An initial machine learning model group acquisition unit is configured to acquire an initial machine learning model group including at least one machine learning model by automatic machine learning; A prediction data acquisition unit, configured to continuously acquire prediction data; A monitoring unit configured to monitor whether a distribution state change exceeding a preset threshold value occurs in the continuously acquired prediction data; The updating unit is configured to adaptively select a corresponding updating method from a plurality of predetermined updating methods to automatically update the initial machine learning model group in the event of a distribution state change exceeding a threshold value, at least according to information related to the prediction data, wherein the plurality of predetermined updating methods include the following updating methods: The first updating method is to retrain a new machine learning model group to replace the initial machine learning model group; A second updating method is to adjust the weights of each machine learning model in the initial machine learning model group; or The third updating method is to train a new machine learning model group and combine the new machine learning model group with the initial machine learning model group to form an updated machine learning model group. The predicted data is non-independent and identically distributed data involved in any of the following scenarios: image processing scenario, speech recognition scenario, natural language processing scenario, Among them, the information related to the predicted data includes information related to the distribution state change of the predicted data, and the information related to the distribution state change of the predicted data includes the distribution state change rate of the predicted data and / or the periodicity of the distribution state change of the predicted data, wherein the distribution state change of the predicted data includes the joint probability distribution change of the predicted data.

11. The device according to claim 10, in, In the initial machine learning model group, the prediction results provided by each machine learning model for the prediction data are weighted and summed to serve as the prediction result of the initial machine learning model group for the prediction data. In addition, the monitoring unit monitors the distribution status of the continuously acquired prediction data and / or the prediction effect of the initial machine learning model group on the prediction data to determine whether a distribution status change that exceeds a preset threshold occurs.

12. The device according to claim 11, in, In a first updating mode, the updating unit retrains a new machine learning model group using training data formed based on at least a portion of the prediction data and its actual results; In a second updating mode, the updating unit adjusts the weights of the respective machine learning models in the initial machine learning model group according to the prediction effect of the initial machine learning model group on the observation data formed based on at least a portion of the prediction data and its true results; In the third updating method, the updating unit trains a new machine learning model group using training data formed based on at least a part of the predicted data and its actual results, and forms an updated machine learning model group by combining the new machine learning model group with the initial machine learning model group and determining the weights of each machine learning model in the combined machine learning model group according to the prediction effect of the combined machine learning model group on the observed data formed based on at least a part of the predicted data and its actual results.

13. The device according to claim 12, in, In the first updating method, the at least part of the prediction data includes all the prediction data continuously acquired. In the second updating method and the third updating method, the at least part of the prediction data includes the prediction data whose distribution state changes exceed a preset threshold or all the prediction data continuously acquired.

14. The device according to claim 11, in, Information related to the prediction data also includes the amount of prediction data that can be used to update the initial machine learning model group.

15. The device according to claim 14, in, When the data volume is less than the first threshold and the distribution state change rate is greater than the second threshold, the updating unit selects the third updating mode; When the data volume is less than the first threshold and the distribution state change rate is less than the second threshold, the updating unit selects the first updating mode; When the data volume is greater than the first threshold and the distribution state change rate is less than the second threshold, the updating unit selects the second updating mode; When the data volume is greater than the first threshold and the distribution state changes periodically, the updating unit selects the second updating mode; When the data volume is greater than the first threshold, the distribution state change rate is greater than the second threshold, and the distribution state change is not periodic, the updating unit selects the third updating method.

16. The device according to claim 10, in, The monitoring unit obtains the prediction results of the initial machine learning model group for the prediction data, determines the prediction effect of the initial machine learning model group for the prediction data by comparing the obtained prediction results with the actual results of the prediction data, and determines whether a distribution state change that exceeds a threshold occurs based on the determined prediction effect.