Information processor, method for processing information, and information processing program

The information processing device addresses decreased model accuracy by evaluating bias in manufacturing line conditions to determine retraining needs, ensuring model performance through timely updates based on fairness indices and additional training data.

JP2024111484AInactive Publication Date: 2024-08-19OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023016018
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-06
Publication Date
2024-08-19
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Trained models applied to manufacturing lines experience decreased prediction accuracy due to changes in line conditions over time, as they are trained on data biased compared to actual conditions, and existing methods do not provide timely retraining recommendations.

Method used

An information processing device evaluates bias in model attributes using state data from learning and target periods, calculating fairness indices to determine when retraining is necessary, and highlights attributes requiring additional training data for model updates.

Benefits of technology

Enables timely retraining of models to maintain accuracy by identifying changes in manufacturing line conditions and suggesting data sets for relearning, thereby preserving model performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024111484000001
    Figure 2024111484000001
Patent Text Reader

Abstract

To provide an information processor which can grasp a right timing of re-learning of a learned model to apply to a manufacturing line.SOLUTION: The information processor includes a first evaluation unit for evaluating the unevenness of the attribute of at least one element in a learning period on the basis of first attribute data showing the attribute of at least one element related to a manufacturing line when the state data of a teacher data set is acquired. The at least one element includes at least one 5M1E. The information processor also includes: a second evaluation unit for evaluating the unevenness of the attribute of at least one element in a target period on the basis of second attribute data showing at least one element in each of a plurality of timings different from one another in the target period; and an output unit for outputting the result of the evaluation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device, an information processing method, and an information processing program. [Background technology]

[0002] In recent years, trained models generated by machine learning have been applied to various applications. When data acquired under conditions different from the training data used to generate the trained model is input to the trained model, the prediction accuracy of the trained model may decrease. This is due to the bias problem, in which the training data is biased compared to data acquired under actual conditions, and the bias is reflected in the results of the trained model.

[0003] Japanese Patent Application Laid-Open Publication No. 2021-179974 (Patent Document 1) discloses a technique for mitigating such biases. The technique displays a set of biases and a set of appropriate actions for mitigating the biases based on user responses to task-specific questions. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-179974 Summary of the Invention [Problem to be solved by the invention]

[0005] In manufacturing lines, trained models are also used to predict, for example, quality judgment and factory KPIs (Key Performance Indicators). The situation on the manufacturing line may change over time. Therefore, as the situation on the manufacturing line changes, the prediction accuracy of the trained model generated using the training data acquired during the learning period may decrease.

[0006] As a method for suppressing a decrease in the prediction accuracy of a trained model, re-learning using additional training data is known. Therefore, it is desirable to re-learn a trained model at an appropriate timing. However, the technology disclosed in Patent Document 1 does not take into consideration application to a manufacturing line. Therefore, a user does not know the timing to re-learn a trained model to be applied to a manufacturing line.

[0007] The present disclosure has been made in consideration of the above problems, and its purpose is to provide an information processing device, an information processing method, and an information processing program that can grasp the timing for re-learning a trained model applied to a production line. [Means for solving the problem]

[0008] According to an example of the present disclosure, an information processing device receives an input of status data indicating a status of a production line and evaluates a trained model that outputs a predicted value of a target variable. The trained model is generated using a plurality of teacher data sets including status data during a learning period. The information processing device includes a first evaluation unit that evaluates a bias in the attributes of one or more elements during the learning period based on first attribute data indicating attributes of one or more elements related to the production line when each of the status data of the plurality of teacher data sets is acquired. The one or more elements include at least one of a person, a machine, a method, a material, an environment, and management. The information processing device further includes a second evaluation unit and an output unit. The second evaluation unit evaluates a bias in the attributes of one or more elements during a target period based on second attribute data indicating attributes of the one or more elements at each of a plurality of different timings during a target period after the learning period. The output unit outputs a first evaluation result by the first evaluation unit and a second evaluation result by the second evaluation unit.

[0009] According to this disclosure, bias in attributes of one or more elements including at least one of people, machines, methods, materials, environment, and management involved in the manufacturing line is evaluated in each of the learning period and the target period. Therefore, a user can confirm a change in bias in attributes of one or more elements between the learning period and the target period by comparing the first evaluation result and the second evaluation result. If a change in the bias is observed, it is expected that the prediction accuracy of the trained model generated using the teacher dataset acquired in the learning period has decreased in the target period. Therefore, a user can appropriately grasp the timing to retrain the trained model.

[0010] In the disclosure above, the first evaluation result includes a first fairness index for each attribute of the one or more elements in the study period. The second evaluation result includes a second fairness index for each attribute of the one or more elements in the target period.

[0011] According to this disclosure, it is possible to easily grasp bias in attributes of one or more elements during the learning period and target period based on the first and second fairness indices.

[0012] In the above disclosure, the output unit outputs screen data showing a screen including the first evaluation result and the second evaluation result, and on the screen, an attribute corresponding to a second fairness metric whose difference from the first fairness metric exceeds a reference is highlighted.

[0013] According to this disclosure, the user can recognize that the prediction accuracy of the trained model may decrease when state data indicating the state of the manufacturing line at the time of the highlighted attribute is input, and therefore the user can select a dataset including the state data at the time of the highlighted attribute as an additional teacher dataset for retraining the trained model.

[0014] In the above disclosure, the screen includes a graph showing the change over time in the predicted value or the score calculated by the trained model to determine the predicted value during a learning period and a target period, the graph showing the learning period and the target period in which the multiple teacher data sets were obtained in a distinguishable manner.

[0015] According to this disclosure, a user can easily compare changes in predicted values ​​or scores over time during the learning period and the target period, and can notice early on any decline in the predictive accuracy of the trained model.

[0016] In the above disclosure, the screen includes a graph showing the change over time in the predicted value or the score calculated by the trained model to determine the predicted value, during the learning period and the target period. The target period is specified from the graph.

[0017] According to this disclosure, a user can specify a period of time during which an anomaly is observed in the change over time of the predicted value or score as the target period.

[0018] In the above disclosure, the screen includes a graph showing the change in attributes of one or more elements over time during the study period and the target period.

[0019] According to this disclosure, it becomes easier for users to understand the bias in attributes between the study period and the target period.

[0020] In the above disclosure, the information processing device further includes a model generation unit that updates the trained model by performing re-learning using an additional teacher data set including state data at the same timing as second attribute data indicating an attribute corresponding to a second fairness index whose difference from the first fairness index exceeds a reference value. According to this disclosure, a decrease in prediction accuracy of the trained model is automatically suppressed.

[0021] According to another example of the present disclosure, an information processing method evaluates a trained model that receives input of status data indicating a status of a production line and outputs a predicted value of a target variable. The trained model is generated using a plurality of teacher data sets including status data during a learning period. The information processing method includes evaluating a bias in attributes of one or more elements during the learning period based on first attribute data indicating attributes of one or more elements related to the production line when each of the status data of the plurality of teacher data sets is acquired. The one or more elements include at least one of a person, a machine, a method, a material, an environment, and management. The information processing method further includes evaluating a bias in attributes of one or more elements during a target period based on second attribute data indicating attributes of the one or more elements at each of a plurality of different timings during a target period after the learning period, and outputting a first evaluation result for the learning period and a second evaluation result for the target period.

