Learning device, estimation device, learning method, and learning program
The learning device and estimation device use multiple neural networks to align feature vector distributions and maximize posterior probabilities across age groups, addressing performance degradation due to varying recording conditions in age estimation tasks, achieving high accuracy and robustness.
Patent Information
- Application Number
- JP2023539586
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2041-08-06
AI Technical Summary
Existing age estimation methods using neural networks (NNs) suffer significant performance degradation when there are differences in data recording conditions between learning and operation, particularly for ordered labels like age, as they fail to account for the order of labels and mismatched distributions.
A learning device and estimation device that utilize multiple neural networks to convert and estimate age-labeled source data and unlabeled target data, adjusting parameters to minimize distribution distance and maximize posterior probability across age groups, ensuring robust age estimation despite varying recording conditions.
The method achieves a robust age estimator capable of high accuracy even with differing data recording conditions, improving performance by aligning feature vector distributions across age groups and considering label order, thus enhancing age estimation precision.
Smart Images

Figure 0007571888000006 
Figure 0007571888000007 
Figure 0007571888000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a learning device, an estimation device, a learning method, and a learning program. [Background technology]
[0002] There is a demand for age estimation technology that estimates a person's age from a face image or voice in the fields of call centers and marketing. In response to this demand, a person age estimation method using a neural network (NN) (e.g., Non-Patent Document 1) has been known in recent years in the fields of voice processing and image processing.
[0003] Non-Patent Document 1 describes that age can be estimated with high accuracy by linking a NN that converts a voice signal into a feature vector with a NN that estimates the posterior probability of an age label from the feature vector, and training these NNs simultaneously to maximize the posterior probability for the correct age value.
[0004] Here, it is known that in an age estimation method based on a NN, if the recording conditions of the input data are not the same when the NN is trained and when the NN is operated, the performance is significantly degraded. For example, Non-Patent Document 1 describes that in an age estimation task using face images and voice, if different recording devices are used during training and operation, the distribution of input data changes significantly between training and operation, and the age estimation accuracy is significantly degraded.
[0005] Such degradation of NN performance due to differences in the properties of input data is a well-known phenomenon in the field of image processing, and several solutions have been proposed (e.g., Non-Patent Documents 2 and 3).
[0006] For example, Non-Patent Document 2 describes a method for solving this problem by using, when training a NN, training data (source data) that has been collected in an environment different from that during operation and has been given teacher labels, together with data (target data) that has been collected in the same environment as during operation and has not been given teacher labels. This method describes that by inputting source data and target data, calculating the distance between the distributions of the obtained intermediate output of the NN using the Maximum Mean Discrepancy (MMD) criterion, and training the NN to minimize this, it is possible to suppress performance degradation caused by discrepancies in the input data distributions.
[0007] However, the method described in Non-Patent Document 2 has a problem in that the distribution of each piece of data is made closer regardless of the class to be estimated, which reduces the accuracy of class classification, which is the original objective.
[0008] For this reason, Non-Patent Document 3 describes that this problem can be solved by first estimating the class of the target data and then introducing a technique called Local MMD, which brings the distribution of each class closer together based on the estimated class posterior probability. [Prior art documents] [Non-patent literature]
[0009] [Non-Patent Document 1] N. Tawara et al., “AGE-VOX-CELEB: MULTI-MODAL CORPUS FOR FACIAL AND SPEECH ESTIMATION”, In Proc. ICASSP, pp.6963-6967, 2021. [Non-Patent Document 2] M. Long et al., “Learning Transferable Features with Deep Adaptation Networks”, In International conference on machine learning, pp. 97-105, 2015. [Non-Patent Document 3] Y. Zhu et al., “Deep Subdomain Adaptation Network for Image Classification”, IEEE transactions on neural networks and learning systems, 2020. Summary of the Invention [Problem to be solved by the invention]
[0010] The methods described in Non-Patent Documents 2 and 3 were developed for the problem of estimating mutually independent labels, such as image classification, and do not work well for the problem of estimating ordered labels, such as age.
[0011] For example, in the technology described in Non-Patent Document 3, first, a label is estimated for the target data, and the distribution of the source data and the target data are made closer based on the estimated label, thereby resolving the problem of distribution mismatch.
[0012] However, in the case of the technology described in Non-Patent Document 3, in the age estimation problem, there is a label order, for example, the difference between 20 and 25 years old is greater than the difference between 20 and 80 years old, so there was a problem that performance would decrease if one tried to ignore this order and approximate two distributions independently for each class.
[0013] The present invention has been made in consideration of the above, and aims to provide a learning device, an estimation device, a learning method, and a learning program that can obtain a robust age estimator even if there are differences in data recording conditions between learning and operation. [Means for solving the problem]
[0014] In order to solve the above-mentioned problems and achieve the object, the learning device according to the present invention includes a conversion unit that converts age-labeled source data into a feature vector using a first neural network, and converts target data without an age label into a feature vector, a first estimation unit that uses a second neural network to estimate a posterior probability for the age of a target person from the feature vector of the source data converted by the conversion unit, a second estimation unit that uses a third neural network to estimate a posterior probability for the age of the target person from the feature vector of the source data, and estimates a posterior probability for the age of the target person from the feature vector of the target data, and an updating unit that updates each parameter of the first neural network, the second neural network, and the third neural network so that the distributions of the feature vectors of the source data converted by the conversion unit and the feature vectors of the target data approach each other based on a distribution distance criterion predefined for each age group, under the condition of the posterior probability of the age of the target data estimated by the second estimation unit and the correct age group of the source data, while making the posterior probability of the correct age and the posterior probability of the correct age of the target person largest among the posterior probability of the age of the source data estimated by the second estimation unit and the posterior probability of the age of the source data estimated by the second estimation unit.
[0015] The estimation device of the present invention includes a conversion unit that converts data into a feature vector using a first neural network, and an estimation unit that uses a second neural network to estimate the age of a target person from the feature vector converted by the conversion unit, and the first and second neural networks are trained to maximize the posterior probability of a correct age and the posterior probability of a correct age for the target person relative to the posterior probability for each age of the age-labeled source data estimated by the second neural network and the posterior probability for the age of the source data estimated by a third NN neural network that estimates the posterior probability for the person's age, while approximating the distribution of the feature vector of the source data converted by the first neural network and the feature vector of the target data based on a distribution distance criterion predefined for each age group, under the condition of the posterior probability of the age of the target data not assigned with an age label estimated by the third neural network and the correct age group of the source data. Effect of the Invention
[0016] According to the present invention, a robust age estimator can be obtained even when there is a difference in data recording conditions between learning and operation. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a learning device according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a process flow in the learning device shown in FIG. [Diagram 3] FIG. 3 is a diagram illustrating an example of the configuration of the first NN. [Figure 4] FIG. 4 is a diagram illustrating an example of the configuration of the first NN. [Diagram 5] FIG. 5 is a diagram illustrating an example of the configuration of the second NN. [Figure 6]FIG. 6 is a diagram illustrating an example of the configuration of the third NN. [Figure 7] FIG. 7 is a flowchart illustrating a processing procedure of the learning process according to the embodiment. [Figure 8] FIG. 8 is a diagram illustrating an example of a configuration of an estimation device according to an embodiment. [Figure 9] FIG. 9 is a flowchart showing the procedure of the estimation process executed by the estimation device shown in FIG. [Figure 10] FIG. 10 is a diagram illustrating an example of a computer that realizes the learning device and the estimation device by executing a program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to this embodiment. In addition, in the description of the drawings, the same parts are denoted by the same reference numerals. Note that, in the following, when "~A" is written for a vector A, it is equivalent to "a symbol with "~" written immediately above "A".
[0019] [Embodiment Mode] In this embodiment, learning of an estimation model that estimates a person's age using a neural network (NN) from input face image data and voice data will be described. In this embodiment, after estimating labels in larger divisions (for example, age groups in 10-year increments) than the divisions of ages that are originally to be estimated, learning of the NN is performed so that the distribution of features of the source data and the target data becomes close within these larger divisions. As a result, in this embodiment, an age estimator that can absorb differences in data recording conditions between learning and operation is obtained while taking into account the order of the labels.
[0020] [Learning device] Next, a learning device according to an embodiment will be described. Fig. 1 is a diagram showing a schematic configuration of a learning device according to an embodiment. Fig. 2 is a diagram showing a process flow in the learning device shown in Fig. 1.
[0021] The learning device 10 according to the embodiment is realized by, for example, loading a predetermined program into a computer or the like including a ROM (Read Only Memory), a RAM (Random Access Memory), a CPU (Central Processing Unit), etc., and having the CPU execute the predetermined program. The learning device 10 also has a communication interface for transmitting and receiving various information to and from other devices connected via a wired connection or a network, etc.
[0022] As shown in Figures 1 and 2, the learning device 10 has a data selection unit 11, an estimation unit 12, an update unit 13, and a control processing unit 14. The learning device 10 uses source data with age labels collected under recording conditions different from those during actual operation, and data (target data) with no age labels attached that is recorded in the same environment as during operation. The source data and the adaptation data are face image data or voice data. The source data and the target data are face image data or voice data.
[0023] The data selection unit 11 selects one source data from learning data (source data group) having a plurality of source data, and randomly selects target data from adaptation data (target data group) having a plurality of target data, as data to be input to the feature conversion unit 121 (described later). The data selection unit 11 outputs the correct age of the selected source data and the correct era of the source data calculated from the correct age to the update unit 13.
[0024] The estimation unit 12 estimates the age of a target person based on a plurality of face image data or voice data based on face image data or voice data of the same person. The estimation unit 12 has a feature conversion unit 121 (conversion unit), an age estimation unit 122 (first estimation unit), and a generation estimation unit 123 (second estimation unit).
[0025] The feature conversion unit 121 converts face image data or voice data into a feature vector for age estimation using the first NN 1211. The feature conversion unit 121 selects source data and target data from a source data set and a target data set, and extracts a feature vector of each data.
[0026] The first NN 1211 is an NN that converts a series of face image data or voice data of a person selected as source data and target data by the data selection unit 11 into feature vectors. The first NN 1211 converts the source data selected by the data selection unit 11 into a feature vector. The first NN 1211 converts the target data selected by the data selection unit 11 into a feature vector.
[0027] When speech data is the target, the first NN 1211 is realized by an NN that converts speech data into a feature vector, for example, by using the technology described in Non-Patent Document 1. FIG. 3 is a diagram for explaining an example of the configuration of the first NN 1211. In this case, the first NN 1211 is realized by an NN having a structure as shown in FIG. 3, for example. As an example, the first NN 1211 is realized by a convolutional NN consisting of a plurality of time-delay layers and a statistical pooling layer.
[0028] When facial image data is the target, the first NN 1211 is realized by an NN that converts the facial image data into a feature vector, for example, by using the technology described in Non-Patent Document 2. FIG. 4 is a diagram for explaining an example of the configuration of the first NN 1211. In this case, the first NN 1211 is realized by an NN having a structure as shown in FIG. 4, for example. As an example, the first NN 1211 is realized by a convolutional NN consisting of a plurality of residual blocks that employ Squeeze-and-Excitation.
[0029] The age estimation unit 122 uses the second NN 1221 to estimate the posterior probability for the age of the target person from the feature vector of the source data converted by the feature conversion unit 121. The second NN 1221 is an NN that estimates the age of the target person from the feature vector converted by the first NN 1211.
[0030] The second NN 1221 is realized by an NN that estimates the age value of a target person from a feature vector, for example, using the technology described in Non-Patent Document 1. FIG. 5 is a diagram for explaining an example of the configuration of the second NN 1221. This second NN 1221 is realized by an NN having a structure as shown in FIG. 5, for example. As an example, the second NN 1221 is realized by a plurality of 512-dimensional fully connected layers and a fully connected layer of the same number of dimensions as the number of age classes to be estimated (for example, 101 classes from 0 to 100 years old).
[0031] The age estimation unit 123 uses the third NN 1231 to estimate each posterior probability for the age of the target person from the feature vector of the source data and the feature vector of the target data converted by the feature conversion unit 121. The third NN 1231 is an NN that estimates the age of the target person from the feature vector converted by the first NN 1211. The third NN 1231 estimates the posterior probability for the age of the target person from the feature vector of the source data. The third NN 1231 estimates the posterior probability for the age of the target person from the feature vector of the target data.
[0032] FIG. 6 is a diagram for explaining an example of the configuration of the third NN 1231. The third NN 1231 is realized, for example, by an NN having a structure as shown in FIG. 6. The third NN 1231 is realized, for example, by a plurality of 512-dimensional fully connected layers and a fully connected layer of the same number of dimensions as the number of age classes defined in advance. However, the number of age classes is set to be equal to or less than the age category that is originally to be estimated. For example, when estimating in 1-year increments from 0 to 100 years old with the second NN 1221, the third NN 1231 may have 10 classes in 10-year increments from 0 to 100 years old (teens, 20s, ...).
[0033] The update unit 13 updates the parameters of the first NN1211, the second NN1221, and the third NN1231 so as to maximize the posterior probability of the correct age class and the posterior probability of the correct age class of the target person. At this time, the update unit 13 inputs the feature vector of the target data to the third NN1231 to obtain the posterior probability of the age class of the target person of the target data. Then, the update unit 13 calculates a conditional distribution distance weighted by the correct age of the source data and the posterior probability of the age of the target data for the feature vector of the source data output from the first NN1211 and the feature vector of the target data. The update unit 13 updates the parameters of the first NN1211, the second NN1221, and the third NN1231 so as to minimize the calculated conditional distribution distance.
[0034] Therefore, the update unit 13 updates the parameters of the first NN 1211, the second NN 1221, and the third NN 1231 so that the posterior probability of the correct age and the posterior probability of the correct age of the target person are maximized compared to the posterior probability for each age of the source data estimated by the age estimation unit 122 and the posterior probability for each age of the source data estimated by the age estimation unit 123, while updating the parameters of the first NN 1211, the second NN 1221, and the third NN 1231 so that the distributions of the feature vectors of the source data converted by the feature conversion unit 121 and the feature vectors of the target data are brought closer together according to a distribution distance criterion predefined for each age group, subject to the posterior probability of each age group of the target data estimated by the age estimation unit 123 and the correct age group of the source data.
[0035] For example, n s The feature vector of the source data obtained by applying the first NN1211 to the source data is x s 1,x s 2,···,x s ns Then, the second NN1221 is applied to the feature vectors of these source data, and the age estimation results obtained are denoted as ~y s 1,~y s 2,...,~y s nsThen, the third NN1231 is applied to the feature vector of the source data, and the age estimation result is ~v s 1,~v s 2,...,~v s ns Let the correct age of the target person in the source data be y s 1,y s 2,···,y s ns Let v be the correct age of the target person in the source data. s 1,v s 2,...,v s ns Then, the loss function L is expressed by equation (1).
[0036]
number
[0037] However, the first term of equation (1), cross_entropy(~y s i ,y s i ) is the cross entropy between the age posterior probability estimated by the second NN1221 and the correct age label. Also, the second term of Equation (2), cross_entropy(~v s i ,v s i ) is the cross-entropy between the age posterior probability estimated by the third 1131 and the ground-truth age label.
[0038] The third term of equation (1), d H (p s ,p t ) represents the conditional distribution distance between the feature vector of the source data and the feature vector of the target data. d H (p s ,p t ) is, for example, when the local maximum mean discrepancy (LMMD) defined in Non-Patent Document 3 is used as the distribution distance, n tThe feature vectors obtained by applying the first NN1211 to each target data are denoted as x t 1,x t 2,···,x t nt Then, the distribution distance d H (p s ,p t ) is expressed by equation (2). In the following, the age estimation results obtained by applying the third NN1231 to the feature vector of the target data are expressed as ~v t 1,~v t 2,...,~v t nt Let us assume that.
[0039]
number
[0040] In this case, C represents the number of age classes. sc i And w tc j and represent the contribution ratios of the i-th source data and the j-th target data to the age class c (weights that contribute to the conditional distribution distance of each age class), respectively, and the posterior probability of the j-th target data obtained by the third NN1231 for the c-th age class is p(~v t j =c|x t j ), it is defined by equation (3).
[0041]
number
[0042] With the parameter to be updated as θ, the update unit 13 updates the parameters (parameters of the first NN 1211, the second NN 1221, and the third NN 1231) using the following equation (4) so as to minimize the loss function L defined by equation (1).
[0043]
number
[0044] In the equation (4), μ is a preset learning weight and is a positive constant.
[0045] In addition, λ in formula (1) is a learning weight of the conditional distribution distance, and is designed to be a small value close to 0 at the beginning of learning and gradually approach 1 as learning progresses. For example, if the maximum number of iterations of the update unit 13 is I, the weight λ at the i-th iteration is i can be calculated using equation (5).
[0046]
number
[0047] In the equation (5), γ is a parameter that determines the speed of the preset learning weight and is a positive constant.
[0048] The control processing unit 14 repeatedly executes the processes by the feature conversion unit 121, the age estimation unit 122, the generation estimation unit 123, and the update unit 13 until a predetermined condition is satisfied. The control processing unit 14 repeatedly executes the update of the parameters of the first NN 1211, the second NN 1221, and the third NN 1231 by the update unit 13 until a predetermined condition is satisfied. The predetermined condition is, for example, a condition that the learning of the first NN 1211, the second NN 1221, and the third NN 1231 is sufficiently performed, such as reaching a predetermined number of repetitions or the total amount of update of the parameters of the first NN 1211, the second NN 1221, and the third NN 1231 being less than a predetermined threshold.
[0049] [Learning process procedure] Next, a description will be given of the learning process executed by the learning device 10. Fig. 7 is a flowchart showing the processing procedure of the learning process according to the embodiment.
[0050] 7, in the learning device 10, the data selection unit 11 selects source data and target data (step S1). The data selection unit 11 randomly selects the target data. Then, the feature conversion unit 121 converts the source data and the target data selected by the data selection unit 11 into feature vectors using the first NN 1211 (step S2).
[0051] The age estimation unit 122 uses the second NN 1221 to estimate the age of the target person from the feature vector of the source data converted by the feature conversion unit 121 (step S3). The age estimation unit 123 uses the third NN 1231 to estimate the posterior probability for the target person's age from the feature vector of the source data converted by the feature conversion unit 121, and estimates the posterior probability for the target person's age from the feature vector of the target data (step S4).
[0052] The update unit 13 updates the parameters of the first NN 1211, the second NN 1221, and the third NN 1231 so that the posterior probability of the correct age and the correct age of the target person are maximized compared to the posterior probability for each age of the source data estimated by the age estimation unit 122 and for each age of the source data estimated by the age estimation unit 123, while taking the posterior probability of each age of the target data estimated by the age estimation unit 123 and the correct age of the source data as conditions, so that the distributions of the feature vectors of the source data converted by the feature conversion unit 121 and the feature vectors of the target data are brought closer together according to a distribution distance criterion predefined for each age group (step S5).
[0053] The control processing unit 14 determines whether or not a predetermined condition is satisfied (step S6). If the predetermined condition is not satisfied (step S6: No), the learning device 10 returns to step S2 and performs each process of data processing, feature conversion, age estimation, and parameter update. On the other hand, if the predetermined condition is satisfied (step S6: Yes), the learning device 10 ends the learning process.
[0054] [Estimation device] Next, an estimation device according to an embodiment will be described. Fig. 8 is a diagram illustrating an example of the configuration of the estimation device according to an embodiment. Fig. 9 is a flowchart illustrating an estimation process procedure executed by the estimation device illustrated in Fig. 8.
[0055] 8 includes a feature conversion unit 221 (conversion unit) having a first NN 1211, and an age estimation unit 222 (estimation unit) having a second NN 1221. The first NN 1211 and the second NN 1221 are NNs that have been trained by the learning device 10.
[0056] When the feature conversion unit 221 receives input of face image data or voice data (step S11 in FIG. 9), it converts the face image data or voice data into features using the first NN 1211 (step S12 in FIG. 9).
[0057] The age estimation unit 222 uses the second NN 1221 to estimate the age of the target person from the feature vector converted by the feature conversion unit 211 (step S13 in FIG. 9), and outputs the estimated age (step S14 in FIG. 9).
[0058] [Evaluation experiment] Next, an evaluation experiment was performed on the first NN1211 and the second NN1221 trained based on formula (1) by the learning device 10. Here, 29076 utterances of 587 speakers recorded with a headset microphone were used as source data, and 8180 utterances of 409 speakers recorded with a microphone mounted on a smartphone different from the source data were used as target data to train the first NN1211, the second NN1221, and the third NN1231. After that, the estimation device 20 estimated the speaker ages using the first NN1211 and the second NN1221 for 1300 utterances of 120 speakers recorded with the same microphone mounted on the smartphone as the target data.
[0059] As a result, in the estimation device 20, the mean absolute error between the correct age value and the speaker's age estimation results by the first NN 1211 and the second NN 1221 was 8.02 years. In addition, in the estimation device 20, the correlation coefficient between the correct age value and the speaker's age estimation results was 0.84.
[0060] On the other hand, for reference, when the first NN1211 and the second NN1221 were trained using only the source data, the absolute error with the estimation result of the speaker's age was 11.76 years, and the correlation coefficient was 0.71. From this, it was confirmed that the method of training the first NN1211, the second NN1221, and the third NN1231 so as to bring the distribution of the source data and the target data closer to each age group, as in the case of the training device 10, functions effectively.
[0061] [Effects of the embodiment] In this way, according to this embodiment, even if there is a difference in the data recording conditions during learning and operation, it is possible to obtain a feature extractor (first NN 1211) and an age estimator (second NN 1221) that are robust to these differences. In other words, in this embodiment, when training an NN that estimates age from face image data or voice data, "after estimating labels in a larger division (for example, age groups in 10-year increments) than the division of age that is originally to be estimated, the NN is trained so that the distribution of the feature vectors of the source data and the target data becomes close within this larger division, thereby realizing an NN that can output age estimation results with high accuracy regardless of the difference in the data recording conditions during learning and operation.
[0062] The learning device 10 is similar to the technology described in Non-Patent Document 3 in that it estimates the label of the target data and, based on the estimation result, brings the distributions of the source data and the target data closer together to solve the problem of data mismatch. However, it differs in the following points.
[0063] First, the technology described in Non-Patent Document 3 targets only discrete labels in which the data to be estimated are mutually independent, as in a general classification problem. In contrast, the present embodiment differs in that it targets ordered age labels.
[0064] Secondly, the technology described in Non-Patent Document 3 attempts to approximate the distribution by using the estimation results of the labels that are the original estimation target. In contrast, in this embodiment, learning is performed to approximate the distribution for each age group, which is a coarser granularity.
[0065] In the embodiment, by taking the order of the labels into consideration in this way, it becomes easier to bring the distributions closer together for each age group, and greater performance improvement can be expected.
[0066] In this way, in this embodiment, by using source data with age labels recorded in an environment different from that during operation, and target data recorded in the same environment as during operation but with no age labels, it is possible to significantly improve the performance of the feature converter and age estimator compared to when learning using only the source data.
[0067] Furthermore, in order to collect age-labeled data in an operational environment, collecting a large number of speakers (several hundred people) from each age group is a very cumbersome process, so by being able to omit this process, as in this embodiment, efficiency can be improved.
[0068] The content of approximating the distribution for each class to be estimated is the same as in Non-Patent Document 3, but the technology described in Non-Patent Document 3 does not assume tasks such as age estimation, and is therefore ineffective if applied as is. In contrast, in this embodiment, "age is an ordered value and can be defined in larger divisions such as generations, so the distribution is approximated in these larger divisions," thereby realizing a highly accurate age estimator.
[0069] This embodiment is applicable regardless of the difference in input, such as image data, audio data, etc. Specifically, the first NN 1211 may be changed to one suitable for each type of input data.
[0070] [System configuration of the embodiment] Each component of the learning device 10 and the estimation device 20 is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of the functions of the learning device 10 and the estimation device 20 is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc.
[0071] Furthermore, all or any part of the processes performed in the learning device 10 and the estimation device 20 may be realized by a CPU, a GPU (Graphics Processing Unit), and a program analyzed and executed by the CPU and the GPU. Furthermore, each process performed in the learning device 10 and the estimation device 20 may be realized as hardware using wired logic.
[0072] Furthermore, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually. Alternatively, all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the process procedures, control procedures, specific names, and information including various data and parameters described above and shown in the drawings can be changed as appropriate unless otherwise specified.
[0073] [program] 10 is a diagram showing an example of a computer in which a program is executed to realize the learning device 10 and the estimation device 20. The computer 1000 has, for example, a memory 1010 and a CPU 1020. The computer 1000 also has a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.
[0074] The memory 1010 includes a ROM 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.
[0075] The hard disk drive 1090 stores, for example, an OS (Operating System) 1091, an application program 1092, a program module 1093, and program data 1094. That is, a program that defines each process of the learning device 10 and the estimation device 20 is implemented as a program module 1093 in which code executable by the computer 1000 is written. The program module 1093 is stored, for example, in the hard disk drive 1090. For example, a program module 1093 for executing processes similar to the functional configurations of the learning device 10 and the estimation device 20 is stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced with an SSD (Solid State Drive).
[0076] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in memory 1010 or hard disk drive 1090. Then, CPU 1020 reads out program module 1093 or program data 1094 stored in memory 1010 or hard disk drive 1090 into RAM 1012 as necessary, and executes the program.
[0077] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)). The program module 1093 and the program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070.
[0078] Although the embodiment of the invention made by the present inventor has been described above, the present invention is not limited by the description and drawings that form a part of the disclosure of the present invention according to the present embodiment. In other words, other embodiments, examples, operation techniques, etc. made by those skilled in the art based on the present embodiment are all included in the scope of the present invention. [Explanation of symbols]
[0079] 10 Learning Device 11 Data selection section 12 Estimation part 13 Update section 14 Control processing section 121,221 Feature conversion unit 122,222 Age Estimation Department 123 Era Estimation Department 1211 1st NN 1221 Second NN 1231 3rd NN
Claims
1. a conversion unit that converts age-labeled source data into a feature vector and converts age-unlabeled target data into a feature vector using a first neural network; a first estimation unit that estimates a posterior probability for the age of a target person from the feature vector of the source data converted by the conversion unit using a second neural network; a second estimation unit that estimates a posterior probability for an age of a target person from the feature vector of the source data using a third neural network, and estimates a posterior probability for an age of a target person from the feature vector of the target data; an updating unit that updates each parameter of the first neural network, the second neural network, and the third neural network so that distributions of the feature vectors of the source data converted by the conversion unit and the feature vectors of the target data approach each other according to a distribution distance criterion defined in advance for each age group, under the condition of the posterior probability of the age of the target data estimated by the second estimation unit and the correct age group of the source data, while making the posterior probability of a correct age and the posterior probability of a correct age of a target person the largest among the posterior probability of the age of the source data estimated by the first estimation unit and the posterior probability of the age of the source data estimated by the second estimation unit; A learning device comprising:
2. 2. The learning device according to claim 1, further comprising a data selection unit that selects one of the source data from a source data group and randomly selects the target data from a target data group as data to be input to the conversion unit.
3. The source data is age-labeled data recorded in an environment different from that during operation, 3. The learning device according to claim 1, wherein the target data is data recorded in the same environment as during operation and to which no age label is attached.
4. The learning device according to any one of claims 1 to 3, further comprising a control processing unit that repeatedly executes processing by the conversion unit, the first estimation unit, the second estimation unit, and the update unit until a predetermined condition is satisfied.
5. a conversion unit that converts data into a feature vector using a first neural network; an estimation unit that estimates an age of a target person from the feature vector converted by the conversion unit using a second neural network; having the first neural network and the second neural network are trained to maximize the posterior probability of a correct age and the posterior probability of a correct age for a target person relative to the posterior probability for each age in age-labeled source data estimated by the second neural network and the posterior probability for an age in the source data estimated by a third neural network that estimates posterior probabilities for ages of people, while training the distributions of the feature vectors of the source data converted by the first neural network and the feature vectors of the target data to approximate each other according to a distribution distance criterion predefined for each age group, under the conditions of the posterior probability of ages in target data not assigned with age labels estimated by the third neural network and the correct age group of the source data.
6. A learning method executed by a learning device, comprising: A conversion step of converting age-labeled source data into a feature vector and converting age-unlabeled target data into a feature vector using a first neural network; a first estimation step of estimating a posterior probability for the age of a target person from the feature vector of the source data converted in the conversion step by using a second neural network; a second estimation step of estimating a posterior probability for the age of the target person from the feature vector of the source data and estimating a posterior probability for the age of the target person from the feature vector of the target data using a third neural network; an updating step of updating each parameter of the first neural network, the second neural network, and the third neural network so that the posterior probability of a correct age and the posterior probability of a correct age of a target person are maximized with respect to the posterior probability of the age of the source data estimated in the first estimation step and the posterior probability of the era of the source data estimated in the second estimation step, while the distribution of the feature vector of the source data converted in the converting step and the feature vector of the target data are made closer to each other by a distribution distance criterion predefined for each era, under the condition of the posterior probability of the era of the target data estimated in the second estimation step and the correct era of the source data; A learning method comprising:
7. A learning program for causing a computer to function as the learning device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Inference system, inference device, and inference method
WO2021095509A1
Learning device, estimation device, methods therefor, and program
WO2021117085A1
