Learning device, learning method, and program
The learning device addresses the challenge of increased computational complexity and explanatory loss in identification models by evaluating feature contributions, generating a more efficient identification model with reduced computational load and improved explainability.
Patent Information
- Application Number
- JP2023059739
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-16
AI Technical Summary
As the number of features used by identification models increases, real-time processing becomes difficult, and the models lose their explanatory ability, leading to a higher risk of misrecognition and increased computational complexity.
A learning device that extracts and evaluates the contribution of first and second feature quantities, generating an identification model with reduced computational load by adjusting the input layer size based on the contribution of high-value features.
The solution suppresses the decrease in accuracy and computational load, enabling real-time processing, facilitating feature effectiveness analysis, and reducing the need for specialized knowledge in model generation and verification.
Smart Images

Figure 2024146993000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a learning device, a learning method, and a program. [Background technology]
[0002] In recent years, classification models that perform various classification processes have become known, such as a process of classifying still images based on objects captured in the still images, or a process of identifying the behavior of people captured in moving images.
[0003] For example, in a process of identifying the behavior of a person appearing in a video, features such as a skeleton feature of the person appearing in the video, a movement feature of the person appearing in the video, information on a target object appearing in the video, and depth information of the object appearing in the video can be used. In general, many features are used to realize such an identification process with high accuracy.
[0004] For example, non-patent document 1 describes an example in which RGB (Red, Green, Blue) images and optical flow images are used as features to recognize human actions such as "sitting" or "standing" from moving images.
[0005] Furthermore, Non-Patent Document 2 describes an example in which skeletal features of a worker, information about a target object used in the work, and information about the worker's surroundings are each used as features to recognize part assembly work performed by a robot and a worker as an example of a person.
[0006] Furthermore, Non-Patent Document 3 describes an example in which RGB images, optical flow images, and human skeletal features are each used as features to precisely identify actions such as serving, attacking, or defending by a person playing table tennis. [Prior art documents] [Non-patent literature]
[0007] [Non-licensed document 1] Hongda Jiang et.al, "Rethinking Fusion Baselines for Multi-modal Human Action Recognition", [online], PCM 2018, [Reiwa March 24, 2018], インターネット<https: / / link.springer.com / chapter / 10.1007 / 978-3-030-00764-5_17>
Non-licensed Document 2
Non-licensed Document 4
[0008] However, as the number of features used by the classification model increases, the amount of calculations required for the classification model increases, which may make it difficult to perform real-time processing using the classification model.
[0009] Furthermore, there is a concern that as the number of features used by a discriminative model increases, the discriminative model will lose greater explanatory power. As the discriminative model loses greater explanatory power, it is more likely that the discriminative model will become difficult to use.
[0010] Therefore, it is desirable to generate a classification model that suppresses a decrease in accuracy while suppressing an increase in the amount of calculation. [Means for solving the problem]
[0011] In order to solve the above problem, according to an aspect of the present invention, there is provided a learning device including: a first feature extraction unit that extracts a first feature based on analysis data; a second feature extraction unit that extracts a second feature based on the analysis data; an analysis unit that calculates a contribution of the first feature and a contribution of the second feature to classification using the analysis model based on the first feature, the second feature, and an analysis model; a model generation unit that generates a classification model with a smaller amount of calculation than the analysis model based on the contribution of the first feature and the contribution of the second feature; and a learning unit that trains the classification model based on the classification model, training data, and teacher data. Note that each of the analysis model and the classification model may be an example of a learning model generated by machine learning.
[0012] The first feature amount may be a first overall feature amount including a plurality of partial feature amounts, the second feature amount may be a second overall feature amount including a plurality of partial feature amounts, a contribution degree of the first feature amount may be a contribution degree of the first overall feature amount, and a contribution degree of the second feature amount may be a contribution degree of the second overall feature amount.
[0013] The model generation unit may determine, from the first overall feature amount and the second overall feature amount, one of the overall feature amount having a higher contribution degree as a high-contribution overall feature amount, and generate the classification model based on the high-contribution overall feature amount and the analysis model.
[0014] The model generation unit may generate the classification model by adjusting a size of an input layer of the analysis model based on the number of partial features included in the high-contribution overall feature.
[0015] The model generation unit may determine a high-contribution partial feature amount based on a contribution degree of each of a plurality of partial feature amounts included in the high-contribution overall feature amount, and generate the classification model based on the high-contribution partial feature amounts.
[0016] The model generation section may determine, as the high-contribution partial feature, a partial feature having a contribution degree higher than a threshold value among respective contribution degrees of a plurality of partial feature amounts included in the high-contribution overall feature amount.
[0017] The first feature amount may be a plurality of partial feature amounts included in a first overall feature amount, the second feature amount may be a plurality of partial feature amounts included in a second overall feature amount, a contribution degree of the first feature amount may be a contribution degree of each of the plurality of partial feature amounts included in the first overall feature amount, and a contribution degree of the second feature amount may be a contribution degree of each of the plurality of partial feature amounts included in the second overall feature amount.
[0018] The model generation unit may determine high-contribution partial features based on a plurality of partial features included in the first overall feature amount and a plurality of partial feature amounts included in the second overall feature amount, and generate the classification model based on the high-contribution partial features.
[0019] The model generation unit may determine, as the high-contribution partial feature amount, a partial feature amount having a degree of contribution higher than a threshold value, from among a plurality of partial feature amounts included in the first overall feature amount and a plurality of partial feature amounts included in the second overall feature amount.
[0020] The model generation unit may generate the classification model by adjusting a size of an input layer of the analysis model based on the number of the high-contribution partial feature amounts.
[0021] The model generation unit may acquire selection information for selecting candidates for the high-contribution partial feature amount, select a first candidate from a plurality of partial feature amounts included in the first overall feature amount based on the selection information, and select a second candidate from a plurality of partial feature amounts included in the second overall feature amount based on the selection information, and determine the high-contribution partial feature amount based on a contribution degree of the first candidate and a contribution degree of the second candidate.
[0022] Each of the analysis model and the identification model may identify a person's behavior.
[0023] In order to solve the above problem, according to another aspect of the present invention, there is provided a learning method executed by a computer, including: extracting first feature amounts based on analytical data; extracting second feature amounts based on the analytical data; calculating contributions of the first feature amount and the second feature amount to classification using the analytical model based on the first feature amount, the second feature amount, and an analytical model; generating a classification model requiring a smaller amount of calculations than the analytical model based on the contributions of the first feature amount and the second feature amount; and training the classification model based on the classification model, training data, and teacher data.
[0024] In order to solve the above-mentioned problem, according to another aspect of the present invention, there is provided a program that causes a computer to function as a learning device including a first feature extraction unit that extracts a first feature based on analysis data; a second feature extraction unit that extracts a second feature based on the analysis data; an analysis unit that calculates a contribution of the first feature and a contribution of the second feature to classification using the analytical model based on the first feature, the second feature, and an analytical model; a model generation unit that generates a classification model requiring a smaller amount of calculation than the analytical model based on the contribution of the first feature and the contribution of the second feature; and a learning unit that learns the classification model based on the classification model, training data, and teacher data. Effect of the Invention
[0025] As described above, according to the present invention, a technique is provided for generating a classification model that suppresses a decrease in accuracy while suppressing an increase in the amount of calculation. [Brief description of the drawings]
[0026] [Figure 1] FIG. 13 is a diagram showing an example of skeletal features of a person appearing in a moving image. [Diagram 2]1A and 1B are diagrams illustrating examples of movement features of a person appearing in a moving image. [Diagram 3] FIG. 2 is a diagram showing an example of information about a target object appearing in a video. [Figure 4] FIG. 11 is a diagram showing an example of depth information of an object appearing in a moving image. [Diagram 5] FIG. 13 is a diagram for explaining an overview of a classification process using a classification model according to a comparative example. [Figure 6] FIG. 1 is a diagram for explaining an overview of a classification process using a classification model according to an embodiment of the present invention. [Figure 7] FIG. 2 is a diagram illustrating an example of a functional configuration of a learning device according to an embodiment of the present invention. [Figure 8] FIG. 2 is a diagram for explaining the operation of the learning device 10 in the analysis stage. [Figure 9] FIG. 2 is a diagram for explaining the operation of the learning device 10 in the application stage. [Figure 10] FIG. 13 is a diagram showing an example of a plurality of partial feature amounts included in a skeletal feature amount F1. [Figure 11] FIG. 13 is a diagram showing an example of the contribution degree of each of the first partial feature amount f11 to the eighth partial feature amount f18. [Figure 12] FIG. 1 is a diagram illustrating a hardware configuration of an information processing device 900 as an example of a learning device 10 according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are designated by the same reference numerals, and duplicated explanations will be omitted.
[0028] (0. Overview) First, an overview of the embodiment of the present invention will be described.
[0029] In recent years, classification models that perform various classification processes have become known, such as a process of classifying still images based on objects captured in the still images, or a process of identifying the behavior of people captured in moving images.
[0030] For example, in the process of identifying the behavior of a person appearing in a video, features such as a skeleton feature of a person appearing in the video, a movement feature of a person appearing in the video, information on a target object appearing in the video, and depth information of an object appearing in the video may be used. Here, examples of the skeleton feature of a person appearing in the video, the movement feature of a person appearing in the video, information on a target object appearing in the video, and depth information of an object appearing in the video will be described with reference to Figs. 1 to 4.
[0031] FIG. 1 is a diagram showing an example of a skeletal feature of a person appearing in a video. Referring to FIG. 1, a skeletal feature F1 is shown as an example of a skeletal feature of a person appearing in a video. In the example shown in FIG. 1, the skeletal feature F1 includes eleven joint positions present on the person. However, the number of joint positions included in the skeletal feature F1 is not limited to eleven. Note that the skeletal feature F1 may be an example of an overall feature.
[0032] The first partial feature f11 is the position of the joint "left wrist" shown as a representative of the 11 joint positions. For example, the joint position can be expressed by the two-dimensional coordinates (a combination of the X and Y coordinates of the joint) of the joint shown in the moving image. Note that the joint position is an example of the position of a part that constitutes the human body. Therefore, the position of a part other than a joint may be used instead of the joint position.
[0033] FIG. 2 is a diagram showing an example of a movement feature of a person appearing in a video. Referring to FIG. 2, a movement feature F2 is shown as an example of a movement feature of a person appearing in a video. In the example shown in FIG. 2, the movement feature F2 includes movement vectors of six joints present in the person. However, the number of movement vectors of the joints included in the movement feature F2 is not limited to six. Note that the movement feature F2 may be an example of an overall feature.
[0034] The first partial feature f21 is the movement vector of the joint "left wrist" shown as a representative of the movement vectors of six joints. For example, the movement vector of a joint can be expressed by a two-dimensional vector (a combination of the amount of change in the X coordinate and the amount of change in the Y coordinate of the joint) indicating the movement direction and the amount of movement per unit time of the joint captured in the moving image. Note that the movement vector of a joint is an example of a movement vector of a part that constitutes the human body. Therefore, instead of the movement vector of a joint, a movement vector of a part other than a joint may be used.
[0035] FIG. 3 is a diagram showing an example of information about a target object appearing in a video. Referring to FIG. 3, information F3 about the target object is shown as an example of information about a target object appearing in a video. In the example shown in FIG. 3, the information F3 about the target object includes information about five objects (one rectangular parallelepiped object, two cylindrical objects, one workbench, and one plate-like object) used by a person for work. However, the number of pieces of information about objects included in the information F3 about the target object is not limited to five. Note that the information F3 about the target object may correspond to an example of an overall feature amount.
[0036] The first partial feature f31 is information about the object "plate-shaped object" shown as a representative of the information about the five objects. For example, the information about the object may be expressed by the type of object (e.g., a tool used for work) that appears in the video. For example, when a person is performing assembly work, the tool used for the work may be a screw for fixing parts.
[0037] FIG. 4 is a diagram showing an example of depth information of an object appearing in a moving image. Referring to FIG. 4, depth information F4 is shown as an example of depth information of an object appearing in a moving image. In the example shown in FIG. 4, the depth information F4 is composed of the depth of each pixel in the depth image, and the depth of each pixel is indicated by the shade of color. Specifically, in the depth information F4, it is shown that the deeper the color of a pixel is, the lower the depth of the pixel is. Note that the depth information F4 may correspond to an example of an overall feature amount.
[0038] The first partial feature f41 is the depth of one pixel shown as a representative of the depths of each pixel included in the depth image.
[0039] Generally, in order to realize such classification processing with high accuracy, many features are used as described above. However, as the number of features used by the classification model increases, the amount of calculations of the classification model increases, which may make it difficult to perform real-time processing using the classification model.
[0040] Furthermore, there is a concern that as the number of features used by the discriminative model increases, the discriminative model will lose its explanatory power to a greater extent.
[0041] For example, as a classification model loses explanatory power significantly, it becomes difficult to grasp which feature values are effective for classification processing using the classification model, and even if a classification model generates a misclassification, it becomes difficult to analyze the cause of the misclassification. In addition, as a classification model loses explanatory power significantly, specialized knowledge becomes necessary to generate a classification model suitable for a new classification process, and the cost of verifying the accuracy of the generated classification model also increases.
[0042] For these reasons, as the number of features used by the classification model increases, the possibility that the classification model will not be easily usable increases. Therefore, in this specification, a technique for generating a classification model that suppresses a decrease in accuracy while suppressing an increase in the amount of calculation will be mainly described. Here, the difference between the classification model according to the comparative example and the classification model according to the embodiment of the present invention will be described with reference to Figs. 5 and 6.
[0043] Fig. 5 is a diagram for explaining an overview of a classification process using a classification model according to a comparative example. Referring to Fig. 5, a classification model 40 according to the comparative example is shown. The classification model 40 according to the comparative example is a trained model. For example, the classification model 40 according to the comparative example is configured by a trained neural network.
[0044] Here, it is assumed that the classification model 40 according to the comparative example is configured by a Temporal Convolutional Network (TCN). However, the classification model 40 according to the comparative example may be configured by a neural network other than a TCN. For example, the classification model 40 according to the comparative example may be configured by a Recurrent Neural Network (RNN), a Convolution Neural Network (CNN), or a Graph Convolutional Network (GCN).
[0045] 5, t is the time axis, along which t = 0, 1, 2, 3, . . . , T-1, T are shown. The classification model 40 according to the comparative example includes processing units x(0), x(1), x(2), x(3), . . . , x(T-1), x(T) of the input layer, corresponding to times t = 0, 1, 2, 3, . . . , T-1, T.
[0046] Each of the processing units x(0), x(1), x(2), x(3), . . ., x(T-1), x(T) in the input layer is configured to include five nodes. Note that the number of nodes included in each of the processing units x(0), x(1), x(2), x(3), . . ., x(T-1), x(T) in the input layer is not limited to five.
[0047] Similarly, the classification model 40 according to the comparative example includes intermediate layer processing units y(0), y(1), y(2), y(3), . . . , y(T-1), y(T).
[0048] Each of the processing units y(0), y(1), y(2), y(3), . . . , y(T-1), y(T) in the middle layer is configured to include five nodes. Note that the number of nodes included in each of the processing units y(0), y(1), y(2), y(3), . . . , y(T-1), y(T) in the middle layer is not limited to five. Furthermore, here, it is mainly assumed that the number of layers in the middle layer y is one. However, the number of layers in the middle layer y is not limited to one.
[0049] The classification model 40 according to the comparative example includes processing units z(0), z(1), z(2), z(3), . . ., z(T-1), and z(T) in the output layer. Each of the processing units z(0), z(1), z(2), z(3), . . ., z(T-1), and z(T) in the output layer is configured to include five nodes. Note that the number of nodes included in each of the processing units z(0), z(1), z(2), z(3), . . ., z(T-1), and z(T) in the output layer is not limited to five.
[0050] A skeletal feature F1 of a person appearing in a video is extracted from a frame corresponding to time t=0 among a plurality of frames included in the video. For ease of explanation, it is assumed here that the skeletal feature F1 includes a first partial feature f11, a second partial feature f12, and a third partial feature f13. Each of the first partial feature f11, the second partial feature f12, and the third partial feature f13 is a part of the skeletal feature F1. Note that the number of partial features included in the skeletal feature F1 is not limited.
[0051] Note that the skeleton feature F1 is merely one example of the overall feature. Therefore, other overall feature may be used instead of the skeleton feature F1. For example, information on a target object appearing in a moving image may be used instead of the skeleton feature F1, or depth information of an object appearing in a moving image may be used.
[0052] Similarly, a movement feature F2 of a person appearing in a video is extracted from a frame corresponding to time t=1 among a plurality of frames included in the video. For ease of explanation, it is assumed here that the movement feature F2 includes a first partial feature f21 and a second partial feature f22. Each of the first partial feature f21 and the second partial feature f22 is a part of the movement feature F2. Note that the number of partial features included in the movement feature F2 is not limited.
[0053] Note that the movement feature is merely one example of the overall feature. Therefore, other overall feature may be used instead of the movement feature. For example, information on a target object appearing in a moving image may be used instead of the movement feature, or depth information of an object appearing in a moving image may be used.
[0054] For example, a skeleton feature F1 and a movement feature F2 extracted from a frame corresponding to time t=0 are input to a processing unit x(0) of the input layer corresponding to time t=0. Similarly, a skeleton feature and a movement feature extracted from a frame corresponding to time t=1 are input to a processing unit x(1) of the input layer corresponding to time t=1. Moreover, a skeleton feature and a movement feature extracted from a frame corresponding to time t=2 are input to a processing unit x(2) of the input layer corresponding to time t=2. Moreover, a skeleton feature and a movement feature extracted from a frame corresponding to time t=3 are input to a processing unit x(3) of the input layer corresponding to time t=3.
[0055] Outputs based on the skeleton features and movement features input to these processing units x(0) to x(3) of the input layer are input to processing units y(1) to y(3) of the middle layer, and output is provided from processing unit z(3) of the output layer based on the outputs from the processing units y(1) to y(3) of the middle layer to processing unit z(3) of the output layer based on the inputs to the processing units y(1) to y(3) of the middle layer. Here, the number of processing units in each of the input layer x and the middle layer y corresponding to the processing unit of the output layer z is not limited.
[0056] For example, each of the five nodes constituting the processing unit z(3) of the output layer corresponds to an operation such as "inserting a part" or "removing a part," and an operation corresponding to a node with a high output value is identified as an operation performed by a worker appearing in a video. In other words, when t is an integer between 3 and N, an operation at time t is identified from an output value output from the processing unit z(t) of the output layer based on the skeleton feature and movement feature input to the processing units x(t-3) to x(t) of the input layer.
[0057] 5, in the comparative example, it is unclear which of the first partial feature f11, the second partial feature f12, and the third partial feature f13 included in the skeleton feature F1 is effective for classification. Therefore, it is essential that the entire skeleton feature F1 is input to the processing unit x(0) of one input layer.
[0058] Similarly, in the comparative example, it is unclear which of the first partial feature f21 and the second partial feature f22 included in the movement feature F2 is effective for classification. Therefore, it is essential that the entire movement feature F2 is input to the processing unit x(0) of one input layer.
[0059] Fig. 6 is a diagram for explaining an overview of the classification process using a classification model according to an embodiment of the present invention. Referring to Fig. 6, a skeleton feature F1 and a movement feature F2 are shown, similarly to Fig. 5. Note that the classification model 40 shown in Fig. 5 is used as an analysis model in the embodiment of the present invention. Therefore, in the following description, the classification model 40 shown in Fig. 5 is referred to as the "analysis model 40".
[0060] For example, assume that in the analysis stage, analysis unit 130 determines that movement feature F2 is not effective for classification by analytical model 40. Furthermore, assume that in the analysis stage, analysis unit 130 determines that the first partial feature f11 of skeletal feature F1 is not effective for classification, but the two partial features, the second partial feature f12 and the third partial feature f13, are effective for classification.
[0061] At this time, in the analysis stage, the number of nodes constituting each of the processing units x(0) to x(T) of the input layer in the analytical model 40 is adjusted so as to match the number of partial features determined to be effective for classification by the analytical model 40. Furthermore, the number of nodes constituting each of the processing units y(0) to y(T) of the intermediate layer is adjusted so as to match the number of partial features determined to be effective for classification by the analytical model 40. In this way, a classification model 42 is generated.
[0062] 5 and 6, the number of nodes constituting each of the processing units x(0) to x(T) in the input layer and the number of nodes constituting each of the processing units y(0) to y(T) in the intermediate layer in the analysis model 40 are both reduced from five to three, thereby generating the classification model 42. Note that it is not necessary to adjust the number of nodes constituting each of the processing units y(0) to y(T) in the intermediate layer. In the application stage, the classification model 42 generated in this manner is trained.
[0063] The outline of the embodiment of the present invention has been described above.
[0064] 1. DETAILED DESCRIPTION OF THE EMBODIMENTS Next, the details of the embodiment of the present invention will be described.
[0065] (1-1. Description of the configuration) First, a configuration example of a learning device according to an embodiment of the present invention will be described. Fig. 7 is a diagram showing a functional configuration example of a learning device according to an embodiment of the present invention. As shown in Fig. 7, a learning device 10 according to an embodiment of the present invention includes a data unit 110, a feature extraction unit 120, an analysis unit 130, a discrimination model generation unit 140, and a learning unit 150.
[0066] The learning device 10 may be realized by a single computer, or may be realized by distributing the functions across multiple computers.
[0067] The feature extraction unit 120, the analysis unit 130, the discrimination model generation unit 140, and the learning unit 150 each include an arithmetic unit such as a CPU (Central Processing Unit), and their functions can be realized by the CPU expanding a program stored in a memory (not shown) into a RAM (Random Access Memory) and executing it. At this time, a computer-readable recording medium on which the program is recorded can also be provided.
[0068] Alternatively, the feature extraction unit 120, the analysis unit 130, the discrimination model generation unit 140, and the learning unit 150 may be configured by dedicated hardware, or may be configured by a combination of multiple hardware components.
[0069] (Data section 110) The data unit 110 may be configured with a memory. The data unit 110 stores analytical model training data used in the analysis stage and teacher data attached to the analytical model training data. The data unit 110 also stores analysis data. The data unit 110 also stores classification model training data used in the application stage and teacher data attached to the classification model training data.
[0070] The analysis model training data, the analysis data, and the classification model training data may be separate data, or may overlap at least partially with each other. In any case, the number of data in the analysis model training data is expected to be smaller than the number of data in the classification model training data.
[0071] Sensors for obtaining analysis model training data, analysis data, and classification model training data are installed in a predetermined environment. For example, the environment in which the sensors are installed may be a work site where workers perform work. However, the environment in which the sensors are installed is not limited to such an example. For example, the environment in which the sensors are installed may be a store where customers perform purchasing behavior. In this case, purchasing behavior by customers (e.g., behavior of taking a product off a shelf, behavior of returning a product to a shelf, etc.) is identified instead of the work by the workers.
[0072] For example, the analysis model training data, the analysis data, and the identification model training data are received by the learning device 10 via a network from sensors installed in such a specific environment, and are stored by the data unit 110.
[0073] Note that the subject of the behavior to be identified (e.g., work or purchasing behavior) is not limited to a person. For example, the subject of the behavior to be identified may be an object having one or more joints (e.g., an animal, a robot, etc.). For example, the robot may be an industrial robot.
[0074] (Feature extraction unit 120) The feature extraction unit 120 includes a first feature extraction unit 121 and a second feature extraction unit 122. The first feature extraction unit 121 is configured with a feature extractor that extracts a skeleton feature from data input to the first feature extraction unit 121. On the other hand, the second feature extraction unit 122 is configured with a feature extractor that extracts a movement feature from data input to the second feature extraction unit 122.
[0075] Here, each of the first feature extraction unit 121 and the second feature extraction unit 122 is configured with a neural network and is capable of learning. For example, the neural network configuring each of the first feature extraction unit 121 and the second feature extraction unit 122 may be a CNN or the like.
[0076] In the analysis stage, feature extraction unit 120 acquires analytical model learning data from data unit 110. Then, feature extraction unit 120 outputs the analytical model learning data acquired from data unit 110 to first feature extraction unit 121 and second feature extraction unit 122, respectively.
[0077] Furthermore, after the first feature extraction unit 121 and the second feature extraction unit 122 have completed learning, the feature extraction unit 120 outputs the analysis data acquired from the data unit 110 to each of the first feature extraction unit 121 and the second feature extraction unit 122.
[0078] Furthermore, in the application stage, the feature extraction unit 120 acquires classification model training data from the data unit 110. Then, the feature extraction unit 120 outputs the classification model training data acquired from the data unit 110 to each of the first feature extraction unit 121 and the second feature extraction unit 122.
[0079] (First feature extraction unit 121) The first feature extraction unit 121 extracts skeletal features from the analytical model learning data. Then, the first feature extraction unit 121 outputs the skeletal features extracted from the analytical model learning data to the analysis unit 130. This causes the first feature extraction unit 121 to learn based on the output value from the analytical model 40 and the teacher data attached to the analytical model learning data.
[0080] Furthermore, the trained first feature extraction unit 121 extracts a skeleton feature F1 from the analysis data. Then, the first feature extraction unit 121 outputs the skeleton feature F1 to the analysis unit 130 as an example of the first feature.
[0081] When it is determined that the contribution of the skeleton feature F1 is higher than the contribution of the movement feature F2, the first feature extraction unit 121 extracts a skeleton feature from the classification model training data. Then, the first feature extraction unit 121 outputs the skeleton feature extracted from the classification model training data to the learning unit 150. Then, the classification model 42 is trained based on the output value from the classification model 42 and the teacher data attached to the classification model training data.
[0082] (Second feature extraction unit 122) The second feature extraction unit 122 extracts movement features from the analytical model learning data. Then, the second feature extraction unit 122 outputs the movement features extracted from the analytical model learning data to the analysis unit 130. This causes the second feature extraction unit 122 to learn based on the output value from the analytical model 40 and the teacher data attached to the analytical model learning data.
[0083] Furthermore, the trained second feature extraction unit 122 extracts a movement feature amount F2 from the analysis data. Then, the second feature extraction unit 122 outputs the movement feature amount F2 to the analysis unit 130 as an example of the second feature amount.
[0084] If it is determined that the contribution of the representative value of the movement feature F2 is higher than the contribution of the representative value of the skeleton feature F1, the second feature extraction unit 122 extracts a movement feature from the classification model training data. Then, the second feature extraction unit 122 outputs the movement feature extracted from the classification model training data to the classification model 42. Then, the classification model 42 is trained based on the output value from the classification model 42 and the teacher data attached to the classification model training data.
[0085] (Analysis Department 130) In the analysis stage, analysis unit 130 acquires analytical model 40 from classification model generation unit 140. Then, analysis unit 130 inputs the skeleton feature extracted by first feature extraction unit 121 and the movement feature extracted by second feature extraction unit 122 from the analytical model learning data to analytical model 40, and acquires an output value output from analytical model 40. Furthermore, analysis unit 130 acquires, from data unit 110, teacher data attached to the analytical model learning data.
[0086] Analysis unit 130 performs training of first feature extraction unit 121 and second feature extraction unit 122 based on the output value output from analysis model 40 and the teacher data attached to the analysis model training data. For example, analysis unit 130 may update the weight parameters of first feature extraction unit 121 and second feature extraction unit 122 by an error backpropagation method based on the error between the output value output from analysis model 40 and the teacher data attached to the analysis model training data.
[0087] The analysis unit 130 acquires the skeleton feature F1 from the first feature extraction unit 121, and calculates a representative value of the skeleton feature F1. Based on the representative value of the skeleton feature F1, the analysis unit 130 calculates the contribution of the skeleton feature F1 to classification by the analytical model 40. For example, the representative value of the skeleton feature F1 may be an average value of the first partial feature f11, the second partial feature f12, and the third partial feature f13.
[0088] Furthermore, the analysis unit 130 acquires the movement feature F2 from the second feature extraction unit 122, and calculates a representative value of the movement feature F2. Based on the representative value of the movement feature F2, the analysis unit 130 calculates the contribution of the movement feature F2 to classification by the analytical model 40. For example, the representative value of the movement feature F2 may be the average value of the first partial feature f21 and the second partial feature f22.
[0089] Here, the relationship between the contribution degree and the representative value is not limited. As an example, the contribution degree may be calculated to be larger as the representative value is larger. The analysis unit 130 outputs the contribution degree of the skeleton feature amount F1 and the contribution degree of the movement feature amount F2 to the classification model generation unit 140.
[0090] (Discrimination model generation unit 140) The classification model generation unit 140 holds the analytical model 40, and in the analysis stage outputs the analytical model 40 to the analysis unit 130. The classification model generation unit 140 generates a classification model 42, which requires a smaller amount of calculation than the analytical model 40, based on the contribution degree of the skeleton feature amount F1 and the contribution degree of the movement feature amount F2.
[0091] The classification model generation unit 140 determines which of the skeleton feature amount F1 and the movement feature amount F2 has a higher contribution degree as the high-contribution overall feature amount. The classification model generation unit 140 generates a classification model 42 based on the high-contribution overall feature amount and the analytical model 40.
[0092] For example, the classification model generation unit 140 generates the classification model 42 by adjusting the size of the input layer x of the analytical model 40 based on the number of high-contribution overall features. More specifically, the classification model generation unit 140 adjusts the number of nodes constituting the processing units of the input layer of the analytical model 40 so that it matches the number of partial features included in the high-contribution overall features. In this way, the classification model 42 is generated.
[0093] In addition to adjusting the number of nodes constituting the processing units of the input layer of the analytical model 40, the discrimination model generation unit 140 may also adjust the number of nodes constituting the processing units of the intermediate layer of the analytical model 40 so that it matches the number of partial features included in the high-contribution global features.
[0094] The classification model generation unit 140 outputs the generated classification model 42 to the learning unit 150. At this time, the weight parameters of the classification model 42 output to the learning unit 150 may be the same as the weight parameters set in the analytical model 40, or may be set to initial values different from the weight parameters set in the analytical model 40.
[0095] (Learning section 150) The learning unit 150 acquires the discrimination model 42 from the learning unit 150. Furthermore, the learning unit 150 acquires, from the data unit 110, discrimination model training data and teacher data attached to the discrimination model training data.
[0096] The learning unit 150 learns the discrimination model 42 based on the discrimination model 42, the discrimination model training data, and the teacher data attached to the discrimination model training data. For example, the learning unit 150 may input the discrimination model training data to the discrimination model 42, and update the weight parameters of the discrimination model 42 by an error backpropagation method based on the error between the output value output from the discrimination model 42 and the teacher data attached to the discrimination model training data.
[0097] In the classification stage, the skeleton features extracted from the classification data by the first feature extraction unit 121 are input to the trained classification model 42 obtained in this manner. The trained classification model 42 performs classification corresponding to the skeleton features. At this time, the amount of calculation by the trained classification model 42 is expected to be smaller than the amount of calculation by the analysis model 40 based on the skeleton features and movement features.
[0098] An example of the configuration of the learning device 10 according to the embodiment of the present invention has been described above.
[0099] (1-2. Description of operation) Next, an example of the operation of the learning device 10 according to an embodiment of the present invention will be described. The operation of the learning device 10 will be described below with reference to Fig. 8 and Fig. 9. More specifically, the operation of the learning device 10 in the analysis stage will be described with reference to Fig. 8, and the operation of the learning device 10 in the application stage will be described in sequence with reference to Fig. 9.
[0100] (Analysis stage) FIG. 8 is a diagram for explaining the operation of learning device 10 in the analysis stage.
[0101] 8, the analytical model learning data obtained by sensor 160 and the teacher data attached to the analytical model learning data are stored in data unit 110. Feature extraction unit 120 acquires the analytical model learning data and the teacher data attached to the analytical model learning data from data unit 110.
[0102] The first feature extraction unit 121 extracts a skeletal feature from the analytical model learning data. Then, the first feature extraction unit 121 outputs the skeletal feature extracted from the analytical model learning data to the analysis unit 130. The analysis unit 130 inputs the skeletal feature extracted from the analytical model learning data to the analytical model 40, and performs learning of the first feature extraction unit 121 based on the output value from the analytical model 40 and the teacher data attached to the analytical model learning data.
[0103] The second feature extraction unit 122 extracts movement features from the analytical model learning data. Then, the second feature extraction unit 122 outputs the movement features extracted from the analytical model learning data to the analysis unit 130. The analysis unit 130 inputs the movement features extracted from the analytical model learning data to the analytical model 40, and performs learning of the second feature extraction unit 122 based on the output value from the analytical model 40 and the teacher data attached to the analytical model learning data.
[0104] The analysis data obtained by the sensor 160 is also stored by the data unit 110. The feature extraction unit 120 obtains the analysis data from the data unit 110.
[0105] The trained first feature extraction unit 121 extracts a skeleton feature F1 from the analysis data. Then, the first feature extraction unit 121 outputs the skeleton feature F1 to the analysis unit 130 as an example of the first feature.
[0106] The trained second feature extraction unit 122 extracts a movement feature amount F2 from the analysis data. Then, the second feature extraction unit 122 outputs the movement feature amount F2 to the analysis unit 130 as an example of the second feature amount.
[0107] The analysis unit 130 acquires the skeleton feature F1 from the first feature extraction unit 121, and calculates a representative value of the skeleton feature F1. For example, the representative value of the skeleton feature F1 may be an average value of the first partial feature f11, the second partial feature f12, and the third partial feature f13 included in the skeleton feature F1. The analysis unit 130 calculates the contribution of the skeleton feature F1 to the classification by the analytical model 40 based on the representative value of the skeleton feature F1. For example, the contribution of the skeleton feature F1 may be calculated to be greater as the representative value of the skeleton feature F1 increases.
[0108] The analysis unit 130 acquires the movement feature F2 from the second feature extraction unit 122, and calculates a representative value of the movement feature F2. For example, the representative value of the movement feature F2 may be an average value of the first partial feature f21 and the second partial feature f22 included in the movement feature F2. The analysis unit 130 calculates the contribution of the movement feature F2 to the classification by the analytical model 40 based on the representative value of the movement feature F2. For example, the contribution of the movement feature F2 may be calculated to be greater as the representative value of the movement feature F2 is larger.
[0109] The analysis unit 130 outputs the contribution degree of the skeleton feature amount F1 and the contribution degree of the movement feature amount F2 to the classification model generation unit 140. The classification model generation unit 140 generates a classification model 42 that requires a smaller amount of calculation than the analysis model 40, based on the contribution degree of the skeleton feature amount F1 and the contribution degree of the movement feature amount F2.
[0110] The classification model generation unit 140 determines, from the skeleton feature F1 and the movement feature F2, the feature with the higher contribution level as the high-contribution overall feature. Here, as shown in FIG. 8, a case is assumed in which the contribution level of the skeleton feature F1 is higher than the contribution level of the movement feature F2. In other words, a case is assumed in which the skeleton feature F1 is the high-contribution overall feature. The classification model generation unit 140 generates a classification model 42 based on the skeleton feature F1, which is the high-contribution overall feature, and the analysis model 40.
[0111] For example, the classification model generation unit 140 generates the classification model 42 by adjusting the size of the input layer x of the analytical model 40 based on the number of partial features included in the high-contribution overall feature. More specifically, the classification model generation unit 140 adjusts the number of nodes constituting the processing units of the input layer of the analytical model 40 so that it matches the number of partial features included in the high-contribution overall feature. In this way, the classification model 42 (FIG. 9) is generated.
[0112] In addition to adjusting the number of nodes constituting the processing units of the input layer of the analytical model 40, the discrimination model generation unit 140 may also adjust the number of nodes constituting the processing units of the intermediate layer of the analytical model 40 so that the number matches the number of partial features included in the high-contribution overall feature. The discrimination model generation unit 140 outputs the generated discrimination model 42 ( FIG. 9 ) to the learning unit 150.
[0113] (Application stage) FIG. 9 is a diagram for explaining the operation of the learning device 10 in the application stage.
[0114] 9, the classification model training data obtained by the sensor 160 and the teacher data attached to the classification model training data are stored in the data unit 110. The feature extraction unit 120 acquires the classification model training data and the teacher data attached to the classification model training data from the data unit 110.
[0115] Since the classification model generation unit 140 has determined that the contribution of the skeleton feature F1 is higher than the contribution of the movement feature F2, the first feature extraction unit 121 extracts a skeleton feature G1 from the classification model training data. The skeleton feature G1 includes a first partial feature g11, a second partial feature g12, and a third partial feature g13. The first feature extraction unit 121 then outputs the skeleton feature G1 extracted from the classification model training data to the learning unit 150.
[0116] The learning unit 150 inputs the skeletal feature G1 extracted from the classification model training data to the classification model 42. The learning unit 150 learns the classification model 42 based on the output value from the classification model 42 and the teacher data attached to the classification model training data.
[0117] In the classification stage, the skeleton features extracted from the classification data by the first feature extraction unit 121 are input to the trained classification model 42 obtained in this manner. The trained classification model 42 performs classification corresponding to the skeleton features. At this time, the amount of calculation by the trained classification model 42 is expected to be smaller than the amount of calculation based on the skeleton features and movement features by the analysis model 40 (FIG. 8).
[0118] An example of the operation of the learning device 10 according to the embodiment of the present invention has been described above.
[0119] (Hierarchical analysis of contributions) In the above, an example has been described in which the classification model 42 is generated based on the contributions of the skeleton feature F1 and the movement feature F2. More specifically, an example has been described in which the classification model 42 is generated based on the skeleton feature F1 that is determined to have a higher contribution from among the skeleton feature F1 and the movement feature F2.
[0120] However, the classification model 42 may be generated based on the contribution degree of each of a plurality of partial features included in the skeletal feature F1 that is determined to have a higher contribution degree. By generating the classification model 42 based on such a hierarchical analysis of features, it is expected that the classification model 42 requiring a smaller amount of calculations will be generated.
[0121] In the following, it is mainly assumed that the skeleton feature F1 includes eight partial feature amounts from the first partial feature amount to the eighth partial feature amount. However, the number of partial feature amounts included in the skeleton feature F1 is not limited to eight, and may be any number as long as it is more than one.
[0122] Fig. 10 is a diagram showing an example of a plurality of partial feature amounts included in the skeleton feature amount F1. As shown in Fig. 10, a first partial feature amount f11 to an eighth partial feature amount f18 are assumed as examples of a plurality of partial feature amounts included in the skeleton feature amount F1.
[0123] 10, the first partial feature f11 is the position of the joint "left wrist," the second partial feature f12 is the position of the joint "right wrist," the third partial feature f13 is the position of the joint "left elbow," and the fourth partial feature f14 is the position of the joint "right elbow."
[0124] Furthermore, the fifth partial feature f15 is the position of the joint "left shoulder", the sixth partial feature f16 is the position of the joint "right shoulder", the seventh partial feature f17 is the position of the joint "nose", and the eighth partial feature f18 is the position of the joint "neck".
[0125] The analysis unit 130 calculates the contribution degree of each of the first partial feature f11 to the eighth partial feature f18 included in the skeletal feature F1 determined to be a high-contribution overall feature. Here, the relationship between the contribution degree and the partial feature is not limited. As an example, the contribution degree may be calculated to be larger as the partial feature is larger. The analysis unit 130 outputs the first partial feature f11 to the eighth partial feature f18 to the classification model generation unit 140.
[0126] The classification model generation unit 140 determines a high-contribution partial feature based on the contribution degree of each of the first partial feature f11 to the eighth partial feature f18. For example, the classification model generation unit 140 determines a partial feature whose contribution degree is higher than a threshold value as a high-contribution partial feature, among the contribution degrees of each of the first partial feature f11 to the eighth partial feature f18.
[0127] Fig. 11 is a diagram showing an example of the contribution degree of each of the first partial feature amount f11 to the eighth partial feature amount f18. Referring to Fig. 11, the contribution degree of each of the first partial feature amount f11 to the eighth partial feature amount f18 is shown.
[0128] In the example shown in FIG. 11, the position of the joint "left wrist" which is the first partial feature f11, the position of the joint "right wrist" which is the second partial feature f12, the position of the joint "left elbow" which is the third partial feature f13, and the position of the joint "right elbow" which is the fourth partial feature f14 are high-contribution partial features whose importance is higher than a threshold value.
[0129] On the other hand, the fifth partial feature f15, which is the position of the joint “left shoulder”, the sixth partial feature f16, which is the position of the joint “right shoulder”, the seventh partial feature f17, which is the position of the joint “nose”, and the eighth partial feature f18, which is the position of the joint “neck”, are low-contribution partial features whose importance is lower than the threshold value.
[0130] The classification model generation unit 140 generates a classification model 42 based on the high-contribution partial feature amounts and the analytical model 40. For example, the classification model generation unit 140 generates the classification model 42 by adjusting the size of the input layer x of the analytical model 40 based on the number of high-contribution partial feature amounts. More specifically, the classification model generation unit 140 adjusts the number of nodes constituting the processing units of the input layer of the analytical model 40 so that it matches the number of high-contribution partial feature amounts. In this way, the classification model 42 is generated.
[0131] In addition to adjusting the number of nodes constituting the processing units of the input layer of analytical model 40, the discrimination model generation unit 140 may also adjust the number of nodes constituting the processing units of the intermediate layer of analytical model 40 so that it matches the number of high-contribution partial features.
[0132] An example of hierarchical analysis of contribution degree has been described above.
[0133] (2. Hardware configuration example) Next, a hardware configuration example of the learning device 10 according to an embodiment of the present invention will be described. Below, a hardware configuration example of an information processing device 900 will be described as a hardware configuration example of the learning device 10 according to an embodiment of the present invention. Note that the hardware configuration example of the information processing device 900 described below is merely one example of the hardware configuration of the learning device 10. Therefore, the hardware configuration of the learning device 10 may be such that unnecessary configurations are deleted from the hardware configuration of the information processing device 900 described below, or new configurations may be added.
[0134] 12 is a diagram showing a hardware configuration of an information processing device 900 as an example of the learning device 10 according to an embodiment of the present invention. The information processing device 900 includes a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, a RAM (Random Access Memory) 903, a host bus 904, a bridge 905, an external bus 906, an interface 907, an input device 908, an output device 909, a storage device 910, and a communication device 911.
[0135] The CPU 901 functions as an arithmetic processing device and control device, and controls the overall operation of the information processing device 900 in accordance with various programs. The CPU 901 may also be a microprocessor. The ROM 902 stores programs and arithmetic parameters used by the CPU 901. The RAM 903 temporarily stores programs used in the execution of the CPU 901 and parameters that change appropriately during the execution. These are connected to each other by a host bus 904 consisting of a CPU bus etc.
[0136] The host bus 904 is connected to an external bus 906, such as a PCI (Peripheral Component Interconnect / Interface) bus, via a bridge 905. It is not necessary to configure the host bus 904, bridge 905, and external bus 906 separately, and these functions may be implemented in a single bus.
[0137] The input device 908 is composed of input means such as a mouse, keyboard, touch panel, button, microphone, switch, and lever for the user to input information, and an input control circuit that generates an input signal based on the user's input and outputs it to the CPU 901. A user who operates the information processing device 900 can input various data to the information processing device 900 and instruct the information processing device 900 to perform processing operations by operating this input device 908.
[0138] The output device 909 includes, for example, a display device such as a CRT (Cathode Ray Tube) display device, a Liquid Crystal Display (LCD) device, an OLED (Organic Light Emitting Diode) device, or a lamp, and an audio output device such as a speaker.
[0139] The storage device 910 is a device for storing data. The storage device 910 may include a storage medium, a recording device for recording data in the storage medium, a reading device for reading data from the storage medium, and a deleting device for deleting data recorded in the storage medium. The storage device 910 is configured, for example, with an HDD (Hard Disk Drive). This storage device 910 drives a hard disk and stores programs executed by the CPU 901 and various data.
[0140] The communication unit 911 is, for example, a communication interface configured with a communication device for connecting to a network, etc. Also, the communication unit 911 may be compatible with either wireless communication or wired communication.
[0141] An example of the hardware configuration of the learning device 10 according to an embodiment of the present invention has been described above.
[0142] (3. Description of Effects) According to an embodiment of the present invention, a learning device 10 including a first feature extraction unit 121, a second feature extraction unit 122, an analysis unit 130, a discrimination model generation unit 140, and a learning unit 150 is provided.
[0143] Here, the first feature extraction unit 121 extracts a skeleton feature F1 based on the analysis data. The second feature extraction unit 122 extracts a movement feature F2 based on the analysis data. The analysis unit 130 calculates the contribution of the skeleton feature F1 and the movement feature F2 to classification using the analysis model 40 based on the skeleton feature F1, the movement feature F2, and the analysis model 40.
[0144] The classification model generation unit 140 generates a classification model 42 that requires a smaller amount of calculation than the analytical model 40, based on the contribution degree of the skeleton feature amount F1 and the contribution degree of the movement feature amount F2. The learning unit 150 learns the classification model 42 based on the classification model 42, the classification model training data, and teacher data attached to the classification model training data.
[0145] According to this configuration, the classification model 42 is generated while suppressing a decrease in accuracy and an increase in the amount of calculation.
[0146] Furthermore, with this configuration, an increase in the amount of calculation of the classification model 42 is suppressed, which may facilitate real-time processing by the classification model 42. Furthermore, with this configuration, the explanatory power lost by the classification model 42 is reduced, which makes it easier to grasp which feature values are effective for classification processing by the classification model 42, and even if a classification error occurs by the classification model 42, it becomes easier to analyze the cause of the error. Furthermore, with this configuration, the explanatory power lost by the classification model 42 is reduced, so that specialized knowledge is no longer essential to generate a classification model suitable for new classification processing, and the cost of verifying the accuracy of the generated classification model may also be reduced.
[0147] For this reason, even if the number of features used by the classification model 42 increases, the classification model 42 can be easily used.
[0148] (4. Various Modifications) Although the preferred embodiment of the present invention has been described in detail above with reference to the accompanying drawings, the present invention is not limited to such an example. It is clear that a person having ordinary knowledge in the technical field to which the present invention pertains can conceive of various modified or altered examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally belong to the technical scope of the present invention.
[0149] (Example of not using representative values) In the above, an example has been described in which the skeletal feature F1 output from the first feature extraction unit 121 to the analysis unit 130 corresponds to the first feature for which the contribution degree is calculated. However, the first partial feature f11, the second partial feature f12, and the third partial feature f13 included in the skeletal feature F1 may correspond to the first feature for which the contribution degree is calculated.
[0150] Similarly, in the above, an example has been described in which the movement feature F2 output from the second feature extraction unit 122 to the analysis unit 130 corresponds to the second feature for which the contribution degree is calculated. However, the first partial feature f21 and the second partial feature f22 included in the movement feature F2 may correspond to the second feature for which the contribution degree is calculated.
[0151] That is, the contribution degree of each of the first partial feature amount f11, the second partial feature amount f12, and the third partial feature amount f13 may correspond to the contribution degree of the first feature amount. Furthermore, the contribution degree of each of the first partial feature amount f21 and the second partial feature amount f22 may correspond to the contribution degree of the second feature amount.
[0152] At this time, the classification model generation unit 140 may determine the high-contribution partial feature based on the first partial feature f11, the second partial feature f12, the third partial feature f13, the first partial feature f21, and the second partial feature f22. For example, the classification model generation unit 140 may determine, among the first partial feature f11, the second partial feature f12, the third partial feature f13, the first partial feature f21, and the second partial feature f22, a partial feature whose contribution degree is higher than a threshold value as a high-contribution partial feature.
[0153] Then, similarly to the above, the classification model generation unit 140 may generate the classification model 40 based on the high-contribution partial feature amounts and the analytical model 40. For example, similarly to the above, the classification model generation unit 140 may generate the classification model 42 by adjusting the size of the input layer of the analytical model 40 based on the number of high-contribution partial feature amounts. In this way, the classification model 42 is generated.
[0154] (User inputs selection information) Depending on the environment in which the sensor is installed, some of the multiple partial features included in the skeleton feature F1 and the movement feature F2 may be excluded from the candidates for high-contribution partial feature. For example, when a person performs work using the upper body, the joint positions of the person's lower body and the movement vectors of the joints of the person's lower body may be excluded from the candidates for high-contribution partial feature.
[0155] At this time, the user may be able to input selection information for selecting candidates for high-contribution partial feature quantities for sensors installed in the environment. The selection information thus input by the user may be associated with the analytical model learning data. The selection information and the analytical model learning data may be stored in the data unit 110.
[0156] Then, the classification model generation unit 140 selects a first candidate from the multiple partial feature amounts included in the skeleton feature amount F1 based on the selection information. Furthermore, the classification model generation unit 140 selects a second candidate from the multiple partial feature amounts included in the movement feature amount F2 based on the selection information. The classification model generation unit 140 may determine a high-contribution partial feature amount based on the contribution degree of the first candidate and the contribution degree of the second candidate.
[0157] (Sensor variations) In the above, it is mainly assumed that each of the analysis model training data, the analysis data, and the classification model training data is a video image obtained by a camera. However, each of the analysis model training data, the analysis data, and the classification model training data may be sensor data other than a video image.
[0158] For example, each of the analysis model training data, the analysis data, and the classification model training data may be a still image obtained by a camera, or may be acoustic data obtained by a microphone. Alternatively, each of the analysis model training data, the analysis data, and the classification model training data may be a three-dimensional point cloud obtained by LiDAR (Light Detection And Ranging), or may be acceleration obtained by an acceleration sensor, or may be angular velocity obtained by a gyro sensor.
[0159] (Variations of the identification process) In the above, an example in which the analysis model 40 and the classification model 42 each classify a person's behavior has been mainly described. However, the classification process by the analysis model 40 and the classification model 42, respectively, is not limited to such an example. For example, the analysis model 40 and the classification model 42 each may perform other tasks, such as classifying sensor data (e.g., still images, etc.). [Explanation of symbols]
[0160] 10 Learning Device 110 Data Section 120 Feature Extraction Unit 121 First feature extraction unit 122 Second feature extraction unit 130 Analysis Department 140 Classification model generation unit 150 Learning Department 160 Sensors
Claims
1. a first feature extraction unit that extracts a first feature based on the analysis data; a second feature extraction unit that extracts a second feature based on the analysis data; an analysis unit that calculates a contribution degree of the first feature amount and a contribution degree of the second feature amount to classification using the analytical model based on the first feature amount, the second feature amount, and an analytical model; a model generation unit that generates a classification model with a smaller amount of calculation than the analysis model, based on the contribution degree of the first feature amount and the contribution degree of the second feature amount; a learning unit that learns the classification model based on the classification model, training data, and teacher data; A learning device comprising:
2. the first feature amount is a first overall feature amount including a plurality of partial feature amounts, the second feature is a second overall feature including a plurality of partial features, the contribution degree of the first feature amount is a contribution degree of the first overall feature amount, the contribution degree of the second feature amount is the contribution degree of the second overall feature amount; The learning device according to claim 1 .
3. the model generation unit determines, from among the first overall feature amount and the second overall feature amount, an overall feature amount having a higher degree of contribution as a high-contribution overall feature amount, and generates the classification model based on the high-contribution overall feature amount and the analysis model. The learning device according to claim 2 .
4. the model generation unit generates the classification model by adjusting a size of an input layer of the analysis model based on the number of partial features included in the high-contribution overall feature. The learning device according to claim 3 .
5. the model generation unit determines a high-contribution partial feature based on a contribution degree of each of a plurality of partial feature amounts included in the high-contribution overall feature amount, and generates the classification model based on the high-contribution partial feature amounts. The learning device according to claim 4.
6. the model generation unit determines, as the high-contribution partial feature, a partial feature having a contribution degree higher than a threshold value among contribution degrees of each of a plurality of partial feature amounts included in the high-contribution overall feature amount; The learning device according to claim 5 .
7. the first feature amount is a plurality of partial feature amounts included in a first overall feature amount, the second feature amount is a plurality of partial feature amounts included in a second overall feature amount, the contribution degree of the first feature amount is a contribution degree of each of a plurality of partial feature amounts included in the first overall feature amount, the contribution degree of the second feature amount is a contribution degree of each of a plurality of partial feature amounts included in the second overall feature amount; The learning device according to claim 1 .
8. the model generation unit determines a high-contribution partial feature amount based on a plurality of partial feature amounts included in the first overall feature amount and a plurality of partial feature amounts included in the second overall feature amount, and generates the classification model based on the high-contribution partial feature amount. The learning device according to claim 7.
9. the model generation unit determines, as the high-contribution partial feature amount, a partial feature amount having a contribution degree higher than a threshold value, from among a plurality of partial feature amounts included in the first overall feature amount and a plurality of partial feature amounts included in the second overall feature amount. The learning device according to claim 8.
10. the model generation unit generates the classification model by adjusting a size of an input layer of the analysis model based on the number of the high-contribution partial feature amounts. A learning device according to claim 5 or 8.
11. The model generation unit obtaining selection information for selecting candidates for the high-contribution partial feature; selecting a first candidate from a plurality of partial characteristic amounts included in the first overall characteristic amount based on the selection information, and selecting a second candidate from a plurality of partial characteristic amounts included in the second overall characteristic amount based on the selection information; determining the high-contribution portion feature amount based on the contribution degree of the first candidate and the contribution degree of the second candidate; A learning device according to claim 5 or 8.
12. each of the analysis model and the classification model classifies a person's behavior; The learning device according to claim 1 .
13. Extracting a first feature amount based on the analysis data; extracting a second feature amount based on the analysis data; calculating a contribution of the first feature amount and a contribution of the second feature amount to classification using the analytical model based on the first feature amount, the second feature amount, and an analytical model; generating a classification model having a smaller amount of calculation than the analysis model based on a contribution degree of the first feature amount and a contribution degree of the second feature amount; learning the classification model based on the classification model, training data, and teacher data; A computer-implemented learning method comprising:
14. Computer, a first feature extraction unit that extracts a first feature based on the analysis data; a second feature extraction unit that extracts a second feature based on the analysis data; an analysis unit that calculates a contribution degree of the first feature amount and a contribution degree of the second feature amount to classification using the analytical model based on the first feature amount, the second feature amount, and an analytical model; a model generation unit that generates a classification model with a smaller amount of calculation than the analysis model, based on the contribution degree of the first feature amount and the contribution degree of the second feature amount; a learning unit that learns the classification model based on the classification model, training data, and teacher data; A program that functions as a learning device having the above-mentioned features.
Citation Information
Patent Citations
Information processing equipment, information processing method
JP2018010626A
Improved machine learning for plant disease infection detection
JP2022505741A
Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
US20180005106A1
