Learning device, program, and learning method

JPWO2024084685A5Active Publication Date: 2024-09-11MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023566608
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-10-21
Publication Date
2024-09-11
Estimated Expiration
2042-10-21

AI Technical Summary

Technical Problem

Conventional transfer learning requires extensive feature learning from a large amount of data, which is time-consuming, and often fails to include features effective for the target domain.

Method used

A learning device and method that selects effective features for the target domain using a first classifier, followed by learning a second classifier using the source domain, optimizing feature selection based on resource availability and importance.

Benefits of technology

Enables efficient transfer learning by selecting features relevant to the target domain, reducing learning time and resource load while ensuring high performance.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The learning device (100) includes a feature selection classifier training unit that trains a feature selection classifier using a target domain, a feature selection unit (104) that selects effective features in the feature selection classifier, and a final classifier training unit (106) that trains a final classifier that extracts the selected features and performs classification using the source domain.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a learning device, a program, and a learning method. [Background technology]

[0002] Machine learning, which performs inference by learning from existing data, has become widely used. When performing learning, for example, supervised learning data is used, but in order to perform inference with high accuracy, a large amount of data is required, and collecting supervised learning data is expensive.

[0003] For this reason, a technique called transfer learning has been used in recent years. In transfer learning, knowledge learned from a large amount of supervised data in a source domain is transferred to a target domain, making it possible to learn a high-performance and robust classifier even with a small amount of supervised data in the target domain (see, for example, Non-Patent Document 1). [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Liu, Tianjiao, et al. “Feature selection and thyroid nodule classification using transfer learning.” 2017 IEEE 14th International Symposium on Biomedical Imaging (ISBI 2017), IEEE, 2017 Summary of the Invention [Problem to be solved by the invention]

[0005] However, in conventional transfer learning, when learning is performed using the source domain, learning with many features from a large amount of data is required, which takes a long time.

[0006] In addition, since conventional transfer learning only learns from the source domain, there is a possibility that features that are effective in the target domain may not be included in the features learned in the source domain.

[0007] Therefore, one or more aspects of the present disclosure aim to enable efficient transfer learning using features that are effective in a target domain. [Means for solving the problem]

[0008] A learning device according to an embodiment of the present disclosure includes: 1. A computer-implemented learning device, comprising: a first learning unit that learns a first classifier using a target domain; A selection number determination unit that determines a selection number according to resources of the computer; Selecting effective features in the first classifier In order to select the number of features, the importance of each feature is calculated, and the number of features is selected in order of importance. and a second learning unit that uses a source domain to learn a second classifier that extracts the selected features and performs classification.

[0009] A program according to an embodiment of the present disclosure includes: a first learning unit that learns a first classifier by using a target domain; a selection number determination unit that determines a selection number according to resources of the computer; Selecting effective features in the first classifier In order to select the number of features, the importance of each feature is calculated, and the number of features is selected in order of importance. The present invention is characterized in that the second classifier, which extracts the selected features and performs classification, functions as a feature selection unit that performs classification using the source domain, and a second learning unit that performs classification using the selected features.

[0010] A learning method according to an embodiment of the present disclosure includes: 1. A computer-implemented method of learning, comprising: Training a first classifier using the target domain; Identifying the number of selections according to the resources of the computer; Selecting effective features in the first classifier calculating an importance of each of the features, and selecting the selected number of features in order of decreasing importance; The method is characterized in that a second classifier that extracts the selected features and performs classification is trained using a source domain. Effect of the Invention

[0011] According to one or more aspects of the present disclosure, transfer learning can be performed efficiently using features that are effective in a target domain. [Brief description of the drawings]

[0012] [Figure 1] 1 is a block diagram illustrating a schematic configuration of a learning device according to a first embodiment. [Diagram 2] FIG. 1 is a block diagram showing a schematic configuration of a computer. [Diagram 3] 4 is a flowchart showing a learning operation in the learning device. [Figure 4] FIG. 11 is a block diagram illustrating a schematic configuration of a learning device according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Embodiment 1 FIG. 1 is a block diagram illustrating a schematic configuration of a learning device 100 according to the first embodiment. The learning device 100 according to the first embodiment performs transfer learning to transfer a learning device trained using a source domain to a target domain. Here, the source domain is a data set from which the learning device is transferred, and the target domain is a data set to which the learning device is transferred. Typically, the source domain is a large data set that is accurately labeled, and the target domain is a data set that is smaller in amount than the source domain. In other words, the source domain has a larger amount of data than the target domain. The target domain and the source domain differ in at least one of the type of input data, the type of output data, and the probability distribution.

[0014] Here, the source domain is described as a data set using natural image data showing an image generated by an imaging element that converts an optical signal into an electrical signal, and the target domain is described as a data set using ultrasound images showing ultrasound images obtained by transmitting ultrasound from the surface of the body to the inside of the body and imaging the reflected waves. However, the first embodiment is not limited to such an example.

[0015] The learning device 100 includes a target domain acquisition unit 101, a feature selection classifier training unit 102, a feature selection classifier storage unit 103, a feature selection unit 104, a source domain acquisition unit 105, a final classifier training unit 106, and a final classifier storage unit 107.

[0016] The target domain acquisition unit 101 acquires a target domain. The source from which the target domain is acquired may be anywhere. For example, the target domain acquisition unit 101 may acquire the target domain from a network such as the Internet via a communication I / F (Interface) serving as a communication unit (not shown), or may acquire the target domain from an auxiliary storage device serving as a storage unit (not shown) provided in the learning device 100. The acquired target domain is provided to the feature selection classifier training unit 102 and the final classifier training unit 106.

[0017] The feature selection classifier training unit 102 uses the target domain to train a feature selection classifier that is a classifier used to select effective features in the target domain. In the first embodiment, the target domain includes output data in a classification task when the classifier is actually used. For example, the feature selection classifier is a classifier for discriminating between benign and malignant nodules from ultrasound images in order to detect cancer in an ultrasound examination. The feature selection classifier is also referred to as a first classifier, and the feature selection classifier training unit 102 is also referred to as a first training unit.

[0018] The feature selection classifier storage unit 103 stores the feature selection classifier trained by the feature selection classifier training unit 102 .

[0019] The feature selection unit 104 acquires a feature selection classifier from the feature selection classifier storage unit 103 . The feature selection unit 104 selects features that are effective in the feature selection classifier. This allows the feature selection unit 104 to select features that are effective for the target domain using the feature selection classifier. For example, the feature selection unit 104 selects a plurality of features such that the most effective feature in the feature selection classifier is included. In the first embodiment, the feature selection unit 104 calculates the importance of each feature, and selects a predetermined number of features in descending order of importance. The feature selection unit 104 stores the features effective for the selected target domain in the feature selection classifier storage unit 103 .

[0020] The feature selection may be performed using a known method such as a filter method, a wrapper method, or an embedding method. Here, the feature selection unit 104 extracts HoG (Histogram of Oriented Gradient) features from the feature selection classifier, classifies them using a Random Forest classifier, and calculates the importance of each feature. Then, the feature selection unit 104 selects effective features by selecting a predetermined number of features in order of importance.

[0021] The source domain acquisition unit 105 acquires a source domain. The source domain may be acquired from anywhere. For example, the source domain acquisition unit 105 may acquire the target domain from a network such as the Internet via a communication I / F (Interface) serving as a communication unit (not shown), or may acquire the source domain from an auxiliary storage device serving as a storage unit (not shown) provided in the learning device 100. The acquired source domain is provided to the final classifier learning unit 106.

[0022] The final classifier training unit 106 is a second training unit that trains, by using the source domain, a final classifier that is a second classifier that extracts the features selected by the feature selection unit 104 and performs classification. For example, the final classifier training unit 106 uses the source domain to train a classifier having a feature extraction part that extracts features selected by the feature selection unit 104 and a classification processing part that performs classification using the features extracted by the feature extraction part.

[0023] Here, when the target domain and the source domain are the same classification task, the final classifier training unit 106 uses the classifier trained in the source domain as the final classifier as is. On the other hand, when the target domain and the source domain are not the same classification task, the final classifier training unit 106 generates a final classifier by re-training, in the target domain, only the classification processing part of the classifier trained in the source domain. The final classifier includes a feature extraction section that extracts the features selected by the feature selection section 104, and a classification processing section that performs classification using the features extracted by the feature extraction section.

[0024] Then, the final classifier training unit 106 may perform additional training using a portion of the labeled data of the target domain. The final classifier learning unit 106 stores the classifier learned as described above in the final classifier storage unit 107 as a final classifier.

[0025] The learning device 100 described above can be realized, for example, by a computer 10 as shown in FIG. The computer 10 includes an auxiliary storage device 11 such as an HDD (Hard Disk Drive) and an SSD (Solid State Drive), a memory 12, a communication I / F 13 such as a NIC (Network Interface Card), and a processor 14 such as a CPU (Central Processing Unit).

[0026] Specifically, the target domain acquisition unit 101, the feature selection classifier training unit 102, the feature selection unit 104, the source domain acquisition unit 105 and the final classifier training unit 106 can be realized by the processor 14 loading a program stored in the auxiliary storage device 11 into the memory 12 and executing the program.

[0027] Furthermore, the feature selection classifier storage unit 103 and the final classifier storage unit 107 can be realized by the processor 14 using the auxiliary storage device 11 .

[0028] The above programs may be downloaded to the auxiliary storage device 11 from a recording medium via a reading / writing device (not shown) or from a network via the communication I / F 13, or may be directly loaded into the memory 12 from the network via the communication I / F 13. In other words, the programs may be provided via a program product.

[0029] FIG. 3 is a flowchart showing the learning operation in learning device 100. First, the feature selection classifier training unit 102 trains a feature selection classifier by using the target domain acquired by the target domain acquisition unit 101 (S10). The trained feature selection classifier is stored in the feature selection classifier storage unit 103.

[0030] The feature selection unit 104 uses a feature selection classifier stored in the feature selection classifier storage unit 103 to select features that are effective for the target domain by a known method (S11).

[0031] The final classifier learning unit 106 generates a final classifier having a feature extraction part that extracts the features selected by the feature selection unit 104, and a classification processing part that performs classification using the features extracted by the feature extraction part (S12).

[0032] Then, the final classifier training unit 106 trains a final classifier by using the source domain acquired by the source domain acquisition unit 105 (S13). The trained final classifier is stored in the final classifier storage unit 107.

[0033] As described above, according to the first embodiment, features that are effective in the target domain are selected from the feature selection classifier trained from the target domain, and a final classifier is generated so as to extract the selected features. Therefore, even if the final classifier is trained using a source domain different from the target domain, the final classifier always extracts features that are effective in the target domain.

[0034] In addition, since features that are effective in the target domain are selected from a feature selection classifier trained in the target domain, which typically has a smaller amount of data than the source domain, the time and resource load required for training and feature selection can be reduced.

[0035] Embodiment 2 FIG. 4 is a block diagram illustrating a schematic configuration of a learning device 200 according to the second embodiment. The learning device 200 according to the second embodiment also performs transfer learning, in which a learning device trained using a source domain is transferred to a target domain.

[0036] The learning device 200 includes a target domain acquisition unit 101, a feature selection classifier training unit 202, a feature selection classifier storage unit 103, a feature selection unit 204, a source domain acquisition unit 105, a final classifier training unit 106, a final classifier storage unit 107, and a selection number determination unit 208.

[0037] The target domain acquisition unit 101, the feature selection classifier storage unit 103, the source domain acquisition unit 105, the final classifier training unit 106, and the final classifier storage unit 107 of the learning device 200 according to embodiment 2 are similar to the target domain acquisition unit 101, the feature selection classifier storage unit 103, the source domain acquisition unit 105, the final classifier training unit 106, and the final classifier storage unit 107 of the learning device 100 according to embodiment 1.

[0038] However, in the second embodiment, the target domain acquisition unit 101 provides the acquired target domain to the feature selection classifier training unit 102. Furthermore, the final classifier training unit 106 uses the learning device trained using the source domain as the final classifier as it is.

[0039] The feature selection classifier training unit 202 uses the target domain to train a feature selection classifier that is a classifier used to select effective features in the target domain. In the second embodiment, the feature selection classifier training unit 202 trains the feature selection classifier by known self-supervised learning. In other words, the feature selection classifier training unit 202 trains the feature selection classifier by known self-supervised auxiliary task. For this reason, in the second embodiment, the target domain does not require training data.

[0040] The selection number specifying unit 208 specifies a selection number, which is the number of features to be selected by the feature selecting unit 204 . For example, the selection number specifying unit 208 specifies the selection number, which is the number of features to be selected, according to the resources of a computer for realizing the learning device 200. In other words, the selection number specifying unit 208 specifies the selection number according to the resources used as the learning device 200. Specifically, the more abundant the resources are, the greater the selection number will be. The resources here include the processing power of a processor and memory capacity, etc.

[0041] The feature selection unit 204 selects features that are effective for the target domain using a feature selection classifier. In the second embodiment, the feature selection unit 204 selects features in descending order of importance, the number of selections being specified by the selection number specification unit 208.

[0042] The above-described learning device 200 can also be realized by, for example, a computer 10 as shown in FIG. Specifically, the selection number specification unit 208 can also be realized by the processor 14 loading a program stored in the auxiliary storage device 11 into the memory 12 and executing the program.

[0043] As described above, according to the second embodiment, the learning device 200 can select an optimal number of features depending on the resources available thereto, thereby enabling efficient learning.

[0044] In the above-described first and second embodiments, the learning devices 100 and 200 include the feature selection classifier storage unit 103 and the final classifier storage unit 107, but the first and second embodiments are not limited to such examples. For example, at least one of the feature selection classifier storage unit 103 and the final classifier storage unit 107 may be provided in a storage server, such as a cloud, connected to a network such as the Internet. In such a case, it is sufficient that the learning devices 100 and 200 are capable of communicating with the storage server via the network to which the storage server is connected. [Explanation of symbols]

[0045] 100,200 Learning device, 101 Target domain acquisition unit, 102 Feature selection classifier learning unit, 103 Feature selection classifier memory unit, 104,204 Feature selection unit, 105 Source domain acquisition unit, 106 Final classifier learning unit, 107 Final classifier memory unit, 208 Selection number determination unit.

Claims

1. A learning device implemented by a computer, comprising: a first learning unit that learns a first classifier using a target domain; A selection number determination unit that determines a selection number according to resources of the computer; a feature selection unit that calculates an importance of each feature in order to select effective features in the first classifier, and selects the selected number of features in order of decreasing importance; a second learning unit that learns a second classifier that extracts the selected features and performs classification using a source domain. A learning device characterized by:

2. The source domain is a data set that is different from the target domain in at least one of the type of input data, the type of output data, and the probability distribution, and has a larger amount of data than the target domain.

2. The learning device according to claim 1,

3. The selection number specifying unit specifies a larger selection number as the resource becomes more abundant.

2. The learning device according to claim 1,

4. The selection number determination unit is configured to increase the selection number as the resource becomes more abundant.

3. The learning device according to claim 2,

5. A first learning unit that learns a first classifier using a target domain; a feature selection unit that selects effective features in the first classifier; a second learning unit that learns a second classifier that extracts the selected features and performs classification using a source domain; The second learning unit generates the second classifier by using a classifier trained in the source domain as the second classifier when the target domain and the source domain are the same classification task, and by re-learning only a classification processing portion of the classifier trained in the source domain in the target domain when the target domain and the source domain are not the same classification task. A learning device characterized by:

6. The source domain is a data set that is different from the target domain in at least one of the type of input data, the type of output data, and a probability distribution, and has a larger amount of data than the target domain.

6. The learning device according to claim 5,

7. A first learning unit that learns a first classifier using a target domain; a feature selection unit that selects effective features in the first classifier; a second learning unit that learns a second classifier that extracts the selected features and performs classification using a source domain; The second learning unit performs additional learning using a portion of the labeled data of the target domain. A learning device characterized by:

8. The source domain is a data set that is different from the target domain in at least one of the type of input data, the type of output data, and a probability distribution, and has a larger amount of data than the target domain. The learning device according to claim 7 .

9. The first learning unit learns the first classifier by self-supervised learning. The learning device according to any one of claims 1 to 8, characterized in that

10. Computer, a first training unit for training a first classifier using a target domain; a selection number determination unit that determines a selection number according to resources of the computer; a feature selection unit that calculates an importance of each feature and selects the number of features in descending order of importance in order to select effective features in the first classifier; and A second classifier that extracts the selected features and performs classification is made to function as a second learning unit that learns the second classifier using a source domain. A program characterized by.

11. A computer-implemented learning method comprising: training a first classifier using the target domain; Identifying the number of selections according to the resources of the computer; calculating an importance of each feature in order to select effective features in the first classifier, and selecting the selected number of features in order of decreasing importance; training a second classifier using the source domain to extract the selected features and perform classification; A learning method characterized by: