Learning model and identification device
The learning model with multiple pooling layers and weighted coefficients addresses the issue of fixed pooling methods in CNNs, enhancing performance by adapting to varying environments.
Patent Information
- Application Number
- JP2023053338
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-10
AI Technical Summary
Conventional CNN networks use a fixed pooling method determined at design time, which is ineffective in varying CNN usage environments due to differing characteristics of input data.
A learning model with a convolutional layer and multiple pooling layers that perform different pooling processes, combining their outputs with weighted coefficients to adapt to specific environments.
Enhances the performance of the pooling layer by allowing it to adjust to different usage environments, improving identification accuracy and adaptability.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a learning model and a classification device for calculating features of input data. [Background technology]
[0002] Convolutional Neural Networks (CNNs) are known as a learning model that calculates the features of input data. In CNNs, a pooling layer is used to aggregate information on feature maps obtained in the convolution layer and extract important information (for example, see Patent Document 1 below). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Special Publication No. 2018-506788 Summary of the Invention [Problem to be solved by the invention]
[0004] There are several pooling methods in the pooling layer, but in conventional CNN network configurations, only specific pooling methods defined at the time of CNN design are used. However, because the characteristics of the input data to CNN differ depending on the environment in which CNN is used, which pooling method is effective depends on the environment in which CNN is used. The present invention has been made in consideration of the above problems, and has an object to improve the performance of the pooling layer of a learning model having a CNN. [Means for solving the problem]
[0005] According to one aspect of the present invention, a learning model for calculating a feature amount of input data is provided. The learning model includes a convolutional layer and a plurality of pooling layers each performing a plurality of different pooling processes on an output signal from the same convolutional layer. The learning model calculates the feature amount of the input data based on a weighted sum in which each output signal of the plurality of pooling layers is weighted by a weighting coefficient. Effect of the Invention
[0006] According to the present invention, the characteristics of the pooling layer can be easily changed depending on the environment in which the CNN is used, thereby improving the performance of the pooling layer of a learning model having a CNN. [Brief description of the drawings]
[0007] [Figure 1] FIG. 2 is a schematic diagram illustrating an example of a hardware configuration of the identification device according to the embodiment. [Diagram 2] 2 is a block diagram showing an example of a functional configuration of a discrimination device 1A according to a first embodiment. FIG. [Diagram 3] 4 is a flowchart of an example of a data identification method according to the first embodiment. [Figure 4] FIG. 11 is a block diagram showing an example of a functional configuration of a discrimination device 1B according to a second embodiment. [Diagram 5] FIG. 11 is a block diagram showing an example of a functional configuration of a discrimination device 1C according to a third embodiment. [Figure 6] FIG. 13 is a block diagram showing an example of a functional configuration of a discrimination device 1D according to a fourth embodiment. [Figure 7] FIG. 13 is a block diagram showing an example of a functional configuration of a discrimination device 1E according to a fifth embodiment. [Figure 8] FIG. 13 is a block diagram showing an example of a functional configuration of a discrimination device 1F according to a sixth embodiment. [Figure 9] FIG. 13 is a schematic diagram showing an example of the overall configuration of an identification system according to the seventh and eighth embodiments. [Figure 10] FIG. 23 is a block diagram showing an example of a functional configuration of a center device 30 according to a seventh embodiment. [Figure 11] FIG. 23 is a block diagram showing an example of a functional configuration of a center device 30 according to an eighth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the embodiment of the present invention shown below is an example of an apparatus and method for embodying the technical idea of the present invention, and the technical idea of the present invention does not limit the structure, arrangement, etc. of the components to those described below. The technical idea of the present invention can be modified in various ways within the technical scope defined by the claims.
[0009] (composition) 1 is a schematic diagram showing an example of a hardware configuration of identification devices 1A to 1F according to first to sixth embodiments described below. In the following description, the identification devices 1A to 1F may be collectively referred to as "identification device 1." The classification device 1 acquires input data in which a classification target is detected and classifies the class of the classification target. For example, the classification device 1 may input image data as input data and classify the class of the classification target appearing in the image data. In addition, for example, the classification device 1 may input voice data as input data and identify the speaker who spoke.
[0010] The identification device 1 comprises an operation input unit 2, a file input / output unit 3, a memory unit 4, a control unit 5, an output unit 6, and an input data generation unit 7. Of these, the file input / output unit 3, the memory unit 4, and the control unit 5 can be realized by a so-called computer, and the operation input unit 2, the output unit 6, and the input data generation unit 7 can be realized as peripheral devices of the computer.
[0011] The operation input unit 2 is a user interface such as a keyboard, a mouse, etc., and is operated by a user to input data, etc. The operation input unit 2 is connected to the control unit 5, converts the user's operation into an operation signal, and outputs it to the control unit 5.
[0012] The file input / output unit 3 is a DVD (Digital Versatile Disc) drive, a USB (Universal Serial Bus) interface, a network interface, etc., with one end connected to an external device, recording medium, network, etc. not shown, and the other end connected to the control unit 5, inputting data to the control unit 5 as a file, and outputting data from the control unit 5 as a file.
[0013] The storage unit 4 is a memory device such as a ROM (Read Only Memory) or a RAM (Random Access Memory), and stores various programs and various data. The storage unit 4 is connected to the control unit 5 and inputs and outputs such information to and from the control unit 5.
[0014] The control unit 5 is composed of arithmetic devices such as a CPU (Central Processing Unit), a DSP (Digital Signal Processor), and an MCU (Micro Control Unit). The control unit 5 is connected to the storage unit 4, and operates as various processing units by reading and executing programs from the storage unit 4, and stores and reads various data in the storage unit 4. The control unit 5 is also connected to the operation input unit 2, the file input / output unit 3, and the output unit 6, and acquires data input by a user operating the operation input unit 2, acquires and outputs data as a file from the outside via the file input / output unit 3, and outputs the data from the file input / output unit 3 as a data file of the calculation result based on the acquired data, and / or outputs the data of the calculation result from the output unit 6.
[0015] The output unit 6 is a display device such as a liquid crystal display or a CRT (Cathode Ray Tube) display that outputs the results of calculations performed by the control unit 5, a projector, a printer, or the like. The input data generating unit 7 is a sensor that generates input data by detecting an object to be identified. For example, when image data is generated as the input data, the input data generating unit 7 may be an imaging device (camera). For example, when audio data is generated as the input data, the input data generating unit 7 may be a microphone. The control unit 5 may obtain the input data in which the recognition target is detected as a file from the outside via the file input / output unit 3, and in this case the input data generation unit 7 may be omitted.
[0016] (First embodiment) 2 is a block diagram of an example of a functional configuration of the classification device 1A of the first embodiment. The classification device 1A includes an input data acquisition means 10, a CNN 11, and a classification result output unit 12. The CNN 11 is an example of a "learning model" described in the claims. 1 functions as an input data acquisition means 10. The control unit 5 functions as a CNN 11. The file input / output unit 3 or the output unit 6 functions as a classification result output unit 12.
[0017] An input data acquisition means 10 acquires input data in which a classification target has been detected, and inputs the data to the CNN 11. The CNN 11 classifies the class of the classification target from the input data, and outputs the classification result. A classification result output unit 12 outputs the classification result by the CNN 11 to a display device, projector, or printer of the output unit 6, or outputs the result from the file input / output unit 3 as a data file.
[0018] As described later, the CNN 11 has a pooling layer. There are various pooling methods for the pooling process performed in the pooling layer, such as average pooling, max pooling, fractional max pooling, and spectral pooling. On the other hand, the characteristics of the object to be identified by the identification device 1 vary depending on the installation environment in which the identification device 1 is applied. Therefore, what pooling technique is effective varies depending on the environment in which the identification device 1 is applied (i.e., the environment in which it is installed and operated).
[0019] For example, when the classification task performed by the classification device 1 is to classify people (i.e., when the classification target is a person), in an environment where there are many "people in casual clothes," it is preferable to adopt a pooling method that emphasizes global information about the entire outfit (e.g., average pooling). On the other hand, in an environment where there are many "people in suits," it is preferable to adopt a pooling method that emphasizes local information about the face, tie, etc. (e.g., maximum pooling).
[0020] For this reason, in a conventional network design that uses only the pooling method determined at the time of designing the CNN, there are cases in which the expected classification performance cannot be achieved depending on the environment in which the classification device 1 is applied. Therefore, in the present invention, multiple pooling layers are provided, each of which performs multiple different pooling processes on an output signal from the same convolutional layer, and the features of the input data are calculated based on a weighted sum in which the output signals of each of the multiple pooling layers are weighted by a weighting coefficient.
[0021] This makes it possible to use multiple different pooling methods depending on the environment in which the classification device 1 is used by adjusting the weighting coefficients according to the environment in which the classification device 1 is used. As a result, it is possible to acquire features suitable for classifying a classification target that exists in the environment in which the classification device 1 is used.
[0022] The CNN 11 in FIG. 2 includes an input layer 11a, a convolutional layer 11b, a plurality of pooling layers 11c1 to 11cN arranged in parallel in the same hierarchical layer, a weighting calculation unit 11d, a fully connected layer 11e, and an output layer 11f. In the following description, the pooling layers 11c1 to 11cN may be collectively referred to as “pooling layer 11c.” The fully connected layer 11e and the output layer 11f are an example of a “classification unit” described in the claims.
[0023] The input layer 11 a receives input data from the input data acquisition means 10 as input to the CNN 11 . In the convolution layer 11b, a feature map (feature amount) Mc of the input data is extracted by performing a convolution process on the input data, and the extracted feature map Mc is output as an output signal to the multiple pooling layers 11c1 to 11cN.
[0024] The pooling layer 11c performs a pooling process on the feature map Mc extracted by the convolution layer 11b, and generates a feature map in which important information is extracted from the feature map Mc by aggregating information of the original feature map Mc. The CNN 11 of the present invention has a plurality of pooling layers 11c1 to 11cN arranged in parallel in the same hierarchy as the pooling layer 11c subsequent to the convolutional layer 11b.
[0025] The multiple pooling layers 11c1-11cN perform different pooling processes on the same feature map Mc extracted by the same convolution layer 11b to generate feature maps Mp1-MpN in which information on the original feature map Mc is aggregated. The pooling processes performed by the multiple pooling layers 11c1-11cN may be, for example, average pooling, maximum value pooling, fractional max pooling, spectral pooling, etc.
[0026] The weighting calculation unit 11d is disposed between the pooling layer 11c and the fully connected layer 11e, and calculates a weighted sum Mw=w1×Mp1+w2×Mp2+...+wN×MpN of the feature maps Mp1 to MpN outputted from the multiple pooling layers 11c1 to 11cN, respectively, weighted by weighting coefficients w1 to wN, as a feature map (feature amount) of the input data.
[0027] The fully connected layer 11e connects the feature map Mw to one node and outputs a feature variable. The output layer 11f calculates the probability for each class as to which the input data belongs by converting the feature variables output by the fully connected layer 11e into probabilities using a softmax function, and outputs the class with the maximum probability as the classification result.
[0028] 2 illustrates an example of a configuration in which the classification device 1A includes a fully connected layer 11e and an output layer 11f, but the present invention is not limited to such a configuration. Instead of the fully connected layer 11e and the output layer 11f, the classification device 1A may include a matching processing unit that identifies input data based on the similarity between a template feature amount prepared in advance and a feature amount output by the weighting calculation unit 11d. Such a matching processing unit is suitable for classification tasks such as person identification (Re-Identification: ReID) and face recognition, and features of a known target to be classified are prepared in advance and stored in the matching processing unit as template features.
[0029] For example, the matching processing unit converts the feature map output by the weighting calculation unit 11d into a feature amount (feature vector) by flattening processing or the like, and calculates the similarity between the converted feature amount and the template feature amount. For example, the matching processing unit may calculate the inner product of the feature amount of the input data and the template feature amount as the similarity. If the similarity is equal to or greater than a threshold, it may determine that the identification target for which the template feature amount was calculated is the same as the identification target of the input data, and if the similarity is less than the threshold, it may determine that they are not the same.
[0030] Furthermore, while FIG. 2 illustrates an example of a configuration in which the discrimination device 1A has only one combination of the convolution layer 11b and the pooling layer 11c, the present invention is not limited to such a configuration. The identification device 1A may have a configuration in which a combination of multiple stages of convolutional layers 11b and pooling layers 11c are connected in series. Of the multiple stages of pooling layers 11c, some of the pooling layers 11c may be composed of multiple pooling layers 11c1-11cN, or all of the pooling layers 11c may be composed of multiple pooling layers 11c1-11cN.
[0031] FIG. 3 is a flowchart of an example of the data identification method according to the first embodiment. In step S1, the input data acquisition means 10 and the input layer 11a of the CNN 11 acquire input data. In step S2, the convolution layer 11b extracts a feature map Mc of the input data by performing a convolution process on the input data.
[0032] In step S3, multiple pooling layers 11c1 to 11cN perform pooling processing using different methods on the same feature map Mc extracted by the same convolutional layer 11b, and generate feature maps Mp1 to MpN, respectively, in which important information is aggregated from the feature map Mc.
[0033] In step S4, the weighting calculation unit 11d calculates a weighted sum Mw=w1×Mp1+w2×Mp2+ . . . +wN×MpN of the feature maps Mp1 to MpN outputted from the plurality of pooling layers 11c1 to 11cN, respectively. In step S5, the fully connected layer 11e identifies the class of the classification target based on the weighted sum Mw, after which the process ends.
[0034] Second embodiment 4 is a block diagram of an example of a functional configuration of a classification device 1B according to the second embodiment. The classification device 1B according to the second embodiment performs machine learning to generate weight coefficients w1...wN and a fully connected layer 11e based on a classification result of a class of a classification target by the classification device 1B. Among the components of the identification device 1B of the second embodiment, components that are the same as or similar to the components of the identification device 1A of the first embodiment are given the same reference numerals.
[0035] The classification device 1B includes a classification result determination means 20 and a weighting coefficient learning means 21. The control unit 5 in FIG. The classification result determination means 20 determines whether or not the class of the classification target classified by the classification device 1B is a correct class. For example, the classification result determination means 20 may determine whether or not the classification result of the classification device 1B for input data of a known classification target is correct. The weighting coefficient learning means 21 performs machine learning on the weighting coefficients w1 . . . wN and the fully connected layer 11e so as to increase the accuracy rate of the classification result by the classification device 1B. In addition, in conjunction with machine learning of the weighting coefficients w1...wN and the fully connected layer 11e, the weighting coefficient learning means 21 may also perform machine learning of the convolutional layer 11b and the pooling layer 11c so as to increase the accuracy rate of the classification results by the classification device 1B.
[0036] Third embodiment 5 is a block diagram showing an example of a functional configuration of a discrimination device 1C according to the third embodiment. The discrimination device 1C according to the third embodiment sets weight coefficients w1...wN based on an input from a user. Among the components of the identification device 1C of the third embodiment, components that are the same as or similar to the components of the identification device 1A of the first embodiment are given the same reference numerals. The classification device 1C of the third embodiment includes a matching processor 11g instead of the fully connected layer 11e and the output layer 11f. The matching processor 11g classifies input data based on the similarity between the template feature amount prepared in advance as described above and the feature amount output by the weighting calculation unit 11d.
[0037] The classification device 1C includes a user input receiving means 22. The operation input unit 2 in Fig. 1 functions as the user input receiving means 22. The user input receiving means 22 receives setting inputs of the weighting coefficients w1...wN from the user. The weighting calculation unit 11d calculates the above weighting sum Mw=w1×Mp1+w2×Mp2+ . . . +wN×MpN based on the weighting coefficients w1 . . . wN set by the user.
[0038] (Fourth embodiment) 6 is a block diagram showing an example of the functional configuration of a discrimination device 1D according to the fourth embodiment. The discrimination device 1D according to the fourth embodiment also sets weight coefficients w1...wN based on an input from a user. Among the components of the identification device 1D of the fourth embodiment, components that are the same as or similar to the components of the identification device 1A of the first embodiment are given the same reference numerals.
[0039] The classification device 1D includes a user input receiving means 22, a weighting coefficient storage means 23, and a weighting coefficient setting means 24. The operation input unit 2 in FIG. 1 functions as the user input receiving means 22. The storage unit 4 functions as the weighting coefficient storage means 23. The control unit 5 functions as the weighting coefficient setting means 24. The user input receiving means 22 receives information on the actual tendency of the attribute of the classification target in the environment in which the classification device 1 is applied from the user.
[0040] For example, when the classification task of the classification device 1 is to classify a person, the attributes of the classification target may be the type and color of the person's clothing, the person's sex, age, height, build, and so on. The tendency of an attribute may be, for example, the composition ratio of each of these attributes among the attributes possessed by the objects to be classified that appear in the environment to which the classification device 1 is applied. For example, the tendency of an attribute may be the attribute that occupies the largest proportion, or the attribute that occupies a proportion greater than a threshold value.
[0041] The weighting coefficient storage means 23 stores in advance the correspondence between candidate value data of the tendency of the attribute of the classification target and the weighting coefficient. The weighting coefficient setting means 24 sets weighting coefficients w1 . . . wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the input values (tendencies of the attributes of the classification target) from the user input receiving means 22.
[0042] (Modification) The weighting coefficient storage means 23 may store, instead of or in addition to candidates for the tendencies of the attributes of the object to be classified, a correspondence between at least one of candidate value data for attributes of the environment to which the classification device 1 is applied, candidate value data for tendencies of attributes of the environment to which the classification device 1 is applied, candidate value data for attributes of the sensor that generates the input data, and candidate value data for tendencies of attributes of the sensor that generates the input data, and a weighting coefficient corresponding to each of the candidate value data. For example, as an attribute of the environment in which the classification device 1 is applied, a weighting factor for each of the cases of the environment in which the classification device 1 is applied being outdoors and indoors may be stored.
[0043] Also, for example, as a tendency of an attribute of the environment to which the classification device 1 is applied, a correspondence relationship between candidate value data of a tendency of brightness of the environment to which the classification device 1 is applied and a weighting factor for each candidate value data may be stored. For example, as attributes of the sensor that generates the input data, the correspondence between candidate value data for the sensor resolution and the sensor installation position (height, optical axis direction, etc.) and a weighting coefficient for each candidate value data may be stored. Also, for example, as a tendency of an attribute of a sensor generating input data, a correspondence relationship between candidate value data of a tendency of noise appearing in an output value from the sensor and a weighting factor for each candidate value data may be stored.
[0044] The user input receiving means 22 receives information from a user regarding the actual attributes of the environment to which the identification device 1 is applied, the actual trends in the attributes of the environment to which the identification device 1 is applied, the actual attributes of the sensor that generates the input data, or the actual trends in the attributes of the sensor that generates the input data. The weighting coefficient setting means 24 sets weighting coefficients w1...wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the input values from the user input receiving means 22 (the actual attributes of the environment to which the identification device 1 is applied, the actual attributes of the sensor that generates the input data, and the actual tendencies of these).
[0045] Fifth embodiment 7 is a block diagram of an example of a functional configuration of a classification device 1E of the fifth embodiment. The classification device 1E of the fifth embodiment estimates a tendency of an attribute of a classification target in an environment to which the classification device 1 is applied, and sets weighting coefficients w1...wN based on the estimation result of the tendency of the attribute of the classification target. Among the components of the identification device 1E of the fifth embodiment, components that are the same as or similar to the components of the identification device 1D of the fourth embodiment are given the same reference numerals.
[0046] The classification device 1E includes a weighting coefficient storage means 23, a weighting coefficient setting means 24, and an attribute tendency estimation means 25. The storage unit 4 in FIG. 1 functions as the weighting coefficient storage means 23. The control unit 5 functions as the weighting coefficient setting means 24 and the attribute tendency estimation means 25. The attribute tendency estimation means 25 estimates the actual tendency of the attribute of the classification target in the environment in which the classification device 1 is applied.
[0047] For example, the attribute tendency estimation means 25 may include a classifier and a learning model that estimates the attributes of the object to be identified from input data in which the object to be identified is detected. The attribute tendency estimation means 25 may estimate the tendency of the attribute of the object to be identified based on a history of estimation results of the attribute of the object to be identified. The weighting coefficient setting means 24 sets weighting coefficients w1 . . . wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the estimation results of the attribute tendency estimation means 25.
[0048] (Modification) As in the modified example of the fourth embodiment, the weighting coefficient storage means 23 may store a correspondence between at least one of candidate value data of tendencies of attributes of the environment to which the identification device 1 is applied and candidate value data of tendencies of attributes of the sensor that generates the input data, and a weighting coefficient corresponding to each of the candidate value data. The attribute tendency estimation means 25 estimates the actual tendency of the attribute of the environment to which the classification device 1 is applied, or the actual tendency of the attribute of the sensor generating the input data. The weighting coefficient setting means 24 sets weighting coefficients w1 . . . wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the estimation results of the attribute tendency estimation means 25.
[0049] Sixth embodiment 8 is a block diagram of an example of a functional configuration of a classification device 1F of the sixth embodiment. The classification device 1F of the sixth embodiment sets weight coefficients w1...wN based on the tendency of attributes of classification objects that the classification device 1F has failed to classify. Among the components of the identification device 1F of the sixth embodiment, components that are the same as or similar to the components of the identification device 1D of the fifth embodiment are given the same reference numerals.
[0050] The classification device 1F includes a classification result determination means 20, a weighting coefficient storage means 23, a weighting coefficient setting means 24, and an attribute tendency estimation means 25. 1 functions as a weighting coefficient storage means 23. The control means 5 functions as a discrimination result determination means 20, a weighting coefficient setting means 24, and an attribute tendency estimation means 25.
[0051] The classification result determination means 20 determines whether or not the class of the classification target classified by the classification device 1F is the correct class, in other words, whether or not the classification device 1F has failed to classify the class of the classification target. The attribute tendency estimation means 25 estimates the tendency of attributes of classification objects which the classification device 1F has failed to classify. For example, the attribute tendency estimation means 25 may estimate attributes of classification objects which the classification device 1F has failed to classify, and accumulate the estimation results.
[0052] The attribute tendency estimation means 25 may estimate the tendency of the attributes of the classification objects that the classification device 1F has failed to classify, from the accumulated history of the estimation results. The weighting coefficient setting means 24 sets weighting coefficients w1 . . . wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the estimation results of the attribute tendency estimation means 25.
[0053] Seventh embodiment 9 is a schematic diagram of an example of the overall configuration of the identification system 100 of the seventh and eighth embodiments. The identification system 100 includes an identification device 1E of the fifth embodiment or an identification device 1F of the sixth embodiment that is installed (applied) in a plurality of environments, and a center device 30 that is connected to the identification device 1E or 1F via a communication network such as an in-house LAN or the Internet and manages the identification device 1E or 1F. In the explanation of the seventh embodiment and the eighth embodiment described later, the term "identification device 1" means the identification device 1E of the fifth embodiment or the identification device 1F of the sixth embodiment.
[0054] The center device 30 is, for example, a server or the like, and includes an input unit 31, a communication unit 32, a storage unit 33, and a control unit 34. Of these, the control unit 34 and the storage unit 33 can be realized by a computer, and the input unit 31 and the communication unit 32 can be realized as peripheral devices of the computer. The input unit 31 is, for example, a touch panel, a mouse, a keyboard, etc., and receives operations by a controller at a management center where the central device 30 is installed, and sends a signal corresponding to the received operation to the control unit 34.
[0055] The communication unit 32 includes a network interface and the like that transmits and receives data between the center device 30 and the identification device 1 through wired or wireless communication. The storage unit 33 is a memory device such as a ROM or a RAM, and stores various programs and various data. The control unit 34 is composed of arithmetic devices such as a CPU, a DSP, and an MCU. The control unit 34 is connected to the storage unit 33, and operates as various processing units by reading and executing programs from the storage unit 33, and stores and reads various data in the storage unit 33. The functions of the center device 30 described below are realized by the control unit 34 executing computer programs stored in the storage unit 33. The control unit 34 is also connected to the input unit 31, and acquires data input by a controller operating the input unit 31.
[0056] 10 is a block diagram of an example of the functional configuration of the center device 30 of the seventh embodiment. The center device 30 of the seventh embodiment calculates and manages the classification rates (classification success rate, misclassification rate, and misclassification rate) of classification results of classification targets by classification devices 1 installed in a plurality of environments. When the classification success rate of a certain classification device 1 deteriorates (for example, when the classification success rate falls below a threshold), the center device 30 automatically adjusts the weighting coefficients w1...wN of the weighting calculation unit of this classification device 1.
[0057] The center device 30 of the seventh embodiment includes a discrimination result acquisition means 40, a discrimination success rate calculation means 41, and a command signal generation means . The discrimination result acquisition means 40 acquires the discrimination result of the discrimination device 1 from the discrimination result output unit 12 of the discrimination device 1 of the fifth embodiment (FIG. 7) or the sixth embodiment (FIG. 8). The classification success rate calculation means 41 calculates a classification success rate of the classification results acquired by the classification result acquisition means 40 .
[0058] For example, a controller managing the identification devices 1 may monitor the occurrence of erroneous identification or misidentification in the identification results of each identification device 1 acquired by the identification result acquisition means 40, and input the occurrence of these erroneous identification and misidentification to the center device 30 from the input unit 31. The identification success rate calculation means 41 may calculate the identification success rate for each identification device 1 based on the number of occurrences of these erroneous identification and misidentification. When the classification success rate of a certain classification device 1 falls below a threshold, the command signal generating means 42 generates a weighting coefficient adjustment command signal that instructs the weighting calculation unit to adjust the weighting coefficients w1...wN, and transmits the signal to the classification device 1.
[0059] The attribute tendency estimating means 25 (FIGS. 7 and 8) of the classification device 1 that receives the weighting coefficient adjustment command signal estimates the current tendency of the attribute of the classification target in the environment in which the classification device 1 is applied. The weighting coefficient setting means 24 sets weighting coefficients w1 . . . wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the estimation results of the attribute tendency estimation means 25.
[0060] Eighth embodiment 11 is a block diagram of an example of a functional configuration of the center device 30 of the eighth embodiment. The center device 30 of the eighth embodiment collects trends of attributes of the objects to be identified in a plurality of environments in which the identification devices 1 are installed, and determines changes in the trends of the attributes of the objects to be identified in each environment (for example, determines changes in trends in clothing accompanying seasonal changes, etc.). When the center device 30 determines that the tendency of the attribute of the classification target has changed in a certain environment, it automatically adjusts the weighting coefficients w1 . . . wN of the weighting calculation unit of the classification device 1 installed in this environment.
[0061] The center device 30 of the eighth embodiment includes an attribute tendency obtaining means 43, a tendency change detecting means 44, and a command signal generating means . The attribute tendency acquisition means 43 acquires, from the attribute tendency estimation means 25 of the classification device 1 of the fifth embodiment (FIG. 7) or the sixth embodiment (FIG. 8), the tendency of the attribute of the classification object in the environment to which each classification device 1 is applied.
[0062] The trend change detection means 44 judges whether or not the trend of the attribute of the classification target acquired by the attribute trend acquisition means 43 has changed. When the command signal generating means 42 determines that the tendency of the attributes of the object to be classified in a certain environment has changed, it generates a weighting coefficient adjustment command signal instructing the classification device 1 placed in this environment to adjust the weighting coefficients w1...wN of the weighting calculation unit, and transmits the signal to the classification device 1.
[0063] The attribute tendency estimating means 25 (FIGS. 7 and 8) of the classification device 1 that receives the weighting coefficient adjustment command signal estimates the current tendency of the attribute of the classification target in the environment in which the classification device 1 is applied. The weighting coefficient setting means 24 sets weighting coefficients w1 . . . wN based on the correspondence relationships stored in the weighting coefficient storage means 23 and the estimation results of the attribute tendency estimation means 25.
[0064] (Effects of the embodiment) (1) The CNN 11 that calculates the feature amount of input data includes a convolutional layer 11b and a plurality of pooling layers 11c1-11cN that perform a plurality of different pooling processes on an output signal from the same convolutional layer 11b. The classification device 1 calculates the feature amount of the input data based on a weighted sum in which the output signals of each of the plurality of pooling layers 11c1-11cN are weighted by a weighting coefficient. This makes it possible to use multiple different pooling methods depending on the environment in which the classification device 1 is used by adjusting the weighting coefficients according to the environment in which the classification device 1 is used. As a result, it is possible to acquire features suitable for classifying a classification target that exists in the environment in which the classification device 1 is used.
[0065] (2) The classification device 1 may include a CNN 11, a fully connected layer 11e and an output layer 11f as a classification unit that classifies the class of input data based on features, and a weighting coefficient learning means 21 that machine-learns weighting coefficients based on the classification results of the classification unit. This enables the weighting coefficients to be automatically learned so as to improve the classification rate of the classification device 1.
[0066] (3) The classification device 1 may include the CNN 11 and a user input receiving means 22 that receives a setting input of the weighting coefficient from a user. This allows the user to manually set the weighting coefficients based on their own judgment, thereby adjusting the classification rate of the classification device 1.
[0067] (4) The classification device 1 may include a CNN 11, a weighting coefficient storage means 23 that stores in advance a correspondence between candidate value data of the tendency of the attribute to be classified and a weighting coefficient, a user input receiving means 22 that receives from a user information on the actual tendency of the attribute to be classified in the environment to which the classification device 1 is applied, and a weighting coefficient setting means 24 that sets a weighting coefficient based on the correspondence stored in the weighting coefficient storage means 23 and an input value from the user input receiving means 22. This allows the user to determine the tendency of the attributes of the object to be classified in the environment in which the classification device 1 is applied, and to set the weighting coefficient based on the result of the determination, thereby allowing the classification device 1 to have a classification rate.
[0068] The weighting coefficient storage means 23 may store a correspondence relationship between at least one of candidate value data of the attribute of the environment to which the classification device 1 is applied, candidate value data of the attribute tendency of the environment to which the classification device 1 is applied, candidate value data of the attribute of the sensor that generates the input data, and candidate value data of the attribute tendency of the sensor that generates the input data, and a weighting coefficient corresponding to the candidate value data. The user input receiving means 22 may receive at least one of information of the actual attribute of the environment to which the classification device 1 is applied, the actual tendency of the attribute of the environment to which the classification device 1 is applied, the actual attribute of the sensor that generates the input data, and the actual tendency of the attribute of the sensor that generates the input data from the user.
[0069] (5) The classification device 1 may include a CNN 11, a weighting coefficient storage means 23 that pre-stores a correspondence between candidate value data of tendencies of an attribute of an object to be classified and a weighting coefficient, an attribute tendency estimation means 25 that estimates an actual tendency of the attribute of an object to be classified in an environment to which the classification device 1 is applied, and a weighting coefficient setting means 24 that sets a weighting coefficient based on the correspondence stored in the weighting coefficient storage means 23 and an estimate by the attribute tendency estimation means 25. This allows the weighting coefficients to be set so as to adapt to the environment in which the identification device 1 is used.
[0070] The weighting coefficient storage means 23 may store a correspondence relationship between at least one of candidate value data of the attribute tendency of the environment to which the classification device 1 is applied and candidate value data of the attribute tendency of the sensor generating the input data, and a weighting coefficient corresponding to the candidate value data. The attribute tendency estimation means 25 may estimate an actual tendency of the attribute of the environment to which the classification device 1 is applied, or an actual tendency of the attribute of the sensor generating the input data.
[0071] (6) The weighting factor setting means 24 may set weighting factors based on the tendency of attributes of classification objects that the classification device 1 has failed to classify. This allows the weighting coefficients to be set so as to improve the classification accuracy of classification objects that the classification device 1 is likely to fail to classify.
[0072] (7) The weighting factor setting means 24 may set a weighting factor based on the tendency of the attribute of the classification target estimated by the attribute tendency estimating means 25 when the classification success rate by the classification device 1 falls below a threshold value. This makes it possible to improve the classification accuracy of the classification device 1 whose classification success rate has decreased due to a change in the tendency of the attributes of the classification target.
[0073] (8) When the weighting coefficient setting means 24 detects a change in the trend of the attributes of the object to be identified estimated by the attribute trend estimation means 25, the weighting coefficient setting means 24 may set a weighting coefficient based on the trend of the attributes of the object to be identified estimated by the attribute trend estimation means 25. This makes it possible to suppress a decrease in the classification success rate due to changes in the tendency of the attributes of the classification target. [Explanation of symbols]
[0074] 1, 1A to 1F... classification device, 2... operation input unit, 3... file input / output unit, 4... memory unit, 5... control unit, 6... output unit, 7... input data generation unit, 10... input data acquisition means, 11a... input layer, 11b... convolution layer, 11c, 11c1 to 11cN... pooling layer, 11d... weighting calculation unit, 11e... fully connected layer, 11f... output layer, 11g... matching processing unit, 12... classification result output unit, 20... classification result determination means, 21... weighting coefficient learning means, 22... user input acceptance means, 23... weighting coefficient storage means, 24... weighting coefficient setting means, 25... attribute tendency estimation means, 30... center device, 31... input unit, 32... communication unit, 33... memory unit, 34... control unit, 40... classification result acquisition means, 41... classification success rate calculation means, 42... command signal generation means, 43... attribute tendency acquisition means, 44... tendency change detection means
Claims
1. A learning model for calculating a feature amount of input data, A convolutional layer; A plurality of pooling layers each performing a plurality of different pooling processes on an output signal from the same convolution layer; and calculating the feature amount of the input data based on a weighted sum in which output signals of each of the plurality of pooling layers are weighted by a weighting coefficient.
2. A learning model according to claim 1; A classification unit that classifies the class of the input data based on the feature amount; a learning unit that performs machine learning on the weighting coefficient based on the classification result of the classification unit; An identification device comprising:
3. A learning model according to claim 1; an input receiving unit that receives a setting input of the weighting coefficient from a user; An identification device comprising:
4. A learning model according to claim 1; a classification unit that classifies a class of the classification target based on the feature amount calculated from the input data in which the classification target is detected; a storage unit that stores in advance a correspondence relationship between candidate value data of the tendency of the attribute of the classification target and the weighting coefficient; an input receiving unit that receives information on actual trends of the attributes of the object to be classified in an environment to which the learning model is applied from a user; the weighting factor setting unit setting the weighting factor based on the correspondence relationship stored in the storage unit and an input value from the input receiving unit; An identification device comprising:
5. A learning model according to claim 1; a storage unit that stores a correspondence relationship between at least one of candidate value data of an attribute of an environment to which the learning model is applied, candidate value data of a tendency of an attribute of the environment to which the learning model is applied, candidate value data of an attribute of a sensor that generates the input data, and candidate value data of a tendency of an attribute of the sensor that generates the input data, and the weighting coefficient corresponding to the candidate value data; an input receiving unit that receives at least one piece of information from a user, including an actual attribute of an environment to which the learning model is applied, an actual tendency of the attribute of the environment to which the learning model is applied, an actual attribute of a sensor that generates the input data, and an actual tendency of the attribute of a sensor that generates the input data; the weighting factor setting unit setting the weighting factor based on the correspondence relationship stored in the storage unit and an input value from the input receiving unit; An identification device comprising:
6. A learning model according to claim 1; a classification unit that classifies a class of the classification target based on the feature amount calculated from the input data in which the classification target is detected; a storage unit that stores in advance a correspondence relationship between candidate value data of the tendency of the attribute of the classification target and the weighting coefficient; an attribute tendency estimation unit that estimates an actual tendency of the attribute of the classification target in an environment to which the learning model is applied; the weighting factor setting unit setting the weighting factor based on the correspondence relationship stored in the storage unit and the estimated value by the attribute tendency estimation unit; An identification device comprising:
7. A learning model according to claim 1; a storage unit that stores a correspondence relationship between at least one candidate value data among candidate value data of a tendency of an attribute of an environment to which the learning model is applied and candidate value data of a tendency of an attribute of a sensor that generates the input data, and the weighting coefficient corresponding to the candidate value data; An attribute tendency estimation unit that estimates an actual tendency of an attribute of an environment to which the learning model is applied, or an actual tendency of an attribute of a sensor that generates the input data; the weighting factor setting unit setting the weighting factor based on the correspondence relationship stored in the storage unit and the estimated value by the attribute tendency estimation unit; An identification device comprising:
8. 7. The classification device according to claim 6, wherein the weighting factor setting section sets the weighting factor based on a tendency of an attribute of the classification object that the classification section has failed to classify.
9. The classification device according to claim 6, characterized in that the weighting coefficient setting unit sets the weighting coefficient based on the tendency of the attribute of the classification object estimated by the attribute tendency estimation unit when the classification success rate by the classification unit becomes equal to or lower than a threshold value.
10. The classification device according to claim 6, characterized in that, when a change in the trend of the attribute of the classification object estimated by the attribute tendency estimation unit is detected, the weighting coefficient setting unit sets the weighting coefficient based on the trend of the attribute of the classification object estimated by the attribute tendency estimation unit.
Citation Information
Patent Citations
Image feature learning device, image feature learning method, image feature extraction device, image feature extraction method, and program
JP2019219712A
Systems and methods for hardware-based pooling
JP2021509747A
Windowed contextual pooling for object detection neural networks
US20220237444A1
Object re-identification method
JP2018506788A
Cited By
Signal feature sensing method based on multi-dimensional index weighted convolution
CN120763592A
