Combined learning device forming device, combined learning device forming program, and non-transitory recording medium having combined learning device forming program recorded thereon
The combined learning device formation device allows users to combine trained learning devices, including those trained by others, forming optimized combined devices through user interface and data processing, addressing limitations in existing systems and enhancing learning device utilization.
Patent Information
- Application Number
- JP2023575888
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-05-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-05-11
AI Technical Summary
Existing systems do not allow users to freely combine multiple trained learning devices, including those trained by others, limiting the utilization and application of existing trained learning devices.
A combined learning device formation device and program that enables users to select and combine multiple trained learning devices, including those trained by others, forming a new combined learning device through a user interface and data processing units, with support for data conversion, analysis, and optimization.
Enables users to create and utilize combined learning devices that leverage diverse algorithms, optimizing input and output data processing without retraining, enhancing the capabilities and flexibility of learning device utilization.
Smart Images

Figure 0007566268000001 
Figure 0007566268000002 
Figure 0007566268000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a combined learning module forming device, a combined learning module forming program, and a non-transitory recording medium having recorded thereon the combined learning module forming program. [Background technology]
[0002] Patent Document 1 discloses a learning model construction device that converts a production system that predicts the state of a prediction target according to rules into a learning model, and that combines a first trained model trained based on construction input data, which is the input to the production system, and ignition rule information that specifies the ignition rules of the production system, with a second trained model trained based on the ignition rules and a production output, which is the output of the production system for the construction input data, to form a third learning model that imitates the production system. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-89655 Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, if a user could freely combine multiple trained learning devices, including learning devices trained by the user or by others other than the user, it would be possible to expect effects such as expanding the scope of use of existing trained learning devices, or enabling the user to perform desired processing using multiple existing trained learning devices (trained by others) without having to train a new learning device. However, no system has been proposed to date that allows a user to combine and use multiple trained learning devices.
[0005] The purpose of the combined learning device formation device disclosed in this specification is to enable a user to freely combine multiple trained learning devices. [Means for solving the problem]
[0006] The combined learner formation device disclosed in this specification is characterized in that it is a combined learner formation device that can access a group of trained learners, and includes a combined learner formation unit that selects a plurality of trained learners from the group of trained learners in response to a user's instruction, and combines the selected plurality of trained learners to form a combined learner.
[0007] The combined learner formation unit is characterized in that it forms the combined learner by combining the plurality of trained learners, including a learner trained by a person other than the user.
[0008] The combined learner may include a plurality of the trained learners that perform processing using algorithms different from each other.
[0009] The combined learner formation unit may form a new combined learner by combining the combined learner with a trained learner selected by the user.
[0010] The combined learning device formation unit may form the combined learning device in which the first learning device and the second learning device are linked so that output data of a first learning device, which is one of the plurality of trained learning devices, is directly or indirectly input to a second learning device, which is one of the plurality of trained learning devices and different from the first learning device.
[0011] The first learning device may output a plurality of output data, a portion of the plurality of output data of the first learning device may be input directly or indirectly to the second learning device, and another portion of the plurality of output data of the first learning device may be set as output data of the combined learning device.
[0012] The second learning device may output a plurality of pieces of output data, and a part of the plurality of pieces of output data of the second learning device may be fed back and input to the first learning device.
[0013] The combined learning device formation unit may form the combined learning device including a transformation model that transforms output data of the first learning device, and is connected to the second learning device so that the transformed output data is input to the second learning device.
[0014] The system may further include a display control unit that displays on a display a combined learning module formation interface that can determine the combined structure of the combined learning module by combining learning module icons corresponding to each of the multiple trained learning modules, and the combined learning module formation unit may determine the combined structure of the combined learning module in response to the user's operation on the combined learning module formation interface.
[0015] The display control unit may display a warning in the combined learning device formation interface when input data is not input to at least one input of a trained learning device included in the combined learning device.
[0016] The device may further include a display control unit that displays on a display an input interface for inputting an input name of each of the plurality of trained learners and an output name of each of the plurality of trained learners, and the combined learner formation unit may connect the output of the first learner to the input of the second learner when the output name of the output of the first learner input by the user corresponds to the input name of the input of the second learner input by the user.
[0017] The system may further include an information providing unit that provides the user with at least one of attribute information regarding the trained learning device, obtained from a person who trained the trained learning device, or learning data information regarding the learning data used when the trained learning device was trained.
[0018] The attribute information includes at least one of information regarding preprocessing that should be performed on the input data before inputting the input data into the trained learning device, a programming language used in developing the trained learning device, or a library used in developing the trained learning device.
[0019] The system may further include an analysis unit that performs analysis on the combined learning device, the analysis being performed without the need to redo the learning process of each of the trained learning devices included in the combined learning device.
[0020] The analysis unit may perform at least one of a sensitivity analysis that analyzes the degree of influence of each of multiple input data of the combined learning machine on the output data of the combined learning machine, an input optimization process that uses a genetic algorithm to search for input data of the combined learning machine that will obtain optimal output data of the combined learning machine for the user, or an output range search process that uses Monte Carlo simulation to search for a possible range of output data of the combined learning machine based on a specified range of multiple input data.
[0021] The combined learning machine formation program disclosed in this specification is characterized in that it causes a computer that can access a group of trained learning machines to function as a combined learning machine formation unit that selects multiple trained learning machines from the group of trained learning machines in response to user instructions, and combines the selected multiple trained learning machines to form a combined learning machine.
[0022] In addition, the recording medium disclosed in this specification is a computer-readable non-transitory recording medium having recorded thereon a combined learning device formation program for causing a computer that can access a group of trained learning devices to function as a combined learning device formation unit that selects multiple trained learning devices from the group of trained learning devices in response to user instructions, and combines the selected multiple trained learning devices to form a combined learning device. Effect of the Invention
[0023] According to the combined learning device formation device disclosed in this specification, a user can freely combine multiple trained learning devices. [Brief description of the drawings]
[0024] [Figure 1] 1 is a schematic diagram illustrating the configuration of a combined learning module formation system according to an embodiment of the present invention. [Diagram 2] 1 is a schematic diagram illustrating the configuration of a combined learning device forming device according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a conceptual diagram showing a first example of a combined learning device. [Figure 4] FIG. 13 is a conceptual diagram showing a second example of a combined learning device. [Diagram 5] FIG. 13 is a conceptual diagram showing a third example of a combined learning device. [Figure 6] FIG. 13 is a conceptual diagram showing a fourth example of a combined learning device. [Figure 7] FIG. 13 is a diagram illustrating an example of a combined learner formation interface. [Figure 8] FIG. 13 is a diagram showing an example of a warning display regarding an input error. [Figure 9] FIG. 13 is a diagram illustrating an example of an input / output name input interface. [Figure 10] FIG. 13 is a diagram illustrating an example of displaying attribute information of a trained learning device. [Figure 11] FIG. 13 is a diagram illustrating an example of display of learning data information of a trained learning device. [Figure 12] FIG. 2 shows an input data set and an output data set. [Figure 13] FIG. 2 shows a variation input data set and a variation output data set. [Figure 14] FIG. 13 is a diagram showing the total value of the absolute values of the differences for each output data for each input data. [Figure 15] FIG. 13 is a diagram showing the contribution of each piece of input data to each piece of output data. [Figure 16] 1 is a flowchart showing the flow of processing of a genetic algorithm. [Figure 17] FIG. 13 is a diagram showing an example of a display of the results of a sensitivity analysis. [Figure 18] FIG. 13 is a diagram showing an example of a display of a result of input optimization. [Figure 19] FIG. 13 is a diagram showing an example of display of the results of an output range search. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] 1 is a schematic diagram of a combined learning module formation system 10 according to this embodiment. The combined learning module formation system 10 includes one or more user terminals 12 used by one or more users of the combined learning module formation system 10 (i.e., a combined learning module formation service described below), and a combined learning module formation device 14. The user terminals 12 and the combined learning module formation device 14 are communicatively connected via a communication line 16 such as a LAN (Local Area Network) or the Internet.
[0026] The user terminal 12 is composed of a computer such as a personal computer, a tablet terminal, or a smartphone, but is not limited to these devices. The user terminal 12 is composed of a communication interface for communicating with the combined learning engine forming device 14 via the communication line 16, an input interface for receiving user commands, a display for displaying screens and the like provided by the combined learning engine forming device 14, a memory for storing data, a processor for executing each process, and the like.
[0027] In this embodiment, the combined learner formation device 14 is a server computer, but the combined learner formation device 14 may be any device as long as it can perform the functions described below (in other words, as long as it can provide the combined learner formation service described below). For example, the combined learner formation device 14 may be a computer (such as a personal computer) that operates as a stand-alone computer. Furthermore, the functions of the combined learner formation device 14 described below may be realized by the cooperation of multiple computers.
[0028] The combined learning device formation device 14 is a device that provides a combined learning device formation service to a user. The user may be a user who has already registered with the combined learning device formation service, but the combined learning device formation service may be available without requiring user registration. As will be described in detail later, the combined learning device formation service is a service that allows a user to select multiple trained learning devices and freely combine the selected trained learning devices to form a combined learning device. Trained learning devices that the user can select (in other words, trained learning devices included in the combined learning device) include not only learning devices that the user has performed a learning process on, but also learning devices that have been trained by someone other than the user.
[0029] In this embodiment, each user of the combined learning device formation service can register a trained learning device that he or she has trained in the combined learning device formation service. This allows the user to let others use his or her trained learning device, and allows other users other than the user to select the trained learning device of the user to form a combined learning device. Note that registering a trained learning device in the combined learning device formation service includes storing and registering the trained learning device in the combined learning device formation device 14, and also includes storing the trained learning device in a computer managed by each user, placing the trained learning device in a state where it can be accessed from the combined learning device formation device 14, and then registering it. The combined learning device formation device 14 is capable of accessing a group of trained learning devices trained by each user.
[0030] The combined learning machine formation service may have a function of supporting the user in forming a learning machine and analyzing a trained learning machine. For example, the combined learning machine formation service may have a function of proposing appropriate hyperparameters (such as the number of epochs, the number of hidden layers, the number of hidden layer neurons, the number of dropouts, or the number of batches) of a learning machine to a user using a genetic algorithm or the like. Alternatively, as will be described in detail later, the combined learning machine formation service may have a function of performing sensitivity analysis, input optimization processing, output range search processing, and the like on a trained learning machine. These functions encourage the registration of trained learning machines in the combined learning machine formation service, and allow the user to select a trained learning machine for forming a combined learning machine from a larger number of trained learning machines.
[0031] FIG. 2 is a schematic diagram of the configuration of the combined learning device forming device 14 according to this embodiment.
[0032] The communication interface 20 includes, for example, a network interface card (NIC). The communication interface 20 performs a function of communicating with other devices, particularly the user terminal 12.
[0033] The memory 22 includes, for example, a hard disk drive (HHD), a solid state drive (SSD), a read only memory (ROM), or a random access memory (RAM). The memory 22 may be provided separately from the processor 26 described below, or at least a part of the memory 22 may be provided inside the processor 26. The memory 22 stores a combined learning device formation program for operating each part of the combined learning device formation device 14. The combined learning device formation program can be recorded on a non-transitory recording medium that can be read by a computer (the combined learning device 14 in this embodiment). In this case, the combined learning device formation device 14 can read and execute the combined learning device formation program from the recording medium.
[0034] As shown in FIG. 2, a learning device DB (DataBase) 24 is stored in the memory 22. A trained learning device trained by a user of the combined learning device formation service is registered in the learning device DB 24. Specifically, a user ID for identifying a user is associated with a trained learning device registered by the user and stored in the learning device DB 24. The substance of the trained learning device is a program that defines the structure of the trained learning device, various parameters related to the trained learning device, and a processing execution program for processing input data. Therefore, storing a trained learning device in the learning device DB 24 means that the above program and various parameters are stored in the learning device DB 24.
[0035] As described above, the trained learning device registered by the user in the combined learning device formation service may be stored in a computer managed by the user. In this case, the access destination (e.g., URL (Uniform Resource Locator)) of the trained learning device stored in the user's computer is registered in the learning device DB 24 instead of the trained learning device. The access destination information is provided by the user when the user registers the trained learning device.
[0036] Since a user can freely form a learning device and train it, a group of trained learning devices that perform processing using various algorithms may be registered in the learning device DB 24. For example, a group of trained learning devices that perform processing using algorithms such as a neural network, a convolutional neural network, a recurrent neural network, a support vector machine, a logistic regression, or a random forest may be registered in the learning device DB 24. In addition, a group of trained learning devices that perform processing using the same algorithm but have different numbers of input data (in other words, the number of elements of an input vector) or different numbers of output data (in other words, the number of elements of an output vector) may be registered in the learning device DB 24.
[0037] Furthermore, the trained learning devices registered in the learning device DB 24 may be trained by various learning methods. For example, a trained learning device group trained by various methods such as supervised learning, unsupervised learning, or reinforcement learning may be registered in the learning device DB 24. Furthermore, among the trained learning devices registered in the learning device DB 24, the trained learning devices trained using learning data may be trained using various learning data so as to be used for various purposes.
[0038] In the learning device DB 24, it is preferable that attribute information on the trained learning device or learning data information on learning data when the trained learning device is trained is further associated with the user ID and the trained learning device (or the access destination of the trained learning device) and stored. The attribute information and learning data information are provided by the user who trained the trained learning device and stored in the learning device DB 24. Details of the attribute information and learning data information will be described later.
[0039] Furthermore, the learning device DB 24 stores a combined learning device formed in response to an instruction from a user in association with the user ID.
[0040] Processor 26 includes at least one of a general-purpose processing device (e.g., a CPU (Central Processing Unit)) and a dedicated processing device (e.g., an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a programmable logic device). Processor 26 may not be a single processing device, but may be configured by the cooperation of multiple processing devices located at physically separate locations. As shown in FIG. 2, processor 26 performs the functions of a combined learning device formation unit 28, a processing execution unit 30, a display control unit 32, and an analysis unit 34 according to a combined learning device formation program stored in memory 22.
[0041] The combined learning device formation unit 28 selects a plurality of trained learning devices from a group of trained learning devices registered in the learning device DB 24 in response to a user instruction, and combines the selected plurality of trained learning devices to form a combined learning device.
[0042] FIG. 3 is a conceptual diagram of a combined learning device 40. A user logs in to the combined learning device formation service (i.e., combined learning device formation device 14) from user terminal 12, selects multiple trained learning devices from the learning device DB 24, and instructs how to combine them, whereby combined learning device formation unit 28 forms combined learning device 40 by combining the multiple selected trained learning devices. Combined learning device 40a shown in FIG. 3 is formed by selecting four learning devices, learning device 1, learning device 2, learning device 3, and learning device 4, by the user and combining them. Note that combined learning device 40 may include multiple identical trained learning devices. For example, combined learning device 40a may include two learning devices 1.
[0043] Here, at least one of the multiple trained learners selected by the user may be a trained learner trained by someone other than the user who selected them. In other words, the user can form the combined learner 40 by using a trained learner trained by someone else for some purpose. In addition, all of the multiple trained learners selected by the user may be trained learners trained by the user.
[0044] As described above, a group of trained learners that perform processing using various algorithms may be registered in the learner DB 24. Therefore, the combined learner 40 may include a plurality of trained learners that perform processing using algorithms different from each other. For example, in the combined learner 40a, the learners 1 and 2 may be neural network models that perform processing using a neural network, the learner 3 may be a random forest model that performs processing using a random forest, and the learner 4 may be a Gaussian regression model that performs processing using Gaussian regression.
[0045] The user can freely select a method for combining multiple trained learning devices. Specifically, the user can specify the connection destinations of each input and each output of each trained learning device selected by the user.
[0046] In addition, the user can specify the number of input data and output data of the combined learning device 40, the input destination of each input data, and each output data of the combined learning device 40. In response to the specification, the combined learning device formation unit 28 determines the number of input data and the number of output data of the combined learning device 40, the input destination of each input data, and each output data of the combined learning device 40. For example, in the combined learning device 40a shown in FIG. 3, the number of input data is seven (represented by I1 to I7), and the number of output data is three (represented by O1 to O3). In addition, the input destination of the input data I1 to I4 is the learning device 1, the input destination of the input data I5 and I6 is the learning device 3, and the input destination of the input data I7 is the learning device 4. In addition, the output data O1 is output data o11, which is one of the output data of the learning device 1, and the output data O2 to O3 are output data o21 and o22 of the learning device 2.
[0047] In this way, forming the combined learning device 40 by combining multiple trained learning devices means determining the connection destinations of each input and output of the multiple trained learning devices, the connection destination (input destination) of each input data of the combined learning device 40, and each output data of the combined learning device 40. In addition, when a trained learning device has multiple inputs, if there is any input data among the multiple inputs, the output data of the trained learning device will be erroneous. Therefore, it is necessary to connect the input data of the combined learning device 40 or the output of another trained learning device to all inputs of each trained learning device included in the combined learning device 40. On the other hand, when a trained learning device has multiple outputs, it is not necessary to connect all of the multiple outputs to the output data of the combined learning device 40 or the input of another trained learning device. In other words, there may be output data that is not used among the multiple output data of the trained learning device.
[0048] In particular, the combined learning device forming unit 28 can form a combined learning device 40 in which a first learning device and a second learning device are combined in response to a user's instruction so that output data of a first learning device, which is one of a plurality of trained learning devices selected by the user, is directly or indirectly input to a second learning device, which is one of the plurality of trained learning devices and different from the first learning device. For example, in the combined learning device 40a, the learning device 1 and the learning device 2 are combined so that output data o12 of the learning device 1 as the first learning device is directly input to the learning device 2 as input data i21 of the learning device 2 as the second learning device. In this specification, combining the learning device 1 and the learning device 2 as described above is described as "combining the learning device 2 after the learning device 1" or "combining the learning device 1 before the learning device 2". Note that in the combined learning device 40a, only the learning device 2 is combined after the learning device 1, but another trained learning device may be combined after the learning device 2 in one or more stages.
[0049] In addition, when the second learning device connected after the first learning device outputs a plurality of output data, the combined learning device forming unit 28 can form a combined learning device 40 in which a part of the plurality of output data of the second learning device is feedback-input to the first learning device in response to a user's instruction. For example, in the combined learning device 40b shown in FIG. 4, the learning device 2 as the second learning device outputs a plurality of output data o21, o22, and o23, and the output data o21 is feedback-input to the learning device 1 as the input data i11 of the learning device 1 as the first learning device. Note that an appropriate value may be input as the initial value of the input data i11, which is the feedback input. In addition, in the combined learning device 40b including the feedback input, the output data O1 and O2 may not be stable for a while after the input data I1 to I4 are input due to the feedback input. In that case, the output data O1 and O2 after the output data O1 and O2 are stabilized may be set as the output data of the combined learning device 40b.
[0050] Furthermore, when a first learning device connected before a second learning device outputs a plurality of output data, the combined learning device formation unit 28 can input a portion of the plurality of output data of the first learning device directly or indirectly to the second learning device in response to an instruction from a user, and can set another portion of the plurality of output data of the first learning device as output data of the combined learning device 40. For example, in the combined learning device 40a shown in Fig. 3, the learning device 1 as the first learning device outputs a plurality of output data o11 and o12, of which the output data o12 is input to the learning device 2 as the input data i21 of the learning device 2 as the second learning device, and the output data o11 is set as the output data O1 of the combined learning device 40a.
[0051] When a second learning device is connected after a first learning device, that is, when output data of the first learning device is input to the second learning device, it may be desired to convert the output data of the first learning device before inputting it to the second learning device. For example, it may be desired to perform calculations on a plurality of output data of the first learning device and input the calculation results to the second learning device.
[0052] In view of this, it is preferable that the combined learning device forming unit 28 can form a combined learning device 40 including a conversion model that converts the output data of the first learning device in response to a user's instruction and is connected to the second learning device so that the converted output data is input to the second learning device. For example, in the combined learning device 40c shown in FIG. 5, a conversion model is connected after the learning device 1 as the first learning device and before the learning device 2 as the second learning device. The conversion model is a model that converts the two output data o11 and o12 of the learning device 1 into input data im1 and im2, and converts the input data im1 and im2 into output data om1. The output data om1 of the conversion model is input to the learning device 2 as the input data i21 of the learning device 2. In this case, it can be said that the output data o11 and o12 of the learning device 1 are indirectly input to the learning device 2.
[0053] The conversion model may be created by a user in the combined learning machine formation service. Alternatively, the combined learning machine formation service may have several conversion models prepared in advance, and the user may be able to select a desired conversion model from among them.
[0054] There are cases where the data format of the output data of the first learning device is inappropriate as input data for the second learning device. For example, the number of output data of the first learning device and the number of input data of the second learning device are different, the scale of the output data of the first learning device and the scale of the input data of the second learning device are different, or the output data of the first learning device includes a blank (NaN (Not a Number)) but the second learning device does not accept the input of NaN (results in an error). In such cases, the conversion model can be used. That is, the conversion model can perform a process of converting a plurality of output data of the first learning device into a predetermined number of data, a process of converting the scale of the output data of the first learning device, or a process of converting NaN included in the output data of the first learning device into data that the second learning device can accept.
[0055] As described above, combined learning device 40 formed by combined learning device formation unit 28 in response to a user instruction is associated with the user ID of the user and registered in learning device DB 24. By registering combined learning device 40, the user can read out combined learning device 40 from learning device DB 24 at any time and use it.
[0056] Furthermore, the user can use a combined learning device 40 formed in the past and registered in the learning device DB 24 as a trained learning device to configure a new combined learning device 40. In other words, the combined learning device formation unit 28 can form a new combined learning device 40 by combining a combined learning device 40 formed in the past by a user and registered in the learning device DB 24 with a trained learning device selected by the user from the learning device DB 24. For example, in the combined learning device 40d shown in FIG. 6, the combined learning device 40b (see FIG. 4) is linked before the learning device 2.
[0057] Returning to FIG. 2, the process execution unit 30 executes a process using the combined learning device 40 formed by the combined learning device formation unit 28. Specifically, when the user specifies the combined learning device 40 and its input data, the process execution unit 30 inputs the input data to the combined learning device 40. For example, assume that the user specifies the combined learning device 40a shown in FIG. 3 and specifies I1 to I7 as input data. In this case, the process execution unit 30 first inputs the specified input data I1 to I4 to learning device 1, inputs input data I5 and I6 to learning device 3, and inputs input data I7 to learning device 4, in accordance with the structure of the combined learning device 40a. Next, the process execution unit 30 sets the output data o11 of the learning device 1 for the input data I1 to I4 as the output data O1 of the combined learning device 40a, and inputs the output data o12 of the learning device 1 for the input data I1 to I4, the output data o3 of the learning device 3 for the input data I5 and I6, and the output data o4 of the learning device 4 for the input data I7 to the learning device 2 as the input data i21, i22, and i23 of the learning device 2, respectively. Finally, the process execution unit 30 sets the output data o21 and o22 of the learning device 2 for the input data i21, i22, and i23 as the output data O2 and O3 of the combined learning device 40a. The process execution unit 30 provides the output data O1 to O3 obtained in this way to the user.
[0058] Here, there is a case where a trained learning device included in the combined learning device 40 is not stored in the learning device DB 24, but is stored in a computer managed by a user who trained the trained learning device. In that case, the processing execution unit 30 transmits input data of the trained learning device to the computer, and causes the computer to execute processing of the trained learning device. Then, the processing execution unit 30 receives output data of the trained learning device from the computer. For example, it is assumed that the learning device 1 of the combined learning devices 40a is stored in a computer other than the combined learning device formation device 14. In this case, the processing execution unit 30 transmits input data I1 to I4 to the computer. Then, the computer obtains output data o11 and o12 of the learning device 1 for the input data I1 to I4, and transmits the output data o11 and o12 to the combined learning device formation device 14. The processing execution unit 30 inputs the received output data o11 as output data O1 and the output data o21 as input data i21 of the learning device 2 to the learning device 2.
[0059] Display control unit 32 causes a screen provided by the combined learning device formation service to be displayed on the display of user terminal 12. In particular, display control unit 32 causes a combined learning device formation interface, which is a screen for a user to graphically form combined learning device 40, to be displayed on the display of user terminal 12.
[0060] Fig. 7 is a diagram showing an example of a combined learning device formation interface 50. The combined learning device formation interface 50 shown in Fig. 7 is configured to include a learning device icon display area 52 and a combined learning device display area 54. The display control unit 32 causes the learning device icon display area 52 to display learning device icons 56 corresponding to a plurality of trained learning devices (i.e., a group of trained learning devices registered in the learning device DB 24) that can be incorporated into the combined learning device 40. Note that, when a combined learning device 40 formed in the past is registered in the learning device DB 24, the display control unit 32 can display the learning device icon 56 corresponding to the combined learning device 40.
[0061] The user can determine the combination structure of the combined learner 40 by operating the combined learner formation interface 50. In other words, the combined learner formation unit 28 determines the combination structure of the combined learner 40 in response to the user's operation on the combined learner formation interface 50. For example, as shown in FIG. 7 , the user can incorporate a trained learner corresponding to a learner icon 56 displayed in a learner icon display area 52 into the combined learner display area 54 by dragging and dropping the learner icon 56 into the combined learner 40.
[0062] Furthermore, in response to a predetermined operation by the user, the display control unit 32 displays one or more input data icons 58 corresponding to one or more input data of the combined learning unit 40, and one or more output data icons 60 corresponding to one or more output data of the combined learning unit 40, in the combined learning unit display area 54. Furthermore, in response to an operation by the user on the combined learning unit display area 54, the display control unit 32 displays an edge icon 62 connecting the input data icon 58, the input or output of the learning unit icon 56, or the output data icon 60. The user can set a connection relationship between the input data icon 58, the input or output of the learning unit icon 56, and the output data icon 60 using the edge icon 62. In order to make the connection relationship easy to see in the combined learning unit display area 54, the display control unit 32 may appropriately change the display positions of the input data icon 58, the learning unit icon 56, and the output data icon 60 in response to an instruction from the user.
[0063] The combined learner formation unit 28 forms the combined learner 40 based on the learner icon 56, the input data icon 58, the output data icon 60, and the edge icon 62 combined by the user in the combined learner display area 54.
[0064] As described above, the input of each trained learner included in the combined learner 40 needs to be connected to the input data of the combined learner 40 or the output of another trained learner. Therefore, the display control unit 32 may display a warning in the combined learner display area 54 when no input data is input to at least one input of the trained learner included in the combined learner 40 (when there is an input error).
[0065] FIG. 8 is a diagram showing an example of a warning display regarding an input error. In the example of FIG. 8, nothing is connected to the input of the learning device icon 56 labeled "model2" or the output data icon 60 labeled "O1". Therefore, the display control unit 32 displays a warning icon 64 near the learning device icon 56 and near the output data icon 60. In addition, it is assumed that the trained learning device corresponding to the learning device icon 56 labeled "model3" has multiple inputs. In the example of FIG. 8, only one input is connected to the learning device icon 56 labeled "model3". Therefore, the display control unit 32 displays a warning icon 64 near the learning device icon 56.
[0066] In addition, the display control unit 32 displays on the display an input / output name input interface, which is a screen for inputting the input names of the inputs of each of the multiple trained learning devices selected by the user, and the output names of the outputs of each of the multiple trained learning devices selected by the user.
[0067] FIG. 9 is a diagram showing an example of an input / output name input interface 65. In the input / output name input interface 65, a list of the input names and output names of each of multiple trained learning devices selected by the user is displayed. When the user selects an input of a trained learning device in the input / output name input interface 65, the input name of the input can be input. Also, when the user selects an output of a trained learning device, the output name of the output can be input. When the trained learning device has many inputs or outputs, the user may set a rule and be able to input the input names of multiple inputs or the output names of multiple outputs collectively according to the rule.
[0068] When the user inputs the input name and output name of each trained learning device in the input / output name input interface 65, the combined learning device formation unit 28 may connect the inputs and outputs of the multiple trained learning devices based on the input name and output name of each trained learning device. Specifically, when the output name of the output of the first learning device corresponds to the input name of the input of the second learning device, the combined learning device formation unit 28 may connect the output of the first learning device to the input of the second learning device.
[0069] The output name of the output of the first learning device and the input name of the input of the second learning device correspond to each other when, for example, the output name of the output of the first learning device and the input name of the input of the second learning device are the same, but are not limited to this. For example, if the input name of each trained learning device is expressed as "ixxx" and the output name of each trained learning device is expressed as "oxxx", the input "ixxx" and the output "oxxx" may correspond to each other when the "xxx" parts are the same.
[0070] When forming the combined learning device 40, the user may want to know attribute information of the trained learning device to be incorporated into the combined learning device 40. The attribute information of the trained learning device may be, but is not limited to, information on preprocessing to be performed on input data before inputting the input data to the trained learning device, a program language used to develop the trained learning device, or a library used to develop the trained learning device. As described above, such attribute information is provided by the user who trained the trained learning device, and is stored in the learning device DB 24 in association with the trained learning device.
[0071] Therefore, the display control unit 32 as an information providing unit may provide attribute information of the trained learning device to the user. In this embodiment, the display control unit 32 provides the attribute information to the user by displaying the attribute information on the combined learning device formation interface 50.
[0072] 10 is a diagram showing an example of display of attribute information of a trained learner. For example, when a user selects a learner icon 56 by placing a mouse cursor on the learner icon 56, the display control unit 32 refers to the learner DB 24 and identifies attribute information associated with the trained learner corresponding to the selected learner icon 56. Then, the identified attribute information 66 is displayed on the combined learner formation interface 50. This allows the user to easily grasp the attribute information of a desired trained learner.
[0073] Furthermore, when forming the combined learning device 40, the user may want to know learning data information about the learning data used when training a trained learning device to be incorporated into the combined learning device 40. As described above, the learning data information is also provided by the user who trained the trained learning device, and is stored in the learning device DB 24 in association with the trained learning device.
[0074] Therefore, the display control unit 32 as an information providing unit may provide the user with the learning data information of the trained learning device. In this embodiment, like the attribute information, the display control unit 32 provides the learning data information to the user by displaying the learning data information on the combined learning device formation interface 50.
[0075] 11 is a diagram showing a display example of learning data information of a trained learning device. For example, when a user selects a learning device icon 56 by placing a mouse cursor on the learning device icon 56, the display control unit 32 refers to the learning device DB 24 and identifies learning data information associated with the trained learning device corresponding to the selected learning device icon 56. Then, the identified learning data information 68 is displayed on the combined learning device formation interface 50. This allows the user to easily grasp the learning data information of a desired trained learning device.
[0076] Returning to FIG. 2, the analysis unit 34 executes a process of analyzing the combined learning device 40 formed by the combined learning device formation unit 28. There are various types of analysis content for a learning device, and some of the analysis content requires re-learning of the learning device. For example, in a factor analysis for analyzing output data of a learning device when one of a plurality of input data input to the learning device is not input, the learning data must be re-learned in an environment in which the input data is not input. Since the combined learning device 40 may include a trained learning device trained by someone other than the user, when analyzing the combined learning device 40, it may not be appropriate for the user to arbitrarily re-learn the combined learning device 40, i.e., each trained learning device included therein.
[0077] Therefore, the analysis unit 34 performs an analysis on the combined learning device that can be performed without the need to redo the learning process of each trained learning device included in the combined learning device 40. Examples of analyses that can be performed without the need to redo the learning process of each trained learning device included in the combined learning device 40 include, but are not limited to, a sensitivity analysis that analyzes the degree of influence of each of multiple input data of the combined learning device 40 on the output data of the combined learning device 40, an input optimization process that uses a genetic algorithm to search for input data of the combined learning device that will provide optimal output data of the combined learning device 40 for the user, and an output range search process that uses a Monte Carlo simulation to search for a range that the output data of the combined learning device 40 can take based on multiple input data within a predetermined range.
[0078] The analysis unit 34 can perform the above-mentioned analysis not only on the combined learning device 40 but also on the trained learning devices registered in the learning device DB 24.
[0079] The following describes the contents of each analysis performed by analysis unit 34. Here, it is assumed that combined learning device 40 to be analyzed receives three pieces of input data I1 to I3 and outputs two pieces of output data O1 and O2.
[0080] First, the sensitivity analysis will be described. In the sensitivity analysis, the analysis unit 34 first prepares a plurality of sets of input data I1 to I3 (hereinafter referred to as "input data sets"), and obtains output data O1, O2 (hereinafter referred to as "output data sets") when each set is input to the combined learning device 40. As a result, a plurality of combinations of the input data set 70 and the output data set 72 are obtained, as shown in FIG.
[0081] Next, as shown in FIG. 13, the analysis unit 34 generates a changed input data set 74 by slightly changing the value of one of the input data sets (i.e., the input data I1, I2, or I3). Here, it is assumed that the input data I1 is slightly changed. Then, the changed input data set 74 including the input data I1 whose value has been changed is input to the combined learning device 40, and a changed output data set 76, which is an output data set corresponding to the changed input data, is obtained. Then, the analysis unit 34 calculates the difference between the output data set 72 before the input data is changed and the changed output data set 76. Specifically, the analysis unit 34 calculates the difference between the output data O1 of the output data set 72 before the input data is changed and the output data O1 of the changed output data set 76, and calculates the absolute value of the difference between the output data O2 of the output data set 72 and the output data O2 of the changed output data set 76 (hereinafter, simply referred to as the "absolute value of the difference"). The absolute value of the difference is an index indicating the degree of influence (sensitivity) of the input data I1 on the output data of the combined learning device 40. The analysis unit 34 stores the absolute value of the difference and the input data I1 in association with each other.
[0082] The analysis unit 34 repeats the above-mentioned process for each input data set 70. The analysis unit 34 also changes the input data to be changed minutely and repeats the above-mentioned process. Fig. 13 shows a changed input data set 78 when the input data I2 is changed minutely, a changed output data set 80 for the changed input data set 78, a changed input data set 82 when the input data I3 is changed minutely, and a changed output data set 84 for the changed input data set 82.
[0083] By the above-mentioned process, statistical data of the absolute values of the differences between the output data O1 and O2 of the input data I1, I2, and I3 can be obtained. In this embodiment, the analysis unit 34 calculates the sum of the absolute values of the differences between the input data I1, I2, and I3 for each of the output data O1 and O2. An example of the calculation result is shown in FIG. 14. In the calculation result, the larger the value, the greater the influence of the input data on the output data, in other words, the greater the sensitivity. For example, in FIG. 14, looking at the output data O1, the sum of the absolute values of the differences between the input data I1 is "3.19", and the sum of the absolute values of the differences between the input data I3 is "6.32", so it can be said that the input data I3 has a greater influence on the output data O3 than the input data I1.
[0084] The analysis unit 34 may normalize the absolute value of the difference for each of the output data O1 and O2 so that the sum of the values for each of the input data I1, I2, and I3 becomes 100. The normalized value can be regarded as the contribution degree. Fig. 15 shows the contribution degree of each of the input data I1, I2, and I3 to the output data O1 and O2 obtained by normalization.
[0085] In the above-mentioned example of sensitivity analysis, the analysis unit 34 calculated the absolute value of the difference between the output dataset 72 before the input data was changed and the changed output dataset 76. However, it is also possible to calculate the sensitivity of each input data separately for cases where the difference is a positive value and for cases where the difference is a negative value.
[0086] Next, the input optimization process will be described. In this embodiment, the analysis unit 34 executes the input optimization process using a genetic algorithm. Prior to executing the genetic algorithm, the analysis unit 34 acquires from the user the output data of the combined learning device 40 that the user desires (hereinafter, referred to as "ideal output data"). Note that the input optimization process refers to a process of searching for optimal input data (i.e., input data that can obtain ideal output data), and the optimal input data is not necessarily obtained by the input optimization process.
[0087] FIG. 16 is a flowchart showing the flow of processing of a genetic algorithm. First, in step S10, the analysis unit 34 generates a plurality of "individuals" of the first generation. In this embodiment, the "individuals" are input data sets including a plurality of input data I1, I2, and I3. Each of the input data I1, I2, and I3 included in the individual is called a "gene." The input data set as an individual may be generated randomly. In other words, the value of each of the input data I1, I2, and I3 included in each input data set may be set randomly.
[0088] In step S12, the analysis unit 34 calculates the "suitability" of each individual of the first generation. The suitability is an index indicating how close an individual is to an ideal solution (ideal output data in this embodiment). In this embodiment, the difference between the output dataset and the ideal output data when an input dataset as an individual is input to the combined learning device 40 (more specifically, the difference between the output data O1 of the output dataset and the output data O1 of the ideal output data, and the difference between the output data O2 of the output dataset and the output data O2 of the ideal output data) is calculated as the suitability.
[0089] In step S14, the analysis unit 34 executes genetic operations to manipulate the genes of the multiple individuals of the first generation (i.e., the input data I1, I2, I3) based on the calculated adaptability of each individual. Examples of genetic operations include "selection" to select an individual according to its adaptability, "crossover" to exchange genes between multiple individuals, and "mutation" to change some of the genes of an individual. It is expected that such genetic operations will generate individuals with higher adaptability than the previous generation. The multiple individuals that have been genetically manipulated become the multiple individuals of the next generation (here, the second generation).
[0090] In step S16, the analysis unit 34 judges whether a predetermined termination condition is satisfied. The termination condition may be, for example, that a specific number of generations has been reached, or that the average fitness of a plurality of individuals in the current generation is equal to or greater than a predetermined value, and is set in advance by a user or the like. If the termination condition is not satisfied, the process returns to step S12. In step S12 again, the analysis unit 34 calculates the adaptability of each individual in the current generation (here, the second generation), and in step S14 again, the analysis unit 34 performs a genetic operation on the plurality of individuals in the second generation based on the calculated adaptability of each individual to generate a plurality of individuals in the third generation. Such processes in steps S12 and S14 are repeated until the termination condition is satisfied.
[0091] If it is determined in step S16 that the termination condition is satisfied, the process proceeds to step S18. In step S18, the analysis unit 34 selects one or more individuals from the multiple individuals of the current generation, and outputs them as a result of the input optimization process using the genetic algorithm.
[0092] Finally, the output range search process will be described. In this embodiment, the analysis unit 34 executes the output range search process by Monte Carlo simulation. Specifically, first, the analysis unit 34 receives from the user the designation of the maximum and minimum values of each of the input data I1, I2, and I3. Then, the analysis unit 34 randomly generates a plurality of (a huge number of) input data sets within the range designated by the user, inputs each input data set to the combined learning device 40, and obtains an output data set for each input data set. Based on the plurality of (a huge number of) output data sets thus obtained, the analysis unit 34 searches for the range of values that the output data O1 and O2 can take.
[0093] The display control unit 32 causes the analysis results of the analysis unit 34 to be displayed on the display of the user terminal 12 .
[0094] Fig. 17 is a diagram showing an example of the display of the result of the sensitivity analysis. In the example of Fig. 17, the contribution degree (see Fig. 15) of each of the input data I1, I2, and I3 to each of the output data O1 and O2 is shown as the result of the sensitivity analysis.
[0095] Fig. 18 is a diagram showing an example of the display of the results of the input optimization process. In the example of Fig. 18, a graph is shown as a result of the input optimization process, with the horizontal axis representing output data O1 and the vertical axis representing output data O2, and including a plot 90 corresponding to an input data set. The example of Fig. 18 is an input optimization process in which it is better for both output data O1 and O2 to be small, and on the graph, a curve 92 represents a position that the plot 90 of ideal input data can take.
[0096] Fig. 19 is a diagram showing an example of the display of the results of the output range search process. In the example of Fig. 19, a graph including a plot 94 showing an output data set obtained by the Monte Carlo simulation, with the horizontal axis representing output data O1 and the vertical axis representing output data O2, is shown as a result of the output range search process. The graph shows a frame 96 indicating the range that the output data O1 and O2 calculated by the analysis unit 34 can take.
[0097] Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications are possible without departing from the spirit of the present invention. [Explanation of symbols]
[0098] 10 Combined learning machine formation system, 12 User terminal, 14 Combined learning machine formation device, 16 Communication line, 20 Communication interface, 22 Memory, 24 Learning machine DB, 26 Processor, 28 Combined learning machine formation unit, 30 Processing execution unit, 32 Display control unit, 34 Analysis unit, 40, 40a, 40b, 40c, 40d Combined learning machine, 50 Combined learning machine formation interface, 52 Learning machine icon display area, 54 Combined learning machine display area, 56 Learning machine icon, 58 Input data icon, 60 Output data icon, 62 Edge icon, 64 Warning icon, 65 Input / output name input interface, 66 Attribute information, 68 Learning data information, 70 Input data set, 72 Output data set, 74, 78, 82 Change input data set, 76, 80, 84 Change output data set, 90, 94 Plot, 92 Curve, 96 Frame.
Claims
1. A combined learning device forming device that can access a group of trained learning devices, a combined learning device formation unit that receives a user's instruction indicating a plurality of trained learning devices selected from the group of trained learning devices, the number of input data of a combined learning device, and the trained learning devices to which each of the input data is to be input, and combines the plurality of selected trained learning devices in response to the user's instruction to form a combined learning device in which the number of the plurality of input data specified by the user is input to the trained learning devices that are different from each other; A combined learning device forming apparatus comprising:
2. The combined learning unit forms the combined learning unit including the plurality of trained learning units including a learning unit trained by a person other than the user.
2. The combined learning device forming apparatus according to claim 1 .
3. The combined learning device includes a plurality of the trained learning devices that perform processing using algorithms different from each other.
2. The combined learning device forming apparatus according to claim 1 .
4. A combined learning device forming device that can access a group of trained learning devices, a combined learning device formation unit that selects a plurality of trained learning devices from the group of trained learning devices in response to an instruction from a user, and combines the plurality of selected trained learning devices to form a combined learning device; Equipped with The combined learning device formation unit combines the combined learning device and a trained learning device selected by the user to form a new combined learning device. A combined learning device forming apparatus comprising:
5. the combined learning device formation unit forms the combined learning device in which the first learning device and the second learning device are combined such that output data of a first learning device, which is one of the plurality of trained learning devices, is input directly or indirectly to a second learning device, which is one of the plurality of trained learning devices and different from the first learning device; 2. The combined learning device forming apparatus according to claim 1 .
6. A combined learning device forming device that can access a group of trained learning devices, a combined learning device formation unit that selects a plurality of trained learning devices from the group of trained learning devices in response to an instruction from a user, and combines the plurality of selected trained learning devices to form a combined learning device; Equipped with the combined learning device formation unit forms the combined learning device in which the first learning device and the second learning device are combined such that output data of a first learning device which is one of the plurality of trained learning devices is input directly or indirectly to a second learning device which is one of the plurality of trained learning devices and different from the first learning device; The first learning device outputs a plurality of output data; A part of the plurality of output data of the first learning device is directly or indirectly input to the second learning device, and another part of the plurality of output data of the first learning device is set as output data of the combined learning device. A combined learning device forming apparatus comprising:
7. A combined learning device forming device that can access a group of trained learning devices, a combined learning device formation unit that selects a plurality of trained learning devices from the group of trained learning devices in response to an instruction from a user, and combines the plurality of selected trained learning devices to form a combined learning device; Equipped with the combined learning device formation unit forms the combined learning device in which the first learning device and the second learning device are combined such that output data of a first learning device which is one of the plurality of trained learning devices is input directly or indirectly to a second learning device which is one of the plurality of trained learning devices and different from the first learning device; The second learning device outputs a plurality of output data; A part of the plurality of output data of the second learning device is fed back to the first learning device. A combined learning device forming apparatus comprising:
8. the combined learning device formation unit forms the combined learning device including a transformation model that transforms output data of the first learning device, the transformation model being connected to the second learning device such that the transformed output data is input to the second learning device; 8. The combined learning module forming device according to claim 5, wherein the combined learning module forming device is a multi-layered structure.
9. a display control unit that displays on a display a combined learning machine formation interface capable of determining a combined structure of the combined learning machine by combining learning machine icons corresponding to the plurality of trained learning machines; Further equipped with the coupled learning module determines a coupling structure of the coupled learning module in response to an operation of the user on the coupled learning module formation interface; 2. The combined learning device forming apparatus according to claim 1 .
10. the display control unit displays a warning in the combined learning device formation interface when input data is not input to at least one input of a trained learning device included in the combined learning device.
10. The combined learner forming apparatus according to claim 9.
11. A combined learning device forming device that can access a group of trained learning devices, a combined learning device formation unit that selects a plurality of trained learning devices from the group of trained learning devices in response to an instruction from a user, and combines the plurality of selected trained learning devices to form a combined learning device; Equipped with the combined learning device formation unit forms the combined learning device in which the first learning device and the second learning device are combined such that output data of a first learning device which is one of the plurality of trained learning devices is input directly or indirectly to a second learning device which is one of the plurality of trained learning devices and different from the first learning device; a display control unit that displays, on a display, an input interface for inputting an input name of each of the plurality of trained learning devices and an output name of each of the plurality of trained learning devices; Further equipped with the combined learning device formation unit, when an output name of the output of the first learning device input by the user corresponds to an input name of the input of the second learning device input by the user, connects the output of the first learning device to the input of the second learning device. A combined learning device forming apparatus comprising:
12. an information providing unit that provides the user with at least one of attribute information on the trained learning device, obtained from a person who has trained the trained learning device, and learning data information on learning data used when the trained learning device is trained; The combined learner forming apparatus according to claim 1 , further comprising:
13. The attribute information includes at least one of information regarding preprocessing to be performed on the input data before inputting the input data to the trained learning device, a programming language used to develop the trained learning device, or a library used to develop the trained learning device.
13. The combined learner forming apparatus according to claim 12.
14. A combined learning device forming device that can access a group of trained learning devices, a combined learning device formation unit that selects a plurality of trained learning devices from the group of trained learning devices in response to an instruction from a user, and combines the plurality of selected trained learning devices to form a combined learning device; an analysis unit that performs an analysis on the combined learning device, the analysis being performed without having to redo the learning process of each of the trained learning devices included in the combined learning device; A combined learning device forming apparatus comprising:
15. The analysis unit executes at least one of a sensitivity analysis for analyzing the degree of influence of each of a plurality of input data of the combined learning device on the output data of the combined learning device, an input optimization process for searching, by a genetic algorithm, for input data of the combined learning device that will obtain optimal output data of the combined learning device for the user, and an output range search process for searching, by a Monte Carlo simulation, a possible range of output data of the combined learning device based on a predetermined range of a plurality of input data.
15. The combined learner forming apparatus according to claim 14.
16. A computer that can access the trained learning machine group is a combined learning device formation unit that receives a user's instruction indicating a plurality of trained learning devices selected from the group of trained learning devices, the number of input data of a combined learning device, and the trained learning devices to which each of the input data is to be input, and combines the plurality of selected trained learning devices in response to the user's instruction to form a combined learning device in which the number of the plurality of input data specified by the user is input to the trained learning devices that are different from each other; A program for forming a combined learning machine, comprising:
Citation Information
Patent Citations
Provision device, provision method and provision program
JP2016004548A
Information processing apparatus, artificial intelligence identification method and program
JP2019008483A
Contribution level calculation system, contribution level calculation device, contribution level calculation method, contribution level calculation program, and storage media for storing contribution level calculation program
JP2020004059A
Medical image processing apparatus, system and program
JP2020101860A
Learning model construction device, method for constructing learning model, and computer program
JP2021089655A
