Information processing apparatus and information processing method
By training a predictive model and adjusting the search range to include the center value, the method addresses the inefficiencies in high-dimensional parameter optimization, enhancing calculation speed and accuracy.
Patent Information
- Application Number
- JP2023030138
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for high-dimensional parameter optimization face challenges in setting appropriate search ranges, leading to increased calculation time and potential incorrect optimization due to variable types, especially when the number of dimensions and search data increase.
A model training unit trains a predictive model based on a dataset of parameter settings and evaluation values, generating a narrower search range that includes the center value of a broader range, with a search range shifting unit adjusting this range without changing its width, and an acquisition function optimization unit calculates new setting values within this range.
This approach allows for quick and accurate optimization of setting values by ensuring the search range includes the center value, reducing calculation time and improving optimization efficiency.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an information processing apparatus and an information processing method. [Background technology]
[0002] A technique has been proposed for searching for optimal parameter settings using evaluation values of parameter settings. In order to efficiently solve optimization problems of high-dimensional parameters, a method has been proposed for performing optimization while adjusting the search range. However, if the search range is not set appropriately, the calculation time required for optimization may be long. In particular, if the number of dimensions of the parameters is large and the number of search data increases, the calculation time is likely to be long. In addition, optimization may not always be performed correctly depending on the type of variables that make up the parameters. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] U.S. Patent Publication No. 2022 / 0374778 [Patent Document 2] U.S. Patent Publication No. 2022 / 0036194 [Patent Document 3] U.S. Patent Publication No. 2021 / 0357555 Summary of the Invention [Problem to be solved by the invention]
[0004] An embodiment of the present invention provides an information processing apparatus and an information processing method that are capable of quickly performing optimization by appropriately setting a search range. [Means for solving the problem]
[0005] In order to solve the above problem, according to one embodiment of the present invention, a model training unit that trains a prediction model based on a data set that pairs parameter setting values and evaluation values of the setting values; a search range generation unit that generates a second range narrower than a first range that is a maximum variable range of the setting value that can be input to the prediction model, based on the prediction model trained by the model training unit and the data set; a search range shifting unit that shifts the second range from a state in which the central value of the first range is not within the second range to a state in which the central value is within the second range without changing a width of the second range; an acquisition function optimization unit that calculates a new setting value to be evaluated next based on an acquisition function optimized by inputting the setting value within the second range after the search range shift unit shifts the setting value into the prediction model trained by the model training unit; An information processing device is provided. [Brief description of the drawings]
[0006] [Figure 1] 1 is a block diagram showing a schematic configuration of an information processing apparatus according to a first embodiment. [Diagram 2] FIG. 13 is a diagram showing an example of normalization of setting values and evaluation values constituting a data set. [Diagram 3] 4 is a flowchart showing a processing operation of the information processing device according to the first embodiment. [Figure 4] 6A to 6C are diagrams for explaining the processing of a local search range generation unit. [Diagram 5] FIG. 1 is a block diagram showing a schematic configuration of an information processing apparatus according to a comparative example. [Figure 6] 6 is a flowchart showing the processing operation of the information processing device in FIG. 5; [Figure 7] 6A and 6B are diagrams illustrating the processing of a local search range generation unit in an information processing device according to a comparative example. [Figure 8] 10 is a flowchart showing a processing operation of a recommended setting value determination unit according to the second embodiment. [Figure 9A] 9 is a diagram for explaining the processes in steps S30 and S31 in FIG. 8. [Figure 9B] 13 is a diagram comparing the processing of a local search range generation unit in the second embodiment and a comparative example. FIG. [Figure 10]13 is a flowchart showing a processing operation of a recommended setting value determination unit according to the third embodiment. [Figure 11A] FIG. 13 is a diagram showing an example of shift setting of the local search range Xlocal when the setting value at which the evaluation value takes the best value is smaller than 0.5. [Figure 11B] FIG. 13 is a diagram showing an example of shift setting of the local search range Xlocal when the setting value at which the evaluation value takes the best value is 0.5 or more. [Figure 12] 13 is a flowchart showing a processing operation of a recommended setting value determination unit according to the fourth embodiment. [Figure 13A] 13 is a diagram showing an example in which the center value of the local search range is shifted to the right by the difference between the center value of the parameter search range and the upper limit value of the local search range. [Figure 13B] 13 is a diagram showing an example in which the central value of the local search range is shifted to the left by the difference between the lower limit value of the local search range and the central value of the parameter search range. [Figure 14] 13 is a flowchart showing a processing operation of a recommended setting value determination unit according to the fifth embodiment. [Figure 15A] 13 is a diagram showing an example in which the upper limit value of the local search range is shifted to the right by the difference between the center value of the parameter search range and the upper limit value of the local search range. [Figure 15B] 13 is a diagram showing an example in which the lower limit value of the local search range Xlocal is shifted to the left by the difference between the lower limit value of the local search range and the center value of the parameter search range. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] Hereinafter, an embodiment of an information processing device and an information processing method will be described with reference to the drawings. The following description will focus on the main components of the information processing device, but the information processing device may include components and functions that are not shown or described. The following description does not exclude components and functions that are not shown or described.
[0008] (First embodiment) Fig. 1 is a block diagram showing a schematic configuration of an information processing device 1 according to a first embodiment. The information processing device 1 in Fig. 1 includes a recommended setting value determination unit 2. The recommended setting value determination unit 2 includes a model training unit 3, a local search range generation unit 4, a local search range shifting unit 5, and an acquisition function optimization unit 6.
[0009] The model training unit 3 trains the prediction model based on a data set that pairs parameter setting values with evaluation values of the setting values. The parameter setting values are, for example, the setting values of the power supply voltage of the memory cell, or the setting values of the read / write mode of the memory cell, and are not limited to a specific setting value. The evaluation value is a value that indicates the reliability of the setting value, such as the performance of the memory, such as the read / write speed, or the error rate of the memory read / write.
[0010] The local search range generating unit 4 generates a local search range narrower than the parameter search range, which is the maximum variable range of the setting value that can be input to the prediction model, based on the prediction model trained by the model training unit 3 and the data set. In this specification, the parameter search range may be referred to as the first range, and the local search range may be referred to as the second range. The specific form of the prediction model is arbitrary, but for example, a Gaussian process regression model or a Lasso regression model can be applied as the prediction model.
[0011] The local search range generating unit 4 may expand or contract the width of the local search range based on the length scale of the prediction model. The length scale is the inverse of the sensitivity that indicates how much the evaluation value changes in response to a change in the setting value.
[0012] The local search range shifter 5 shifts the local search range so as to include, for example, the center value of the parameter search range. The local search range shifter 5 may or may not change the width of the local search range before and after shifting the local search range.
[0013] The acquisition function optimization unit 6 inputs the setting values within the local search range into the prediction model trained by the model training unit 3, and calculates new setting values to be evaluated next based on the optimized acquisition function. In addition, the information processing device 1 in FIG. 1 may include an output unit 7, an input unit 8, a determination unit 9, and a storage unit 10.
[0014] The output unit 7 outputs the new setting value calculated by the acquisition function optimization unit 6. The setting value output from the output unit 7 is input to the evaluation device 11, which calculates an evaluation value. The evaluation device 11 may be a simulator. In FIG. 1, the evaluation device 11 is arranged separately from the information processing device 1, but the evaluation device 11 may be provided inside the information processing device 1. The evaluation value calculated by the evaluation device 11 is acquired by the input unit 8. The evaluation value acquired by the input unit 8 is stored in the memory unit 10 together with the corresponding setting value.
[0015] The judgment unit 9 judges whether or not to determine the optimal setting value based on the evaluation value and a predetermined end condition. Until the judgment unit 9 judges that the optimal setting value is determined, a series of processes of the model training unit 3, the local search range generation unit 4, the local search range shift unit 5, and the acquisition function optimization unit 6 are repeated. In this specification, one round of this series of processes is called an iteration.
[0016] While repeating a series of processes, the local search range generating unit 4 generates a new local search range based on a new setting value calculated by the acquisition function optimizing unit 6, regardless of the local search range generated in the series of processes executed immediately before.
[0017] The series of processes may be repeatedly executed until the optimum setting value is determined by the determination unit 9. Alternatively, the series of processes may be executed when the central value of the parameter setting range is not included in the local search range. Alternatively, the series of processes may be executed until the number of executions of the series of processes reaches a predetermined number.
[0018] The storage unit 10 stores a data set in which a set value and a corresponding evaluation value are paired. A new data set is stored in the storage unit 10 for each iteration.
[0019] The model training unit 3 may train a prediction model based on normalized values of the setting values and evaluation values constituting the dataset. FIG. 2 is a diagram showing an example of normalization of the setting values and evaluation values constituting the dataset. The setting values constituting the dataset include at least one of a categorical variable, an integer variable, a continuous variable, or a binary variable. FIG. 2 shows an example of a dataset in which three setting values consisting of a categorical variable, an integer variable, and a binary variable are paired with an evaluation value. The setting values are sometimes called explanatory variables, and the evaluation values are sometimes called objective variables.
[0020] A categorical variable is, for example, a bit string containing 0 and 1, with each bit string representing a different level. In the example of Figure 2, the categorical variables x10=[1,0,0], x11=[0,1,0], and x12=[0,0,1] are shown, which are one-hot representations of the levels x1=0, 1, and 2, respectively.
[0021] FIG. 2 also shows an example of normalizing integer variables x2=1, 5, 6 to continuous variables ranging from 0 to 1, x2=0.1, 0.9, 1.0.
[0022] Furthermore, as shown in Fig. 2, even if a binary variable x3 = 1, 0, 1 is normalized, it remains the same variable x3 = 1, 0, 1. The evaluation value y may be standardized, for example, by subtracting the average of the evaluation values y from the evaluation value y and dividing the result by the standard deviation of the evaluation values. A copula transformation or logarithmic transformation may be performed to convert the magnitude of the evaluation value y so that it follows a standard normal distribution while preserving the ranking information of the magnitude of the evaluation value y.
[0023] Fig. 3 is a flowchart showing the processing operation of the information processing device 1 according to the first embodiment. First, the acquisition function optimization unit 6 outputs an initial value of the parameter setting value (step S1). This initial value is output from the output unit 7 and input to the evaluation device 11. As will be described later, the information processing device 1 according to this embodiment repeatedly performs the process of the flowchart in Fig. 3, and each time, the output unit 7 outputs the setting value.
[0024] The evaluation device 11 calculates an evaluation value of the setting value output from the output unit 7 (step S2). The evaluation device 11 performs a simulation or an experiment based on the input setting value, and calculates an evaluation value based on the simulation result or the experiment result. When the input setting value is an initial value, the evaluation device 11 calculates an evaluation value corresponding to the initial value.
[0025] The input unit 8 acquires the evaluation value calculated by the evaluation device 11. The storage unit 10 stores a data set that pairs the setting value output from the output unit 7 with the evaluation value calculated by the evaluation device 11 and acquired by the input unit 8 (step S3). The storage unit 10 stores a new data set every time the information processing device 1 repeats an iteration.
[0026] Next, the judgment unit 9 judges whether or not to determine the optimal setting value based on the evaluation value of the data set newly stored in the storage unit 10 and a predetermined termination condition (step S4). As described above, the specific content of the termination condition is arbitrary. The termination condition may be, for example, when the number of iterations reaches a predetermined number, when the elapsed time from the start of the process of FIG. 3 reaches a predetermined time, when the same setting value is set consecutively a specified number of times or more, etc.
[0027] If it is determined in step S4 that the optimal setting values have not been determined, the model training unit 3 trains a prediction model based on normalized values of the setting values and evaluation values that constitute the dataset, and outputs the trained prediction model (step S5).
[0028] Next, the local search range generation unit 4 generates a local search range based on the trained prediction model and the data set (step S6). The local search range generation unit 4 may or may not expand or contract the local search range for each iteration.
[0029] Next, the local search range shifter 5 shifts the local search range so as to include the central value of the parameter search range (step S7). In this way, the local search range is shifted so as to include the central value of the parameter search range, so there is no risk of the local search range being shifted to a range deviated from the parameter search range, and the setting values can be narrowed down in a short time.
[0030] Next, the acquisition function optimization unit 6 inputs the setting values within the local search range into the trained prediction model, and calculates a new setting value to be evaluated next based on the optimized acquisition function (step S8). After that, the processes from step S2 onwards are repeated.
[0031] On the other hand, if the determination in step S4 is YES, an optimal value is determined from the set values thus far and output (step S9).
[0032] A series of processes from steps S2 to S8 in FIG. 3 corresponds to one iteration, and multiple iterations are repeated until the determination unit 9 determines the optimal setting value.
[0033] Fig. 4 is a diagram for explaining the processing of the local search range generation unit 4. The upper part of Fig. 4 shows an example in which the central value of the parameter search range X is not included in the local search range Xlocal. In this case, as shown in the middle part of Fig. 4, the local search range generation unit 4 shifts the local search range Xlocal to the right so that the central value of the parameter search range X is included without changing the width of the local search range Xlocal. Alternatively, as shown in the lower part of Fig. 4, the local search range generation unit 4 may change the width of the local search range Xlocal and shift the local search range Xlocal to the right so that the central value of the parameter search range X is included.
[0034] FIG. 4 shows an example in which the upper limit value of the local search range Xlocal is to the left of the central value of the parameter search range X in the initial state shown in the upper part. However, when the lower limit value of the local search range Xlocal is to the right of the central value of the parameter search range X, the local search range Xlocal is shifted to the left so that it includes the central value of the parameter search range X.
[0035] Fig. 5 is a block diagram showing a schematic configuration of an information processing device 100 according to a comparative example. In the information processing device 100 in Fig. 5, components common to those in Fig. 1 are given the same reference numerals, and the following description will focus on the differences.
[0036] The information processing device 100 in Fig. 5 does not have the local search range shift unit 5 in the information processing device 1 in Fig. 1. Moreover, the information processing device 100 in Fig. 5 includes a narrowing-down stop determination unit 12 and an optimization logic switching determination unit 13 that do not exist in the information processing device 1 in Fig. 1.
[0037] The narrowing stop determination unit 12 determines whether the width of the local search range Xlocal has become too narrow, and if so, stops narrowing the local search range Xlocal. When the width of the local search range Xlocal has become too narrow, the optimization logic switching determination unit 13 determines whether to generate a local search range Xlocal in another location and redo the optimization process.
[0038] Fig. 6 is a flowchart showing the processing operation of the information processing device 100 in Fig. 5. Steps S11 to S15 in Fig. 6 are common to steps S1 to S5 in Fig. 3. When the trained prediction model is output in step S15, the local search range generation unit 4 generates a local search range Xlocal based on the trained prediction model, the data set, and the determination result of the narrowing down stop determination unit 12 (step S16). More specifically, when the width of the local search range Xlocal becomes too narrow, the local search range generation unit 4 generates a local search range Xlocal in another location.
[0039] Next, the acquisition function optimization unit 6 inputs the setting values in the local search range Xlocal into the trained prediction model and calculates a new setting value to be evaluated next based on the optimized acquisition function (step S17). More specifically, when the local search range Xlocal is discretely sufficiently small, the acquisition function optimization unit 6 stops narrowing down the local search range Xlocal in the narrowing down stop determination unit 12, and performs a comprehensive search based on the determination of the optimization logic switching determination unit 13. Then, the processes from step S12 onwards are repeated.
[0040] FIG. 7 is a diagram for explaining the process of the local search range generating unit 4 in the information processing device 100 according to a comparative example. When the local search range Xlocal protrudes further below the lower limit value of the parameter search range X, for example, as shown in the middle part of FIG. 7, the lower limit value of the local search range Xlocal is shifted to the lower limit value of the parameter search range X. If the lower limit value of the local search range Xlocal is selected as the best value, the width of the local search range Xlocal may rapidly shrink as shown in the lower part of FIG. 7, and only a specific value within the parameter search range X may be selected. Therefore, a narrowing down stop determination unit 12 is provided to stop narrowing down when the width of the local search range Xlocal becomes too small. Then, the optimization logic switching determination unit 13 comprehensively searches other locations and sets the local search range Xlocal to the other locations.
[0041] 1 to 4, the information processing device 100 according to the comparative example shown in Figures 5 to 7 may not be able to appropriately set the local search range Xlocal, and it takes time to optimize the setting value when the local search range Xlocal is reset to another location by the optimization logic switching determination unit 13. Furthermore, the information processing device 100 according to the comparative example may not be able to process a specific variable such as a categorical variable, whose setting value is included in the data set.
[0042] In this way, in the first embodiment, when the setting value within the local search range Xlocal is input to the prediction model to optimize the acquisition function, the local search range Xlocal is shifted so as to include the center value of the parameter search range X, so that the local search range Xlocal can be appropriately narrowed down, and the problem of the local search range Xlocal being fixed to a specific point or the width of the local search range Xlocal being suddenly narrowed does not occur. Therefore, the setting value can be optimized quickly and accurately.
[0043] Second embodiment The second embodiment differs from the first embodiment in the processing operation of the local search range generating unit 4. The information processing device 1 according to the second embodiment has the same block configuration as that in FIG.
[0044] Fig. 8 is a flowchart showing the processing operation of the recommended setting value determination unit 2 in the information processing device 1 according to the second embodiment. The information processing device 1 according to the second embodiment performs the processing of the flowchart in Fig. 8 when the determination in step S4 in Fig. 3 is NO. That is, the flowchart in Fig. 8 shows the processing of steps S5 to S8 and step S2 in Fig. 3 in detail.
[0045] First, the model training unit 3 generates a data set including setting values and evaluation values (step S21). More specifically, the model training unit 3 sets binary variables to 0 or 1, categorical variables to one-hot representation, normalizes integer variables and continuous variables, and sets the search range X to [0, 1]. d ∈R d Generate the transformed dataset Dnorm.
[0046] Next, the model training unit 3 performs Gaussian process regression using the setting value as the explanatory variable x and the evaluation value as the objective variable y in the data set Dnorm, and generates a prediction model y=f pred (x) is learned (step S22).
[0047] Next, the local search range generation unit 4 judges whether the evaluation value of the latest iteration is better than the best evaluation value of the previous iteration based on the data set Dnorm of the latest iteration (step S23). If the judgment in step S23 is YES, the count value of the update consecutive success counter is incremented and the count value of the update consecutive failure counter is reset to zero (step S24). If the judgment in step S23 is NO, the count value of the update consecutive failure counter is incremented and the count value of the update consecutive success counter is reset to zero (step S25).
[0048] After the process of step S24 or S25 is completed, the local search range generating unit 4 judges whether the count value of the update consecutive success counter is equal to or greater than a predetermined threshold value (step S26). If the judgment in step S26 is YES, the width L of the local search range Xlocal is doubled, and both the count values of the update consecutive success counter and the update consecutive failure counter are reset to zero (step S27).
[0049] If the determination in step S26 is NO, it is determined whether the count value of the update successive failure counter is equal to or greater than a predetermined threshold (step S28).If the determination in step S28 is YES, the width L of the local search range Xlocal is narrowed to 1 / 2, and both the count values of the update successive success counter and the update successive failure counter are reset to zero (step S29).
[0050] In this way, if the evaluation value improves in a predetermined number of consecutive iterations, the width of the local search range Xlocal is widened, and if the evaluation value deteriorates in a predetermined number of consecutive iterations, the width of the location search range is narrowed.
[0051] When the process of step S27 or S29 is completed, or when the determination of step S28 is NO, the local search range generation unit 4 calculates the central value x center A local search range Xlocal is generated in which the set value that provides the best evaluation value in the data set Dnorm is set to Xlocal (step S30).
[0052] Next, when the lower limit value of the local search range Xlocal is smaller than the lower limit value of the parameter search range X, the local search range shift unit 5 shifts the central value of the local search range Xlocal to the right by the difference between both lower limit values, and when the upper limit value of the local search range Xlocal is larger than the upper limit value of the parameter search range X, the local search range shift unit 5 shifts the central value of the local search range Xlocal to the left by the difference between both upper limit values (step S31). Note that shifting to the right means shifting the central value of the local search range Xlocal in the direction to become larger, and shifting to the left means shifting the central value in the direction to become smaller.
[0053] Next, the local search range shifting unit 5 outputs a new local search range Xlocal obtained by excluding from the local search range Xlocal the portion of the local search range Xlocal that is not included in the parameter search range X (step S32).
[0054] Next, the acquisition function optimization unit 6 performs Thompson sampling on the local search range Xlocal based on the acquisition function fpred(x) to obtain the optimal setting value x opt is calculated (step S33).
[0055] The acquisition function optimization unit 6 determines the optimal setting value x opt For the dimensions corresponding to the binary variables, categorical variables, integer variables, and continuous variables, the inverse transformation performed at the time of normalization is performed to return them to discrete values, and the discrete values are output as the setting values to be evaluated next (step S34).
[0056] 9A and 9B are diagrams for explaining the processing of steps S30 and S31 in FIG. 8. FIG. 9A shows an example in which, when the lower limit value of the local search range Xlocal is smaller than the lower limit value of the parameter search range X, the center value of the local search range Xlocal is shifted to the right by the difference between the lower limit value of the local search range Xlocal and the lower limit value of the parameter search range X. As a result, the entire area of the local search range Xlocal is included in the parameter search range X. Also, in the example of FIG. 9A, by shifting the center value of the local search range Xlocal to the right, the center value of the parameter search range Xlocal is included in the local search range Xlocal, and the setting value can be optimized. In the example of FIG. 9A, the local search range Xlocal is shifted without changing the width of the local search range Xlocal, but the local search range Xlocal may be expanded or contracted.
[0057] 9B is a diagram comparing the processing of the local search range generating unit 4 in the second embodiment and a comparative example. As shown in the lower left of FIG. 9B, in the second embodiment, the limit value (e.g., the lower limit value) of the local search range Xlocal is shifted to the right (or left) without changing the width of the local search range Xlocal so that the limit value (e.g., the lower limit value) of the local search range Xlocal coincides with the limit value (e.g., the lower limit value) of the parameter search range X. In contrast, in the comparative example, as shown in the lower right of FIG. 9B, the lower limit value of the local search range Xlocal is the same as the second embodiment in that it coincides with the lower limit value of the parameter search range X. However, since the width of the local search range Xlocal is shortened, the central value of the parameter search range X is not included in the local search range Xlocal. When the inverse transformation in step S34 is performed, the values of the binary variables and categorical variables are fixed, and there is a risk that the setting value cannot be optimized.
[0058] As described above, in the second embodiment, when the lower limit value of the local search range Xlocal is smaller than the lower limit value of the parameter search range X, or when the upper limit value of the local search range Xlocal is larger than the upper limit value of the parameter search range X, the center value of the local search range Xlocal is shifted to the right or left by the difference between the lower limit value (upper limit value) of the local search range Xlocal and the lower limit value (upper limit value) of the parameter search range X, and a portion of the local search range Xlocal after the shift that protrudes from the lower limit value or the upper limit value of the parameter search range X is excluded. Therefore, the entire area of the local search range Xlocal can be included in the parameter search range X, and the design value can be optimized quickly and accurately.
[0059] (Third embodiment) The third embodiment differs from the first or second embodiment in the processing operation of the local search range generation unit 4. The third embodiment is characterized in that the center of the local search range Xlocal is always made to coincide with the center of the parameter search range X, and the local search range Xlocal is shifted so that the center of the parameter search range X is always included in the local search range Xlocal. The information processing device 1 according to the third embodiment has a block configuration similar to that of FIG. 1.
[0060] 10 is a flowchart showing the processing operation of the recommended setting value determination unit 2 in the information processing device 1 according to the third embodiment. Steps S41 to S49 in FIG. 10 are similar to steps S21 to S29 in FIG.
[0061] When the process of step S47 or S49 is completed, or when the determination of step S48 is NO, the local search range generation unit 4 calculates the central value x center A local search range Xlocal is generated in which the set value that provides the best evaluation value in the data set Dnorm is set to Xlocal (step S50).
[0062] Next, the local search range shifting unit 5 determines whether or not the set value when the evaluation value of the data set Dnorm is the best value is smaller than the central value 0.5 of the parameter search range X for the dimensions corresponding to the categorical variables and binary variables in the local search range Xlocal (step S51). Note that the central value of the parameter search range X is normalized to 0.5 when creating the data set in S41, and the set value is normalized.
[0063] If the determination in step S51 is YES, the upper limit value of the local search range Xlocal is set to the center value of the parameter search range X+L / 3, and the lower limit value of the local search range Xlocal is set to the center value of the parameter search range X-2L / 3 (step S52).
[0064] If the determination in step S51 is NO, the upper limit value of the local search range Xlocal is set to the center value of the parameter search range X+2L / 3, and the lower limit value of the local search range Xlocal is set to the center value of the parameter search range X-L / 3 (step S53).
[0065] After the process of step S52 or S53 is completed, the same processes as steps S32 to S34 in FIG. 8 are carried out (steps S54 to S56).
[0066] 11A and 11B are diagrams for explaining the processing operations of steps S51 to S53 in FIG. 10. Fig. 11A and 11B show a process of setting the upper and lower limits of the local search range Xlocal on the assumption that the central value of the parameter search range X is normalized to 0.5. Fig. 11A is a diagram showing an example of shift setting of the local search range Xlocal when the set value when the evaluation value takes the best value is smaller than 0.5. In this case, the upper limit of the local search range Xlocal is set to the central value (=0.5)+L / 3 of the parameter search range X, and the lower limit is set to the central value (=0.5)-2L / 3.
[0067] 11B is a diagram showing an example of shift setting of the local search range Xlocal when the setting value when the evaluation value is the best value is 0.5 or more. In this case, the upper limit of the local search range Xlocal is set to the center value (=0.5)+2L / 3 of the parameter search range X, and the lower limit is set to the center value (=0.5)-L / 3.
[0068] As described above, the third embodiment is characterized in that the local search range Xlocal is shifted so that it always includes the central value of the parameter search range X. The shift position of the local search range Xlocal is changed depending on whether the setting value when the evaluation value takes the best value is larger or smaller than the central value of the parameter search range X. Therefore, when performing the above-mentioned step S56, the setting values of the binary variables and categorical variables are prevented from always being fixed, and the local search range Xlocal can be set near the optimal setting value.
[0069] (Fourth embodiment) In the fourth embodiment, the local search range Xlocal is shifted so that the central value of the parameter search range X is always included in the local search range Xlocal.
[0070] The fourth embodiment differs from the first to third embodiments in the processing operation of the local search range generating unit 4. The information processing device 1 according to the fourth embodiment has the same block configuration as that in FIG.
[0071] 12 is a flowchart showing the processing operation of the recommended setting value determination unit 2 in the information processing device 1 according to the fourth embodiment. Steps S61 to S69 in FIG. 12 are similar to steps S21 to S29 in FIG.
[0072] When the process of step S67 or S69 is completed, or when the determination in step S68 is NO, the local search range generation unit 4 calculates the central value x center A local search range Xlocal is generated in which the set value that provides the best evaluation value in the data set Dnorm is set to Xlocal (step S70).
[0073] The local search range shift unit 5 judges whether or not the central value of the parameter search range X is greater than the upper limit value of the local search range Xlocal for the dimensions of the local search range Xlocal corresponding to the categorical variables and the binary variables (step S71). If the judgment in step S71 is YES, the central value of the local search range Xlocal is shifted to the right by the difference between the central value of the parameter search range Xlocal and the upper limit value of the local search range Xlocal (step S72).
[0074] If the determination in step S71 is NO, it is determined whether or not the lower limit value of the local search range Xlocal is greater than the central value of the parameter search range X (step S73). If the determination in step S73 is YES, the central value of the local search range Xlocal is shifted to the left by the difference between the lower limit value of the local search range Xlocal and the central value of the parameter search range X (step S74).
[0075] When the process of step S72 or S74 is completed, or when the determination in step S73 is NO, the same processes as steps S32 to S34 in FIG. 8 are performed (steps S75 to S77).
[0076] Fig. 13A and Fig. 13B are diagrams for explaining the processing operations of steps S71 to S74 in Fig. 12. Fig. 13A is a diagram showing an example in which the central value of the local search range Xlocal is shifted to the right by the difference between the central value of the parameter search range X and the upper limit value of the local search range Xlocal. Fig. 13B is a diagram showing an example in which the central value of the local search range Xlocal is shifted to the left by the difference between the lower limit value of the local search range Xlocal and the central value of the parameter search range X.
[0077] In this way, in the fourth embodiment, the central value of the local search range Xlocal is shifted so that the central value of the parameter search range X is always included in the local search range Xlocal. Therefore, the central value of the parameter search range X is included in the local search range Xlocal, and the local search range Xlocal does not deviate significantly from the parameter search range X.
[0078] Fifth embodiment In the fifth embodiment, the local search range Xlocal is shifted so that the central value of the parameter search range X is always included in the local search range Xlocal.
[0079] The fifth embodiment differs from the first to fourth embodiments in the processing operation of the local search range generating unit 4. The information processing device 1 according to the fifth embodiment has the same block configuration as that in FIG.
[0080] 14 is a flowchart showing the processing operation of the recommended setting value determination unit 2 in the information processing device 1 according to the fifth embodiment. Steps S81 to S89 in FIG. 14 are similar to steps S21 to S29 in FIG.
[0081] When the process of step S87 or S89 is completed, or when the determination of step S88 is NO, the local search range generation unit 4 calculates the central value x center A local search range Xlocal is generated in which the set value that provides the best evaluation value in the data set Dnorm is set to Xlocal (step S90).
[0082] The local search range shift unit 5 judges whether or not the center value of the parameter search range X is greater than the upper limit value of the local search range X for the dimensions of the local search range X that correspond to the categorical variables and the binary variables (step S91). If the judgment in step S91 is YES, the upper limit value of the local search range X is shifted to the right by the difference between the center value of the parameter search range X and the upper limit value of the local search range X (step S92).
[0083] If the determination in step S91 is NO, it is determined whether or not the lower limit value of the local search range Xlocal is greater than the central value of the parameter search range X (step S93). If the determination in step S92 is YES, the lower limit value of the local search range Xlocal is shifted to the left by the difference between the lower limit value of the local search range Xlocal and the central value of the parameter search range X (step S94).
[0084] When the process of step S92 or S94 is completed, or when the determination in step S93 is NO, the same processes as steps S32 to S34 in FIG. 8 are performed (steps S95 to S97).
[0085] Figures 15A and 15B are diagrams for explaining the processing operations of steps S91 to S94 in Figure 14. Figure 15A is a diagram showing an example in which the upper limit value of the local search range Xlocal is shifted to the right by the difference between the center value of the parameter search range X and the upper limit value of the local search range Xlocal. Figure 15B is a diagram showing an example in which the lower limit value of the local search range Xlocal is shifted to the left by the difference between the lower limit value of the local search range Xlocal and the center value of the parameter search range X.
[0086] In this way, in the fifth embodiment, the upper limit value or the lower limit value of the local search range Xlocal is shifted so that the central value of the parameter search range X is always included in the local search range Xlocal. Therefore, by expanding or contracting the width of the local search range Xlocal, the central value of the parameter search range X can be included in the local search range Xlocal.
[0087] Sixth embodiment In the above-described first to fifth embodiments, an example has been described in which the local search range Xlocal is generated and shifted in each of a plurality of iterations until the determination unit 9 determines the optimal setting value. However, the local search range Xlocal may be generated and shifted only for some of the iterations.
[0088] The conditions for generating and shifting the local search range Xlocal are arbitrary, but here, the first to third representative conditions will be explained.
[0089] As described in the first to fifth embodiments, the first condition is that the local search range Xlocal is generated and shifted in each of a plurality of iterations performed until the determination unit 9 determines the optimal setting value. In this case, the local search range Xlocal generated in the immediately preceding iteration and the shift result are used to generate and shift the local search range Xlocal in the next iteration, but the local search range Xlocal is generated and shifted for each iteration.
[0090] The second condition is to generate and shift the local search range Xlocal when the local search range Xlocal does not include the center value of the parameter search range X. The second condition can speed up the processing because it generates and shifts the local search range Xlocal in only some of the iterations.
[0091] The third condition is to generate and shift the local search range Xlocal until the number of iterations reaches a predetermined number. In the final iterations, the local search range Xlocal is also narrowed down to near the optimal value of the setting value, so the setting value can be properly optimized without generating and shifting the local search range Xlocal. For example, by generating and shifting the local search range Xlocal only in the early iterations, the processing can be speeded up.
[0092] Seventh embodiment In the above-mentioned first to sixth embodiments, an example of optimizing the setting value using an optimization method based on a Gaussian process regression model (also called Bayesian optimization) has been described, but the prediction model used by the information processing device 1 according to the present disclosure is not limited to a prediction model that performs Bayesian optimization. For example, a prediction model such as random forest, LightGBM, or XGBoost may be used, or a neural network may be used.
[0093] At least a part of the information processing device 1 described in the above embodiment may be configured with hardware or software. When configured with software, a program that realizes at least a part of the functions of the information processing device 1 may be stored in a recording medium such as a flexible disk or a CD-ROM, and may be read and executed by a computer. The recording medium is not limited to a removable one such as a magnetic disk or an optical disk, and may be a fixed recording medium such as a hard disk device or a memory.
[0094] Also, a program that realizes at least a part of the functions of the information processing device 1 may be distributed via a communication line (including wireless communication) such as the Internet. Furthermore, the program may be encrypted, modulated, or compressed and distributed via a wired line or wireless line such as the Internet, or stored in a recording medium. [Note]
[0095] [Item 1] A model training unit that trains a prediction model based on a data set that includes parameter setting values and evaluation values of the setting values; a search range generation unit that generates a second range narrower than a first range that is a maximum variable range of the setting value that can be input to the prediction model, based on the prediction model trained by the model training unit and the data set; a search range shifting unit that shifts the second range from a state in which the central value of the first range is not within the second range to a state in which the central value is within the second range without changing a width of the second range; an acquisition function optimization unit that calculates a new setting value to be evaluated next based on an acquisition function optimized by inputting the setting value within the second range after the search range shift unit shifts the setting value into the prediction model trained by the model training unit; An information processing device comprising: [Item 2] A model training unit that trains a prediction model based on a data set that includes parameter setting values and evaluation values of the setting values; a search range generation unit that generates a second range narrower than a first range that is a maximum variable range of the setting value that can be input to the prediction model, based on the prediction model trained by the model training unit and the data set; a search range shifting unit that shifts the second range so as to include a central value of the first range; an acquisition function optimization unit that calculates a new setting value to be evaluated next based on an acquisition function optimized by inputting the setting value within the second range after the search range shift unit shifts the setting value into the prediction model trained by the model training unit; An information processing device comprising: [Item 3] The search range shifting unit shifts the second range without changing the width of the second range. Item 3. An information processing device according to item 2. [Item 4] The search range shifting unit expands or contracts a width of the second range to shift the second range. Item 3. An information processing device according to item 2. [Item 5] The search range shifting unit When the lower limit value of the second range is smaller than the lower limit value of the first range, the second range is shifted without changing the width of the second range or by shortening the width of the second range so that the lower limit value of the second range is equal to or greater than the lower limit value of the first range; When the upper limit value of the second range is larger than the upper limit value of the first range, the second range is shifted without changing the width of the second range or by shortening the width of the second range so that the upper limit value of the second range is equal to or smaller than the upper limit value of the first range. 5. An information processing device according to any one of items 1 to 4. [Item 6] the search range shifting unit excludes from the second range a partial range that does not overlap with the first range when the second range is shifted. Item 5. An information processing device according to item 5. [Item 7] the search range shifting unit sets at least one of an upper limit value and a lower limit value of the second range based on a magnitude relationship between a setting value that optimizes the evaluation value of the data set and a central value of the first range. 5. An information processing device according to any one of items 1 to 4. [Item 8] The search range shifting unit When the setting value that provides the best evaluation value for the data set is smaller than the central value of the first range, the difference between the central value of the first range and the lower limit value of the second range is made larger than the difference between the upper limit value of the second range and the central value of the first range; When the setting value that provides the best evaluation value of the data set is equal to or greater than the central value of the first range, the difference between the upper limit value of the second range and the central value of the first range is made larger than the difference between the central value of the first range and the lower limit value of the second range. Item 8. An information processing device according to item 7. [Item 9] The search range shifting unit if the central value of the first range is greater than the upper limit value of the second range, shifting the second range so that the central value of the second range is greater by the difference between the central value of the first range and the upper limit value of the second range; When the lower limit value of the second range is greater than the central value of the first range, the second range is shifted so that the central value of the second range becomes smaller by an amount equal to the difference between the lower limit value of the second range and the central value of the first range. 5. An information processing device according to any one of items 1 to 4. [Item 10] The search range shifting unit if the central value of the first range is greater than the upper limit value of the second range, the upper limit value of the second range is shifted larger by an amount equal to the difference between the central value of the first range and the upper limit value of the second range; if the lower limit value of the second range is greater than the central value of the first range, the lower limit value of the second range is shifted smaller by an amount equal to the difference between the lower limit value of the second range and the central value of the first range; 5. An information processing device according to any one of items 1 to 4. [Item 11] a determination unit that determines whether or not to determine an optimal setting value based on the evaluation value and a predetermined termination condition; A series of processes of the model training unit, the search range generating unit, the search range shifting unit, and the acquisition function optimizing unit are repeated during at least a part of the period until the determining unit determines that the optimal setting value is determined. 11. The information processing device according to any one of items 1 to 10. [Item 12] The search range generating unit generates a new second range based on the new setting value calculated by the acquisition function optimizing unit, regardless of the second range generated in the immediately preceding series of processes while repeating the series of processes. Item 12. An information processing device according to item 11. [Item 13] The series of processes is repeatedly executed until the optimum setting value is determined by the determination unit. Item 13. The information processing device according to item 11 or 12. [Item 14] The series of processes is executed when the second range does not include the central value of the first range. Item 13. The information processing device according to item 11 or 12. [Item 15] The series of processes is executed until the number of executions of the series of processes reaches a predetermined number. Item 13. The information processing device according to item 11 or 12. [Item 16] The set value includes at least one of a categorical variable, an integer variable, a continuous variable, or a binary variable. 16. An information processing device according to any one of items 1 to 15. [Item 17] an output unit that outputs the new setting value calculated by the acquisition function optimization unit; An input unit for acquiring an evaluation value of the new setting value, 17. An information processing device according to any one of items 1 to 16. [Item 18] a storage unit that stores a data set that pairs the new setting value and the corresponding evaluation value; Item 18. An information processing device according to any one of items 1 to 17. [Item 19] The computer A step of training a prediction model based on a data set of parameter setting values and evaluation values of the setting values; generating a second range, which is narrower than a first range that is a maximum variable range of the setting value that can be input to the predictive model, based on the trained predictive model and the dataset; shifting the second range from a state where the midpoint of the first range is not within the second range to a state where the midpoint of the first range is within the second range without changing the width of the second range, or shifting the second range so that it includes the midpoint of the first range; A step of inputting the setting value within the second range after the shift into the trained prediction model and calculating a new setting value to be evaluated next based on an optimized acquisition function; An information processing method.
[0096] The aspects of the present disclosure are not limited to the above-mentioned individual embodiments, but include various modifications that may be conceived by a person skilled in the art, and the effects of the present disclosure are not limited to the above-mentioned contents. In other words, various additions, modifications, and partial deletions are possible within the scope of the conceptual idea and intent of the present disclosure derived from the contents defined in the claims and their equivalents. [Explanation of symbols]
[0097] 1 Information processing device, 2 Recommended setting value determination unit, 3 Model training unit, 4 Local search range generation unit, 5 Local search range shift unit, 6 Acquisition function optimization unit, 7 Output unit, 8 Input unit, 9 Judgment unit, 10 Memory unit, 11 Evaluation device, 12 Stop judgment unit, 13 Optimization logic switching judgment unit, 100 Information processing device
Claims
1. A model training unit that trains a prediction model based on a data set that includes parameter setting values and evaluation values of the setting values; a search range generation unit that generates a second range narrower than a first range that is a maximum variable range of the setting value that can be input to the prediction model, based on the prediction model trained by the model training unit and the data set; a search range shifting unit that shifts the second range from a state in which the central value of the first range is not within the second range to a state in which the central value is within the second range without changing a width of the second range; an acquisition function optimization unit that calculates a new setting value to be evaluated next based on an acquisition function optimized by inputting the setting value within the second range after the search range shift unit shifts the setting value into the prediction model trained by the model training unit; An information processing device comprising:
2. A model training unit that trains a prediction model based on a data set that includes parameter setting values and evaluation values of the setting values; a search range generation unit that generates a second range narrower than a first range that is a maximum variable range of the setting value that can be input to the prediction model, based on the prediction model trained by the model training unit and the data set; a search range shifting unit that shifts the second range so as to include a central value of the first range; an acquisition function optimization unit that calculates a new setting value to be evaluated next based on an acquisition function optimized by inputting the setting value within the second range after the search range shift unit shifts the setting value into the prediction model trained by the model training unit; An information processing device comprising:
3. the search range shifting unit shifts the second range without changing a width of the second range. The information processing device according to claim 2 .
4. the search range shifting unit expands or contracts a width of the second range to shift the second range; The information processing device according to claim 2 .
5. The search range shifting unit When the lower limit value of the second range is smaller than the lower limit value of the first range, the second range is shifted without changing the width of the second range or by shortening the width of the second range so that the lower limit value of the second range is equal to or greater than the lower limit value of the first range; When the upper limit value of the second range is larger than the upper limit value of the first range, the second range is shifted without changing the width of the second range or by shortening the width of the second range so that the upper limit value of the second range is equal to or smaller than the upper limit value of the first range.
3. The information processing device according to claim 1 or 2.
6. the search range shifting unit excludes from the second range a partial range that does not overlap with the first range when the second range is shifted; The information processing device according to claim 5 .
7. the search range shifting unit sets at least one of an upper limit value and a lower limit value of the second range based on a magnitude relationship between a setting value that optimizes the evaluation value of the data set and a central value of the first range.
3. The information processing device according to claim 1 or 2.
8. The search range shifting unit when the setting value that provides the best evaluation value for the data set is smaller than the central value of the first range, the difference between the central value of the first range and the lower limit value of the second range is made larger than the difference between the upper limit value of the second range and the central value of the first range; when the setting value that provides the best evaluation value for the data set is equal to or greater than the central value of the first range, a difference between the upper limit value of the second range and the central value of the first range is made larger than a difference between the central value of the first range and a lower limit value of the second range. The information processing device according to claim 7.
9. The search range shifting unit if the central value of the first range is greater than the upper limit value of the second range, shifting the second range so that the central value of the second range is greater by an amount equal to the difference between the central value of the first range and the upper limit value of the second range; When the lower limit value of the second range is greater than the central value of the first range, the second range is shifted such that the central value of the second range becomes smaller by an amount equal to the difference between the lower limit value of the second range and the central value of the first range.
3. The information processing device according to claim 1 or 2.
10. The search range shifting unit if the central value of the first range is greater than the upper limit value of the second range, the upper limit value of the second range is shifted by an amount equal to the difference between the central value of the first range and the upper limit value of the second range; when the lower limit value of the second range is greater than the central value of the first range, the lower limit value of the second range is shifted smaller by an amount equal to the difference between the lower limit value of the second range and the central value of the first range; 3. The information processing device according to claim 1 or 2.
11. a determination unit that determines whether or not to determine an optimal setting value based on the evaluation value and a predetermined termination condition; A series of processes of the model training unit, the search range generating unit, the search range shifting unit, and the acquisition function optimizing unit are repeated during at least a part of the period until the determining unit determines that the optimal setting value is determined.
3. The information processing device according to claim 1 or 2.
12. the search range generating unit generates a new second range based on the new setting value calculated by the acquisition function optimizing unit, regardless of the second range generated in the immediately preceding series of processes while repeating the series of processes; The information processing device according to claim 11.
13. The series of processes is repeatedly executed until the optimum setting value is determined by the determination unit. The information processing device according to claim 11.
14. The series of processes is executed when the second range does not include the central value of the first range. The information processing device according to claim 11.
15. The series of processes is executed until the number of executions of the series of processes reaches a predetermined number. The information processing device according to claim 11.
16. The set value includes at least one of a categorical variable, an integer variable, a continuous variable, or a binary variable.
3. The information processing device according to claim 1 or 2.
17. an output unit that outputs the new setting value calculated by the acquisition function optimization unit; An input unit for acquiring an evaluation value of the new setting value, 3. The information processing device according to claim 1 or 2.
18. a storage unit that stores a data set that pairs the new setting value and the corresponding evaluation value; 3. The information processing device according to claim 1 or 2.
19. The computer A step of training a prediction model based on a data set of parameter setting values and evaluation values of the setting values; generating a second range, the second range being narrower than a first range that is a maximum variable range of the setting value that can be input to the predictive model, based on the trained predictive model and the dataset; shifting the second range from a state in which the midpoint of the first range is not within the second range to a state in which the midpoint of the first range is within the second range without changing the width of the second range, or shifting the second range so that it includes the midpoint of the first range; A step of inputting the setting value within the second range after the shift into the trained prediction model and calculating a new setting value to be evaluated next based on an optimized acquisition function; An information processing method.
Citation Information
Patent Citations
Data-driven representation and clustering discretization method and system for design optimization and / or performance prediction of material systems and applications of same
US20210357555A1
Deep neural network optimization system for machine learning model scaling
US20220036194A1
Efficient Computation for Bayesian Optimization
US20220374778A1
