Transfer learning device, transfer learning method, and transfer learning program
The transfer learning device enhances efficiency by generating intermediate models and using multiple comparison tests to assess learning data, addressing prolonged learning times in conventional methods by focusing on data that needs further training.
Patent Information
- Application Number
- JP2024546376
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-12-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-12-22
AI Technical Summary
Conventional transfer learning methods using loss functions to evaluate learning data quality are inefficient, leading to prolonged learning times as they do not differentiate between sufficiently trained and insufficiently trained data.
A transfer learning device that utilizes a knowledge transfer learning unit to generate intermediate models based on trained models, with a knowledge transfer progress determination unit using multiple comparison tests to assess learning data likelihood and determine the completion of knowledge transfer.
This approach significantly shortens learning time by ensuring efficient utilization of trained data and identifying data that requires further learning, thereby optimizing the transfer learning process.
Smart Images

Figure 0007566228000001 
Figure 0007566228000002 
Figure 0007566228000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to transfer learning techniques. [Background technology]
[0002] When dealing with new data of a certain modality (type of data), if there is a model asset that has already been sufficiently trained by machine learning for a modality different from the new modality, it may be desirable to transfer and utilize the knowledge of this model asset. Patent Document 1 discloses a technology related to such knowledge transfer. More specifically, Patent Document 1 teaches labeled training data, uses the mean root square error (RMSE) as the loss function, and sets a termination condition that if the loss does not decrease for five consecutive epochs, the learning is terminated without waiting for the maximum number of epochs of 50, and uses the mean absolute error (MAE) and the coefficient of determination (R 2 ) is disclosed. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-135726 Summary of the Invention [Problem to be solved by the invention]
[0004] According to the method disclosed in Patent Document 1, an evaluation index is used to evaluate the accuracy of the modality to which knowledge is transferred, and therefore the quality of knowledge transfer can be ensured by setting an appropriate threshold value for the evaluation index.
[0005] However, according to the conventional method of searching for the minimum loss using a loss function described in Patent Document 1 and the like, training data is trained equally regardless of whether the data has been trained sufficiently or not, which poses the problem of requiring a long training time.
[0006] The present disclosure has been made to solve such problems, and aims to provide a transfer learning technique that can shorten the learning time through transfer learning. [Means for solving the problem]
[0007] One aspect of a transfer learning device according to an embodiment of the present disclosure includes a knowledge transfer learning unit that performs knowledge transfer learning using learning data for a second type of data different from the first type based on a learned model for a first type of data, to generate an intermediate model from the learned model, and a knowledge transfer progress determination unit that determines through multiple comparison testing whether a reference likelihood of learning data assigned a reference label in the generated intermediate model is greater than the likelihood of multiple learning data assigned non-reference labels other than the reference label. Effect of the Invention
[0008] According to the transfer learning device according to the embodiment of the present disclosure, the learning time by transfer learning can be reduced. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a transfer learning device according to a first embodiment. [Figure 2A] FIG. 1 is a diagram illustrating an example of a hardware configuration of a transfer learning device. [Figure 2B] FIG. 1 is a diagram illustrating an example of a hardware configuration of a transfer learning device. [Diagram 3] FIG. 1 is a diagram illustrating an overview of transfer learning. [Figure 4A] 11 is a likelihood transition graph showing the transition of the likelihood for a visible image by an intermediate model generated by transfer learning. [Figure 4B] 11 is a likelihood transition graph showing the transition of the likelihood for a depth image by an intermediate model generated by transfer learning. [Figure 5A] FIG. 13 is a diagram showing the target range of a p-value table created for a visible image. [Figure 5B] FIG. 13 is a diagram showing the target range of a p-value table created for a depth image. [Figure 6A] p-value table in S1 for visible and depth images. [Figure 6B] p-value table in S2 for visible and depth images. [Figure 6C] p-value table in S3 for visible and depth images. [Figure 7] 4 is a flowchart showing a transfer learning method according to the first embodiment. [Figure 8] FIG. 11 is a diagram illustrating a configuration example of a transfer learning device according to a second embodiment. [Figure 9A] 13 is a p-value table for depth images. [Figure 9B] 13 is a p-value table for depth images. [Figure 9C] 13 is a p-value table for depth images. [Figure 10] 11 is a flowchart showing a transfer learning method according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Various embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Note that components with the same or similar reference numerals in the drawings have the same or similar configurations or functions, and redundant descriptions of such components will be omitted.
[0011] Embodiment 1 <Configuration> A transfer learning device 1 according to embodiment 1 of the present disclosure will be described with reference to Fig. 1 to Fig. 6C. Fig. 1 is a diagram showing a configuration of a transfer learning device 1 according to embodiment 1. The transfer learning device 1 is a device that performs transfer learning to transfer knowledge related to a transfer source (source) to a transfer destination (target).
[0012] 3, the transfer learning device 1 transfers knowledge of a model 1 related to the domain of a visible image that has been sufficiently learned about an object captured in a visible image, to generate a model 1' capable of determining an object captured in a depth image. In other words, the transfer learning device 1 is a device that performs heterogeneous transfer learning in which the feature spaces are different and the tasks are the same.
[0013] In the "before knowledge transfer" phase shown in FIG. 3, since model 1 is a trained model that has been sufficiently trained on visible images, it can properly determine what an object is for a visible image VI in which the object is captured. In FIG. 3, the likelihood of the correct answer label of the visible image is shown in gray. Since the likelihood of the correct answer label of the visible image is the maximum, a proper determination is made (shown by "◯" in the figure). However, model 1 cannot properly determine what an object is for a depth image DI in which the object is captured. In FIG. 3, the likelihood of the correct answer label of the depth image is shown by hatching. Since the likelihood of the correct answer label shown by hatching is not the maximum, a proper determination is not made (shown by "×" in the figure).
[0014] In the "after knowledge transfer" phase shown in FIG. 3, model 1' is a trained model generated by transfer learning using depth images based on model 1. Therefore, model 1' can properly determine what an object is in a depth image DI in which the object is captured. The likelihood of the correct answer label shown by hatching is maximum, so an appropriate determination is made (shown by "◯" in the figure). On the other hand, model 1' is trained for depth images, so as shown in FIG. 3, it is no longer possible to properly determine what an object is in a visible image VI in which the object is captured. The likelihood of the correct answer label for the visible image is not maximum, so an appropriate determination is not made (shown by "×" in the figure). Note that the degree of determination performance of model 1' for the domain of the knowledge transfer source changes depending on the degree of similarity between the domain of the knowledge transfer source and the domain of the knowledge transfer destination.
[0015] In FIG. 3, the “during knowledge transfer” phase between before and after knowledge transfer shows how the judgment results from the intermediate model change during knowledge transfer.
[0016] The transfer learning device 1 may generate a single model, for example, model 1', based on a plurality of models 1 to 3 related to the domain from which knowledge is transferred.
[0017] 1, in order to perform the above-mentioned transfer learning, the transfer learning device 1 includes a knowledge transfer learning unit 11, a knowledge transfer progress determination unit 12, a knowledge transfer repetition determination unit 13, and a knowledge transfer result output unit 14. The transfer learning device 1 is connected to a storage device 2 that stores data related to the knowledge from which the knowledge is to be transferred, a storage device 3 that stores data related to the knowledge to which the knowledge is to be transferred, and a storage device 4 that stores data related to the knowledge to which the knowledge is to be transferred after the knowledge is transferred, to form a transfer learning system.
[0018] The data stored in the storage device 2 is data of a trained model that has already been sufficiently trained. For example, trained model data for labeled visible images that have been sufficiently trained to determine whether an object shown in a visible image is a person, a car, or the like is stored. Examples of such trained models include ImageNet. The target of the trained model may be an image other than a visible image. For example, it may be an infrared image or a thermal image. In addition, the target of the trained model is not limited to an image. For example, the target of the trained model may be a two-dimensional measurement value or frequency distribution such as reflectance, reflection intensity, or frequency measured using a sensor not shown.
[0019] The data stored in the storage device 3 is learning data for the knowledge transfer destination. For example, learning data for depth images of people, cars, buildings, etc. is stored. Each depth image is labeled to indicate what object is shown. A depth image is also called a distance image, and is an image having distance values as pixel values. The learning data stored may be an image other than a depth image, or may be a two-dimensional measurement value or frequency distribution other than an image, as long as it is different from the modality of the data stored in the storage device 2.
[0020] The data stored in the storage device 4 stores data of the model after knowledge transfer. For example, when forming a new model using the knowledge of a trained model for a visible image stored in the storage device 2 and the trained data for a depth image stored in the storage device 3, the model after knowledge transfer is a trained model for a depth image.
[0021] (Knowledge Transfer Learning Department) Below, a more detailed description will be given of the configuration of the transfer learning device 1. The following description will be given on the assumption that the data stored in the storage device 2 is learned model data for visible images, and the data stored in the storage device 3 is learned data for depth images.
[0022] The knowledge transfer learning unit 11 is a functional unit that performs knowledge transfer learning using learning data on a second type of data different from the first type based on a trained model on a first type of data, and generates an intermediate model from the trained model. The knowledge transfer learning unit 11 performs such learning when the trained model and learning data are acquired for the first time, and when an output indicating that knowledge transfer learning is to be repeated is received from the knowledge transfer iteration determination unit 13. More specifically, the knowledge transfer learning unit 11 acquires data such as the structure of the neural network of the trained model on visible images and node weight coefficient data as data related to the modality (type of data) of the knowledge transfer source from the storage device 2. In addition, the knowledge transfer learning unit 11 acquires learning data on depth images as data related to the modality of the knowledge transfer destination from the storage device 3. Using these acquired data, the knowledge transfer learning unit 11 performs knowledge transfer learning using the learning data on depth images based on the trained model on visible images. The knowledge transfer learning is performed using a known technique described in Patent Document 1 and the like. The knowledge transfer learning unit 11 performs knowledge transfer learning to generate an intermediate model during knowledge transfer and outputs the generated intermediate model. The output intermediate model may be temporarily stored in a storage device (not shown).
[0023] By transfer learning, the intermediate model generated gradually adapts to the modality of the knowledge transfer destination. Figures 4A and 4B are diagrams showing this transformation. Figure 4A is a likelihood transition graph showing the transition of the likelihood for a visible image by an intermediate model generated by transfer learning. Figure 4B is a likelihood transition graph showing the transition of the likelihood for a depth image by an intermediate model generated by transfer learning. It is assumed that the correct answer label is label1 in both the knowledge transfer source and the knowledge transfer destination.
[0024] In Fig. 4A, since the base model is a trained model for visible images, in the phase immediately after the start of transfer learning, for example, at the stage of epoch numbers 1 to 10, the generated intermediate model determines with a high likelihood that the input visible image is an image of label 1. However, as transfer learning progresses, the intermediate model transforms into a model for depth images, so in the phase some time after the start of transfer learning, for example, at the stage of epoch numbers 41 to 50, the generated intermediate model can no longer determine with a high likelihood that the input visible image is an image of label 1.
[0025] On the flip side of this, as shown in Figure 4B, immediately after the start of transfer learning, the intermediate model is unable to determine with high likelihood that the input depth image is an image with label 1, but some time after the start of transfer learning, the intermediate model is able to determine with high likelihood that the input depth image is an image with label 1.
[0026] In FIG. 4A and FIG. 4B, a single trained model for visible images is assumed as the base model, but multiple trained models for visible images may be used as the base model. Since the multiple base models are generally trained using different data sets even for visible images with the same label, it is possible to improve the judgment accuracy of the generated trained model by integrating and transferring the knowledge of the multiple models. Assume that the base models are model 1, model 2, and model 3. In this case, in FIG. 4A and FIG. 4B, epoch numbers 1, 4, 7, 10, ... are assigned to the epochs of model 1, epoch numbers 2, 5, 8, 11, ... are assigned to the epochs of model 2, and epoch numbers 3, 6, 9, 12, ... are assigned to the epochs of model 3, and consecutive three epochs (epoch numbers 1 to 3, 4 to 6, 7 to 9, 10 to 12, ...) are processed as one unit, making it possible to transfer knowledge from multiple trained models in an integrated manner.
[0027] (Knowledge transfer progress assessment section) The knowledge transfer progress determination unit 12 is a functional unit that determines the progress of knowledge transfer learning. More specifically, the knowledge transfer progress determination unit 12 determines the progress of knowledge transfer learning by determining, by a multiple comparison test, whether the reference likelihood of learning data to which a reference label is attached is greater than the likelihoods of multiple learning data to which non-reference labels other than the reference label are attached, in the intermediate model generated by the knowledge transfer learning unit 11. Since it is unclear how much difference is required in the likelihoods to determine that there is a magnitude relationship, the determination is made by the multiple comparison test based on a common index, that is, a confidence rate or a confidence interval.
[0028] A multiple comparison test is a method for testing whether there is a difference between groups when measurements are taken for three or more groups. For example, the Dunnett's multiple comparison test described in the following Non-Patent Document 1 can be used as a method for performing a multiple comparison test. Note that the method of the multiple comparison test is not limited to the Dunnett method, and other methods such as the Williams test and Tukey test may also be used. Non-patent literature 1: Takaaki Shiraishi and Hiroshi Sugiura, "Theory and Numerical Calculation of Multiple Comparison Methods," Kyoritsu Shuppan Co., Ltd., pp. 76-81 (2018).
[0029] In Dunnett's multiple comparison test, when comparing the average values of a group of measurements, a value called a "tolerance" is calculated from the group of measurements from multiple trials according to the confidence rate p. If there is a relationship between the average value of the reference sample and the average values of each sample that exceeds this tolerance, it is determined that the relationship exists with the confidence rate p. The value of p that is the boundary between whether the relationship exists or not is called the p-value.
[0030] The knowledge transfer progress determination unit 12 calculates a p-value from the likelihood of image data input to the intermediate model in order to determine by multiple comparison testing whether the reference likelihood of learning data with a reference label is greater than the likelihood of multiple learning data with non-reference labels other than the reference label in the intermediate model output by the knowledge transfer learning unit 11. Since variations occur in epoch units, the p-value is calculated from the likelihood of image data in multiple epochs.
[0031] 6A to 6C are tables showing examples of calculated p-values. FIG. 6A shows a p-value table of section S1 in FIG. 5A showing the likelihood transition of a visible image, and a p-value table of section S1 in FIG. 5B showing the likelihood transition of a depth image. FIG. 6B shows a p-value table of section S2 in FIG. 5B showing the likelihood transition of a visible image, and a p-value table of section S2 in FIG. 5B showing the likelihood transition of a depth image. FIG. 6C shows a p-value table of section S3 in FIG. 5C showing the likelihood transition of a visible image, and a p-value table of section S3 in FIG. 5B showing the likelihood transition of a depth image. Note that the likelihood transition in FIG. 5A is the same as that in FIG. 4A, and the likelihood transition in FIG. 5B is the same as that in FIG. 4B. Section S1 is a section with epoch numbers 1 to 10, section S2 is a section with epoch numbers 21 to 30, and section S3 is a section with epoch numbers 41 to 50. A single multiple comparison test can evaluate the magnitude relationship between a certain label (e.g., label1) and multiple other labels (e.g., label2 to label6) as the reference, and the p-value for each cell in one column of the p-value table (e.g., the label1 column) is calculated. By performing a multiple comparison test with another label (e.g., label2) as the reference label, the magnitude relationship between that other label (e.g., label2) and multiple other labels (e.g., label1 and label3 to label6) can be evaluated as the reference, and the p-value for each cell in one column of the p-value table (e.g., the label2 column) is calculated.
[0032] According to the multiple comparison test, if the p-value of the cell where the column of the reference label number intersects with the row of the non-reference label other than the reference label is 0.05 or less, it can be concluded with 95% confidence that the score value of the non-reference label is smaller than that of the reference label. Also, if the p-value of all cells in the column of the reference label number is 0.05 or less, it can be said that the reference label is the largest.
[0033] By using such a multiple comparison test method and setting the correct answer label as the reference label, the knowledge transfer progress determination unit 12 determines whether the reference likelihood of the learning data to which the reference label (i.e., the correct answer label) is attached in the intermediate model output by the knowledge transfer learning unit 11 is greater than the likelihood of multiple learning data to which non-reference labels other than the reference label are attached, and outputs the result of the determination. Note that when the reference label is label1, the non-reference labels correspond to label2 to label6.
[0034] (Knowledge transfer iteration judgment part) The knowledge transfer iteration determination unit 13 determines whether to repeat knowledge transfer learning based on the determination result output from the knowledge transfer progress determination unit 12. More specifically, the knowledge transfer iteration determination unit 13 determines not to repeat knowledge transfer learning if it is shown that the reference likelihood of the reference label is greater than the likelihoods of all non-reference labels other than the reference label, and determines to repeat knowledge transfer learning otherwise (if it is not shown that it is greater). The knowledge transfer iteration determination unit 13 outputs the result of the determination as to whether to repeat knowledge transfer learning.
[0035] (Knowledge transfer result output part) When the knowledge transfer result output unit 14 receives the result of the judgment by the knowledge transfer iteration judgment unit 13 that knowledge transfer learning will not be repeated, it regards the intermediate model as a trained model after knowledge transfer in which knowledge transfer has been completed, and outputs data of the trained model after knowledge transfer, which is the result of knowledge transfer, to the memory device 4.
[0036] Next, a hardware configuration example of the transfer learning device 1 will be described with reference to Figures 2A and 2B. The functional units of the transfer learning device 1 are realized by a processing circuitry. That is, the transfer learning device 1 includes a processing circuit for performing various operations such as knowledge transfer learning, knowledge transfer progress determination, knowledge transfer iteration determination, and knowledge transfer result output. The processing circuitry may be a dedicated processing circuit 100a as shown in Figure 2A, or a computer including a processor 100b that executes a program stored in a memory 100c as shown in Figure 2B.
[0037] When the processing circuitry is a dedicated processing circuit 100a, the dedicated processing circuit 100a may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (application specific integrated circuit), an FPGA (field-programmable gate array), or a combination of these. The functions of each of the knowledge transfer learning unit 11, the knowledge transfer progress determination unit 12, the knowledge transfer iteration determination unit 13, and the knowledge transfer result output unit 14 may be realized by a plurality of separate processing circuits, or the functions of each unit may be realized by a single processing circuit.
[0038] When the processing circuitry is the processor 100b, the functions of the knowledge transfer learning unit 11, the knowledge transfer progress determination unit 12, the knowledge transfer iteration determination unit 13, and the knowledge transfer result output unit 14 are realized by software, firmware, or a combination of software and firmware. The software and firmware are written as programs and stored in the memory 100c. The processor 100b realizes the functions of each unit by reading and executing the programs stored in the memory. That is, the memory 100c is provided for storing a program (transfer learning program) that will result in the execution of steps such as a step of performing knowledge transfer learning, a step of determining the knowledge transfer progress, a step of performing knowledge transfer iteration determination, and a step of outputting the knowledge transfer result. Here, examples of memory 100c include non-volatile or volatile semiconductor memory such as RAM (random access memory), ROM (read-only memory), flash memory, EPROM (erasable programmable read only memory), EEPROM (electrically erasable programmable read-only memory), etc., as well as magnetic disks, flexible disks, optical disks, compact disks, mini disks, and DVDs.
[0039] The functions of the knowledge transfer learning unit 11, the knowledge transfer progress determination unit 12, the knowledge transfer repetition determination unit 13, and the knowledge transfer result output unit 14 may be partially realized by dedicated hardware and partially realized by software or firmware. In this way, the processing circuit can realize each of the above-mentioned functions by hardware, software, firmware, or a combination of these.
[0040] <Operation> Next, the operation of the transfer learning device 1 will be described with reference to Fig. 7. In step S1, the knowledge transfer learning unit 11 performs knowledge transfer learning based on a trained model for a first type of data, using trained data for a second type of data different from the first type, to generate an intermediate model from the trained model.
[0041] In step S2, the knowledge transfer progress determination unit 12 determines by multiple comparison testing whether the reference likelihood of the learning data to which the reference label is assigned is greater than the likelihood of multiple learning data to which non-reference labels other than the reference label are assigned, in the intermediate model generated by the knowledge transfer learning unit 11. The knowledge transfer progress determination unit 12 outputs the result of the determination.
[0042] In step S3, the knowledge transfer iteration determination unit 13 determines whether to repeat the knowledge transfer learning based on the determination result output from the knowledge transfer progress determination unit 12. More specifically, the knowledge transfer iteration determination unit 13 determines not to repeat the knowledge transfer learning if it is shown that the reference likelihood of the reference label is greater than the likelihoods of all non-reference labels other than the reference label, and otherwise (if it is not shown that it is greater), determines to repeat the knowledge transfer learning. If it is determined to repeat, the process returns to step S1, and if it is determined not to repeat, the process proceeds to step S4.
[0043] In step S4, if the knowledge transfer result output unit 14 receives the result of the judgment made by the knowledge transfer iteration judgment unit 13 that it will not be repeated, it regards the intermediate model as a trained model after knowledge transfer in which knowledge transfer has been completed, and outputs data of the trained model after knowledge transfer, which is the result of knowledge transfer.
[0044] According to the transfer learning device 1 described above, the degree of learning progress of learning data with multiple non-reference labels attached to it relative to learning data with a reference label can be evaluated for each non-reference label. Therefore, it is possible to identify learning data with delayed progress in transfer learning, and a basis is provided for focused learning of learning data with delayed progress in transfer learning. Therefore, it is possible to shorten the learning time by transfer learning.
[0045] Embodiment 2 <Configuration> Next, a transfer learning device 1' according to embodiment 2 of the present disclosure will be described with reference to Figures 8 to 9C. The transfer learning device 1' according to embodiment 2 differs from the transfer learning device 1 according to embodiment 1 in that a learning data selection unit 15 is added. In response to the addition of the learning data selection unit 15, the function of a knowledge transfer progress determination unit 12' included in the transfer learning device 1' is slightly different from that of the knowledge transfer progress determination unit 12 of the transfer learning device 1.
[0046] In the transfer learning device 1' according to the second embodiment, the knowledge transfer progress determination unit 12' determines the progress of knowledge transfer learning by determining whether there is learning data in which the progress of knowledge transfer is delayed. The determination as to whether such learning data exists is made by identifying non-reference labels having p-values smaller than a predetermined value from the results of the multiple comparison test. In this way, when it is not determined that the reference likelihood is greater than the likelihoods of multiple learning data to which non-reference labels are respectively assigned, the knowledge transfer progress determination unit 12' identifies non-reference labels having p-values smaller than a predetermined value from the results of the multiple comparison test.
[0047] The learning data selection unit 15 is a functional unit that selects learning data that contributes to the reference likelihood not being determined to be greater than the likelihood of multiple learning data when the reference likelihood is not determined to be greater than the likelihood of multiple learning data to which non-reference labels are respectively attached. More specifically, the learning data selection unit 15 selects (i.e., acquires) learning data to which the label specified by the knowledge transfer progress determination unit 12′ is attached from the storage device 3, and supplies the selected learning data to the knowledge transfer learning unit 11. The knowledge transfer learning unit 11 performs transfer learning using the learning data selected by the learning data selection unit 15.
[0048] For example, referring to Fig. 9A, the knowledge transfer progress determination unit 12' identifies label6 from column C1 with reference label number 1 in the p-value table of Fig. 9A calculated from the likelihood of depth images in epoch numbers 26 to 35. Label6 is identified based on whether the p-value is a predetermined value, for example, 0.05 or less. The learning data selection unit 15 selects learning data with label6 from the storage device 3, and supplies the selected learning data to the knowledge transfer learning unit 11.
[0049] In FIG. 9A, the p-values of label1 to label5 being equal to or less than a predetermined value indicates that the learning of label1 to label5 has progressed sufficiently. On the other hand, the p-value of label6 being greater than a predetermined value indicates that the learning of label6 has not progressed sufficiently. Therefore, we focus on learning label6, whose learning progress is slower than the other labels.
[0050] By focusing on learning the depth image of label6, the p-value of label6 is dramatically reduced as shown in Fig. 9B and Fig. 9C. Fig. 9B is a p-value table calculated from the likelihood of the depth image in epoch numbers 27 to 36, and Fig. 9C is a p-value table calculated from the likelihood of the depth image in epoch numbers 28 to 37. By focusing on learning the depth image of label6, the p-value of label6 is reduced to 0.33 in column C2 of Fig. 9B and to 0.00 in column C3 of Fig. 9C.
[0051] In this way, by focusing on learning data for which the learning progress is slow, it is possible to reduce the number of times that the data for which the learning progress is slow, and therefore it is possible to shorten the learning time required for the entire transfer learning.
[0052] The hardware of the transfer learning device 1′ can be realized by the example configuration of FIG. 2A or FIG. 2B, similarly to the example configuration of the hardware of the transfer learning device 1 according to the first embodiment.
[0053] <Operation> Next, the operation of the transfer learning device 1 will be described with reference to Fig. 10. Steps S1, S3, and S4 are similar to those in Fig. 7, and therefore redundant description will be omitted.
[0054] In step S2', the knowledge transfer progress determination unit 12 determines whether there is any learning data in which the progress of knowledge transfer is delayed. If there is any delayed learning data, the process proceeds to step S5. If there is no delayed learning data, the process proceeds to step S3.
[0055] In step S5, the learning data selection unit 15 selects from the storage device 3 the learning data for which the knowledge transfer progress determination unit 12 has determined that the progress of knowledge transfer is delayed, and supplies the selected learning data to the knowledge transfer learning unit 11. After that, the process returns to step S1.
[0056] It is possible to combine the embodiments, and to modify or omit each embodiment as appropriate. [Industrial Applicability]
[0057] The transfer learning device disclosed herein can be used as a device for transferring and utilizing knowledge about model assets that have already been sufficiently learned through machine learning, and can be used in technical fields such as video analysis. [Explanation of symbols]
[0058] 1 (1') transfer learning device, 2 memory device, 3 memory device, 4 memory device, 11 knowledge transfer learning unit, 12 (12') knowledge transfer progress determination unit, 13 knowledge transfer iteration determination unit, 14 knowledge transfer result output unit, 15 learning data selection unit, 100a processing circuit, 100b processor, 100c memory.
Claims
1. A knowledge transfer learning unit that performs knowledge transfer learning using learning data on a second type of data different from the first type based on a trained model on a first type of data, and generates an intermediate model from the trained model; a knowledge transfer progress determination unit that determines whether a reference likelihood of learning data to which a reference label is assigned is greater than the likelihoods of multiple learning data to which non-reference labels other than the reference label are assigned, in the generated intermediate model, by a multiple comparison test; A transfer learning device comprising:
2. a learning data selection unit that, when it is determined that the reference likelihood is not greater than the likelihoods of the plurality of learning data, selects learning data that contributes to the reference likelihood not being determined to be greater than the likelihoods of the plurality of learning data; The transfer learning device of claim 1 , further comprising:
3. a knowledge transfer iteration determination unit that determines to end the knowledge transfer learning when it is determined that the reference likelihood is greater than the likelihoods of the plurality of learning data; The transfer learning device according to claim 1 or 2, further comprising:
4. A transfer learning method performed by a transfer learning device including a knowledge transfer learning unit and a knowledge transfer progress determination unit, The knowledge transfer learning unit performs knowledge transfer learning based on a trained model for a first type of data, using training data for a second type of data different from the first type, to generate an intermediate model from the trained model; a step of determining a knowledge transfer progress degree by a knowledge transfer progress determination unit determining whether a reference likelihood of learning data to which a reference label is assigned is greater than the likelihoods of a plurality of learning data to which non-reference labels other than the reference label are assigned, in the generated intermediate model, by a multiple comparison test; The transfer learning method includes:
5. A function of performing knowledge transfer learning based on a trained model for a first type of data, using training data for a second type of data different from the first type, to generate an intermediate model from the trained model; a function of determining a progress of knowledge transfer by determining whether a reference likelihood of learning data to which a reference label is assigned is greater than the likelihoods of multiple learning data to which non-reference labels other than the reference label are assigned, using a multiple comparison test, in the generated intermediate model; A transfer learning program that runs on a computer.
Citation Information
Patent Citations
Information processing device, program, and information processing method
JP2020160804A
Abnormality degree calculating system and method thereof
JP2022128256A
Information processing device, information processing system, information processing method, and computer program
JP2021135726A