[0022] According to yet another example of the present disclosure, a program causes a computer to execute the above information processing method.

[0023] These disclosures also make it possible to know when to retrain a trained model applied to a production line. Effect of the Invention

[0024] According to the present disclosure, it is possible to determine the timing for re-learning a trained model applied to a production line. [Brief description of the drawings]

[0025] [Figure 1] 1 is a diagram illustrating an example of a production system including an analysis device that is one form of an information processing device according to an embodiment; [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of an analysis device according to an embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a PLC according to an embodiment. [Figure 4]FIG. 2 is a diagram illustrating an example of a hardware configuration of an MES server according to an embodiment. [Diagram 5] FIG. 1 is a diagram illustrating an example of a data set. [Figure 6] FIG. 13 is a diagram illustrating another example of a data set. [Figure 7] FIG. 13 is a diagram illustrating an example of a fairness index evaluated by a model evaluation unit. [Figure 8] FIG. 13 is a diagram illustrating another example of a fairness index evaluated by the model evaluation unit. [Figure 9] FIG. 13 is a diagram showing yet another example of a fairness index evaluated by the model evaluation unit. [Figure 10] FIG. 4 is a diagram showing an example of a process flow of an analysis device according to an embodiment. [Figure 11] FIG. 13 is a diagram showing an example of a screen including an evaluation result. [Figure 12] FIG. 13 is a diagram illustrating a schematic configuration of a production system according to a third modified example. [Figure 13] FIG. 13 is a diagram showing an example of a screen output from an analysis device 1C. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference characters and the description thereof will not be repeated.

[0027] §1 Examples of application Fig. 1 is a diagram illustrating an example of a production system including an analysis device, which is one form of an information processing device according to an embodiment. As shown in Fig. 1, the production system 100 according to the embodiment includes an analysis device 1, a programmable logic controller (PLC) 2, a manufacturing line 3, and a manufacturing execution system (MES) server 4.

[0028] The manufacturing line 3 may be configured with a plurality of devices 31 or a single device 31 such as a packaging machine as long as it can manufacture something. The device 31 may be configured with a manufacturing device such as a servo motor, a conveyor, a robot arm, a cylinder (such as a molding machine), a suction pad, a cutting device, a sealing device, or a part of the manufacturing device. The device 31 may be a composite device such as a printing machine, a mounting machine, a reflow oven, a board inspection device, or the like. The device 31 may include devices that perform internal processing such as devices that detect some information using various sensors, devices that acquire data from various sensors, devices that detect some information from the acquired data, and devices that process the acquired data, in addition to the devices that perform some physical operations as described above. As a specific example, in a manufacturing line equipped with an optical sensor that detects a mark given to an object flowing on a conveyor, the optical sensor and devices that use the information detected by the optical sensor may be treated as each device 31.

[0029] The PLC 2 executes control calculations for controlling the operation of the manufacturing line 3 in accordance with a control program 222 created in advance.

[0030] The PLC 2 includes a data collection unit 212 that acquires (collects) input / output data (hereinafter referred to as "IO data 224") at each predetermined control period in order to control the operation of the production line 3. The IO data 224 includes data transferred from each device 31 to the PLC 2 and various data calculated by control calculation. For example, the IO data 224 includes data indicating the state of each device 31 (e.g., torque, speed, acceleration, temperature, current, voltage, air pressure, pressure, flow rate, position, dimensions, etc.) and data indicating the quality of manufactured products. The data indicating the state of each device 31 also includes data indicating command values ​​for the device 31.

[0031] The MES server 4 outputs manufacturing instructions to the PLC 2, manages the IO data 224 output from the PLC 2, and issues instructions and support to workers in accordance with a production plan created in advance.

[0032] Furthermore, the MES server 4 manages attribute data 424 indicating attributes of one or more elements related to the production line 3 for each fixed period (e.g., the control period of the PLC 2). The attribute data 424 indicates at least one attribute of 5M1E (Man, Machine, Method, Material, Management, and Environment) of the production line 3 in the corresponding period. For example, the attribute data 424 indicates attributes of the operator of the production line 3, the equipment operating in the production line 3, the production conditions of the production line 3, the lot of materials inputted into the production line 3, the layout of the production line 3, the ambient temperature of the production line 3, and the like. Furthermore, the attribute data may indicate the attributes (product type) of the product produced in the production line 3.

[0033] The analysis device 1 receives input of status data indicating the status of the production line 3, and evaluates the trained model 110 which outputs a predicted value of a response variable. The response variable is, for example, product quality and factory KPI. Examples of the factory KPI include production rate (= production volume / production time) and mean time to failure (MTTF) (= total operation time / number of failures). The value of the response variable may be a numeric value or a character string.

[0034] The trained model 110 receives state data at regular intervals (e.g., the control period of the PLC2) and outputs a predicted value of the objective variable. Specifically, when the trained model 110 receives state data, it calculates a score for determining the predicted value of the objective variable. The trained model 110 outputs a predicted value according to the score. The predicted value of the objective variable output from the trained model 110 can be used, for example, in the control calculation of the PLC2.

[0035] As shown in FIG. 1, the analysis device 1 includes a data acquisition unit 112, a model generation unit 114, a model evaluation unit 116, an output unit 118, and a database 120.

[0036] The data acquiring unit 112 acquires a plurality of data sets by associating the IO data 224 and the attribute data 424 with each other based on a time series, and stores the acquired data sets in the database 120. The data acquiring unit 112 includes a first acquiring unit 112A and a second acquiring unit 112B.

[0037] The first acquisition unit 112A acquires a plurality of data sets 120A for a learning period. The learning period is designated by, for example, a user.

[0038] The second acquisition unit 112B acquires a plurality of data sets 120B in an operation period following the learning period. The second acquisition unit 112B may acquire only a plurality of data sets 120B in a target period that is a part of the operation period. The target period is selected from the operation period automatically or by user designation. For example, a period of a predetermined length (e.g., one hour) immediately prior to the operation period is automatically selected as the target period.

[0039] The data set 120A includes status data 122A indicating the status of the production line 3 during a learning period, correct answer data 123A indicating the actual measured value of the target variable, and attribute data 124A. The data set 120B includes status data 122B indicating the status of the production line 3 during an operation period, correct answer data 123B indicating the actual measured value of the target variable, and attribute data 124B. The status data 122A and the correct answer data 123A constitute a teacher data set 125A for generating the trained model 110. The status data 122B and the correct answer data 123B may constitute a teacher data set 125B for re-training the trained model 110.

[0040] The first acquiring unit 112A generates a data set 120A including at least a part of the IO data 224 collected (acquired) at each of a plurality of different timings (e.g., timings for each control cycle) in the learning period as the status data 122A. Furthermore, the first acquiring unit 112A acquires attribute data 424 of the manufacturing line 3 at the time when the IO data 224 set as the status data 122A was acquired (collected), and sets the attribute data 424 as the attribute data 124A of the data set 120A including the status data 122A.

[0041] The first acquiring unit 112A acquires the IO data 224 to be set as the status data 122A from the PLC 2 or the MES server 4. The first acquiring unit 112A acquires the attribute data 424 to be set as the attribute data 124A from the MES server 4.

[0042] Usually, the actual measured value of the objective variable corresponding to a certain timing is determined after the timing. For example, when the objective variable is the quality of a product, the quality of the product is determined by an inspection performed after the timing at which the IO data 224 indicating the state of the production line 3 during which the product is manufactured is collected. Therefore, for example, the first acquisition unit 112A sets a part of the IO data 224 after a predetermined period of time has elapsed from the certain timing as the correct answer data 123A of the data set 120A corresponding to the certain timing.

[0043] The method of setting the correct answer data 123A is not limited to the above example, and may be appropriately selected according to the type of the objective variable. For example, the first acquiring unit 112A may set data indicating a value calculated from the IO data 224 as the correct answer data 123A. Alternatively, the data acquiring unit 112 may set data input by a user or data acquired from an external device as the correct answer data 123A.

[0044] The second acquisition unit 112B generates a data set 120B for each of a plurality of different timings (e.g., timings for each control period) during the operation period. The second acquisition unit 112B may generate the data set 120B in the same manner as the first acquisition unit 112A generates the data set 120A.

[0045] The model generation unit 114 generates the trained model 110 by performing machine learning using the teacher data set 125A included in the multiple data sets 120A for the learning period. The model generation unit 114 may generate multiple trained models 110 that output different objective variables. The trained model 110 is used to receive input of status data indicating the status of the production line 3 in an operation period after the learning period, and to output a predicted value of the objective variable.

[0046] Furthermore, the model generation unit 114 may update the trained model 110 by performing re-learning using the teacher dataset 125B of a portion of the dataset 120B selected from the multiple datasets 120B during the operation period.

[0047] The model evaluation unit 116 evaluates the bias of the trained model 110. As shown in Fig. 1, the model evaluation unit 116 includes a first evaluation unit 116A and a second evaluation unit 116B.

[0048] The first evaluation unit 116A evaluates the bias of the attributes of one or more elements during the learning period based on the attribute data 124A (attribute data 124A included in each data set 120A) corresponding to each of the multiple teacher data sets 125A used to generate the trained model 110. For example, the first evaluation unit 116A calculates a known fairness index (hereinafter referred to as the "first fairness index") for each attribute of one or more elements. The fairness index is an index that indicates the difference in bias of predicted values ​​when data for a target attribute and data for other attributes are input to the trained model 110.

[0049] The second evaluation unit 116B evaluates the bias of the attributes of one or more elements in the target period based on the attribute data 124B included in the multiple data sets 120B in the target period within the operation period. For example, the second evaluation unit 116B calculates a known fairness index (hereinafter referred to as the "second fairness index") for each attribute of one or more elements. The target period is selected from the operation period automatically or by user designation.

[0050] The output unit 118 outputs the first evaluation result by the first evaluation unit 116A and the second evaluation result by the second evaluation unit 116B. For example, the output unit 118 displays a screen including the first evaluation result and the second evaluation result on a display.

[0051] The bias of at least one of the attributes of the people, machines, methods, materials, environment, and management involved in the manufacturing line 3 may be reflected in the bias of the output result of the trained model 110. According to the above configuration, the bias of the attributes of these elements in the learning period and the bias of the attributes of these elements in the target period within the operation period are evaluated. Therefore, the user can confirm the change in the bias of the attributes of these elements between the learning period and the target period by comparing the first evaluation result with the second evaluation result. If the change in the bias is observed, it is expected that the prediction accuracy of the trained model 110 generated using the teacher dataset 125A acquired during the learning period has decreased. Therefore, the user can appropriately grasp the timing to retrain the trained model 110. Furthermore, the user can easily recognize what kind of attribute the teacher dataset should be used for retraining by comparing the first evaluation result with the second evaluation result.

[0052] §2 Specific examples <Hardware configuration of the analysis device> Fig. 2 is a diagram illustrating an example of a hardware configuration of an analysis device according to an embodiment. As shown in Fig. 2, the analysis device 1 is a computer to which a control unit 11, a storage unit 12, a communication interface 13, an input device 14, an output device 15, and a drive 16 are electrically connected. In Fig. 2, the communication interface is described as a "communication I / F".

[0053] The control unit 11 includes a hardware processor such as a central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM), and controls each component in accordance with information processing. The storage unit 12 is an auxiliary storage device such as a hard disk drive or a solid state drive, and stores an analysis program 17 executed by the control unit 11, etc.

[0054] The analysis program 17 is a program for causing the analysis device 1 to execute a process of evaluating the trained model 110 that receives input of status data indicating the status of the production line 3 and outputs the value of a target variable. Furthermore, the analysis program 17 according to the embodiment causes the analysis device 1 to execute a process of generating the trained model 110.

[0055] The communication interface 13 is, for example, a wired LAN (Local Area Network) module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication via a network. The analysis device 1 can perform data communication via the network with the PLC 2 and the MES server 4 through this communication interface 13. The type of network may be appropriately selected from, for example, the Internet, a wireless communication network, a mobile communication network, a telephone network, a dedicated network, etc.

[0056] The input device 14 is a device for performing input, such as a mouse, a keyboard, etc. The output device 15 is a device for performing output, such as a display, a speaker, etc. An operator can operate the analysis device 1 via the input device 14 and the output device 15.

[0057] The drive 16 is, for example, a CD drive, a DVD drive, or the like, and is a drive device for reading a program stored in the storage medium 91. The type of the drive 16 may be appropriately selected according to the type of the storage medium 91. The analysis program 17 may be stored in this storage medium 91.

[0058] The storage medium 91 is a medium that stores information such as programs recorded by computers and other devices, machines, etc. in an electrical, magnetic, optical, mechanical, or chemical manner so that the information can be read. The analysis device 1 may obtain the analysis program 17 from this storage medium 91.

[0059] Here, in FIG. 2, as an example of the storage medium 91, a disk-type storage medium such as a CD or a DVD is illustrated. However, the type of the storage medium 91 is not limited to the disk type and may be other than the disk type. Examples of storage media other than the disk type include semiconductor memories such as flash memories.

[0060] Regarding the specific hardware configuration of the analysis device 1, depending on the embodiment, components can be omitted, replaced, and added as appropriate. For example, the control unit 11 may include a plurality of processors. The analysis device 1 may be composed of a plurality of information processing devices. Also, the analysis device 1 may be a general-purpose server device, a PC (Personal Computer), etc., in addition to an information processing device designed specifically for the provided service.

