Method for re-learning machine learning model and operational device
The relearning method addresses concept drift in data center cooling equipment models by determining necessary updates and incorporating profile generation and inference corrections, enhancing prediction accuracy and efficiency.
Patent Information
- Application Number
- JP2023063709
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-23
AI Technical Summary
Existing machine learning models for predicting power consumption in data center cooling equipment struggle with concept drift due to changes in IT and cooling equipment, leading to inaccurate predictions and inefficient retraining.
A relearning method that determines the necessity of model updates based on actual measured values, excluding data from periods of trend changes and incorporating profile generation and inference result corrections to maintain accuracy.
The method ensures accurate power consumption predictions by avoiding unnecessary retraining during concept drift, allowing for efficient model updates and improved power efficiency in data centers.
Smart Images

Figure 2024150338000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for re-learning a machine learning (ML) model and a computing device. [Background technology]
[0002] In recent years, there has been an increasing demand for reducing greenhouse gas emissions to protect the global environment. Accordingly, there is a demand to improve the power efficiency of data centers, which are one of the large-scale power consumers. PUE (Power Usage Effectiveness) is a widely known indicator of the power efficiency of data centers. PUE is an indicator that shows the proportion of power consumption by IT equipment in the total power consumption of a data center. In data centers, the proportion of power consumption by IT equipment and cooling equipment such as air conditioning is large, so improving the power efficiency of cooling equipment is effective in improving PUE. The power consumption of cooling equipment in data centers is affected by the load of IT equipment and fluctuations in outside temperature, but the degree of influence varies from server room to server room in the data center. There is an approach that uses machine learning to improve the power efficiency of cooling equipment by taking such differences into account.
[0003] In machine learning, the relationship between the subject to inference (objective variable) and the factors that affect it (explanatory variables) is learned from data. Therefore, the behavior of a machine learning model is determined by the data used for learning. In the case of a machine learning model that handles data that changes over time (time-series data) such as power consumption, the characteristics and trends of the data used for learning may change over time. Such changes are generally known as concept drift. In order to maintain the inference accuracy of a machine learning model against the occurrence of concept drift, continuous learning (relearning) is required. Patent Document 1 discloses a configuration for updating a model using updated learning data when concept drift is detected in a machine learning model. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] US Patent Application Publication No. 2021 / 0390455 Summary of the Invention [Problem to be solved by the invention]
[0005] Consider a machine learning model that predicts the power consumption of IT equipment (IT power consumption) and cooling equipment (cooling power consumption) in each server room of a data center. Causes of concept drift in the machine learning model include an increase / decrease or change in the number of IT equipment in the server room, an increase / decrease or change in the number of cooling equipment, and manual changes to the settings of the cooling equipment. Manual changes to the settings of the cooling equipment are not necessarily performed optimally and may contain errors. In addition, depending on the mechanical characteristics of the cooling equipment, the power consumption may change suddenly to such an extent that it is difficult to follow by re-learning the machine learning model.
[0006] In the invention described in Patent Document 1, the machine learning model is retrained without determining whether or not retraining is necessary in response to the occurrence of concept drift, taking the above into consideration. Therefore, by learning fluctuations in power consumption resulting from erroneous manual changes to cooling equipment settings, there is a risk that the prediction accuracy will deteriorate thereafter. In addition, by attempting to follow a sudden change in power consumption that is difficult to follow by the machine learning model retraining, there is a risk that low-accuracy prediction results will continue to be output for a long period of time.
[0007] The present invention has been made in consideration of the above, and aims to enable re-learning that does not follow changes in trends depending on the situation, by appropriately determining whether or not re-learning of a machine learning model is necessary. [Means for solving the problem]
[0008] A re-learning method according to a first aspect of the present invention is a re-learning method executed by a computing device having an acquisition unit that acquires actual measured values, which are actual physical quantities, and a memory unit that stores a machine learning model that estimates the physical quantities, and includes a learning process that re-learns the machine learning model using training target actual measured values, which are at least a part of the actual measured values, and a re-learning determination process that, when a change in the trend of the actual measured values is detected, determines whether or not measures are needed for the change in trend, and if it is determined that the measures are not needed, includes the actual measured values during the period when the trend changed in the training target actual measured values and performs the re-learning using the learning process, and if it is determined that the measures are needed and have been completed, performs the re-learning using the learning process without including the actual measured values during the period when the trend changed in the training target actual measured values. A computing device according to a second aspect of the present invention comprises a memory unit that stores a machine learning model that estimates power consumption of a target device, an acquisition unit that acquires actual measured values, which are data regarding the actual power consumption of the target device, a learning unit that re-learns the machine learning model using learning target actual measured values, which are at least a part of the actual measured values, and a re-learning determination unit that, when it detects a change in the trend of the actual measured values, determines whether or not measures are needed for the change in trend, and if it determines that the measures are not needed, causes the learning unit to perform the re-learning by including the actual measured values during the period when the trend changed in the learning target actual measured values, and if it determines that the measures are needed and have been completed, causes the learning unit to perform the re-learning without including the actual measured values during the period when the trend changed in the learning target actual measured values. Effect of the Invention
[0009] According to the present invention, re-learning that does not follow changes in trends depending on the situation is possible. [Brief description of the drawings]
[0010] [Figure 1] Overall configuration of the computing system [Diagram 2] Overall configuration diagram of a computing system, which is another form of computing system [Diagram 3] Management computer configuration diagram [Figure 4] Data store configuration diagram [Diagram 5] FIG. 13 is a diagram illustrating an example of a model management table. [Figure 6] FIG. 1 is a diagram showing an example of a profile table. [Figure 7] FIG. 13 is a diagram showing an example of a cooling device management table. [Figure 8] FIG. 1 is a diagram showing an example of a computer management table. [Figure 9] Flowchart showing data collection process [Figure 10] Flowchart showing computer model re-learning judgment processing [Figure 11] Flowchart showing cooling device model re-learning determination process [Figure 12] Flowchart showing the profile generation process [Figure 13] Flowchart showing the training data and inference result correction process [Figure 14] Screen output showing the calculation results of the cooling device model re-learning judgment program [Figure 15] FIG. 15 is a diagram showing a first transition example from FIG. 14; [Figure 16] FIG. 15 is a diagram showing a second transition example from FIG. 14; [Figure 17] A screen output diagram showing the calculation results of the cooling device model re-learning judgment program in a situation different from that shown in FIGS. 14 to 16. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] --First embodiment-- Hereinafter, a first embodiment of a re-learning method and a computing device will be described with reference to FIGS.
[0012] 1 is an overall configuration diagram of a computing system 100. The computing system 100 includes a first data center 1000A, a second data center 1000B, and a computing environment 2000. The first data center 1000A, the second data center 1000B, and the computing environment 2000 are connected by a wide area network 9000. The computing environment 2000 includes a management computer 5000 and a data store 6000 connected by a communication line 8000.
[0013] The first data center 1000A includes a computer 3000 and a cooling device 4000 connected by a communication line 8000A. The second data center 1000B includes a computer 3000 and a cooling device 4000 connected by a communication line 8000B. The computers 3000 and the cooling devices 4000 included in the first data center 1000A and the second data center 1000B are generic names, and no distinction is made in this embodiment. The number of data centers included in the computing system 100 is not limited to two, and may be one, or three or more. The computer 3000 is a device that performs some kind of computation, and the content of the computation is not limited. The computer 3000 includes a computer, a data storage device, a network switch, and the like.
[0014] The cooling device 4000 is a device that consumes power to cool the heat generated by the computer 3000. There are no limitations on the specific configuration, and it may be an air conditioner that uses a refrigerant or a chiller that uses cooling water. Since the computer 3000 increases its power consumption and heat generation amount as the amount of calculations per unit time increases, the power consumption of the cooling device 4000 also tends to increase in order to keep the room temperature constant. In other words, it can be said that there is a positive correlation between the power consumption of the computer 3000 and the power consumption of the cooling device 4000.
[0015] The management computer 5000 manages the computer 3000 and the cooling device 4000. The management computer 5000 collects data relating to the power consumption of the computer 3000 and the cooling device 4000, and stores the data in a data store 6000. The computer 3000, the management computer 5000, and the data store 6000 may be bare metal, i.e., physical devices, or may be virtual machines.
[0016] Fig. 2 is an overall configuration diagram of a computing system 100A which is another embodiment of the computing system 100. The computing system 100A shown in Fig. 2 includes a computer 3000, a cooling device 4000, a management computer 5000, and a data store 6000, like the computing system 100, but differs in that they are connected without going through a wide area network 9000. The configuration described below can be applied to both the computing system 100 and the computing system 100A.
[0017] 3 is a configuration diagram of a management computer 5000. The management computer 5000 includes a processor 5100 which is a central processing unit, a memory 5200 which is a volatile storage device, a storage device 5300 which is a non-volatile storage device, a communication interface 5400, and an IO device 5500. The communication interface 5400 is, for example, a network interface card. The IO device 5500 is, for example, a mouse, a keyboard, and a liquid crystal display. The IO device 5500 provides information to a person who uses the management computer 5000 (hereinafter referred to as a "user"), and receives input from the user.
[0018] The storage device 5300 stores training data 5310, a machine learning model collection 5320, and inference result data 5330. The training data 5310 is data used for training by the machine learning model. This will be described in detail later.
[0019] The machine learning model collection 5320 is a collection of multiple machine learning models. Each machine learning model included in the machine learning model collection 5320 is described in the model management table 5260. Each machine learning model is trained in advance, but re-learning is also performed in this embodiment. However, re-learning is not always performed, and re-learning is performed based on a determination of whether re-learning is necessary. Note that re-learning refers to updating parameters that configure the machine learning model.
[0020] In this embodiment, models other than the machine learning model are not mentioned, so the machine learning model is also simply called a "model". The models included in the machine learning model collection 5320 are roughly divided into two types: a computer model that estimates the power consumption of the computer 3000, and a cooling device model that estimates the power consumption of the cooling device 4000. In the following, the cooling device model is simply called a "machine learning model", and the computer model is sometimes called a "second machine learning model". Data input to each model is not particularly limited. The inference result data 5330 is a result of inference using the machine learning model collection 5320, and specifically, the power consumption of the computer 3000 and the cooling device 4000 at each time.
[0021] The memory 5200 stores a data collection program 5210, a learning program 5220, a cooling device control program 5230, an inference program 5225, a model management table 5260, a profile table 5270, a computer model re-learning judgment program 5251, a cooling device model re-learning judgment program 5252, a profile generation program 5290, and a correction program 5280.
[0022] The data collection program 5210 acquires data from the computer 3000 and the cooling device 4000, and stores the data in a cooling device management table 6310 and a computer management table 6320 in the data store 6000. In this embodiment, the data collection program 5210 is executed periodically. The data collected by the data collection program 5210 includes at least the power consumption amount data of the cooling device 4000 and the power consumption amount data of the computer 3000. However, the data collection program 5210 may also collect other data.
[0023] The learning program 5220 generates or updates a machine learning model using the learning data 5310. A known algorithm, such as Random Forest, can be used for learning. The learning program 5220 may be executed by a user, or may be executed by the computer model relearning determination program 5251 or the cooling device model relearning determination program 5252.
[0024] The inference program 5225 estimates the power consumption of the computer 3000 and the cooling device 4000 per unit time using the machine learning model collection 5320, and stores the estimated power consumption as inference result data 5330 in the storage device 5300. The execution interval of the inference program 5225 is per unit time, and it is possible to estimate only the power consumption in the immediately following unit time, or to estimate the power consumption for a plurality of unit times collectively. However, when the machine learning model collection 5320 is updated, the inference program 5225 re-estimates the power consumption using the updated cooling device model. In this embodiment, the unit time is one hour.
[0025] The cooling device control program 5230 plans and controls the operation of the cooling device 4000. For example, the cooling device control program 5230 controls the temperature and humidity settings of the air conditioner, the number of revolutions of the fan, the flow rate of the water-cooling pump, etc. The control algorithm employed by the cooling device control program 5230 is publicly known, and the operation flow is not shown in the figure.
[0026] The computer model relearning determination program 5251 determines whether or not relearning is required for each computer model included in the machine learning model collection 5320. The cooling device model relearning determination program 5252 determines whether or not relearning is required for each cooling device model included in the machine learning model collection 5320. The profile generation program 5290 generates a profile, which will be described later. The correction program 5280 corrects the power consumption estimated by the model, and corrects data so that more data can be used in model learning. The operations of the computer model relearning determination program 5251, the cooling device model relearning determination program 5252, the profile generation program 5290, and the correction program 5280 will be described in detail later.
[0027] 4 is a configuration diagram of a data store 6000. The data store 6000 includes a processor 6100 which is a central processing unit, a memory 6200 which is a volatile storage device and stores a data input / output program 6210, a storage device 6300 which is a non-volatile storage device, and a communication interface 6400. The communication interface 6400 is, for example, a network interface card.
[0028] The data input / output program 6210 is a program for inputting and outputting data to the cooling device management table 631 and the computer management table 6320 via a network. Methods for inputting and outputting data are well known, for example, a method using an API such as REST or GraphQL, or a method using a data transmission / reception protocol such as NFS, iSCSI, or FTP. A detailed description of the operation of the data input / output program 6210 will be omitted.
[0029] 5 is a diagram showing an example of the model management table 5260. The model management table 5260 is composed of a plurality of records, and each record has fields for a model ID 5261, a model version 5262, an inference target ID 5265, a relearning pause flag 5266, and a prediction result correction flag 5267.
[0030] The model ID 5261 is an identifier for identifying a model. In this example, the model ID 5261 is a combination of "M-", either "Cooling" or "Server", and a number. As will be described in detail later, "Cooling" and "Server" following "M-" indicate the type of model. The model version 5262 indicates the version of the model. When relearning is completed, the value of the model version 5262 increases by "1". In this embodiment, relearning is performed on the latest version of each model. However, relearning may be performed on a version other than the latest version of each model. Also, in this embodiment, the power consumption is estimated using the latest version of each model. However, estimation may be performed using a version other than the latest version of each model, or two or more different versions of models may be used in combination.
[0031] The inference target ID 5265 is an identifier indicating the inference target of the model. The inference target ID 5265 including "Cooling" is any one of the cooling devices 4000. The inference target ID 5265 including "Server" is any one of the computers 3000. Note that a plurality of cooling devices 4000 or a group of a plurality of computers 3000 may be the inference target. For example, a group of a plurality of cooling devices 4000 may be virtually treated as one cooling device, and the identifier thereof may be stored in the inference target ID 5262. This method is effective, for example, in cases where the power consumption of each cooling device cannot be measured, and only the total power consumption of a plurality of cooling devices in a server room can be measured. The re-learning pause flag 5266 is a flag indicating whether or not re-learning is paused. The re-learning pause flag 5266 is set to "1" to indicate a pause, and "0" to indicate continuation of re-learning. In this embodiment, the initial value of the re-learning pause flag 5266 is set to "0". The inference result correction flag 5267 is a flag indicating whether or not to correct the inference result (predicted value of power consumption) output by the model. The inference result correction flag 5267 is set to "1" to indicate that correction is required, and set to "0" to indicate that correction is not required. The method of correcting the inference result will be described later with reference to FIG. 13.
[0032] FIG. 6 is a diagram showing an example of the profile table 5270. In this embodiment, a profile is a group of cooling device power consumptions that have similar characteristics. In this embodiment, in particular, in consideration of the fact that the power consumption may change in a rectangular shape depending on the mechanical characteristics of the cooling device, the profile table 5270 is used for the purpose of managing power consumption data that changes in a rectangular shape. The profile table 5270 is composed of a plurality of records, and each record has fields for a device ID 5271, a profile ID 5272, and a baseline 5275. The device ID 5271 is an identifier for identifying a cooling device or a computer, similar to the cooling device ID 6311 in the cooling device management table 6310 or the computer ID 6321 in the computer management table 6320.
[0033] Profile ID 5272 is a profile identifier, and uses an integer equal to or greater than 0. However, for devices for which no profile exists, "-1" is written as profile ID 5272. In this embodiment, cooling devices whose power consumption does not change rectangularly correspond to devices for which no profile exists. A profile with profile ID 5272 of "0" is also called a "reference profile." Baseline 5275 is the average value of the power consumption data contained in each profile. However, for records of devices for which no profile exists, "-1" is written as baseline 5275.
[0034] Fig. 7 is a diagram showing an example of a cooling device management table 6310. The cooling device management table 6310 is composed of a plurality of records, and each record has fields for a cooling device ID 6311, a profile ID 6312, a power consumption amount 6313, and an invalid flag 6314. The cooling device ID 6311 is an identifier for identifying the cooling device 4000, and the same value is used for the inference target ID 5265 in Fig. 5. As described in the explanation of Fig. 5, a group of a plurality of cooling devices 4000 may be virtually treated as one cooling device, and the identifier thereof may be stored in the cooling device ID 6311 and the inference target ID 5262.
[0035] The profile ID 6312 is an identifier for the profile, and is the same as the profile ID 5272 in the profile table 5270. The power consumption amount 6313 is a combination of date and time and power consumption. In the example shown in FIG. 7, the time is in one-hour increments, but it may be in one-minute or one-second increments. The invalid flag 6314 is a flag indicating that the power consumption amount 6313 of the corresponding row is not to be used for re-learning. The invalid flag 6314 is set to "1" to indicate that the value of the record is not to be used for re-learning, and set to "0" to indicate that the value of the record is to be used for re-learning.
[0036] Fig. 8 is a diagram showing an example of a computer management table 6320. The computer management table 6320 is composed of a plurality of records, and each record has fields of a computer ID 6321, a profile ID 6322, a power consumption amount 6323, and an invalid flag 6324. The computer ID 6321 is an identifier for identifying the computer 3000, and the same value is used for the inference target ID 5265 in Fig. 5. A group of a plurality of computers 3000 may be treated as a single virtual computer, and the identifier of the single computer may be stored in the computer ID 6321 and the inference target ID 5262. The profile ID 6322, the power consumption amount 6323, and the invalid flag 6324 have the same meanings as the profile ID 6312, the power consumption amount 6313, and the invalid flag 6314 shown in Fig. 7, and therefore description thereof will be omitted.
[0037] 9 is a flowchart showing the data collection process executed by the data collection program 5210. The data collection program 5210 first acquires metrics data from any of the managed devices in step S310. The data collection program 5210 stores the acquired metrics data in the cooling device management table 6310 or the computer management table 6320 in step S311. Specifically, when the data collection program 5210 acquires metrics data of the cooling device 4000 in step S310, it stores the data in the cooling device management table 6310, and when the data collection program 5210 acquires metrics data of the computer 3000 in step S310, it stores the data in the computer management table 6320.
[0038] In the next step S312, the data collection program 5210 judges whether or not there is a management target for which data has not been acquired. If the data collection program 5210 judges that there is a management target for which data has not been acquired, the program returns to step S310, and if the data collection program 5210 judges that there is no management target for which data has not been acquired, the program ends the process shown in FIG.
[0039] 10 is a flowchart showing computer model re-learning judgment processing executed by the computer model re-learning judgment program 5251. The computer model re-learning judgment program 5251 executes the processing shown in FIG. 10 for each model beginning with “M-Server” in the model management table 5260. First, in step S320, the computer model re-learning judgment program 5251 acquires a predicted value of power consumption of the computer 3000 from the inference result data 5330.
[0040] In the next step S321, the computer model re-learning determination program 5251 obtains the actual measurement value at the time corresponding to the predicted value from the computer management table 6320. In the next step S322, the computer model re-learning determination program 5251 determines the presence or absence of concept drift by a known method. For example, the computer model re-learning determination program 5251 may calculate a prediction error, which is the difference between the predicted value and the actual measurement value, and determine that concept drift has occurred if the prediction error is equal to or greater than a predetermined threshold value. Alternatively, the computer model re-learning determination program 5251 may calculate statistics of the data used to learn the machine learning model and recent data using only the actual measurement value, and determine that concept drift has occurred if there is a significant difference between the two.
[0041] In the next step S323, the computer model re-learning determination program 5251 determines whether or not the determination result in step S322 was that there is a concept drift, and if it is determined that there is a concept drift, the program proceeds to step S324, and if it is determined that there is no concept drift, the program ends the processing shown in Fig. 10. In step S324, the computer model re-learning determination program 5251 determines data for re-learning, and causes the model to be re-learned using the learning program 5220. Specifically, the computer model re-learning determination program 5251 causes the model to be re-learned using data that is within a predetermined range from the current time and whose invalid flag 6314 is "0".
[0042] Fig. 11 is a flowchart showing the cooling device model re-learning judgment process executed by the cooling device model re-learning judgment program 5252. In this embodiment, the cooling device model re-learning judgment program 5252 periodically executes the cooling device model re-learning judgment process. The cooling device model re-learning judgment program 5252 executes the process shown in Fig. 11 for each model beginning with "M-Cooling" in the model management table 5260. Hereinafter, the target machine learning model will be referred to as the "target cooling model", and the cooling device 4000 that is the target of inference by the target cooling model will be referred to as the "target cooling device".
[0043] In step S330, the cooling device model relearning determination program 5252 refers to the relearning pause flag 5266 in the model management table 5260, and determines whether the relearning pause flag 5266 of the target cooling model is "1." If the cooling device model relearning determination program 5252 determines that the relearning pause flag 5266 is "1," it proceeds to step S3310, and if it determines that the relearning pause flag 5266 is not "1," i.e., is "0," it proceeds to step S331.
[0044] In step S331, the cooling device model relearning determination program 5252 acquires the cooling device 4000 corresponding to the inference target ID 5265 of the target cooling model, i.e., the predicted value of the power consumption of the target cooling device, from the inference result data 5330. In the following step S332, the cooling device model relearning determination program 5252 acquires the actual measurement value at the time corresponding to the predicted value acquired in step S331 from the cooling device management table 6310. In the following step S333, the cooling device model relearning determination program 5252 judges whether or not there is a concept drift. In the following step S334, if the cooling device model relearning determination program 5252 judges that there is a concept drift as a result of the judgment in step S333, it proceeds to step S335, and if it judges that there is no concept drift, it ends the process shown in FIG.
[0045] In step S335, the cooling device model re-learning judgment program 5252 judges whether the trend of the predicted / actual difference of the target cooling device and the predicted / actual difference of the computer 3000 coincides. For example, for each of the target cooling device and the computer 3000, the value obtained by subtracting the actual value from the predicted value is classified as approximately zero, positive, or negative. However, the range of "approximately zero" is a predetermined range. If the classification of the predicted / actual difference of the target cooling device coincides with the classification of the predicted / actual difference of the computer 3000, a positive judgment is made in step S335. Note that the above classification may be made for a certain period, and a judgment may be made based on whether the most frequent values of the classification results coincide with each other. If the cooling device model re-learning judgment program 5252 judges step S335 as positive, the program proceeds to step S339, and if the program judges step S335 as negative, the program proceeds to step S336.
[0046] In step S336, the cooling device model relearning determination program 5252 sets "1" to the relearning pause flag 5266 of the target cooling model in the model management table 5260. In the following step S337, the cooling device model relearning determination program 5252 notifies the user or the cooling device control program 5230 of the occurrence of an unexpected fluctuation in power consumption, and proceeds to step S3310. In this embodiment, the user is the operations manager of the data center.
[0047] In step S338, the cooling device model relearning determination program 5252 sets the relearning pause flag 5266 of the target cooling model in the cooling device model relearning determination program 5252 to "0" and proceeds to step S3312. In step S3312, the cooling device model relearning determination program 5252 calls a profile generation process of the profile generation program 5290 and proceeds to step S339. The profile generation process will be described later with reference to FIG. 12.
[0048] In step S339, the cooling device model re-learning determination program 5252 determines re-learning data from a record in the cooling device management table 6310 in which the invalid flag 6314 is "0", and causes the learning program 5220 to re-learn the model. For example, the cooling device model re-learning determination program 5252 causes re-learning using data in which the invalid flag 6314 is "0" and which is within 30 days from the current time. In the following step S3313, the cooling device model re-learning determination program 5252 registers information on the cooling device model generated by re-learning in the model management table 5260. At this time, the inference result correction flag 5267 stores a value according to the determination result in step S342 of the profile generation process called in step S3312. Specifically, if the profile generation program 5290 determines in step S342 of the profile generation process that the model is "rectangular", the inference result correction flag 5267 stores "1", and if the profile generation program 5290 determines that the model is "not rectangular", the inference result correction flag 5267 stores "0".
[0049] In step S3310, the cooling device model re-learning determination program 5252 determines whether or not a countermeasure has been taken against the power consumption fluctuation that is contrary to the prediction. Specifically, for example, in a situation where the actual measured value of the power consumption of the cooling device exceeds the predicted value, if an operation is performed to raise the set temperature of the cooling device and the actual measured value thereafter changes to a value close to the predicted value, it is determined that a countermeasure has been taken. In this embodiment, an inquiry is made to the user using the IO device 5500, and the processing of this step is determined based on the response. Note that, if the occurrence of concept drift is notified to the cooling device control program 5230 in step S336, the cooling device model re-learning determination program 5252 receives the contents of the control performed by the cooling device control program 5230, and determines the processing of this step based on the contents. If the cooling device model re-learning determination program 5252 determines that the execution of the countermeasure has been completed, it proceeds to step S3311, and if it determines that no countermeasure is necessary, it proceeds to step S338. If no response regarding the implementation of measures is received from the user or the cooling device control program 5230 within a certain period of time, the determination in step S3310 is "undecided," and the process shown in Fig. 11 is terminated. In this case, the next time the cooling device model relearning determination process is executed, it is determined in step S330 that the relearning pause flag 5266 of the target cooling model is "1," and step S3310 is executed again.
[0050] In step S3311, the cooling device model re-learning determination program 5252 sets "1" to the invalid flag 6314 of the data during the concept drift occurrence period among the data of the target cooling device in the cooling device management table 6310, and proceeds to step S338.
[0051] 12 is a flowchart showing a profile generation process by the profile generation program 5290. First, in step S340, the profile generation program 5290 acquires an actual measurement value of the power consumption of the target cooling device from the cooling device management table 6310. In the following step S341, the profile generation program 5290 judges whether the fluctuation of the actual measurement value is rectangular or not. For example, the profile generation program 5290 calculates the amount of change in the actual measurement value (the difference from the previous data point on the time axis), and judges that the fluctuation of the actual measurement value is rectangular when the kurtosis of the data distribution of the amount of change exceeds a predetermined threshold. Alternatively, the profile generation program 5290 may evaluate the range of change of the actual measurement value every hour, and judge that the fluctuation of the actual measurement value is rectangular when a time period with a large range of change exists between time periods with a small range of change.
[0052] In the next step S342, if the profile generation program 5290 determines in step S341 that the shape is rectangular, the program proceeds to step S343, and if it determines that the shape is not rectangular, the program proceeds to step S349. In step S343, the profile generation program 5290 sets the data period to be re-learned to be from the oldest data to the newest data. In the next step S344, the profile generation program 5290 groups the actual measured values of power consumption of the cooling device 4000 according to the magnitude of the values. This group is also called a "profile." One method for grouping the actual measured values of power consumption is to use a known clustering method such as the k-means method.
[0053] In the next step S345, the profile generation program 5290 calculates the respective baselines from the data belonging to each group. In this embodiment, the average value of the data belonging to each group is set as the baseline. In the next step S346, the profile generation program 5290 selects the data of the group with the largest number of data (hereinafter referred to as the "default group") as the data for re-learning. In the next step S347, the profile generation program 5290 assigns a profile ID to the combination of the data belonging to the group and the baseline, and creates or updates the profile table 5270. In the next step S348, the profile generation program 5290 sets the profile ID of the group to which the data belongs to the profile ID 6312 of the cooling device management table 6310 for the data determined to be rectangular in step S342, and ends the process shown in FIG. 12.
[0054] In step S349, the profile generating program 5290 sets the data period to be re-learned to within a predetermined range from the current time (for example, within 30 days, etc.). In the following step S350, the profile generating program 5290 stores "-1" in the profile ID 6312 of the cooling device management table 6310 for the data determined to be non-rectangular in step S342, and ends the processing shown in FIG.
[0055] 13 is a flowchart showing the learning data / inference result correction process by the correction program 5280. In this embodiment, this process is called by the inference program 5225 after the inference program 5225 performs the inference process (power consumption prediction process) using a machine learning model. First, in step S360, the correction program 5280 acquires a predicted value of power consumption of the cooling device 4000 from the inference result data 5330. In the following step S369, the correction program 5280 acquires an actual measurement value at the time corresponding to the predicted value acquired in step S360 from the cooling device management table 6310.
[0056] In the next step S361, the correction program 5280 judges whether or not there is a concept drift. In the next step S362, the correction program 5280 judges whether or not the judgment result in step S361 is that there is a concept drift and that the inference result needs to be corrected. If it is judged that there is a concept drift and that the inference result needs to be corrected, the correction program 5280 proceeds to step S363, and if it is judged that there is no concept drift or that the inference result does not need to be corrected, the correction program 5280 ends the process shown in FIG. 13.
[0057] In step S363, the correction program 5280 identifies a group (hereinafter referred to as the "nearest group") having a baseline closest to the actual measured value of the power consumption of the cooling device 4000 acquired in step S369. Hereinafter, the baseline value of the nearest group will be referred to as "b1." In the following step S364, the correction program 5280 determines whether the nearest group is the group with the largest number of data items. If the correction program 5280 determines that the nearest group is the group with the largest number of data items, it proceeds to step S366, and if the correction program 5280 determines that the nearest group is not the group with the largest number of data items, it proceeds to step S365.
[0058] In step S365, the correction program 5280 adds the actual measurement value plus (b2-b1), which is the difference between "b2" and the aforementioned b1, to the data candidates for re-learning, and proceeds to step S367. In step S366, the correction program 5280 adds the actual measurement value to the data candidates for re-learning, and proceeds to step S367. In step S367, the correction program 5280 adds (b1-b2), the difference between the aforementioned b1 and the baseline (b2) of the maximum group, to the predicted value acquired in step S360, and ends the processing shown in FIG.
[0059] 14 is a screen output diagram showing the calculation results of the cooling device model relearning determination program 5252. This screen output shows the determination result of whether relearning is necessary and the grounds for the determination. At the top of the output screen 5250A, the management target, which is an overview of the model, the ML model, and the ML model relearning status are written under reference numeral 5250A1. Specifically, the model ID 5261, which is the identifier of the target machine learning model, and the version 5262 of the model are written in the "ML model" field, the inference target ID 5265, which is the device that the model is to infer, is written in the "managed target" field, and the status corresponding to the relearning pause flag 5266 is written in the "ML model relearning status" field.
[0060] In the time series diagram indicated by the reference numeral 5250A2, the estimated values obtained in S331 in Fig. 11 are shown by dotted lines, and the actual values obtained in S332 are shown by solid lines. The dashed lines are omitted because the two values are close to each other up to a certain point. This time series diagram shows the case where it is determined in step S334 that there is a concept drift.
[0061] Reference numerals 5250A3 and 5250A4 indicate the contents of the notification in step S337. Specifically, reference numeral 5250A3 is a notification from the viewpoint of operational management of the cooling device 4000, and reference numeral 5250A4 is a notification from the viewpoint of operational management of the machine learning model. Note that, although the data indicated by reference numerals 5250A2 to 5250A4 is displayed on the screen here, the data indicated by reference numerals 5250A2 to 5250A4 may be output as a log.
[0062] The buttons denoted by reference numerals 5250A5, 5250A6, and 5250A7 shown at the bottom of FIG. 14 correspond to the conditional branch in step S3310. Specifically, "measures completed" denoted by reference numeral 5250A5 corresponds to "YES", "measures not required" denoted by reference numeral 5250A6 corresponds to "NO", and "measures to be taken later" denoted by reference numeral 5250A7 corresponds to "not completed". As described in the explanation of FIG. 11, when the occurrence of concept drift is notified to the cooling device control program 5230 in step S336, the cooling device model re-learning determination program 5252 receives the contents of the control performed by the cooling device control program 5230 and determines the processing of this step based on the contents. In this case, the buttons denoted by reference numerals 5250A5, 5250A6, and 5250A7 may not be displayed.
[0063] FIG. 15 is a diagram showing a first transition example from FIG. 14. Specifically, FIG. 15 shows a screen display after the user changes the setting of "Cooling-01" in the state shown in FIG. 14 and presses the "Measures Completed" button indicated by reference numeral 5250A5. Since the user changes the setting of "Cooling-01", the actual measured value indicated by the solid line has decreased and is close to the predicted value. Since the user presses the "Measures Completed" button, the process proceeds to "YES" in step S3310 in FIG. 11, and steps S3311, S338, S3312, S339, and S3313 are executed. By the process of step S3311, data during the period when concept drift occurred is removed from learning, as described in the column indicated by reference numeral 5250B4. In addition, by the process of step S338, the re-learning pause flag 5266 is set to "0", and re-learning is started.
[0064] Fig. 16 is a diagram showing a second transition example from Fig. 14. Specifically, Fig. 16 shows a screen display after the user determines that no action is required in the state shown in Fig. 14, does not change the settings of cooling device 4000, and presses the "No action required" button indicated by reference numeral 5250A6. In this case, since the user presses the "No action required" button, the process proceeds to "No action required" in step S3310 in Fig. 11, and steps S338, S3312, S339, and S3313 are executed. The process in step S338 sets relearning pause flag 5266 to "0", and relearning is started.
[0065] FIG. 17 is a screen output diagram showing the calculation results of the correction program 5280 in a situation different from that in FIG. 14 to FIG. 16. The time series diagram indicated by the reference numeral 5250D2 shows the actual measurement values acquired in step S340 in FIG. 12 and the profile ID assigned in step S347. Although omitted in FIG. 17, the baseline calculated in step S345 may be displayed. In addition, in the situation shown in FIG. 17, it is assumed that there is a concept drift in step S362 in FIG. 13 and that it is determined that the inference result needs to be corrected. In addition, it is assumed that the group with the profile ID "0" is the largest group with the largest number of data.
[0066] 17, the profile ID of the actual measurement value changes from "0" to "1", and in step S363, the group with profile ID "1" is identified as the group (nearest group) having the baseline closest to the actual measurement value. Furthermore, in step S367, the predicted value is corrected by adding the difference (b1-b2) between the baseline (b1) of the nearest group with profile ID "1" and the baseline (b2) of the maximum group with profile ID "0" to the predicted value.
[0067] According to the above-described first embodiment, the following advantageous effects can be obtained. (1) A management computer 5000 including a data collection program 5210, which can also be called an acquisition unit, that acquires actual measured values, which are actual physical quantities, and a storage device 5300 that stores a cooling device model, which is a machine learning model that estimates physical quantities, executes the following re-learning method. This re-learning method includes a learning process executed by a learning program 5220 to re-learn a machine learning model using learning target actual measured values, which are at least a part of the actual measured values, and a cooling device model re-learning determination process executed by a cooling device model re-learning determination program 5252 as described with reference to FIG. When the cooling device model re-learning judgment detects a concept drift, which is a change in the trend of the actual measured values (S334: YES in FIG. 11), it judges whether or not a countermeasure against the change in trend is necessary (S3310). If it judges that no countermeasure is necessary, the actual measured values during the period when the trend changed are included in the actual measured values to be learned and re-learning is performed using the learning process (S338, S3312, S339, S3313). If it judges that a countermeasure is necessary and the countermeasure is completed, the actual measured values during the period when the trend changed are not included in the actual measured values to be learned and re-learning is performed using the learning process (S3311, S338, S3312, S339, S3313). Therefore, re-learning that does not follow the change in trend is possible depending on the situation. Specifically, in S3311 in FIG. 11, the invalid flag of the data during the period when the concept drift occurred is set to "1", so that the data during that period is not used for learning. Therefore, for example, if concept drift occurs due to an operational error by a data center operator, the actual measured value that changed due to the operational error will not be subject to learning, so changes in the actual measured value due to the operational error from the next time onwards can be detected.
[0068] (2) In the re-learning judgment process, the necessity of countermeasures is judged based on the result of an inquiry to the user. Therefore, it is possible to reliably judge the necessity of countermeasures.
[0069] (3) In the re-learning determination process, if it is determined that countermeasures are necessary but have not been completed, re-learning by the learning process is stopped (S336). Therefore, it is possible to stop updating the model until the countermeasures are completed.
[0070] (4) The storage device 5300 further stores a computer model for estimating the power consumption of the computer 3000. The data collection program 5210 further acquires a computer actual measurement value, which is data related to the power consumption of the computer 3000. In the re-learning determination process, when the trend changes, if the increase / decrease trend of the difference between the computer actual measurement value and the estimated value of the second machine learning model coincides with the increase / decrease trend of the difference between the actual measurement value and the estimated value of the machine learning model (S335: YES in FIG. 11), re-learning is performed using a learning process without determining whether or not countermeasures are required (S339). Even if the estimated value output by the cooling device model differs from the actual measurement value, if the trend of the difference between the estimated value of the computer model and the power consumption of the computer 3000 is the same, it can be assumed that a sudden increase or decrease in the calculation of the computer 3000 has caused a change in the power consumption of the cooling device 4000. Since it can be determined that there is no problem in such a case, it can be treated in the same way as when no countermeasures are required (S3310: Not required).
[0071] (5) The re-learning method executed by the management computer 5000 of the cooling device 4000 includes a profile creation process (FIG. 12) executed by the profile generation program 5290 for grouping actual measured values of power consumption and determining a baseline value that is a representative value of the actual measured values for each group, and an inference result correction process (S367 in FIG. 13) executed by the correction program 5280 for correcting the inference result using the sum of the difference between the baseline of the nearest group of actual measured values and the baseline value of the maximum group. Therefore, it is possible to avoid trying to follow a sudden change (rectangular change) in power consumption that is difficult to follow by the re-learning of a machine learning model through re-learning, and to output a highly accurate inference result. Furthermore, the re-learning method executed by the management computer 5000 of the cooling device 4000 includes a process executed by the profile generation program 5290 to change the re-learned data period from the oldest to the newest data when it is determined that the change in the actual measurement value is rectangular (S343 in FIG. 12), and a learning data correction process executed by the correction program 5280 to correct the data used in the learning process using the sum of the difference between the baseline value of the maximum group and the baseline of the group nearest to the actual measurement value (S365 in FIG. 13). Therefore, a lot of data can be used for re-learning.
[0072] (6) The re-learning method executed by the management computer 5000 of the cooling device 4000 continuously executes (S3312 in FIG. 11) the profile creation process executed by the profile generation program 5290 (FIG. 12), the inference result correction process executed by the correction program 5280 (S367 in FIG. 13), and the learning data correction process executed by the correction program 5280 (S365 in FIG. 13). Therefore, even if a change occurs from a situation in which the actual measurement value changes in a rectangular shape to a situation in which the actual measurement value does not change in a rectangular shape, or vice versa, it is possible to appropriately determine whether or not correction of the inference result or the learning data is necessary.
[0073] (Variation 1) In the embodiment described above, the user is queried as to whether or not countermeasures are required in step S3310 in Fig. 11. However, the management computer 5000 may determine whether or not countermeasures are required, and if it determines that countermeasures are required, may execute the countermeasures using the cooling device control program 5230. In this case, once countermeasures are completed by the cooling device control program 5230, the process proceeds to "YES" in step S3310 in Fig. 11 and continues processing.
[0074] The management computer 5000 may use various known methods to determine whether or not a countermeasure is required. For example, a database showing a relationship between a time series of the difference between the past actual values and the predicted values collected in advance and whether or not a countermeasure is required may be referenced. For example, if the actual value of the power consumption of the cooling device exceeds the predicted value by a certain amount or more, and the actual value of the power consumption of the computer is about the same as the predicted value or the actual value is lower than the predicted value by a certain amount or more, the relationship that a countermeasure of increasing the set temperature of the cooling equipment is required may be stored in the database and used. In addition, data other than the power consumption of the computer 3000 and the cooling device 4000 may be obtained, and the necessity of a countermeasure may be determined based on a predetermined formula. For example, outdoor temperature data may be obtained, and if the actual value of the power consumption of the cooling device exceeds the predicted value by a certain amount or more, and the outdoor temperature is about the same as the value of the same period of the previous year or is lower than the value of the same period of the previous year by a certain amount or more, it may be determined that a countermeasure of increasing the set temperature of the cooling equipment is required. Alternatively, for example, by obtaining room temperature data from multiple locations in a server room, if the actual measured power consumption of the cooling device exceeds the predicted value by a certain amount and the room temperature data of some locations in the server room is below the standard range calculated from the average room temperature data in the server room and the standard deviation, it may be determined that a measure is needed to raise the set temperature of the cooling device close to those locations.
[0075] According to the first modification, the following advantageous effects can be obtained. (6) In the re-learning judgment process, the necessity of countermeasures is judged based on predetermined rules, and if it is judged that countermeasures are necessary, the countermeasures are executed. Therefore, it is possible to judge the necessity of re-learning without asking the user.
[0076] (Variation 2) The management computer 5000 does not necessarily have to comprise the profile generating program 5290 and the correction program 5280 .
[0077] (Variation 3) The computer model does not have to be stored in the storage device 5300 of the management computer 5000. In this case, the computer model relearning determination program 5251 is not necessary, and the cooling device model relearning determination program 5252 proceeds to step S336 when an affirmative determination is made in step S334 of FIG.
[0078] In each of the above-mentioned embodiments and modifications, the configuration of the functional blocks is merely an example. Some functional configurations shown as separate functional blocks may be integrated, or a configuration shown in one functional block diagram may be divided into two or more functions. In addition, some of the functions of each functional block may be provided by other functional blocks.
[0079] In each of the above-described embodiments and modifications, the management computer 5000 may be provided with an input / output interface (not shown), and a program may be read from another device when necessary via the input / output interface and a medium available to the management computer 5000. Here, the medium refers to, for example, a storage medium that is detachable from the input / output interface, or a communication medium, that is, a network such as a wired, wireless, or optical network, or a carrier wave or digital signal that propagates through the network. In addition, some or all of the functions realized by the program may be realized by a hardware circuit or an FPGA.
[0080] The above-mentioned embodiments and modifications may be combined with each other. Although various embodiments and modifications have been described above, the present invention is not limited to these. Other aspects that are conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. [Explanation of symbols]
[0081] 3000: Calculator 4000: Cooling device 5000: Management computer 5210: Data collection program 5220: Study Programs 5225 : Inference program 5250: Relearning necessity determination program 5251: Computer model re-learning judgment program 5252: Cooling system model re-learning judgment program 5260: Model management table 5280: Training data and inference result correction program 5290: Profile Generator 5300: Storage device 5310: Training data 5320: Machine learning model collection 5330: Inference result data 5500: IO device
Claims
1. A method for re-learning a machine learning model executed by a computing device including an acquisition unit that acquires an actual measured value that is an actual physical quantity, and a storage unit that stores a machine learning model that estimates the physical quantity, comprising: A learning process of re-learning the machine learning model using a learning target actual measurement value that is at least a part of the actual measurement value; a re-learning determination process for, when a change in the trend of the actual measured values is detected, determining whether or not countermeasures are necessary for the change in trend, and if it is determined that the countermeasures are unnecessary, performing the re-learning using the learning process by including the actual measured values during the period when the trend changed in the actual measured values to be learned, and if it is determined that the countermeasures are necessary and have been completed, performing the re-learning using the learning process without including the actual measured values during the period when the trend changed in the actual measured values to be learned.
2. The method for re-learning a machine learning model according to claim 1, A method for re-learning a machine learning model, in which the re-learning judgment process determines whether or not the countermeasure is necessary based on predetermined rules, and if it is determined that the countermeasure is necessary, the countermeasure is implemented.
3. The method for re-learning a machine learning model according to claim 1, A method for re-learning a machine learning model, in which the re-learning determination process determines whether or not the countermeasure is necessary based on the result of an inquiry to a user.
4. The method for re-learning a machine learning model according to claim 1, A method for re-learning a machine learning model, wherein the re-learning determination process stops the re-learning by the learning process if it determines that the countermeasure is necessary but the countermeasure has not been completed.
5. The method for re-learning a machine learning model according to claim 1, the physical quantity is the power consumption of a cooling device that cools a computer, The storage unit further stores a second machine learning model that estimates power consumption of the computer; The acquiring unit further acquires a computer actual measurement value which is data related to the power consumption of the computer, In the re-learning judgment process, when the trend changes, if the trend of increase / decrease in the difference between the computer actual value and the estimated value of the second machine learning model matches the trend of increase / decrease in the difference between the actual value and the estimated value of the machine learning model, the re-learning is performed using the learning process without determining whether or not the countermeasure is necessary.
6. The method for re-learning a machine learning model according to claim 1, a profile creation process for grouping the actual measurements and determining a baseline value, which is a representative value of the actual measurements, for each group; a learning data correction process, when a change in the trend of the actual measurement values is detected, for identifying a maximum group having the largest number of the actual measurement values belonging to a group and a nearest group having a baseline value closest to the actual measurement values after the trend change, for calculating an offset value which is a difference between the baseline value of the maximum group and the baseline value of the nearest group, and for causing the learning process to perform the re-learning using a sum of the actual measurement values after the trend change and the offset value; The re-learning method for a machine learning model further includes an inference result correction process for calculating a second offset value, which is the difference between the baseline value of the nearest group and the baseline value of the maximum group, and correcting the estimated value using the sum of the second offset value and the estimated value of the machine learning model.
7. The method for re-learning a machine learning model according to claim 6, The re-learning method for a machine learning model further includes a process of, when a change in trend of the actual measured values is detected, determining whether the change in trend is rectangular or not, and based on the result of the determination, determining a range of learning data from the actual measured values for which the learning process is to perform the re-learning.
8. A memory unit for storing a machine learning model for estimating power consumption of a target device; an acquisition unit that acquires an actual measurement value, which is data regarding actual power consumption of the target device; a learning unit that re-learns the machine learning model using a learning target actual measurement value that is at least a part of the actual measurement value; a re-learning determination unit that, when it detects a change in the trend of the actual measured values, determines whether or not countermeasures are needed for the change in trend, and if it determines that no countermeasures are needed, causes the learning unit to perform the re-learning by including the actual measured values during the period when the trend changed in the actual measured values to be learned, and if it determines that the countermeasures are needed and have been completed, causes the learning unit to perform the re-learning without including the actual measured values during the period when the trend changed in the actual measured values to be learned.
Citation Information
Patent Citations
Model operation support system and method
JP2021196921A
Management device and management method
JP2022167692A
Prediction model re-learning device, prediction model re-learning method, and program
JP7176656B1
Systems and methods for managing machine learning models
US20210390455A1
