Information processing apparatus, imaging apparatus, method, and program
The information processing device optimizes task combinations in neural networks by identifying low-performing tasks and combining them with similar misdetected images or using classification models, enhancing multitask learning accuracy in resource-constrained environments.
Patent Information
- Application Number
- JP2023028840
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
AI Technical Summary
When multiple tasks are assigned to a neural network (NN), there is a trade-off in recognition performance between tasks, especially in resource-constrained environments, leading to increased learning time and reduced accuracy, and there is no effective method to determine a suitable combination of tasks for multitask learning.
An information processing device determines a suitable combination of tasks by identifying the task with the lowest inference accuracy and combining it with another task based on the similarity of incorrectly detected images or using a classification model to identify a second task, thereby optimizing the network structure for improved multitask learning.
This approach allows for efficient determination of task combinations that enhance the inference accuracy of the neural network, achieving target recognition performance even in resource-constrained environments.
Smart Images

Figure 2024121635000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an imaging device, a method, and a program. [Background technology]
[0002] There are technologies that allow computers and other machines to learn and recognize the contents of data such as images and sounds. The purpose of a computer's recognition process is called a "recognition task," and the mathematical model used to learn and execute a recognition task is called a "recognition model."
[0003] Recognition tasks include, for example, object detection tasks that detect specific objects (people, animals, vehicles, etc.) from within an image. There is also a region detection task called semantic region segmentation that detects objects on a pixel-by-pixel basis in an image. There are also various other recognition tasks, such as an object category recognition task that distinguishes the category (human, animal, vehicle, etc.) of an object (subject) in an image, a tracking task that searches for and tracks a specific subject, and a scene type recognition task that distinguishes the type of scene (city, mountain, coast, etc.). Hereinafter, recognition tasks will be referred to as "tasks".
[0004] Neural networks (NN) are known for learning and executing tasks such as those mentioned above. A deep (large number of layers) multi-layer neural network is also called a deep neural network (DNN). DNN stands for Deep Neural Network. In particular, a deep convolutional neural network is called a deep convolutional neural network (DCNN). DCNN stands for Deep Convolutional Neural Network. DCNN has been attracting attention in recent years due to its high performance (recognition accuracy, recognition performance).
[0005] There is a method called "multitask learning" in which multiple tasks are learned and executed using one recognition model. For example, Non-Patent Document 1 describes a method of learning multiple tasks using one DNN with multiple output units for multiple tasks. In Non-Patent Document 1, a part of the DNN has a shared layer that uses the same layer for all tasks, and the shared layer learns using the learning data of all tasks. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Patent No. 6750854 [Non-patent literature]
[0007] [Non-Patent Document 1] Caruana, R. (1997) "Multitask learning, Machine learning" 28(1), 41-75 [Non-Patent Document 2] A. Krizhevsky et al. "ImageNet Classification with Deep Convolutional Neural Networks", Proc. Advances in Neural Information Processing Systems 25 (NIPS 2012). Summary of the Invention [Problem to be solved by the invention]
[0008] However, when multiple tasks are assigned to one NN, depending on the task combination, there are cases where the NN's recognition performance for one task improves while its recognition performance for the other tasks declines. In particular, when the scale of the NN is small, there is a competition between tasks for features, which tends to create a trade-off in the recognition performance between the tasks of the NN. If the combination of tasks assigned to the NN is incorrect, it takes a long time for the NN to learn and the NN will not be able to achieve the target recognition performance.
[0009] In a situation where large-scale computational resources are available and the scale of the NN can be increased, the learning time and recognition performance of the NN are not an issue. However, in a situation where high-speed processing and low power consumption are required, the scale of the NN must be as small as possible, so the learning time and recognition performance of the NN become an issue. For example, when a NN is installed in an electronic device such as a camera or a smartphone, the computational resources are limited, so the scale of the NN must be reduced, and the learning time and recognition performance of the NN become an issue.
[0010] On the other hand, the combination of multiple tasks to be assigned to one NN is often determined based on human experience, intuition, and the similarity of detection targets. Therefore, there are no examples of suitable methods for combining tasks to be assigned to a NN. In addition, it is impossible to consider all task combinations one by one in order to determine suitable task combinations to be assigned to a NN. In particular, the more tasks that can be assigned to a NN become, the more difficult it becomes in terms of development resources to consider all task combinations one by one.
[0011] Patent Document 1 discloses a method for reducing the network size by determining whether or not to make a specific layer a shared layer between multiple multilayer neural networks, but does not disclose a suitable method for combining multiple tasks to be assigned to multiple NNs, respectively.
[0012] Therefore, an object of the present invention is to determine an optimal combination of tasks when performing multi-task learning by assigning multiple tasks to multiple networks. [Means for solving the problem]
[0013] In order to achieve the object of the present invention, an information processing device according to one embodiment of the present invention includes a decision means for determining a first task from among a plurality of different tasks based on a result of a plurality of trained models each performing a different task inferring each of the evaluation data corresponding to the respective different tasks, and the decision means determines a second task to be combined with the first task based on a first inference result in which a first trained model performing the first task erroneously infers first evaluation data corresponding to the first task. Effect of the Invention
[0014] According to the present invention, when performing multi-task learning by allocating a plurality of tasks to a plurality of networks, a suitable combination of tasks can be determined. [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 is a functional block diagram of an information processing apparatus according to a first embodiment. [Diagram 2] FIG. 2 is a functional block diagram of an evaluation unit according to the first embodiment. [Diagram 3] FIG. 4 is a functional block diagram of a combination determination unit according to the first embodiment. [Figure 4] 5 is a flowchart illustrating the flow of processing executed by the information processing device according to the first embodiment. [Diagram 5] FIG. 2 is a diagram for explaining the configuration of an initial state of a NN according to the first embodiment. [Figure 6] 5A to 5C are views for explaining erroneous detection images of the recognition model for a head detection task according to the first embodiment. [Figure 7] 4A to 4C are diagrams illustrating the results of image inference by a recognition model for a head detection task according to the first embodiment and the results of image inference by a recognition model for a task other than the head detection task. [Figure 8]FIG. 4 is a diagram showing a recognition model suitable for a combination of a head detection task and a ball detection task according to the first embodiment. [Figure 9] FIG. 11 is a functional block diagram of an information processing apparatus according to a second embodiment. [Figure 10] FIG. 11 is a functional block diagram of a combination determination unit according to the second embodiment. [Figure 11] 10 is a flowchart illustrating processing executed by an information processing apparatus according to the second embodiment. [Figure 12] FIG. 11 is a functional block diagram of an information processing apparatus according to a third embodiment. [Figure 13] FIG. 13 is a functional block diagram of a combination determination unit according to the third embodiment. [Figure 14] 13 is a flowchart illustrating processing executed by an information processing device according to the third embodiment. [Figure 15] 13A to 13C are views for explaining erroneous detection images of a recognition model for head task detection according to the third embodiment. [Figure 16] 13A to 13C are diagrams showing the results of an evaluation image inferred by a recognition model for head task detection according to the third embodiment. [Figure 17] FIG. 13 is a diagram for explaining the configuration of a recognition model in the case where a head detection task and an erroneous detection countermeasure task are combined according to the third embodiment. [Figure 18] FIG. 13 is a functional block diagram of a combination determination unit according to the fourth embodiment. [Figure 19] 13 is a flowchart illustrating processing executed by an information processing device according to the fourth embodiment. [Figure 20] 13A to 13C are diagrams for explaining images in which a head is not detected by the recognition model for a head detection task according to the fourth embodiment. [Figure 21] FIG. 13 is a diagram showing the configuration of a recognition model suitable for a combination of a head detection task and an undetection countermeasure task according to the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the disclosure according to the claims. Although the embodiments describe a plurality of features, not all of these features are essential to the disclosure, and the plurality of features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0017] First Embodiment In the first embodiment, the task with the lowest inference accuracy is identified based on the inference results of multiple NNs to which M types of tasks are respectively assigned, and an image in which the NN that executed the task with the lowest inference accuracy erroneously detects a non-detection target that is not the detection target (misdetected image) is inferred by each of the other NNs. In the first embodiment, based on the degree of agreement between the misdetected partial image (image including a non-detection target) of the NN that executed the task with the lowest inference accuracy and the partial image inferred by the other NN, another task (second recognition task) to be combined with the task with the lowest inference accuracy (first recognition task) is determined. In this way, the first embodiment can perform multitask learning by assigning a combination including two tasks determined from multiple tasks to one NN.
[0018] In this embodiment, an example is used in which object detection tasks of head, animal, ball, upper body, and vehicle are assigned to five NNs as M types of tasks (M=5), respectively, and an optimal combination of tasks for multitask learning of one NN is determined from among a plurality of tasks. However, the above combination of five object detection tasks is merely an example and does not limit the present invention. Combinations of object detection tasks include, for example, faces, people, insects, trees, buildings, roads, etc. Furthermore, the number of object detection tasks is not limited to five, and may be four or less, or six or more.
[0019] FIG. 1 is a functional block diagram of an information processing device according to the first embodiment.
[0020] The information processing device 100 includes a learning unit 102, an evaluation unit 104, and a combination determination unit 105. The information processing device 100 may be mounted on, for example, an imaging device (not shown) equipped with an imaging unit that captures an image of a subject, a smart speaker, or the like. Note that each functional unit in this specification functions when a CPU (not shown) equipped in the information processing device 100 loads a program from a ROM (not shown) into a RAM (not shown) and executes the program.
[0021] The learning unit 102 uses learning data 101 (e.g., images) and teacher data (correct answer data) associated with each of the multiple recognition models 106 to learn each of the multiple recognition models 106. Specifically, the multiple recognition models 106 are five recognition models. One task is assigned to each of the five recognition models 106. Although FIG. 1 shows only one recognition model 106, the information processing device 100 has multiple recognition models 106. Here, the recognition model 106 is configured as a multi-layer NN. The learning method of the recognition model 106 is the same as a known learning method of a multi-layer NN suitable for each object detection task, and therefore a description thereof will be omitted.
[0022] The evaluation unit 104 uses evaluation data 103 (e.g., images) and teacher data (correct answer data) associated with each of the multiple recognition models 106 to calculate the inference accuracy of each of the multiple recognition models 106 trained by the learning unit 102. The evaluation unit 104 evaluates the inference performance of the multiple recognition models 106 by comparing the inference accuracy of each of the multiple recognition models 106 with a target inference accuracy. The evaluation unit 104 determines a first recognition task corresponding to the lowest inference accuracy based on the comparison result between the inference accuracy of each of the multiple recognition models 106 with the target inference accuracy. The evaluation unit 104 holds the evaluation result of the recognition model 106 for the first recognition task.
[0023] 2 is a functional block diagram of the evaluation unit according to the first embodiment. The evaluation unit 104 includes an accuracy calculation unit 201, an accuracy comparison unit 202, a first task determination unit 203, and a result storage unit 204.
[0024] The accuracy calculation unit 201 compares the inference results of each of the multiple recognition models 106 for the evaluation data 103 (e.g., an image) corresponding to each of the multiple recognition models 106 with the correct answer data corresponding to the evaluation data 103. In this way, the accuracy calculation unit 201 calculates the inference accuracy of each recognition model 106. The inference accuracy refers to a comparable evaluation measure such as a loss function value, accuracy rate, recall, or precision for the correct answer data of an area detected from an image. Hereinafter, the inference accuracy refers to the accuracy rate of an area detected from an image.
[0025] The accuracy comparison unit 202 compares the inference accuracy of each of the multiple recognition models calculated by the accuracy calculation unit 201 with a preset target inference accuracy. The comparison result may be, for example, a numerical difference and a numerical ratio between the inference accuracy and the target inference accuracy. The comparison result in this embodiment is a numerical difference between the inference accuracy and the target inference accuracy.
[0026] The first task determination unit 203 determines a task (first recognition task) that does not reach the target inference accuracy based on the comparison result of the accuracy comparison unit 202. The determined task may be one task or a combination of two or more tasks.
[0027] The result storage unit 204 stores the "misdetected image" and the "misdetected partial image" in the misdetected image as an inference result of the recognition model 106 to which the task determined by the first task determination unit 203 is assigned. The misdetected image refers to an image in which the likelihood that the recognition model 106 has erroneously inferred an undetected object that is not the detection target is higher than a threshold. The misdetected partial image is an image in which an undetected object is surrounded by a detection frame, which is cut out from the misdetected image. The likelihood is a numerical value (e.g., a probability) that indicates the plausibility of being a detection target. Note that this likelihood is the same as the likelihood that the recognition model 106 has erroneously inferred an undetected object that is not the detection target. The threshold may be a numerical value arbitrarily set by the user, or may be a numerical value that takes into account the characteristics of the inference accuracy of the recognition model 106.
[0028] The combination determination unit 105 determines a second recognition task to be combined with the first recognition task determined by the evaluation unit 104, based on the inference result of the recognition model 106 for a task other than the task (first recognition task) determined by the first task determination unit 203. In addition, the combination determination unit 105 rewrites the network structure of the recognition model 106, based on the first recognition task and the second recognition task.
[0029] 3 is a functional block diagram of the combination determination unit 105 according to the first embodiment. The combination determination unit 105 includes a task inference unit 301, a second task determination unit 302, and a network change unit 303.
[0030] The task inference unit 301 inputs the erroneously detected image in the result storage unit 204 to the trained recognition model 106 for a task other than the first recognition task, thereby obtaining an inference result of the trained recognition model 106 for the other task. The task inference unit 301 calculates a common area between a partial image inferred from the erroneously detected image by the recognition model 106 for the other task and the erroneously detected partial image of the recognition model 106 for the first recognition task. The common area is taken as an inference value.
[0031] A second task determination unit 302 determines, as a second recognition task, a task associated with the highest inference value among the inference values calculated by the task inference unit 301. A network modification unit 303 rewrites the network structure of the recognition model 106 for the first recognition task into a network structure suitable for the combination of the first recognition task and the second recognition task.
[0032] 4 is a flowchart for explaining the flow of processing executed by the information processing device according to the first embodiment. This processing is realized by a CPU (not shown) included in the information processing device 100 loading a program from a ROM (not shown) into a RAM (not shown) and executing the program. Hereinafter, each processing in this specification is realized by the same operation as above.
[0033] In S401, the learning unit 102 executes multi-task learning processing for multiple recognition models 106 by using multiple learning data 101 for the multiple recognition models 106. Since a known method (see Non-Patent Document 1) can be applied to the multi-task learning processing, a detailed description will be omitted.
[0034] FIG. 5 is a diagram for explaining the configuration of the NN in the initial state according to the first embodiment.
[0035] The learning data 101 for each of the five tasks (object detection tasks for head, animal, upper body, ball, and vehicle) becomes input data for the NN. The NN includes a front-stage network 500 that serves as a shared layer for all tasks, and rear-stage networks 510 to 550 to which each of the five tasks is assigned. For example, the rear-stage network 510 is assigned a head detection task. The rear-stage network 520 is assigned an animal detection task. The rear-stage network 530 is assigned a ball detection task. The rear-stage network 540 is assigned an upper body detection task. The rear-stage network 550 is assigned a vehicle detection task. The NN is, for example, a DCNN. The DCNN can have various configurations. Typically, the DCNN includes a configuration in which a convolutional layer and a pooling layer are repeated, so that local features of the input signal corresponding to the task are gradually compiled, and information that is robust against deformation or position shift of the detection target can be obtained. The DCNN may be, for example, a NN described in Non-Patent Document 2. The recognition model 106 has a configuration in which a pre-stage network 500 is connected to one of the post-stage networks 510 to 550. For example, the recognition model 106 for a head detection task has a configuration in which a pre-stage network 500 is connected to a post-stage network 510. Returning to the explanation of FIG. 4.
[0036] In S402, the accuracy calculation unit 201 evaluates the inference accuracy based on the inference results of the multiple recognition models 106 corresponding to the multiple tasks, which infer the evaluation data 103 (e.g., an image). The accuracy calculation unit 201 outputs the inference accuracy of each of the multiple recognition models 106. The inference result includes a "likelihood" indicating the plausibility of the detection target being detected in the evaluation data 103 (image) and an "image" in which a detection frame of the detection target is superimposed. The inference accuracy is a numerical value that quantitatively indicates how much the inference result of each of the multiple recognition models 106 matches the correct answer data of the evaluation data 103. Here, the inference accuracy of each of the multiple recognition models 106 is expressed as (head, animal, ball, upper body, vehicle) = (67%, 85%, 90%, 77%, 86%). For example, the accuracy calculation unit 201 evaluates that the inference accuracy of the recognition model 106 for the head detection task is 67%.
[0037] In S403, the accuracy comparison unit 202 compares the target inference accuracy of the recognition model 106 with the inference accuracy of the recognition model 106 output by the accuracy calculation unit 201. Here, the target inference accuracy may be a numerical value previously determined by a user. The accuracy comparison unit 202 determines whether or not the total number of tasks in which the inference accuracy of the recognition model 106 is less than the target inference accuracy is 0 or more. Here, the target inference accuracy of the multiple recognition models 106 is uniformly 80%. If the accuracy comparison unit 202 determines that the total number of tasks in which the inference accuracy of the recognition model 106 is less than the target inference accuracy is 0 or more (Yes in S403), the accuracy comparison unit 202 proceeds to the process at S404. If the accuracy comparison unit 202 determines that the total number of tasks in which the inference accuracy of the recognition model 106 is less than the target inference accuracy is not 0 or more (No in S403), the accuracy comparison unit 202 ends the process.
[0038] In S404, the first task determination unit 203 determines, as the first recognition task, a task having the largest difference between the inference accuracy and the target inference accuracy among the tasks in which the inference accuracy of the recognition model 106 is less than the target inference accuracy. In this embodiment, the head detection task is determined as the first recognition task. The result storage unit 204 stores, as an inference result of the recognition model 106 for the head detection task, an erroneous detection image in which the likelihood of erroneously detecting a non-detection target that is not a detection target is higher than a predetermined threshold. The result storage unit 204 may store only one erroneous detection image, or may store multiple erroneous detection images. In this embodiment, the result storage unit 204 stores only one erroneous detection image. In addition to the erroneous detection image, the result storage unit 204 stores an erroneous detection partial image that is a part of the erroneous detection image.
[0039] Fig. 6 is a diagram for explaining an erroneous detection image of the recognition model for the head detection task according to the first embodiment. Fig. 6(a) shows an erroneous detection image 600 in which the recognition model 106 for the head detection task erroneously detects a non-detection object that is not the detection object (head) in the evaluation data 103 (image). Fig. 6(b) shows a teacher frame 601 of the erroneous detection image 600. The teacher frame 601 represents the detection object that should have been detected by the recognition model 106 for the head detection task from the erroneous detection image 600 (i.e., the correct answer).
[0040] FIG. 7 is a diagram illustrating the result of an image inference by a recognition model for a head detection task according to the first embodiment, and the result of an image inference by a recognition model for a task other than the head detection task.
[0041] FIG. 7(a) shows the result of inference made by the recognition model 106 for the head detection task on an image 700 (the same as the erroneously detected image 600 in FIG. 6) in the evaluation data 103. The inference result of the recognition model 106 for the head detection task is represented by a detection frame 701 and a detection frame 702. When detecting a head in the image 700, the recognition model 106 for the head detection task erroneously detects a ball having features (a sphere) similar to a head. The detection frame 701 is detected at the same position as the teacher frame 601 in FIG. 6(b), and therefore is a correct detection. The detection frame 702 is detected at a position different from the teacher frame 601, and therefore is a erroneous detection. Therefore, an image obtained by cutting out the image within the detection frame 702 from the image 700 becomes the erroneously detected portion image 703. Returning to the explanation of FIG. 4.
[0042] In S405, the combination determination unit 105 causes the task inference unit 301 to perform inference on the erroneously detected image 600 using the recognition model 106 for tasks other than the head detection task in order to determine the second recognition task. The tasks other than the head detection task are recognition tasks for animals, balls, upper bodies, and vehicles. Returning to the description of FIG. 7.
[0043] FIG. 7(b) shows the result of inferring the false positive image 600 by the recognition model 106 for other tasks other than the head detection task. Image 704 shows the result of inferring the false positive image 600 by the recognition model 106 for other tasks. Detection frame 705 represents the inference result of the recognition model 106 for the animal detection task. Detection frame 706 represents the inference result of the recognition model 106 for the ball detection task. Detection frame 707 represents the inference result of the recognition model 106 for the upper body detection task. Detection frame 708 represents the inference result of the recognition model 106 for the vehicle detection task.
[0044] Partial image 709 is an image cut out from image 704 within the range of detection frame 705. Partial image 710 is an image cut out from image 704 within the range of detection frame 706. Partial image 711 is an image cut out from image 704 within the range of detection frame 707. Partial image 712 is an image cut out from image 704 within the range of detection frame 708. Return to the explanation of FIG. 4.
[0045] In S406, the second task determination unit 302 calculates the ratio of common areas between the erroneously detected partial image 703 erroneously detected from the image 700 by the recognition model 106 for the head detection task and each of the partial images 709 to 712 detected from the image 704 by the recognition model 106 for a task other than the head detection task. The second task determination unit 302 determines whether the calculated ratio of common areas exceeds a predetermined threshold value s. If the second task determination unit 302 determines that the calculated ratio of common areas exceeds the predetermined threshold value s (Yes in S406), the second task determination unit 302 advances the process to S407. If the second task determination unit 302 determines that the calculated ratio of common areas does not exceed the predetermined threshold value s (No in S406), the second task determination unit 302 ends the process.
[0046] In S407, the second task determination unit 302 determines, as the second recognition task, another task assigned to the recognition model 106 that inferred the partial image having the largest common area ratio with the erroneously detected partial image 703 among the common area ratios between the erroneously detected partial image 703 and each of the partial images 709 to 712. In this embodiment, the second task determination unit 302 determines, as the second recognition task, the ball detection task assigned to the recognition model 106 that inferred the partial image 710 (i.e., detection frame 706) having the largest common area with the erroneously detected partial image 703.
[0047] In S408, the network modification unit 303 performs a process of combining the first recognition task (head detection task) determined in S404 with the second recognition task (ball detection task) determined in S407. Specifically, the network modification unit 303 rewrites the network structure of the recognition model 106 for the head detection task into a network structure suitable for the combination of the head detection task and the ball detection task. In addition, the network modification unit 303 saves the changed network structure and learning parameters of the recognition model 106 for the head detection task in a storage device (not shown) of the information processing device 100. The storage device is, for example, a hard disk drive (HDD), a solid state drive (SSD), or an SD card.
[0048] FIG. 8 is a diagram showing a recognition model suitable for a combination of a head detection task and a ball detection task according to the first embodiment.
[0049] The latter-stage network 800 has a network structure suitable for a combination of a head detection task and a ball detection task. The learning data 101, the former-stage network 500, and the latter-stage networks 520 to 550 are the same as those in the initial state in FIG. 5. Note that the final layer of the latter-stage network 800 has different weighting coefficients for each task, and therefore only the final layer is an unshared layer. FIG. 8 shows the unshared layer in a simplified manner. Returning to the explanation of FIG. 4.
[0050] In S408, network modification unit 303 rewrites the network structure of recognition model 106 for the head detection task as shown in Fig. 8, and the process returns to S401. Learning unit 102 executes re-learning of recognition model 106 for the head / ball detection task rewritten by network modification unit 303.
[0051] As described above, by repeatedly executing the processes of S401 to S408, it is possible to automatically determine a combination of tasks from among multiple tasks to reduce false positives. Therefore, it is possible to efficiently determine a combination of tasks that will make the inference accuracy of the recognition model for all tasks achieve the target inference accuracy.
[0052] <Second embodiment> In the second embodiment, the difference from the first embodiment will be described. In the first embodiment, when evaluating the inference accuracy of the other tasks, the misdetected image misdetected by the recognition model 106 for the head detection task (first recognition task) is inferred by the recognition model 106 for the other tasks. In the first embodiment, a method for determining a second recognition task that can be combined with the first recognition task based on the common area ratio between the misdetected partial image of the recognition model 106 for the first recognition task and the inferred partial image of the recognition model 106 for the other tasks has been described. In the second embodiment, a classification model that has previously learned the teacher image (image within the detection frame) of the learning data for all tasks is inferred to be a misdetected partial image. In this way, in the second embodiment, a method for determining a second recognition task to be combined with a first recognition task using a classification model will be described.
[0053] FIG. 9 is a functional block diagram of an information processing device according to the second embodiment.
[0054] The information processing device 900 has a configuration in which learning data 901 is connected to a combination determination unit 905. Note that the configuration of the combination determination unit 905 is partially changed from that of the first embodiment.
[0055] 10 shows a functional block diagram of the combination determination unit according to the second embodiment. The combination determination unit 905 has a task data inference unit 1001, a second task determination unit 1004, and a network change unit 1005.
[0056] A task data inference unit 1001 causes a classification model 1002 to infer the erroneously detected partial image of a recognition model 906 for a first recognition task of an evaluation unit 904. A task inference unit 1003 calculates the likelihood (hereinafter, class likelihood) that the erroneously detected partial image is classified as a teacher image (image within a detection frame) of another task. The class likelihood is taken as an inference value.
[0057] FIG. 11 is a flowchart illustrating the process executed by the information processing device according to the second embodiment.
[0058] In S1101, the learning unit 902 executes learning of the classification model 1002 using the teacher images (images in the detection frame) of the learning data for all tasks. The classification model 1002 learns the images in the teacher frame of all tasks in the learning data 901 and the task names linked to the images in the teacher frame as correct answer labels. The learning of the classification model 1002 can be executed by any machine learning based on deep learning using a support vector machine, a multilayer neural network, or the like.
[0059] Description of S1102 to S1105 will be omitted since it is the same process as S401 to S404 in Fig. 4. Note that the first recognition task in this embodiment is a head detection task, similar to the first embodiment.
[0060] In S1106, the combination determination unit 905 causes the task inference unit 1003 to infer a task corresponding to the erroneously detected partial image 703 using the classification model 1002 learned in S1101 in order to determine a second recognition task. The classification model 1002 infers whether the erroneously detected partial image 703 for the head detection task in Fig. 7(a) corresponds to a teacher frame image for any of the head, animal, ball, upper body, and vehicle detection tasks, and calculates a class likelihood for each task. Here, the class likelihood for each task calculated by the classification model 1002 is expressed as (head, animal, ball, upper body, vehicle) = (0.5, 0.3, 0.8, 0.4, 0.6).
[0061] In S1107, the combination determination unit 905 determines whether or not at least one of the class likelihoods calculated in S1106 exceeds the threshold s. When the combination determination unit 905 determines that at least one of the calculated class likelihoods exceeds the threshold s (Yes in S1107), the process proceeds to S1108. When the combination determination unit 905 determines that at least one of the calculated class likelihoods does not exceed the threshold s (No in S1107), the process ends. Here, the threshold s is 0.5. Therefore, the candidates for the second recognition task are the ball detection task and the vehicle detection task.
[0062] In S1108, the second task determination unit 1004 determines, as the second recognition task, the task with the largest class likelihood among the class likelihoods calculated in S1106. Since the largest class likelihood among the class likelihoods calculated in S1106 is 0.8, the second task determination unit 1004 determines the ball detection task as the second recognition task.
[0063] The process of S1109 is similar to S408 in FIG. 4, and therefore the description will be omitted.
[0064] In S1109, the network change unit 1005 rewrites the network structure of the recognition model 906 for the head detection task into a network structure suitable for the combination of the first recognition task and the second recognition task. After that, the process returns to S1102. The learning unit 902 re-learns the recognition model 906 whose network structure has been rewritten.
[0065] As described above, by repeatedly executing the processes of S1101 to S1109, it is possible to automatically determine a combination of tasks from among multiple tasks to reduce false positives. Therefore, it is possible to efficiently determine a combination of tasks that will make the inference accuracy of the recognition model for all tasks achieve the target inference accuracy.
[0066] <Third embodiment> In the third embodiment, a method is described in which images including areas similar to the misdetected partial images of the first recognition task are collected from the learning dataset for all tasks, a new recognition task is created to counter misdetections, and the created recognition task is determined as the second task.
[0067] FIG. 12 is a functional block diagram of an information processing device according to the third embodiment.
[0068] The information processing device 1200 has a configuration in which the learning data 1201 and the combination determination unit 1205 are interconnected, and has a configuration in which a part of the configuration of the combination determination unit 1205 is modified. The information processing device 1200 has the same configuration as the information processing device 100 except for the above-mentioned configuration, and therefore a description thereof will be omitted.
[0069] 13 is a functional block diagram of the combination determination unit according to the third embodiment. The combination determination unit 1205 has an image search unit 1301, a teacher data attachment unit 1302, a second task determination unit 1303, and a network change unit 1304.
[0070] The image search unit 1301 searches the training data 1201 for images having an area similar to the erroneously detected partial image of the first recognition task stored in the evaluation unit 1204, and outputs the image search results to the teacher data attachment unit 1302.
[0071] A training data assignment unit 1302 assigns training data of coordinates and size to areas similar to the erroneously detected partial image from the search results of the image search unit 1301, and creates a learning data set for the recognition model 1206 for a new task.
[0072] A second task determination unit 1303 creates, as a second recognition task, a new task linked to the learning data set created by the teacher data attachment unit 1302. The network changing unit 1304 is the same as the network changing unit 303, and therefore a description thereof will be omitted.
[0073] FIG. 14 is a flowchart illustrating the process executed by the information processing device according to the third embodiment.
[0074] The processing in S1401 to S1404 is the same as that in S401 to S404 in Fig. 4, and therefore the description will be omitted. Note that the first recognition task in this embodiment is assumed to be a head detection task.
[0075] Fig. 15 is a diagram illustrating an erroneous detection image of the recognition model for head task detection according to the third embodiment. Fig. 15(a) shows an erroneous detection image 1500 for the head detection task stored in the result storage unit 204 in S1404. Fig. 15(b) shows a teacher frame 1501 in the erroneous detection image 1500. The teacher frame 1501 shows the target (i.e., the head of the subject) that should be detected by the recognition model 1206 for the head detection task.
[0076] FIG. 16 is a diagram showing a result of inferring an evaluation image by a recognition model for head task detection according to the third embodiment.
[0077] Image 1600 (the same as false detection image 1500 in FIG. 15) shows the result of inference made by accuracy calculation unit 201 to recognition model 1206 for head detection task in S1402. Detection frame 1601 and detection frame 1602 show the result of inference of image 1600 by recognition model 1206 for head detection task. When detecting a head in image 1600, recognition model 1206 for head detection task erroneously detects a bicycle wheel having a feature (circular shape) similar to that of a head. Detection frame 1601 is close to the area of teacher frame 1501 in FIG. 15(b), so it is a correct detection. Detection frame 1602 is in a different position from the area of teacher frame 1501 in FIG. 15(b), so it is a false detection. Therefore, the image within detection frame 1602 becomes false detection partial image 1603.
[0078] In S1405, the image search unit 1301 searches the learning data 1201 for images whose similarity between the falsely detected partial image 1603 of the recognition model 1206 for the first recognition task and an area in the image exceeds a threshold s, and outputs the search result. The search result is the images and the number of images that have a high similarity to the falsely detected partial image 1603. Here, it is assumed that the number of images having an area whose similarity exceeds the threshold s is 20,000. The search means is any search algorithm such as QBIC.
[0079] In S1406, the image search unit 1301 determines whether the number of images included in the search results exceeds the threshold p. If the image search unit 1301 determines that the number of images included in the search results exceeds the threshold p (Yes in S1406), the process proceeds to S1407. If the image search unit 1301 determines that the number of images included in the search results does not exceed the threshold p (No in S1406), the process ends. Here, the threshold p is set to 15,000.
[0080] In S1407, the second task determination unit 1303 creates a new task (second recognition task) by adding teacher data to an image having a high similarity to the false-detected partial image 1603. In this case, the second recognition task is a task for preventing false detection that is different from the existing task set in advance. Hereinafter, for ease of understanding, the second recognition task may be called a false detection prevention task, but the two are the same task. The teacher data adding unit 1302 adds, as teacher data, an area having a high similarity to the false-detected partial image 1603 in each image output in S1405 to the 20,000 images. The added teacher data includes the center coordinates and size of the area having a high similarity. The teacher data adding unit 1302 adds the teacher data associated with each of the 20,000 images to the learning data 1201 as learning data for the second recognition task. The second task determination unit 1303 creates a second recognition task associated with the learning data set created by the teacher data adding unit 1302.
[0081] In S1408, the combination determination unit 1205 adds the new task created in S1407 to the recognition model 1206, and combines the first recognition task (head detection task) and the second recognition task. The network change unit 1304 rewrites the network structure of the recognition model 1206 for the head detection task into a network structure suitable for the combination of the head detection task and the second recognition task.
[0082] FIG. 17 is a diagram for explaining the configuration of a recognition model in the case where a head detection task and an erroneous detection countermeasure task according to the third embodiment are combined.
[0083] The latter-stage network 1700 has a network structure when a head detection task and an erroneous detection countermeasure task are combined. The former-stage network 500 and the latter-stage networks 520 to 550 are the same as the initial state in FIG. 5. In the final layer of the latter-stage network 1700, a different weighting coefficient is assigned to each task, and only the final layer is a non-shared layer. In FIG. 17, the non-shared layer part is shown in a simplified form. Returning to the explanation of FIG. 14.
[0084] The network modification unit 1304 rewrites the network structure of the recognition model 1206 for the head detection task as shown in Fig. 17. After that, the process returns to S1401. The learning unit 1202 re-learns the multiple recognition models 1206 whose network structures have been rewritten.
[0085] As described above, by repeatedly executing the processes of S1401 to S1408, a new task for reducing false positives is created from among multiple tasks. This makes it possible to automatically determine a second recognition task (i.e., a new task) to be combined with a first recognition task. Furthermore, it is possible to efficiently determine a combination of tasks such that the inference accuracy of the recognition model for all tasks achieves the target inference accuracy.
[0086] <Fourth embodiment> In the fourth embodiment, a teacher frame image in an undetected image in which the detection target could not be detected when the recognition model for the first recognition task inferred the evaluation data is inferred by the same classification model as in the second embodiment. Furthermore, in the fourth embodiment, a teacher frame image of the detection target smaller than a predetermined size is extracted from the learning data set of the recognition task calculated by the classification model. As a result, in the fourth embodiment, a method is described in which a new recognition task for undetection countermeasures is created using the extracted teacher frame image, and a second recognition task to be combined with the first recognition task is determined. Note that the recognition task for undetection countermeasures refers to the second recognition task.
[0087] The information processing device according to the fourth embodiment differs from the information processing device 1200 according to the third embodiment in that the role of the evaluation unit 1204 and the configuration of the combination determination unit 1205 are partially changed. The information processing device according to the fourth embodiment has the same configuration as the information processing device 1200 except for the above-mentioned aspects, and therefore a description thereof will be omitted.
[0088] The evaluation unit 1204 will be described with reference to Fig. 2. The accuracy calculation unit 201, the accuracy comparison unit 202, and the first task determination unit 203 are the same as those in the first embodiment, and therefore descriptions thereof will be omitted.
[0089] The result storage unit 204 stores teacher frame images corresponding to images (undetected images) in which the detection target could not be detected when the recognition model 1206 for the first recognition task determined by the first task determination unit 203 inferred the evaluation data. Note that "undetected" refers to a state in which there is no detection frame in the area of the teacher frame that should be detected in the evaluation data when the recognition model 1206 infers the evaluation data.
[0090] 18 shows a functional block diagram of the combination determination unit according to the fourth embodiment. The combination determination unit 1205 has a task data inference unit 1801, a data creation unit 1804, a second task determination unit 1805, and a network change unit 1806.
[0091] The task data inference unit 1801 causes the task inference unit 1803 to infer a teacher frame image (a partial image surrounding a detection target) for the first recognition task stored in the evaluation unit 1204, using a classification model 1802. The classification model 1802 is the same as the classification model 1002 in the second embodiment. The task inference unit 1803 calculates a class likelihood indicating which teacher frame image for the first recognition task is classified into a teacher frame image for a task other than the first recognition task. The class likelihood calculated by the task inference unit 1803 is an inference value.
[0092] The data creation unit 1804 selects a task other than the first recognition task that is associated with the highest inference value among the inference values calculated by the task inference unit 1803. The data creation unit 1804 extracts images with teacher frames of approximately the same size as the teacher frame image for the first recognition task from the learning data of the selected task, and outputs the extraction results. The data creation unit 1804 creates a learning dataset from the output extraction results.
[0093] A second task determination unit 1805 creates a new task (second recognition task) linked to the learning data set created by the data creation unit 1804. The network changing unit 1806 is the same as the network changing unit 303, and therefore a description thereof will be omitted.
[0094] Fig. 19 is a flowchart for explaining the processing executed by the information processing device according to the fourth embodiment. The processing in steps S1901 to S1904 is similar to the processing in step S1101 in Fig. 11 and steps S401 to S403 in Fig. 4, and therefore the explanation thereof will be omitted.
[0095] In S1905, the first task determination unit 203 selects as the first recognition task a task with the largest difference between the inference accuracy and the target inference accuracy among the tasks for which the inference accuracy of the recognition model 1206 is less than the target inference accuracy. Here, the first recognition task is a head detection task. The result holding unit 204 holds in the result holding unit 204 a teacher frame image (an image showing a head) of an image in which a head was not detected (an undetected image) when the recognition model 1206 for the head detection task inferred the evaluation data. The number of images held by the result holding unit 204 may be multiple, and the number of images is not limited. In this embodiment, the result holding unit 204 holds one image.
[0096] FIG. 20 is a diagram for explaining an image in which the recognition model for the head detection task according to the fourth embodiment does not detect a head. FIG. 20(a) shows an image 2000 in which the recognition model for the head detection task 1206 is unable to detect a head. Because the head of the subject in the image 2000 is small, the recognition model for the head detection task 1206 is unable to detect the head in the image 2000. FIG. 20(b) is a diagram for explaining the teacher frame of the image 2000 and an image within the teacher frame. The teacher frame 2001 shows the teacher frame (a frame surrounding a correct detection target) of the image 2000. The correct detection target here is the head of the subject. An image obtained by cutting out the range of the teacher frame 2001 from the image 2000 is the teacher frame image 2002. Only the head of the subject is captured in the teacher frame image 2002.
[0097] In S1906, the combination determination unit 1205 causes the task inference unit 1803 to execute the following process in order to determine the second recognition task. The task inference unit 1803 uses the classification model 1802 that learned the teacher frame images for all tasks in S1901 to calculate the class likelihood that the teacher frame image 2002 is classified into each task. The task inference unit 1803 uses the classification model 1802 to calculate the class likelihood that the teacher frame image 2002 is classified into the teacher frame images of the head, animal, ball, upper body, and vehicle detection tasks. Here, the class likelihood for each task is expressed as (head, animal, ball, upper body, vehicle) = (0.9, 0.3, 0.7, 0.4, 0.5). For example, the class likelihood that the teacher frame image 2002 is classified into the head detection task is 0.9. The higher the class likelihood value, the higher the possibility that the teacher frame image 2002 belongs to a certain task.
[0098] In S1907, the combination determination unit 1205 determines whether or not at least one of the class likelihoods of the tasks other than the first recognition task exceeds the threshold s among the calculated class likelihoods. If the combination determination unit 1205 determines that at least one of the class likelihoods of the tasks other than the first recognition task exceeds the threshold s (Yes in S1907), the process proceeds to S1908. If the combination determination unit 1205 determines that at least one of the class likelihoods of the tasks other than the first recognition task does not exceed the threshold s (No in S1907), the process ends. Here, the threshold s is 0.6.
[0099] In S1908, the data creation unit 1804 creates a learning data set including data extracted under a predetermined extraction condition from the learning data of a task other than the first recognition task, selected based on the comparison of the class likelihoods calculated in S1906. Then, the data creation unit 1804 creates a new task (second recognition task) associated with the new learning data set. Note that, in the comparison process of the class likelihoods calculated in S1906, the data creation unit 1804 selects the task with the highest class likelihood among the tasks other than the first recognition task. Of the class likelihoods calculated in S1906, the ball detection task associated with the highest class likelihood (0.7) is selected.
[0100] Further, the data creating unit 1804 extracts an image to which a teacher frame of approximately the same size as the teacher frame image 2002 is added from the learning data for the ball detection task, and outputs the extraction result. The extraction condition may be the size of the teacher frame of the teacher frame image 2002, or the ratio of the size of the teacher frame to the entire image. The extraction result includes an image and teacher data linked to the image. The data creating unit 1804 creates learning data for the second recognition task based on the extraction result, and adds the created learning data to the learning data 1201. The second task determining unit 1805 creates an undetection countermeasure task (second recognition task) linked to the learning data set created by the data creating unit 1804. Here, the undetection countermeasure task (second recognition task) represents a task other than the recognition task prepared in advance.
[0101] In S1909, the combination determination unit 1205 combines the first recognition task (head detection task) with the undetection countermeasure task (second recognition task) created in S1908. The network change unit 1806 rewrites the network structure of the recognition model 1206 for the head detection task into a network structure suitable for the combination of the head detection task and the undetection countermeasure task.
[0102] FIG. 21 is a diagram showing the configuration of a recognition model suitable for a combination of a head detection task and an undetection countermeasure task according to the fourth embodiment.
[0103] The latter-stage network 2100 is a network when a head detection task and an undetection countermeasure task are combined. The former-stage network 500 and the latter-stage networks 520 to 550 have the same configuration as the initial state in FIG. 5. In the final layer of the latter-stage network 2100, a separate weighting coefficient is assigned to each task, and only the final layer is a non-shared layer. FIG. 21 shows a simplified representation of the non-shared layer part. Return to the explanation of FIG. 19.
[0104] After the process of S1909 is completed, the process returns to S1902. The learning unit 1202 re-learns the recognition model 1206 whose network structure has been rewritten.
[0105] As described above, by repeatedly executing the processes of S1902 to S1909, a new task (second recognition task) can be created using a teacher frame image of an undetected image in order to improve the inference accuracy of a recognition model for a task in which a small-sized detection target cannot be detected. In this way, a task for undetection measures to be combined with the first recognition task can be automatically determined. This makes it possible to efficiently determine a combination of tasks that will bring the inference accuracy of the recognition model for all tasks to the target inference accuracy.
[0106] (Other Examples) The present disclosure can also be realized by a process in which a program for implementing one or more functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that implements one or more functions.
[0107] The disclosure of this specification includes the following information processing device, imaging device, method, and program. (Item 1) A determination means for determining a first task from among a plurality of trained models each executing a different task based on a result of inferring evaluation data corresponding to each of the different tasks, The determination means determines a second task to be combined with the first task based on a first inference result in which a first trained model executing the first task erroneously infers first evaluation data corresponding to the first task. 23. An information processing apparatus comprising: (Item 2) The determination means determines the first task from among the different tasks based on an inference accuracy of each of the plurality of trained models as a result of inferring the respective evaluation data. 2. The information processing device according to item 1, (Item 3) The determination means determines the second task from among the different tasks based on the first inference result and results of each of the trained models that execute a task other than the first task inferring the first evaluation data. 3. The information processing device according to item 1 or 2. (Item 4) further comprising an estimation means for estimating to which of the different tasks the first inference result belongs by using a classification model that has been trained with correct answer data corresponding to the different tasks, the determining means determines the second task from among the different tasks based on the estimation result of the estimating means. 4. The information processing device according to any one of items 1 to 3. (Item 5) a search means for searching for an image of an object similar to a first object included in the first inference result from learning data corresponding to each of the different tasks; the determination means determines, as the second task, a task created based on the search results of the search means and supervised data corresponding to the search results; 5. The information processing device according to any one of items 1 to 4. (Item 6) The determination means further includes an extraction means for extracting an image including a second object of a predetermined size for a task from learning data corresponding to the task based on the estimation result of the estimation means, The determining means determines, as the second task, a task created based on the extraction result of the extracting means and the correct answer data corresponding to the extraction result. 5. The information processing device according to item 4, (Item 7) a control means for performing control to change a network structure of the first trained model based on the first task and the second task, and to add second training data corresponding to the second task to first training data corresponding to the first task; Further comprising a storage means for storing the network structure and learning parameters of the first trained model. 7. The information processing device according to any one of items 1 to 6, (Item 8) A learning means for learning the plurality of trained models using a learning data set corresponding to each of the different tasks; Further comprising an evaluation means for evaluating the inference accuracy of the plurality of trained models based on the inference result of each of the evaluation data and the correct answer data corresponding to each of the evaluation data. 8. The information processing device according to any one of items 1 to 7, (Item 9) The first evaluation data, at least one of a detection frame of the first object that is incorrectly inferred by the first trained model in the first evaluation data and a correct detection object that is correctly inferred by the first trained model in the first evaluation data, and a partial image of at least one of the first object and the correct detection object, 6. The information processing device according to item 5, (Item 10) an input means for inputting evaluation data corresponding to each of the different tasks for the plurality of trained models based on the storage results of the storage means; An output means for outputting a result of the plurality of trained models inferring evaluation data corresponding to the respective different tasks, 8. The information processing device according to item 7, (Item 11) Each of the plurality of trained models includes a shared layer that performs common processing for the respective different tasks. 11. The information processing device according to any one of items 1 to 10. (Item 12) The different tasks include a head detection task, an animal detection task, a ball detection task, an upper body detection task, and a vehicle detection task. 12. The information processing device according to any one of items 1 to 11, (Item 13) An imaging unit that captures an image of a subject; The information processing device according to any one of items 1 to 12, 1. An imaging device comprising: (Item 14) A determination step of determining a first task from among the different tasks based on a result of a plurality of trained models each executing a different task inferring evaluation data corresponding to the different tasks; In the determination step, a first trained model that executes the first task determines a second task to be combined with the first task based on a first inference result in which the first trained model erroneously infers first evaluation data corresponding to the first task. A method comprising: (Item 15) 13. A program for causing a computer to function as the information processing device according to any one of items 1 to 12.
[0108] The disclosure is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the disclosure. Accordingly, the following claims are appended to apprise the public of the scope of the disclosure. [Explanation of symbols]
[0109] 100 Information processing device 101 Training Data 102 Learning Department 103 Evaluation Data 104 Evaluation Department 105 Combination Decision Unit 106 Recognition Model
Claims
1. A determination means for determining a first task from among a plurality of trained models each executing a different task based on a result of inferring evaluation data corresponding to the respective different tasks, The determination means determines a second task to be combined with the first task based on a first inference result in which a first trained model executing the first task erroneously infers first evaluation data corresponding to the first task.
23. An information processing apparatus comprising:
2. The determination means determines the first task from among the different tasks based on an inference accuracy of each of the plurality of trained models as a result of inferring the respective evaluation data.
2. The information processing apparatus according to claim 1,
3. The determination means determines the second task from among the different tasks based on the first inference result and results of each of trained models that execute tasks other than the first task inferring the first evaluation data.
2. The information processing apparatus according to claim 1,
4. further comprising an estimation means for estimating to which of the different tasks the first inference result belongs, using a classification model that has been trained with correct answer data corresponding to the different tasks; the determining means determines the second task from among the different tasks based on the estimation result of the estimating means.
2. The information processing apparatus according to claim 1,
5. a search means for searching for an image of an object similar to a first object included in the first inference result from learning data corresponding to each of the different tasks; the determining means determines, as the second task, a task created based on a search result of the searching means and correct answer data corresponding to the search result; 2. The information processing apparatus according to claim 1,
6. the determining means further includes an extracting means for extracting an image including a second object of a predetermined size for the task from learning data corresponding to the task based on the estimation result of the estimating means; The determining means determines, as the second task, a task created based on the extraction result of the extracting means and supervised data corresponding to the extraction result.
5. The information processing apparatus according to claim 4.
7. a control means for performing control to change a network structure of the first trained model based on the first task and the second task, and to add second training data corresponding to the second task to first training data corresponding to the first task; Further comprising a storage means for storing the network structure and learning parameters of the first trained model.
2. The information processing apparatus according to claim 1,
8. A learning means for learning the plurality of trained models using a learning data set corresponding to each of the different tasks; Further comprising an evaluation means for evaluating the inference accuracy of the plurality of trained models based on the inference result of each of the evaluation data and the correct answer data corresponding to each of the evaluation data.
2. The information processing apparatus according to claim 1,
9. The first evaluation data, at least one of a detection frame of the first object that is incorrectly inferred by the first trained model in the first evaluation data and a correct detection object that is correctly inferred by the first trained model in the first evaluation data, and a partial image of at least one of the first object and the correct detection object, 6. The information processing apparatus according to claim 5,
10. an input means for inputting evaluation data corresponding to each of the different tasks for the plurality of trained models based on the storage results of the storage means; An output means for outputting a result of the plurality of trained models inferring evaluation data corresponding to the respective different tasks, 8. The information processing apparatus according to claim 7,
11. Each of the plurality of trained models includes a shared layer that performs common processing for the respective different tasks.
2. The information processing apparatus according to claim 1,
12. The different tasks include a head detection task, an animal detection task, a ball detection task, an upper body detection task, and a vehicle detection task.
2. The information processing apparatus according to claim 1,
13. An imaging unit that captures an image of a subject; The information processing device according to any one of claims 1 to 12, 1. An imaging device comprising:
14. A determination step of determining a first task from among the different tasks based on a result of a plurality of trained models each executing a different task inferring evaluation data corresponding to the different tasks; In the determination step, a first trained model that executes the first task determines a second task to be combined with the first task based on a first inference result in which the first task is erroneously inferred from first evaluation data corresponding to the first task. A method comprising:
15. A program for causing a computer to function as the information processing device according to any one of claims 1 to 12.
Citation Information
Patent Citations
Image recognition apparatus and learning apparatus
JP2018190332A
Information processing device and information processing method
JP6750854B2