[0061] The data acquisition unit 112 shown in FIG. 1 is realized by a processor that executes the analysis program 17 and a communication interface. The model generation unit 114 and the model evaluation unit 116 are realized by a processor that executes the analysis program 17. The output unit 118 is realized by a processor that executes the analysis program 17 and the output device 15.

[0062] <Hardware Configuration of PLC> Fig. 3 is a diagram illustrating an example of a hardware configuration of a PLC according to an embodiment. As shown in Fig. 3, the PLC 2 is a computer to which a control unit 21, a storage unit 22, an input / output interface 23, and a communication interface 24 are electrically connected. As a result, the PLC 2 is configured to control the operation of each device 31 in the production line 3. In Fig. 3, the input / output interface and the communication interface are described as "input / output I / F" and "communication I / F", respectively.

[0063] The control unit 21 includes a CPU, a RAM, a ROM, etc., and is configured to execute various information processing based on programs and data. The storage unit 22 includes, for example, a RAM, a ROM, etc., and stores a control program 222, IO data 224, etc. The input / output interface 23 is an interface for connecting to an external device, and is appropriately configured according to the external device to be connected. The PLC 2 is connected to the manufacturing line 3 via the input / output interface 23. When communicating different IO data 224 with a single device, the target single device may be regarded as multiple devices 31 or as a single device 31. Therefore, the number of input / output interfaces 23 may be the same as the number of devices 31 constituting the manufacturing line 3, or may be different from the number of devices 31 constituting the manufacturing line 3.

[0064] The communication interface 24 is, for example, a wired LAN module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication. The PLC 2 can perform data communication with the analysis device 1 and the MES server 4 through the communication interface 24.

[0065] Regarding the specific hardware configuration of the PLC2, depending on the embodiment, omission, replacement, and addition of components are possible as appropriate. For example, the control unit 21 may include a plurality of processors. The storage unit 22 may be composed of a RAM and a ROM included in the control unit 21. The storage unit 22 may be composed of an auxiliary storage device such as a hard disk drive or a solid state drive. Further, the PLC2 may be replaced with a general-purpose desktop PC, a tablet PC, etc. according to the object to be controlled, in addition to the information processing device designed specifically for the provided service.

[0066] The data collection unit 212 shown in FIG. 1 is realized by a processor that executes the control program 222 and the input / output interface 23.

[0067] <Hardware Configuration of MES Server> FIG. 4 is a diagram schematically illustrating an example of the hardware configuration of the MES server according to the embodiment. As shown in FIG. 4, the MES server 4 is a computer in which a control unit 41, a storage unit 42, and a communication interface 43 are electrically connected. In FIG. 4, the communication interface is described as "communication I / F".

[0068] The control unit 41 includes a CPU, a RAM, a ROM, etc., and controls each component according to information processing. The storage unit 42 is, for example, an auxiliary storage device such as a hard disk drive or a solid state drive, and stores a production management program 422, attribute data 424, etc. executed by the control unit 41.

[0069] The production management program 422 is a program for causing the MES server 4 to execute processes such as outputting a production instruction to the PLC2, managing the IO data 224 output from the PLC2, instructing and supporting workers, etc. according to a pre-created production plan. Further, the production management program 422 causes the MES server 4 to generate and store attribute data 424 indicating the attributes of one or more elements related to the production line 3 at regular intervals (for example, the control cycle of the PLC2).

[0070] The communication interface 43 is, for example, a wired LAN module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication via a network. The MES server 4 can perform data communication via the network with the PLC 2 and the analysis device 1 through this communication interface 43. The type of network may be appropriately selected from, for example, the Internet, a wireless communication network, a mobile communication network, a telephone network, a dedicated network, etc.

[0071] It should be noted that, with regard to the specific hardware configuration of the MES server 4, components can be omitted, replaced, or added as appropriate. For example, the control unit 41 may include multiple processors. The MES server 4 may be composed of multiple information processing devices. Furthermore, the MES server 4 may be an information processing device designed specifically for the services provided, as well as a general-purpose server device, PC, etc.

[0072] <Dataset> Fig. 5 is a diagram showing an example of a dataset. Fig. 6 is a diagram showing another example of a dataset. In the examples shown in Fig. 5 and Fig. 6, a plurality of datasets 120A (or a plurality of datasets 120B) are represented in a table format, and each record corresponds to one dataset 120A (or dataset 120B).

[0073] 5 and 6, the data sets 120A and 120B respectively include teacher data sets 125A and 125B and attribute data 124A and 124B. The teacher data sets 125A and 125B respectively include state data 122A and 122B and correct answer data 123A and 123B.

[0074] 5 indicate actual measured values ​​of product quality (character strings "OK" or "NG"). Therefore, the data sets 120A and 120B shown in FIG 5 are used for generating, re-learning, and evaluating the trained model 110 that outputs a predicted value of product quality.

[0075] The correct answer data 123A and 123B shown in Fig. 6 indicate actual measured values ​​(numerical values) of the production rate, which is a factory KPI. Therefore, the data sets 120A and 120B shown in Fig. 6 are used for generating, re-learning, and evaluating the trained model 110 that outputs the value of the production rate.

[0076] The first acquisition unit 112A can use a time stamp to associate the state data 122A, the correct answer data 123A, and the attribute data 124A. For example, the first acquisition unit 112A associates the IO data 224 and the attribute data 424 based on a first time stamp assigned to the IO data 224 and a second time stamp assigned to the attribute data 424. The first time stamp represents the time of the control period when the IO data 224 was acquired. The second time stamp represents the time when one or more elements had the attribute represented by the attribute data 424. Specifically, the first acquisition unit 112A acquires at least a part of the IO data 224 to which the first time stamp included in the control period is assigned and the attribute data 424 to which the second stamp included in the control period is assigned, as the state data 122A and the attribute data 124A of the data set 120A corresponding to a certain control period.

[0077] Alternatively, the first acquisition unit 112A may use a product ID for identifying each product to associate the status data 122A, the correct answer data 123A, and the attribute data 124A. The product ID is managed by the MES server 4. When the MES server 4 outputs a processing command for each product to each process, the MES server 4 assigns the product ID of the product to the processing command. The MES server 4 manages the IO data 224 acquired in response to the processing command in association with the product ID assigned to the processing command. The first acquisition unit 112A associates the correct answer data 123A indicating the quality of the product having the product ID corresponding to the IO data 224 acquired in the control cycle with the status data 122A corresponding to the control cycle.

[0078] Using a similar method, the second obtaining unit 112B associates the state data 122B, the correct answer data 123B, and the attribute data 124B.

[0079] <Fairness index> Fig. 7 is a diagram showing an example of a fairness index evaluated by the model evaluation unit. Fig. 8 is a diagram showing another example of a fairness index evaluated by the model evaluation unit. Fig. 9 is a diagram showing yet another example of a fairness index evaluated by the model evaluation unit. Figs. 7 to 9 show fairness indices calculated when evaluating a trained model 110 that outputs quality as a predicted value of a target variable.

[0080] The fairness index shown in FIG. 7 is also referred to as a "statistical balance difference." In FIG. 7, circles represent the data sets 120A and 120B. As shown in FIG. 7, the first evaluation unit 116A calculates a proportion R1 of the data set 120A including the state data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when input, among one or more data sets 120A including the attribute data 124A indicating the attribute of the target. In other words, the first evaluation unit 116A calculates a proportion R1 of the teacher data set including the state data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when input, among one or more teacher data sets 125A corresponding to the attribute data 124A indicating the attribute of the target. Furthermore, the first evaluation unit 116A calculates a proportion R2 of the data set 120A including the state data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when inputted, among one or more data sets 120A including the attribute data 124A that does not indicate the attribute of the target. In other words, the first evaluation unit 116A calculates a proportion R1 of the teacher data set including the state data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when inputted, among one or more teacher data sets 125A corresponding to the attribute data 124A that does not indicate the attribute of the target. The first evaluation unit 116A calculates the difference between the proportion R1 and the proportion R2 as a first fairness index (statistical balance difference).

[0081] The fairness index shown in Fig. 8 is also referred to as a "discriminatory effect." As shown in Fig. 8, the first evaluation unit 116A calculates the ratio (R1 / R2) between the above-mentioned ratio R1 and ratio R2 as a first fairness index (discriminatory effect).

[0082] The fairness index shown in Fig. 9 is also called "equal opportunity difference." In Fig. 9, circles represent one or more data sets 120A, 120B including correct answer data 123A, 123B indicating "defective product (NG)." Triangles represent one or more data sets 120A, 120B including correct answer data 123A, 123B indicating "good product (OK)."

[0083] 9, the first evaluation unit 116A calculates a proportion R3 of the data set 120A including the attribute data 124A indicating the attribute of the target and the correct answer data 123A indicating "defective (NG)" that includes the status data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when input, among one or more data sets 120A including the attribute data 124A indicating the attribute of the target and the correct answer data 123A indicating "defective (NG)". In other words, the first evaluation unit 116A calculates a proportion R1 of the teacher data set including the status data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when input, among one or more teacher data sets 125A that correspond to the attribute data 124A indicating the attribute of the target and include the correct answer data 123A indicating "defective (NG)". Furthermore, the first evaluation unit 116A calculates a proportion R4 of the data set 120A including the state data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when input, among one or more data sets 120A including the attribute data 124A that does not indicate the attribute of the target and the correct answer data 123A that indicates "defective (NG)". In other words, the first evaluation unit 116A calculates a proportion R1 of the teacher data set including the state data 122A that outputs the predicted value "defective (NG)" from the trained model 110 when input, among one or more teacher data sets 125A that corresponds to the attribute data 124A that does not indicate the attribute of the target and includes the correct answer data 123A that indicates "defective (NG)". The first evaluation unit 116A calculates the difference between the proportion R3 and the proportion R4 as the first fairness index (equal opportunity difference).

[0084] The first evaluation unit 116A may calculate the ratio of the rate R3 to the rate R4 (R3 / R4) as a first fairness index.

[0085] In this manner, the first evaluation unit 116A calculates the first fairness index for each attribute of one or more elements. For example, when the attribute data 124A indicates only the attribute of one element, the first evaluation unit 116A calculates the first fairness index for each attribute of the one element. When the attribute data 124A indicates the attributes of multiple elements, the first evaluation unit 116A may calculate the first fairness index for each attribute of one element selected from the multiple elements. Alternatively, the first evaluation unit 116A may calculate the first fairness index for each combination of the attributes of the multiple elements. Alternatively, the first evaluation unit 116A may calculate the first fairness index for each combination of the attributes of two or more elements selected from the multiple elements. For example, when the attribute of the element "product" is either "product A" or "product D" and the attribute of the element "method" is either "processing speed 60" or "processing speed 100", the first evaluation unit 116A calculates the first fairness index for each of the following four combinations. - A combination of attribute "Product A" and attribute "Processing speed 60", - A combination of attribute "Product A" and attribute "Processing speed 100", - The combination of attribute "Product D" and attribute "Processing speed 60", -Combination of attribute "Product D" and attribute "Processing speed 100".

[0086] The second evaluation unit 116B may calculate the second fairness index in the same manner as the first evaluation unit 116A calculates the first fairness index.

[0087] <Processing flow> Fig. 10 is a diagram showing an example of a processing flow of an analysis device according to an embodiment. As shown in Fig. 10, a processor of the analysis device 1 acquires a plurality of data sets 120A during a learning period (step S1). The data set 120A includes attribute data 124A corresponding to a teacher data set 125A used to generate the trained model 110. Therefore, in other words, step S1 is a step of acquiring attribute data 124A indicating attributes of one or more elements related to the manufacturing line 3 at the time when the state data 122A of the teacher data set 125A was acquired for each teacher data set 125A for generating the trained model 110.

[0088] Next, the processor evaluates bias in the attributes of one or more elements during the learning period based on the plurality of attribute data 124A (step S2).

[0089] Next, the processor acquires attribute data 124B indicating attributes of one or more elements related to the production line 3 at each of a plurality of timings in a target period within the operation period. Specifically, the processor acquires a data set 120B including status data 122B, correct answer data 123B, and attribute data 124B for each timing (step S3).

[0090] Next, the processor evaluates bias in attributes of one or more elements in the target period based on attribute data 124B corresponding to each of a plurality of timings in the target period (step S4).

[0091] Next, the processor outputs the evaluation result of the bias of the attribute in the learning period and the evaluation result of the bias of the attribute in the target period (step S5).

[0092] <Screen example> Fig. 11 is a diagram showing an example of a screen including an evaluation result. A screen 50 shown in Fig. 11 is displayed on a display included in the output device 15 based on screen data output by a processor operating as the output unit 118. Alternatively, the screen 50 may be displayed on a display connected to the analysis device 1.

[0093] A screen 50 shown in FIG. 11 shows the evaluation results of a trained model 110 applied to a production line 3 that includes a conveyor that feeds a film.

[0094] 11, the screen 50 includes graphs 51 and 52 and display fields 53a and 53b. The graph 51 shows the change over time in the score calculated by the trained model 110 to determine the predicted value. When the score exceeds a threshold TH1, the trained model 110 determines the predicted value of the objective variable "quality" to be "defective (NG)."

[0095] The study period and the target period are displayed in a distinguishable manner on the graph 51. Specifically, the graph 51 displays a frame 51a indicating the study period and a frame 51b indicating the target period.

[0096] The processor, for example, sets the most recent period of a predetermined length as the default for the target period, and displays screen 50 on output device 15. On screen 50, frame 51b indicating the target period is displayed so that its width and position can be changed in response to an operation. When the width and position of frame 51b are changed, the processor may set the period enclosed by frame 51b after the change as the target period. In this manner, the target period is specified from graph 51. This allows the user to specify, for example, a period in which an abnormality is observed in the progress of the score as the target period.

[0097] Graph 52 shows changes over time in the attributes of one or more elements (in the example shown in FIG. 11, the elements "Product" and "Method (Film Transport Speed ​​(CPM))). In the example shown in FIG. 11, graph 52 is a Gantt chart. Graphs 51 and 52 have a common time axis.

[0098] Display field 53a displays a first fairness index for each attribute of one or more elements in the learning period. Display field 53b displays a second fairness index for each attribute of one or more elements in the target period. In the example shown in FIG. 11, each of display fields 53a and 53b displays, for each combination of attributes of elements "product" and "method (film transport speed (CPM))", text 54 representing the combination and a pie chart 55 representing the fairness index corresponding to the combination. Pie chart 55 shows the fairness index (statistical balance difference) shown in FIG. 7. The larger the fairness index (statistical balance difference), the more unfair it is.

[0099] On the screen 50, an attribute corresponding to a fairness index indicating that the fairness index is more unfair than a predetermined standard is highlighted. In the example shown in FIG. 11, in the display field 53a, the border of the text 54a corresponding to the pie chart 55a indicating the first fairness index (statistical balance difference) exceeding the threshold is displayed thicker than the border of the other texts 54. Furthermore, in the display field 53b, the border of the text 54b corresponding to the pie chart 55b indicating the second fairness index (statistical balance difference) exceeding the threshold is displayed thicker than the border of the other texts 54. This allows the user to recognize that there is a shortage of teacher datasets that correspond to the attributes indicated by the texts 54a and 54b and that include correct answer data indicating "good (OK)". As a result, the user can consider replenishing the teacher dataset.

[0100] For example, when a new production line similar to production line 3 is launched, it is assumed that the trained model 110 applied to production line 3 will also be applied to the new production line. However, if one or more elements (e.g., people, methods, machines, materials) differ between production line 3 and the new production line, the prediction accuracy of the trained model 110 may decrease when the trained model 110 applied to production line 3 is applied to the new production line. Therefore, it is possible to evaluate the bias of the trained model 110 applied to production line 3 and take measures such as supplementing the teacher dataset to suppress the decrease in prediction accuracy.

[0101] Furthermore, on the screen 50, an attribute corresponding to a second fairness index whose difference from the first fairness index exceeds a criterion is highlighted. In the example shown in FIG. 11, for the attributes "Product D" and "80" of the elements "Product" and "Method (Film Transport Speed ​​(CPM))", the difference between the first fairness index represented by the pie chart 55c and the second fairness index represented by the pie chart 55d exceeds a criterion. Therefore, in the display field 53b, the border of the text 54d indicating the attribute is displayed in a format different from the borders of other texts. This allows the user to recognize that the prediction accuracy of the trained model 110 may decrease when state data corresponding to the attribute indicated by the text 54d is input. As a result, the user can select the teacher dataset 125B including the state data 122B at the time of the highlighted attribute as an additional teacher dataset for re-learning.

[0102] <Variation 1> The model generation unit 114 may update the trained model 110 according to the evaluation result of the model evaluation unit 116. Specifically, the model generation unit 114 performs preprocessing on multiple teacher data sets 125A for the learning period acquired by the first acquisition unit 112A to reduce the influence of bias in the attributes of one or more elements. The model generation unit 114 generates the updated trained model 110 by performing machine learning using the multiple teacher data sets 125A that have been preprocessed.

[0103] A known method is adopted as the pre-processing. For example, the pre-processing is weighting each teacher data set 125A. Specifically, the model generation unit 114 assigns a larger weight to the teacher data set 125A corresponding to the attribute of the fairness index that indicates relatively more unfairness. For example, when the fairness index shown in FIG. 7 is calculated, the weight of the teacher data set 125A that corresponds to the attribute of the fairness index that indicates relatively more unfairness and whose correct answer data 123A indicates "good (OK)" is made larger than the weights of the other teacher data sets 125A.

[0104] Alternatively, the pre-processing may be a process of thinning out the teacher data set 125 A. Specifically, the model generation unit 114 thins out a part of the teacher data set 125 A so that the fairness index for each attribute becomes uniform.

[0105] Furthermore, the model generation unit 114 may update the trained model 110 based on a comparison between the evaluation result by the first evaluation unit 116A and the evaluation result by the second evaluation unit 116B. For example, the model generation unit 114 updates the trained model 110 by performing re-learning using a teacher dataset 125B including attribute data 124B indicating an attribute corresponding to a second fairness index whose difference from the first fairness index exceeds a reference value and state data 122B of the same timing. This automatically suppresses a decrease in the prediction accuracy of the trained model 110.

[0106] <Variation 2> In the above description, the graph 51 on the screen 50 shows the change over time of the score calculated by the trained model 110. However, the graph 51 may show the change over time of the predicted value output from the trained model 110.

[0107] <Modification 3> Fig. 12 is a diagram showing a schematic configuration of a production system according to Modification 3. As shown in Fig. 12, a production system 100A is installed in a factory having a plurality of manufacturing lines.

[0108] The production system 100A includes analytical devices 1A, 1B, and 1C, PLCs 2A_1, 2A_2, and 2B, production lines 3A and 3B, and MES servers 4A and 4B. The production line 3A includes production devices 31A_1 and 31A_2. The production line 3B includes production devices 31B_1 and 31B_2.

[0109] The PLC 2A_1 controls the operation of the manufacturing equipment 31A_1. The PLC 2A_2 controls the operation of the manufacturing equipment 31A_2. The PLC 2B controls the operations of the manufacturing equipment 31B_1 and 31B_2.

[0110] The MES server 4A outputs manufacturing instructions to the PLCs 2A_1 and 2A_2, manages the IO data 224 output from the PLCs 2A_1 and 2A_2, and issues instructions and support to workers in accordance with a production plan created for the manufacturing line 3A.

[0111] The MES server 4B outputs manufacturing instructions to the PLC 2B, manages the IO data 224 output from the PLC 2B, and issues instructions and support to workers in accordance with a production plan created for the manufacturing line 3B.

[0112] Analysis device 1A receives status data indicating the status of production line 3A and evaluates trained model 110A that outputs a predicted value of a response variable. Analysis device 1B receives status data indicating the status of production line 3B and evaluates trained model 110B that outputs a predicted value of a response variable. The functional configuration and hardware configuration of analysis devices 1A and 1B are the same as the functional configuration and hardware configuration of analysis device 1 shown in FIGS. 1 and 2.

[0113] Analysis device 1C outputs the evaluation results of trained models 110A and 110B in a comparable manner. The functional configuration and hardware configuration of analysis device 1C are the same as those of analysis device 1 shown in Figures 1 and 2. However, in analysis device 1C, data acquisition unit 112 acquires multiple data sets from each of analysis devices 1A and 1B. Furthermore, analysis device 1C does not include model generation unit 114, and only needs to acquire trained models 110A and 110B from analysis devices 1A and 1B, respectively.

[0114] Fig. 13 is a diagram showing an example of a screen output from analysis device 1C. Screen 50C shown in Fig. 13 is displayed on a display included in output device 15 of analysis device 1C based on screen data output by a processor of analysis device 1C. Alternatively, screen 50C may be displayed on a display connected to analysis device 1C.

[0115] As shown in FIG. 13, a screen 50C includes graphs 51C, 52C_1, and 52C_2, and display columns 53C_1 and 53C_2.

[0116] Graph 51C shows the change over time of the score calculated by trained models 110A and 110B. In graph 51C, solid line 60A shows the change over time of the score calculated by trained model 110A. Dashed line 60B shows the change over time of the score calculated by trained model 110B. Graph 51C shows frame 51a indicating the learning period and frame 51b indicating the target period. The processor makes one of frame 51a and 51b selected a thick line. In the example shown in FIG. 13, frame 51b is selected.

[0117] The graph 52C_1 shows the change over time of the attribute of one or more elements related to the production line 3A. The graph 52C_2 shows the change over time of the attribute of one or more elements related to the production line 3B. The graphs 52C_1 and 52C_2 are Gantt charts. The graphs 51C, 52C_1, and 52C_2 have a common time axis.

[0118] Display field 53C_1 displays a first fairness index for each attribute of one or more elements related to production line 3A. Display field 53C_2 displays a second fairness index for each attribute of one or more elements related to production line 3B. As with display fields 53a and 53b shown in FIG. 11, attributes corresponding to fairness indexes showing unfairness compared to a predetermined standard are highlighted in display fields 53C_1 and 53C_2.

[0119] When frame line 51b of frame lines 51a and 51b of graph 51C is selected, first and second fairness indices corresponding to the target period are displayed in display columns 53C_1 and 53C_2, respectively. On the other hand, when frame line 51a is selected, first and second fairness indices corresponding to the learning period are displayed in display columns 53C_1 and 53C_2, respectively.

[0120] By checking the screen 50C, a user (e.g., a factory manager or a factory administrator) can recognize the deterioration of the prediction accuracy of the trained models 110A and 110B accompanying changes in the status of the production lines 3A and 3B. As a result, the user can understand the timing to perform re-learning using the teacher data set 125B for the target period for each of the trained models 110A and 110B. By performing re-learning, the deterioration of the prediction accuracy of the trained model 110 can be suppressed.

[0121] <Variation 4> In the above description, the trained model 110 is assumed to be generated in the analysis device 1. However, the trained model 110 may be generated in an external device different from the analysis device 1. In this case, the analysis device 1 may acquire attribute data 124A corresponding to the teacher dataset 125A used to generate the trained model 110 from the MES server 4, and evaluate the bias of the attributes of one or more elements during the learning period.

[0122] <Variation 5> In the above description, the analysis device 1 is separate from the PLC 2 and the MES server 4. However, the functions of the analysis device 1 may be incorporated (built-in) into the PLC 2 or the MES server 4. In other words, the analysis device 1 and at least one of the PLC 2 and the MES server 4 may be integrated into a single device. When the functions of the analysis device 1 are incorporated into the PLC 2, the PLC 2 operates as an information processing device that evaluates the trained model 110. When the functions of the analysis device 1 are incorporated into the MES server 4, the MES server 4 operates as an information processing device that evaluates the trained model 110.

[0123] §3 Supplementary Note As described above, the present embodiment includes the following disclosure.

[0124] (Configuration 1) An information processing device (1, 1A to 1C) that receives input of status data indicating a status of a production line (3, 3A, 3B) and evaluates a trained model (110, 110A, 110B) that outputs a predicted value of a target variable, The trained models (110, 110A, 110B) are generated using a plurality of teacher data sets (125A) including the state data (122A) during a learning period, and the information processing device (1, 1A to 1C) a first evaluation unit (11, 116A) that evaluates a bias in attributes of one or more elements during the learning period based on first attribute data (124A) indicating attributes of the one or more elements related to the production line (3, 3A, 3B) at the time when the state data (122A) of each of the plurality of teacher data sets (125A) was acquired, the one or more elements including at least one of a person, a machine, a method, a material, an environment, and management, and the information processing device (1, 1A to 1C) further comprises: A second evaluation unit (11, 116B) that evaluates a bias in the attributes of the one or more elements in the target period based on second attribute data (124B) indicating the attributes of the one or more elements at each of a plurality of different timings in the target period after the learning period; An information processing device (1, 1A to 1C) comprising an output section (11, 118) that outputs a first evaluation result by the first evaluation section (11, 116A) and a second evaluation result by the second evaluation section (11, 116B).

[0125] (Configuration 2) The first evaluation result includes a first fairness index for each attribute of the one or more elements during the learning period; The information processing device (1, 1A to 1C) according to configuration 1, wherein the second evaluation result includes a second fairness index for each attribute of the one or more elements in the target period.

[0126] (Configuration 3) the output unit (11, 118) outputs screen data showing a screen (50, 50C) including the first evaluation result and the second evaluation result; 3. The information processing device (1, 1A to 1C) according to configuration 2, wherein an attribute corresponding to the second fairness index whose difference from the first fairness index exceeds a reference value is highlighted on the screen (50, 50C).

[0127] (Configuration 4) The screen (50, 50C) includes a graph (51, 51C) showing a change over time in the predicted value or a score calculated by the trained model to determine the predicted value during the learning period and the target period, 4. The information processing device (1, 1A to 1C) according to configuration 3, wherein the learning period during which the plurality of teacher data sets (125A) were acquired and the target period are displayed in a distinguishable manner in the graph (51, 51C).

[0128] (Configuration 5) The screen (50, 50C) includes a graph (51, 51C) showing a change over time in the predicted value or a score calculated by the trained model to determine the predicted value during the learning period and the target period, 4. The information processing device (1, 1A to 1C) according to configuration 3, wherein the target period is specified from the graph.

[0129] (Configuration 6) The information processing device (1, 1A to 1C) according to any one of configurations 3 to 5, wherein the screen (50, 50C) includes a graph (52, 52C_1, 52C_2) showing changes over time in the attributes of the one or more elements during the learning period and the target period.

[0130] (Configuration 7) The information processing device (1, 1A to 1C) includes: The information processing device (1, 1A to 1C) according to any one of configurations 2 to 6, further comprising a model generation unit (11, 114) that updates the trained model (110, 110A, 110B) by performing re-learning using an additional teacher dataset (125B) including the status data (122B) at the same timing as the second attribute data (124B) indicating an attribute corresponding to the second fairness index whose difference from the first fairness index exceeds a standard.

[0131] (Configuration 8) An information processing method for evaluating a trained model (110, 110A, 110B) that receives status data indicating a status of a production line (3, 3A, 3B) and outputs a predicted value of a target variable, comprising: The trained models (110, 110A, 110B) are generated using a plurality of teacher data sets (125A) including the state data during a learning period, and the information processing method includes: and evaluating (S2) a bias in attributes of the one or more elements during the learning period based on first attribute data (124A) indicating attributes of the one or more elements related to the production line at the time when the state data (122A) of each of the plurality of teacher data sets (125A) was acquired, the one or more elements including at least one of a person, a machine, a method, a material, an environment, and management, the information processing method further comprising: Evaluating bias in the attributes of the one or more elements in the target period based on second attribute data (124B) indicating attributes of the one or more elements at each of a plurality of different timings in the target period after the learning period (S4); and outputting (S5) a first evaluation result for the learning period and a second evaluation result for the target period.

[0132] (Configuration 9) An information processing program (17) for causing a computer (11) to execute the information processing method according to configuration 8.

[0133] (Configuration 10) The first fairness index is a difference or ratio between a first proportion of teacher datasets including the state data (122A) that outputs a predetermined value from the trained model when input, among one or more teacher datasets (125A) corresponding to the first attribute data (124A) indicating a corresponding attribute, and a second proportion of teacher datasets including the state data (122A) that outputs a predetermined value from the trained model when input, among one or more teacher datasets (125A) corresponding to the first attribute data (124A) that does not indicate a corresponding attribute, The information processing device according to any one of configurations 2 to 7, wherein the second fairness index is a difference or ratio between a third proportion of second attribute data, among one or more second attribute data (124B) indicating a corresponding attribute, which corresponds to the same timing as the state data (122B) at which a predetermined value is output from the trained model when input, and a fourth proportion of second attribute data, among one or more second attribute data (124B) not indicating a corresponding attribute, which corresponds to the same timing as the state data (122B) at which a predetermined value is output from the trained model when input.

[0134] (Configuration 11) The teacher data set (125A) further includes correct answer data (123A) indicating an actual measured value of the objective variable, The first fairness index is a difference or ratio between a fifth proportion of teacher datasets including the state data (122A) that corresponds to the first attribute data (124A) indicating a corresponding attribute and that outputs a predetermined value from the trained model when input, among one or more teacher datasets (125A) including the correct answer data (123A) that indicates a predetermined value, and a sixth proportion of teacher datasets including the state data (122A) that corresponds to the first attribute data (124A) that does not indicate a corresponding attribute and that outputs a predetermined value from the trained model when input, among one or more teacher datasets (125A) including the correct answer data (123A) that indicates a predetermined value, The information processing device according to any one of configurations 2 to 7, wherein the second fairness index is a difference or ratio between a seventh proportion of second attribute data indicating a corresponding attribute and corresponding to the same timing as the state data (122B) at which a predetermined value is output from the trained model when input, among one or more second attribute data (124B) at a timing at which an actual measured value of the corresponding target variable shows the predetermined value, and an eighth proportion of second attribute data not indicating a corresponding attribute and corresponding to the same timing as the state data (122B) at which a predetermined value is output from the trained model when input, among one or more second attribute data (124B) at a timing at which an actual measured value of the corresponding target variable shows the predetermined value.

[0135] Although the embodiment of the present invention has been described, the embodiment disclosed herein should be considered as illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, and it is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0136] 1, 1A to 1C analysis device, 2, 2A, 2B PLC, 3, 3A, 3B manufacturing line, 4, 4A, 4B MES server, 11, 21, 41 control unit, 12, 22, 42 memory unit, 13, 24, 43 communication interface, 14 input device, 15 output device, 16 drive, 17 analysis program, 23 input / output interface, 31 equipment, 31A_1, 31A_2, 31B_1, 31B_2 manufacturing equipment, 50, 50C screen, 51, 51C, 52, 52C_1, 52C_2 graph, 51a, 51b frame, 53a, 53b, 53C_1, 5C_2 display column, 54, 54a, 54b, 54d text, 55, 55a to 55d pie chart, 91 Storage medium, 100, 100A production system, 110, 110A, 110B trained model, 112 data acquisition unit, 112A first acquisition unit, 112B second acquisition unit, 114 model generation unit, 116 model evaluation unit, 116A first evaluation unit, 116B second evaluation unit, 118 output unit, 120 database, 120A, 120B data set, 122A, 122B state data, 123A, 123B correct answer data, 124A, 124B, 424 attribute data, 125A, 125B teacher data set, 212 data collection unit, 222 control program, 224 IO data, 422 manufacturing management program.

Claims

1. An information processing device that receives status data indicating a status of a production line and evaluates a trained model that outputs a predicted value of a target variable, The trained model is generated using a plurality of teacher data sets including the state data during a learning period, and the information processing device: a first evaluation unit that evaluates a bias in attributes of one or more elements during the learning period based on first attribute data indicating attributes of the one or more elements related to the production line at the time when the state data of each of the plurality of teacher data sets was acquired, the one or more elements including at least one of a person, a machine, a method, a material, an environment, and management, and the information processing device further includes: a second evaluation unit that evaluates a bias in the attributes of the one or more elements in a target period after the learning period based on second attribute data indicating attributes of the one or more elements at each of a plurality of different timings in the target period; an output unit that outputs a first evaluation result by the first evaluation unit and a second evaluation result by the second evaluation unit.

2. The first evaluation result includes a first fairness index for each attribute of the one or more elements during the learning period; The information processing apparatus according to claim 1 , wherein the second evaluation result includes a second fairness index for each attribute of the one or more elements in the target period.

3. the output unit outputs screen data showing a screen including the first evaluation result and the second evaluation result; The information processing apparatus according to claim 2 , wherein an attribute corresponding to the second fairness index whose difference from the first fairness index exceeds a reference value is highlighted on the screen.

4. The screen includes a graph showing a change over time in the predicted value or a score calculated by the trained model to determine the predicted value during the learning period and the target period; The information processing device according to claim 3 , wherein the graph displays a learning period during which the plurality of teacher data sets were acquired and the target period in a distinguishable manner.

5. The screen includes a graph showing a change over time in the predicted value or a score calculated by the trained model to determine the predicted value during the learning period and the target period; The information processing device according to claim 3 , wherein the target period is specified from the graph.

6. The information processing device according to claim 3 , wherein the screen includes a graph showing a change over time in the attribute of the one or more elements during the learning period and the target period.

7. 3. The information processing device according to claim 2, further comprising a model generation unit that updates the trained model by performing re-learning using an additional teacher dataset including the state data at the same timing as the second attribute data indicating an attribute corresponding to the second fairness index whose difference from the first fairness index exceeds a reference.

8. An information processing method for evaluating a trained model that receives status data indicating a status of a production line and outputs a predicted value of a target variable, comprising: The trained model is generated using a plurality of teacher data sets including the state data during a training period, and the information processing method includes: and evaluating a bias in attributes of the one or more elements during the learning period based on first attribute data indicating attributes of the one or more elements related to the production line at the time when the state data of each of the plurality of teacher data sets was acquired, the one or more elements including at least one of a person, a machine, a method, a material, an environment, and management, and the information processing method further comprising: Evaluating a bias in the attributes of the one or more elements in a target period after the learning period based on second attribute data indicating attributes of the one or more elements at each of a plurality of different timings in the target period; outputting a first evaluation result for the learning period and a second evaluation result for the target period.

9. An information processing program that causes a computer to execute the information processing method according to claim 8.

Citation Information

Patent Citations

  • Bias mitigation in machine learning pipeline

    JP2021179974A