Training device, training method, and program

The learning device employs self-attention mechanisms and sensor-masking invariant training to address the robustness issue of distributed sensor systems against sensor information loss, ensuring reliable environment recognition even with incomplete data.

WO2024224465A1PCT designated stage expired Publication Date: 2024-10-31NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/016203
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-25
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Conventional distributed sensor techniques are not robust against the loss of sensor information due to failures or improper placement, leading to incomplete data in real-world applications.

Method used

A learning device with an information acquisition section, feature extraction sections, and a learning section that uses self-attention mechanisms and sensor-masking invariant training to generate and update parameters, enabling robust environment recognition even with missing sensor data.

Benefits of technology

The solution allows for effective environment recognition across distributed sensors, maintaining performance even when some sensors are unavailable, by inferring missing information and modeling relationships between sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023016203_31102024_PF_FP_ABST
    Figure JP2023016203_31102024_PF_FP_ABST
Patent Text Reader

Abstract

A training device according to an aspect of the present disclosure includes an information acquisition unit, a first feature amount extraction unit, a second feature amount extraction unit, and a training unit. The information acquisition unit acquires information on a plurality of sensors including at least two types of sensors. The first feature amount extraction unit extracts the feature amount of each sensor on the basis of the information of the plurality of sensors, masks the feature amount of a prescribed sensor among the extracted feature amounts, and then generates one feature amount using a first parameter from all of the feature amounts after the masking. The second feature amount extraction unit generates one feature amount using a second parameter based on the first parameter from the extracted feature amounts. The training unit updates the first parameter using the feature amount generated from the first feature amount extraction unit, the feature amount generated from the second feature amount extraction unit, and a correct answer label.
Need to check novelty before this filing date? Find Prior Art

Description

Learning device, learning method, and program

[0001] The present disclosure relates to techniques for building learning models that perform inference.

[0002] Technology that allows machines to acquire and understand human behavior and events that occur in people's surrounding environments is expected to be applied to systems that support people's lives. For example, if it were possible to automatically understand customer behavior in real-world environments such as convenience stores, safety and high-quality service could be maintained even in stores with few staff or unmanned stores. Since a single sensor is insufficient to detect events over a wide area, an integrated system of multiple sensors must be utilized.

[0003] One environmental recognition technology that combines multiple sensors is a technology that combines distributed sensors of multiple modalities and positions to detect events, and then weights and integrates the information from these distributed sensors based on a self-attention mechanism (see Patent Document 1).

[0004] International Publication No. 2023 / 013043

[0005] However, conventional distributed sensor methods, including the one described in Patent Document 1, are based on the premise that all sensor information is available without any loss. In actual applications, due to sensor failures or sensor placement, not all sensors used for system training may be available at once, and there is a problem that the methods are not robust against loss of sensor information.

[0006] Therefore, an object of the present disclosure is to realize environmental recognition based on distributed sensors that is robust even when sensor information is lost.

[0007] A learning device according to one aspect of the present disclosure includes an information acquisition unit, a first feature extraction unit, a second feature extraction unit, and a learning unit. The information acquisition unit acquires information from multiple sensors including at least two types of sensors. The first feature extraction unit extracts feature quantities for each sensor based on the information from the multiple sensors, masks feature quantities for a specific sensor among the extracted feature quantities, and generates one feature quantity from the masked feature quantities of the multiple sensors using a first parameter. The second feature extraction unit generates one feature quantity from the extracted feature quantities using a second parameter that is updated using the first parameter. The learning unit updates the first parameter using the feature quantities generated by the first feature extraction unit and the feature quantities generated by the second feature extraction unit.

[0008] This makes it possible to realize environment recognition based on distributed sensors that is robust even when sensor information is lost.

[0009] FIG. 1 is a diagram showing an example of the functional configuration of a learning device according to this embodiment. FIG. 2 is a diagram showing an example of the processing flow of a learning method according to this embodiment. FIG. 3 is a diagram showing an example of the functional configuration of a learning device according to Modification 1 of this embodiment. FIG. 4 is a diagram showing an example of the processing flow of a learning method according to Modification 1 of this embodiment. FIG. 5 is a diagram showing an example of the functional configuration of a learning device according to Modification 2 of this embodiment. FIG. 6 is a diagram showing an example of the processing flow of a learning method according to Modification 2 of this embodiment. FIG. 7 is a diagram showing an example of the functional configuration of a learning device according to Modification 3 of this embodiment. FIG. 8 is a diagram showing an example of the processing flow of a learning method according to Modification 3 of this embodiment. FIG. 9 is a diagram showing an example of the functional configuration of a computer. FIG. 10 is a diagram showing an example of experimental results using this embodiment.

[0010] Hereinafter, embodiments of the present disclosure will be described in detail. In the drawings, components having the same functions are designated by the same reference numerals, and redundant description will be omitted.

[0011] <Character notation> The symbol "~" (tilde) used in text should normally be written directly above the character immediately following it, but due to limitations in text notation, it is written immediately before the character in question. In mathematical formulas, these symbols are written in their proper position, i.e., directly above the character. For example, "~φ" is expressed in a mathematical formula as follows: The symbol "^" (hat) used in text should normally be written directly above the character immediately following it, but due to limitations in text notation, it is written immediately before the character in question. In mathematical formulas, these symbols are written in their proper position, i.e., directly above the character. For example, "^z" is expressed in mathematical formulas as follows: When superscripts and subscripts are placed vertically next to a character, the subscript should be placed directly below the superscript, but due to limitations in text notation, the subscript is placed to the right of the superscript. In mathematical formulas, these symbols are written in their proper positions. For example, "W Q i " is expressed in the following formula: [Technical Background] This disclosure involves partially missing sensor information during training and then restoring it using the missing data. Through this restoration, we perform training (Sensor-masking invariant training; S-MIT) to extract features that are not affected by the sensor loss. This extends acoustic signal modeling through the restoration of masked acoustic features (see, for example, Reference 1) to modeling of a series of multiple sensors (i.e., at a higher level).

[0012] (Reference 1) D. Niizumi, et al., “Masked Modeling DUO: Learning Representations by Encouraging Both Networks to Model the Input”, ICASSP, 2023

[0013] <Multi-Head Attention:MHA> Multi-Head Attention (MHA) is a mechanism originally proposed in the field of natural language processing (see, for example, Reference 2).

[0014] (Reference 2) A. Vaswani et al., "Attention is All you Need", NIPS, 2017 Attention is a mechanism that uses the similarity between a key K and a query Q to derive a value V from memory corresponding to the query. Attention can be formulated, for example, as follows: where d K is the number of dimensions of K.

[0015] MHA is an extension of equation (1) and uses multiple attention heads as shown in equations (2) and (3) below. Let N be a predetermined integer equal to or greater than 2, and let i=1,...,N. i is N Xi Concat(X1,…,X N ) is a vector X1,…,X N Combine them to get Σ i=1 N N Xi For example, if three-dimensional vector A is A=(a1, a2, a3) and three-dimensional vector B is B=(b1, b2, b3), then Concat(A, B)=(a1, a2, a3, b1, b2, b3).

[0016] where W O is the model parameter, which is a matrix. Q i ,W K i ,W V i are model parameters, which are vectors. During learning, these model parameters are set to predetermined initial values ​​and updated through learning. During detection, the learned values ​​of these model parameters are used as these model parameters.

[0017] h is a predetermined positive integer.

[0018] <Multi-Head Self-Attention:MHSA>Specifically, MHA when Q = K = V is called Multi-Head Self-Attention (MHSA). Transformer, a model that has made breakthroughs in many tasks in natural language processing, uses MHSA to model the relationships between words in a sentence. MHSA excels at modeling internal relationships in sequences of various modalities.

[0019] Consider the task of detecting events using information input from M microphones and N cameras distributed in space, where M and N are predetermined positive integers.

[0020] The input of this task is a time series of acoustic features obtained from M microphones and video features obtained from N cameras. The input is expressed as Ψ=(ψ1,...,ψ T ) where τ∈{1,...,T}, and ψ τ =(φ 1,τ ,...,φ S,τ ) tr is the input feature at time index τ. The "tr" in the upper right corner of the vector means transpose. φ s,τ ∈R Ds is a feature corresponding to the sensor index s∈{1,...,S=M+N} and the time index τ. D s is the feature φ corresponding to the sensor index s s,τ is the number of dimensions of the feature vectors, which is a predetermined positive integer. Hereinafter, all features are embedded in a common feature vector space of D dimensions, and D s can be simplified to D. That is, D s =D.

[0021] As will be described later, in the embodiment, the feature quantity φ s,τ The feature quantity φ after embedding the sensor identification information exemplified by Equation (3) is s,τ ∈R D+S is used.

[0022] The output of this task is the activation of events in the time series A = (a1, a2, ..., a T ) where τ∈{1,...,T}, and a τ =(a 1,τ ,...,a C,τ ) tr ∈{0,1} C denotes an event at time index τ. C is the number of event classes, which is a predetermined positive integer. We define a strong label, which is a correct label corresponding to the activity A of an event, as G = (g1,...,g T )

[0023] Instead of such strong labels, we use the bags label g bag =(g1 bag ,...,g C bag )∈{0,1} C We can use weak labels called g as correct labels. Let c∈{1, . . . , C}. c bag is defined, for example, as follows: That is, in τ∈{1, . . . , T}, g c,τ = 1, and g c,τ If there exists g c bag = 1, and for all τ∈{1, . . . , T}, g c,τ If g = 0, c bag =0, where g c,τ is a value that is 1 if class c exists at time index τ and 0 if it does not exist.

[0024] <selfatt-msf>Successful multi-sensor integration for multi-view cross-modal event detection requires the integration of an appropriate combination of sensors that retain sufficient information about the event being detected.

[0025] However, the appropriate sensors for capturing an event vary depending on the circumstances, such as when, where, and what kind of event occurred. For example, in video modalities, it is impossible to observe events hidden by occlusion, and it is difficult to track distant events in detail. In audio modalities, some sensors may not be fully utilized due to noise and distance attenuation.

[0026] Furthermore, which viewpoints and modalities are effective also differ depending on the type of event that occurs. For example, a camera that captures a person from above is suitable for capturing handwork rather than body movements. To respond to such changes in the situation, SelfAtt-MSF has been proposed, a mechanism for integrating sensors by directing attention to the appropriate sensor depending on the situation, such as "when, where, and what kind of event occurred" (see, for example, Patent Document 1).

[0027] SelfAtt-MSF is implemented as at least one layer of MHSA as follows: Here, the output of MHSA is S integrated features corresponding to the number of sensors. That is, ψ att τ =(ψ att 1,τ ,...,ψ att S,τ ) As will be described later, the final integrated feature may be obtained by applying maximum integration, average integration, or the like between these.

[0028] In addition, when the MHSA is multi-layered, the Multihead calculation is performed at least twice on the right side of the formula (5). When k is a positive integer of 2 or more, the result of the (k-1)th Multihead calculation on the right side of the formula (5) is expressed as ψ τ k-1 Then, the k-th Multihead operation on the right side of equation (5) is (ψ τ k-1 ,ψ τ k-1 ,ψ τ k-1 )

[0029] By adopting a self-attention model that determines attention weights based on the input itself, it is expected that appropriate modalities and viewpoints will be emphasized and combined according to changes in the situation.In addition, by adopting a multi-head system, it is expected that multiple heads will work complementarily for inputs of different modalities.

[0030] Note that MHSA does not distinguish between sensors s in the input features, so it is necessary to embed information about each sensor from the outside. To achieve this, we introduce sensor encoding, which is expressed as follows, based on the position encoding introduced in Transformer (see Reference 4 below). where ~φ s,τ ∈R D is a vector of the feature of the sth sensor. S (s) is a so-called one-hot vector, an S-dimensional vector in which the s-th element is 1 and the other elements are 0.

[0031] With this operation, each linear layer of SelfAtt-MSF is expected to operate as a sensor-conditional layer.

[0032] <Sensor-masking invariant training:S-MIT> As mentioned above, S-MIT extends the concept of using the task of masked signal restoration for representation learning to modeling of multi-sensor sequences. First, we use the embedding ψ = [φ 1 , . . . ,φ s ], a mask M is applied to the vectors S such that a random or predetermined number of embeddings are zero vectors, as follows: where μ s is φ s It is a real vector of the same dimension as and all elements have a value of 0 or 1 with a certain probability. "〇" is the Hadamard product. The series of masked sensor features is fused using a module such as that described in Patent Document 1. S-MIT performs learning so that the fused feature z obtained from this series of masked sensor features and the fused feature ^z obtained from the original sensor feature series approach each other. The loss function L S-MIT For example, the following can be used: Here, equation (8) is calculated using the mean square error of ^z - z. Two networks, "Online" and "Target", are used to extract z and ^z (see Reference 1, for example). The model parameter ξ of the "Target" network is updated using the exponential moving average of the model parameter θ of the "Online" network. For example, the following exponential moving average can be used: Here, τ denotes the decay rate, 0<τ<1. Equation (9) smooths the fluctuations of ^z during the learning process, stabilizing system learning. The "Online" and "Target" networks output the fused feature sequences z and ^z, respectively.

[0033] To minimize the loss function in Equation (8) and ensure that the fused feature sequence is invariant to the sensor mask, it is necessary to infer missing sensor information from observations by other sensors. This is nothing more than learning the correspondence between sensors, such as how an action captured at a pixel in one camera looks at a pixel in another camera or how it sounds at a microphone. Therefore, this mask restoration task is considered suitable for modeling the relationship between sensors. Furthermore, because S-MIT models the relationship between sensors taking into account missing sensor information, it is expected to be robust to missing sensor information due to sensor reduction or the addition of occlusion during inference.

[0034] [Learning Device and Method] As shown in FIG. 1, a learning device 1 according to this embodiment includes, for example, an information acquisition unit 10, a feature extraction unit 20, a feature extraction unit 30, and a learning unit 40.

[0035] The learning method is realized, for example, by each component of the learning device performing the processes from step S10 to step S40 described below and shown in FIG.

[0036] Each component of the learning device will be described below.

[0037] <Information Acquisition Unit 10> The information acquisition unit 10 acquires information from a plurality of sensors including at least two types of sensors (step S10). The acquired information from the plurality of sensors is output to the feature extraction unit 20.

[0038] The information acquisition unit 10 is, for example, a plurality of sensors including at least two types of sensors. The at least two types of sensors are, for example, a microphone 11 (not shown) and a camera 12 (not shown). Below, an example will be described in which the plurality of sensors are M microphones and N cameras. M and N are predetermined positive integers.

[0039] The plurality of sensors are arranged in a spatially dispersed manner, and may be arranged anywhere in the real space.

[0040] Here, "sensor information" refers to data acquired by the sensor. For example, if the sensor is a microphone, "sensor information" refers to the sound signal acquired by the microphone. Also, if the sensor is a camera, "sensor information" refers to the video signal acquired by the camera.

[0041] The information acquisition unit 10 acquires information of a plurality of sensors for a fixed time length selected at random from an input clip, which is input learning data, for example.

[0042] The feature extraction unit 20 (hereinafter also referred to as the “first feature extraction unit”) extracts feature quantities of each sensor based on information from the multiple sensors, masks the feature quantities of a specific sensor among the extracted feature quantities, and generates one feature quantity from the masked feature quantities of the multiple sensors using a first parameter (step S20). The generated one feature quantity is output to the learning unit 40.

[0043] One feature is also referred to as a fusion feature.

[0044] An example of the processing performed by the feature extraction unit 20 will now be described.

[0045] The feature extraction unit 20 includes, for example, a frequency domain conversion unit 21, a sound signal feature extraction unit 22, a video signal feature extraction unit 23, a sensor mask unit 24, a sensor identification information embedding unit 25, and a self-attention sensor integration unit 26. The above-mentioned first parameters include the model parameters of the sound signal feature extraction unit 22, the model parameters of the video signal feature extraction unit 23, and the model parameters of the self-attention sensor integration unit 26.

[0046] The frequency domain transform unit 21 transforms the input M sound signals into M frequency domain signals by frequency domain transformation such as short-time Fourier transform. The transformed M frequency domain signals are output to the sound signal feature quantity extraction unit 22.

[0047] The frequency domain transform unit 21 generates a frequency domain signal, which is a logarithmic mel spectrogram, by short-time Fourier transform and filter bank processing.

[0048] The sound signal feature extraction unit 22 extracts M feature quantities ∼φ corresponding to the M input frequency domain signals, respectively. s,τ (s=1,...,M) are generated. The generated M features ~φ s,τ (s=1, . . . , M) is output to the sensor mask unit 24 .

[0049] The sound signal feature extraction unit 22 extracts features using, for example, a deep neural network (DNN) described in Reference 3. As model parameters of this DNN, for example, model parameters pre-trained by the method described in Reference 3 are used. It is assumed that the model parameters of this DNN are common to M frequency domain signals. In other words, it is assumed that each of the M frequency domain signals is input to a DNN having the same model parameters.

[0050] (Reference 3) S. Hershey et al., "CNN Architectures for Large-Scale Audio Classification", ICASSP, 2017. The video signal feature extraction unit 23 extracts N features ~φ corresponding to the N input video signals. s,τ (s=M+1,...,S=M+N) are generated. The generated N features ~φ s,τ (s=M+1, . . . , S=M+N) is output to the sensor mask unit 24 .

[0051] The video signal feature extraction unit 23 extracts features using, for example, the DNN described in Reference 4. As the model parameters of this DNN, for example, model parameters pre-trained by the method described in Reference 4 are used. It is assumed that the model parameters of this DNN are common to N video signals. In other words, it is assumed that each of the N video signals is input to a DNN having the same pre-trained model parameters.

[0052] (Reference 4) K. He et al., "Deep Residual Learning for Image Recognition", arXiv:1512.03385, 2015. Here, let s=1,...,S=M+N, and the feature value ~φ s,τ ∈R D is a feature that is a D-dimensional vector corresponding to the time index τ corresponding to the sensor s.

[0053] The sensor mask unit 24 extracts the feature values ​​∼φ of each sensor obtained from the sound signal feature value extraction unit 22 and the video signal feature value extraction unit 23. s,τ A mask is applied to the sequence according to equation (7). The masked M+N feature quantities ∼ψ are the feature quantities of each sensor. m is output to the sensor identification information embedding unit 25.

[0054] The sensor identification information embedding unit 25 embeds the input M+N feature quantities ∼ψ m By embedding the identification information of the corresponding sensor in each of the sensors, a feature after embedding sensor identification information (hereinafter also referred to as a “feature after embedding first sensor identification information”) φ s,τ The feature value φ after embedding the sensor identification information is generated. s,τ (s=1, . . . , S=M+N) is output to the self-attention sensor integration unit 26 .

[0055] The sensor identification information embedding unit 25 embeds the sensor identification information by, for example, equation (6), to obtain a feature quantity φ after embedding the sensor identification information. s,τ In the example of equation (6), Onehot S (s) is the identification information of sensor s. Here, the masked feature (which is a 0 vector) is also embedded into the 0 vector.

[0056] The self-attention sensor integration unit 26 calculates a plurality of sensor identification information embedded feature quantities φ corresponding to the plurality of sensors. s,τ (s=1,...,S=M+N) are integrated to produce a single feature (fused feature) ψ' τ ∈R D The generated feature value ψ' is τ is output to the learning unit 40. The self-attention sensor integration unit 26 corresponds to Online in Reference 1. The fused feature value ψ' output from the self-attention sensor integration unit 26 τ corresponds to z above.

[0057] The self-attention sensor integration unit 26 first calculates a plurality of sensor identification information embedded feature quantities φ according to, for example, Equation (5). s,τ By integrating (s=1,...,S=M+N), S integrated features ψ corresponding to the number of sensors are obtained. att τ =(ψ att 1,τ ,...,ψ att S,τ ), where s=1,...,M+N, and ψ att s,τ ∈R D is.

[0058] Here, ψ on the right side of equation (5) τ is ψ τ =(φ 1,τ ,...,φ S,τ ) tr Multihead in equation (5) is defined by equations (2) and (3), for example. In the first processing of Multihead in equation (5), Q, K, and V in equations (2) and (3) are defined as follows: τ That is, Q=K=V=ψ τ Then, the calculations of equations (2) and (3) are performed.

[0059] Note that Q=K=V=ψ τ However, the model parameters W Q i ,W K i ,W V i Different model parameters are used for the two.

[0060] The self-attention sensor integration unit 26 then integrates the S integrated features ψ att τ =(ψ att 1,τ ,...,ψ att S,τ ) is subjected to a process such as maximum pooling or average pooling to obtain one feature ψ' τ ∈R D Generate.

[0061] When performing the max pooling process, the self-attention sensor integration unit 26 uses the feature quantity ψ att τ D-dimensional vector ψ that constitutes att 1,τ ,...,ψ att S,τ The largest vector in τ Let's say.

[0062] Also, ψ is a D-dimensional vector att s,τ ψ att s,τ =(ψ att s,τ,1 ,...,ψ att s,τ,D ), and when performing average pooling processing, the self-attention sensor integration unit 26 sets ψ' τ =((1 / S)Σ s=1 S ψ att s,τ,1 ,...,(1 / S)Σ s=1 S ψ att s,τ,D ) where ψ' τ Calculate.

[0063] In this way, the feature extraction unit 20 extracts the features of each sensor based on the information from the multiple sensors, and after masking, embeds the identification information of each sensor in the feature of each sensor to generate a feature after embedding sensor identification information corresponding to each sensor, and generates a single feature by integrating the multiple feature after embedding sensor identification information corresponding to each of the multiple sensors.

[0064] The feature extraction unit 30 (hereinafter also referred to as the “second feature extraction unit”) generates one feature from the extracted feature by using the second parameter that is updated by using the first parameter (step S30). The generated one feature is output to the learning unit 40.

[0065] One feature is also referred to as a fusion feature.

[0066] An example of the processing performed by the feature extraction unit 30 will now be described.

[0067] The feature extraction unit 30 includes, for example, a sensor identification information embedding unit 31 , a parameter updating unit 32 , and a self-attention sensor integration unit 33 .

[0068] The sensor identification information embedding unit 31 embeds M+N feature quantities ∼φ input from the sound signal feature quantity extraction unit 22 and the video signal feature quantity extraction unit 23. s,τ By embedding the identification information of the sensors corresponding to each of (s=1,...,S=M+N), a feature after embedding sensor identification information corresponding to each sensor (hereinafter also referred to as "a feature after embedding second sensor identification information") φ s,τ The feature value φ after embedding the sensor identification information is generated. s,τ (s=1, . . . , S=M+N) is output to the self-attention sensor integration unit 33 .

[0069] The parameter update unit 32 updates the model parameters (hereinafter also referred to as “second parameters”) of the self-attention sensor integration unit 33 based on a moving exponential average of the model parameters of the self-attention sensor integration unit 26 (see, for example, Reference 1).

[0070] The self-attention sensor integration unit 33 uses the updated parameters to generate a plurality of post-sensor identification information embedding feature quantities φ corresponding to the plurality of sensors, respectively. s,τ (s=1,...,S=M+N) are integrated to produce a single feature (fused feature) ψ' τ ∈R D The generated feature value ψ' is τ is output to the learning unit 40. The self-attention sensor integrating unit 33 corresponds to the Target in Reference 1. The fused feature value ψ' output from the self-attention sensor integrating unit 33 τ is equivalent to the above-mentioned ^z.

[0071] <Learning Unit 40> The model parameters including the first parameter are updated using the feature quantities generated by the first feature quantity extraction unit and the feature quantities generated by the second feature quantity extraction unit (step S40).

[0072] An example of the processing performed by the learning unit 40 will now be described.

[0073] The learning unit 40 includes, for example, an event detection unit 41 , a time compression unit 42 , and a cost function calculation unit 43 .

[0074] The event detection unit 41 detects one feature value ψ′ input from the self-attention sensor integration unit 26. τ ∈R D Event detection is performed based on the C-dimensional vector a τ =(a 1,τ ,...,a C,τ ) tr Generate the event detection result a at time index τ. τ =(a 1,τ ,...,a C,τ ) tr is output to the time compression unit 42.

[0075] For example, the event detection unit 41 receives one input feature value ψ′. τ ∈R D is multiplied by the linear transformation matrix M1, which is a model parameter, and the result of the multiplication is processed by the sigmoid function to obtain the C-dimensional vector a τ =(a 1,τ ,...,a C,τ ) tr where c∈{1, . . . , C} and 0≦a c,τ ≦1.

[0076] The time compression unit 42 generates event detection results a1,...,a2 corresponding to time indexes 1,...,T, respectively. T Based on this, an integrated event detection result a is generated for the time interval from time index 1 to time index T. The integrated event detection result a is output to the cost function calculation unit 43.

[0077] The time compression unit 42 generates an integrated event detection result by performing operations such as an average operation, a maximum value operation, and a weighted average operation.

[0078] When performing the averaging operation, the time compression unit 42 uses, for example, a=((1 / T)Σ τ=1 T a 1,τ ,...,(1 / T)Σ τ=1 T a C,τ ) and calculate the integrated event detection result a.

[0079] When performing maximum value operation, a=(max τ a 1,τ ,...,max τ a C,τ ) and calculate the integrated event detection result a.

[0080] When performing a weighted average operation, the time compression unit 42 uses, for example, a=((1 / T)Σ τ=1 T r τ a 1,τ ,...,(1 / T)Σ τ=1 T r τ a C,τ ) is calculated as the integrated event detection result a, where r τ is the weighting coefficient, 0≦r τ ≦1, and Σ τ=1 T r τ =1.

[0081] The cost function calculation unit 43 receives as input the weak labels, which are correct labels corresponding to the input learning data, and the integrated event detection result a generated by the time compression unit 42. The cost function calculation unit 43 performs the following processes (1) to (3).

[0082] The cost function calculation unit 43 (1) calculates a first loss cost using one feature generated by the input feature extraction unit 20 and one feature generated by the input feature extraction unit 30. The calculation uses Equation (8).

[0083] The cost function calculation unit 43 (2) uses the input integrated event detection result a and the input weak label, which is the correct label, to calculate a second loss cost, which is the binary cross-entropy loss between them.

[0084] The cost function calculation unit 43 (3) calculates a third loss cost from the first loss cost and the second loss cost using a weighted sum. Using the calculated third loss cost, the first parameters used in the feature extraction unit 20 and the learning unit 40 (in the above example, the model parameters of the sound signal feature extraction unit 22, the video signal feature extraction unit 23, and the self-attention sensor integration unit 26) and the model parameters of the event detection unit 41 are updated by, for example, gradient descent.

[0085] Assuming there are multiple pairs of training data and corresponding correct labels, the processes in steps S10 to S40 are performed for each of these pairs. Through this process, each model parameter is updated, and trained model parameters are finally obtained.

[0086] Note that learning may be performed using so-called strong labels (labels including information on the time at which an event occurs) as learning data. In this case, as shown by the dashed line in FIG. 1, the strong labels, which are learning data, and the event detection results for time index τ generated by the event detection unit 41, a τ =(a 1,τ ,...,a C,τ ) tr and is output to the cost function calculation unit 43. In this case, the learning device 1 does not need to include the time compression unit 42. The cost function calculation unit 43 calculates the event detection result a of the input time index τ. τ and the strong label, which is the input correct label, to calculate the loss between them as the above-mentioned second loss cost, and update the first parameters used in the feature extraction unit 20 and the learning unit 40 (in the above example, the model parameters of the sound signal feature extraction unit 22, the model parameters of the video signal feature extraction unit 23, and the model parameters of the self-attention sensor integration unit 26) and the model parameters of the event detection unit 41, for example, by gradient descent.

[0087] By using the trained model obtained by the learning device 1, it is possible to provide a model for environmental recognition based on distributed sensors that is robust against loss of sensor information, as shown in the experimental results described below.

[0088] [Variation 1] The above-described learning device 1 may be configured as a learning device 1' shown in FIG. 3. In the learning device 1', the learning unit 40 in the learning device 1 is replaced with a learning unit 40A. The learning unit 40A does not have the event detection unit 41 and time compression unit 42 that the learning unit 40 has, and has functions corresponding to the cost function calculation unit 43 in the learning unit 40. The learning method of this variation is realized, for example, by the components of the learning device 1' performing the processes of steps S10 to S40A described below and shown in FIG. 4. Steps S10 to S30 in FIG. 4 are the same processes as steps S10 to S30 in FIG. 2, so the following description will focus on the process of step S40A in FIG. 4.

[0089] The learning unit 40A calculates a first loss cost using one feature generated by the input feature extraction unit 20 and one feature generated by the input feature extraction unit 30, using the same method as the learning unit 40. Using the result of the first loss cost, the learning unit 40A updates the first parameters used in the feature extraction unit 20 (in the above example, the model parameters of the sound signal feature extraction unit 22, the model parameters of the video signal feature extraction unit 23, and the model parameters of the self-attention sensor integration unit 26) by, for example, gradient descent.

[0090] A trained model including parameters obtained by the learning device 1' can be combined with other trained models capable of event detection to provide a model for environmental recognition based on distributed sensors that is robust against loss of sensor information.

[0091] [Variation 2] The above-described learning device 1 may be configured as a learning device 1A shown in Fig. 5. In the learning device 1A, the feature extraction unit 20 shown in the learning device 1 does not have a sensor mask unit 24, but is replaced by a feature extraction unit 20A equipped with an input mask unit 24A before the processing of the frequency domain transformation unit 21 and the video signal feature extraction unit 23. The input mask unit 24A directly masks the sound signal and the video signal, for example, by replacing all amplitude values ​​with 0 (zero) in the audio signal and all pixel values ​​with 0 (zero) in the video signal. Furthermore, in the feature extraction unit 30 shown in the learning device 1, the learning device 1A does not have a frequency domain transformation unit 21 having functions equivalent to the frequency domain transformation unit 21, sound signal feature extraction unit 22, and video signal feature extraction unit 23 of Fig. 1. 2 , sound signal feature quantity extraction unit 22 2 , video signal feature extraction unit 23 2 is added, replacing feature extraction unit 30A. The learning method of this modified example is realized, for example, by each component of learning device 1A performing the processes of steps S10 to S40 described below and shown in Fig. 6. Steps S10 and S40 in Fig. 6 are the same as steps S10 and S40 in Fig. 2, so the following description will focus on the processes of steps S20A and 30A in Fig. 6.

[0092] The feature extraction unit 20A masks information from a predetermined sensor among information from the plurality of sensors, and then generates one feature from the masked features of the plurality of sensors using a first parameter (step S20A). The generated one feature is output to the learning unit 40.

[0093] The input masking unit 24A applies a mask to the signals of each sensor obtained by the information acquiring unit 10 according to equation (7). The M signals, which are sound signals after the masking, are output to the frequency domain transforming unit 21, and the N signals, which are video signals after the masking, are output to the video signal feature extracting unit 23.

[0094] The frequency domain transform unit 21 transforms the input M sound signals into M frequency domain signals by frequency domain transformation such as short-time Fourier transform. The transformed M frequency domain signals are output to the sound signal feature quantity extraction unit 22.

[0095] The sound signal feature extraction unit 22 extracts M feature quantities ∼φ corresponding to the M input frequency domain signals, respectively. s,τ (s=1,...,M) are generated. The generated M features ~φ s,τ (s=1, . . . , M) is output to the sensor identification information embedding unit 25 .

[0096] The video signal feature quantity extraction unit 23 extracts N feature quantities ∼φ corresponding to the N input video signals, respectively. s,τ (s=M+1,...,S=M+N) are generated. The generated N features ~φ s,τ (s=M+1, . . . , S=M+N) is output to the sensor identification information embedding unit 25 .

[0097] The processing of the sensor identification information embedding unit 25 and the self-attention sensor integrating unit 26 has already been described, and therefore a description thereof will be omitted.

[0098] The feature extraction unit 30A extracts feature values ​​from each of the sensors based on information from the sensors, and generates one feature value from the extracted feature values ​​using a second parameter that is updated using the first parameter (step S30A). The generated feature value is output to the learning unit 40.

[0099] Frequency domain transform unit 21 in feature extraction unit 30A 2 , sound signal feature quantity extraction unit 22 2 , video signal feature extraction unit 23 2 is the same as the processing of the frequency domain transform unit 21, the sound signal feature quantity extraction unit 22, and the video signal feature quantity extraction unit 23 in the learning device 1. Therefore, the same output as the output of the sound signal feature quantity extraction unit 22 in the learning device 1 is output from the sound signal feature quantity extraction unit 22. 2 The same output as the output of the video signal feature quantity extraction unit 23 of the learning device 1 is output from the video signal feature quantity extraction unit 23 2 to the sensor identification information embedding unit 31. The sensor identification information embedding unit 31 and the parameter updating unit 32 in the feature extraction unit 30A perform the same processing as the sensor identification information embedding unit 31 and the parameter updating unit 32 described above.

[0100] By using the trained model obtained by the learning device 1A, it is possible to provide a model for environmental recognition based on distributed sensors that is robust against loss of sensor information.

[0101] [Variation 3] The above-described learning device 1A may be configured as a learning device 1A' shown in FIG. 7. In the learning device 1A', the learning unit 40 in the learning device 1A is replaced with a learning unit 40A. This learning unit 40A has the same functions as the learning unit 40A in Variation 1. The learning method of this variation is realized, for example, by each component of the learning device 1A' performing the processes of steps S10 to S40A described below and shown in FIG. 8. Steps S10 to S30A in FIG. 8 are the same as steps S10 to S30A in FIG. 6. Furthermore, step S40A in FIG. 8 is the same as step S40A in FIG. 4.

[0102] A trained model including parameters obtained by the learning device 1A' can be combined with other trained models capable of event detection to provide a model for environmental recognition based on distributed sensors that is robust against loss of sensor information.

[0103] [Variation 4] The above describes the embodiments of the present disclosure and Variations 1 to 3. However, the specific configurations are not limited to these embodiments, and it goes without saying that appropriate design changes, etc., are included in the present disclosure as long as they do not deviate from the spirit of the present disclosure.

[0104] For example, the at least two types of sensors may be sensors that can acquire point clouds, temperature, radio wave intensity, and the like.

[0105] The various processes described in the embodiments may not only be executed in chronological order according to the order described, but may also be executed in parallel or individually depending on the processing capabilities of the devices executing the processes or as necessary.

[0106] For example, data may be exchanged directly between the components of the estimation device, or may be exchanged via a storage unit (not shown).

[0107] [Program, Recording Medium] The processing of each unit of each of the above-mentioned devices may be realized by a computer, in which case the processing content of the functions to be possessed by each device is described by a program. Then, by loading this program into storage unit 1020 of computer 1000 shown in Figure 9 and operating arithmetic processing unit 1010, input unit 1030, output unit 1040, etc., various processing functions of each of the above-mentioned devices are realized on the computer.

[0108] The program describing the processing contents can be recorded on a computer-readable recording medium, such as a non-transitory recording medium, specifically a magnetic recording device, an optical disk, or the like.

[0109] The program may be distributed, for example, by selling, transferring, lending, etc. a portable recording medium such as a DVD or CD-ROM on which the program is recorded. Furthermore, the program may be stored in a storage device of a server computer, and then transferred from the server computer to another computer via a network, thereby distributing the program.

[0110] A computer executing such a program, for example, first stores the program recorded on a portable recording medium or transferred from a server computer in its own non-transitory storage device, auxiliary storage unit 1050. Then, when executing a process, the computer loads the program stored in auxiliary storage unit 1050, its own non-transitory storage device, into storage unit 1020 and executes processing in accordance with the loaded program. Alternatively, as another form of execution of this program, the computer may load the program directly from a portable recording medium into storage unit 1020 and execute processing in accordance with the program. Furthermore, the computer may execute processing in accordance with the received program each time a program is transferred from a server computer to the computer. Alternatively, the server computer may not transfer the program to the computer, but may instead execute the processing function by issuing an execution instruction and obtaining the results, thereby executing the above-described processing through a so-called ASP (Application Service Provider) type service. Note that, in this embodiment, the program includes information used for processing by a computer that is equivalent to a program (e.g., data that is not a direct instruction to the computer but has properties that define computer processing).

[0111] Furthermore, in this embodiment, the device is configured by executing a predetermined program on a computer, but at least a part of the processing contents may be realized by hardware.

[0112] It goes without saying that other modifications are possible as long as they do not deviate from the spirit of the present disclosure.

[0113] [Experimental Example] An experiment was conducted using a trained model trained using the learning device 1 of the present disclosure. The experimental results are shown in FIG. 10. FIG. 10 shows three types of event detection performance results: (1) when the learning device 1 was used, (2) when a comparison method (see Reference 5) was used, and (3) when a baseline method was used. FIG. 10 shows three types of experimental results: (A) when all sensor information was acquired, (B) when one piece of sensor information was missing, and (C) when two pieces of sensor information were missing.

[0114] The results in Figure 10 are shown in the form of box plots. In Figures 10(B) and (C), the bottom of the whiskers indicates the minimum value, the bottom edge of the box indicates the first quartile, the line inside the box indicates the second quartile (median), the top edge of the box indicates the third quartile, and the top of the whiskers indicates the maximum value.

[0115] In this experiment, the number of sensors used was 18. In the learning device 1, the sound signal feature extraction unit 22 used trained VGGish, and the video signal feature extraction unit 23 used trained ResNet34.

[0116] The event detection performance ((1) in FIG. 10) using the model trained by the learning device 1 has a higher detection mAP (mean average precision) value compared to other methods ((2) and (3) in FIG. 10) even when the number of sensors is reduced. Therefore, the learning device 1 of the present disclosure can realize environment recognition based on distributed sensors that is robust even when sensor information is lost.

[0117] (Reference 5) W. Donganget al., “Dividing and Aggregating Network for Multi-view Action Recognition”, ECCV, 2018

[0118] 1, 1', 1A, 1A' Learning device 11 Microphone 12 Camera 10 Information acquisition unit 20, 20A, 30, 30A Feature extraction unit 21 Frequency domain transformation unit 22 Sound signal feature extraction unit 23 Video signal feature extraction unit 24 Sensor mask unit 24A Input mask unit 25 Sensor identification information embedding unit 26 Self-attention sensor integration unit 31 Sensor identification information embedding unit 32 Parameter update unit 33 Self-attention sensor integration unit 40, 40A Learning unit 41 Event detection unit 42 Time compression unit 43 Cost function calculation unit ​

Claims

1. A learning device including: an information acquisition unit that acquires information on a plurality of sensors including at least two types of sensors; a first feature extraction unit that extracts features of each sensor based on the information on the plurality of sensors, masks features of a predetermined sensor among the extracted features, and generates one feature from the masked features of the plurality of sensors using a first parameter; a second feature extraction unit that generates one feature from the extracted features using a second parameter that is updated using the first parameter; and a learning unit that updates the first parameter using the features generated from the first feature extraction unit and the features generated from the second feature extraction unit.

2. The learning device described in claim 1, wherein the first feature extraction unit generates first sensor identification information-embedded features corresponding to each sensor by embedding identification information in each of the features of the multiple sensors after the masking, and generates the single feature by integrating the first sensor identification information-embedded features corresponding to each of the multiple sensors.

3. The learning device described in claim 2, wherein the second feature extraction unit generates second sensor identification information-embedded features corresponding to each sensor by embedding identification information in each of the features of the sensors extracted based on information from the multiple sensors, and generates the single feature by integrating the second sensor identification information-embedded features corresponding to each of the multiple sensors, and the second parameter is updated based on a moving exponential average of the first parameter.

4. The learning device described in claim 1, wherein the learning unit: calculates a first loss cost using the features generated from the first feature extraction unit and the features generated from the second feature extraction unit; estimates an event corresponding to the sensor information using the features generated from the first feature extraction unit, and calculates a second loss cost using the estimated event and a correct label for the event; calculates a third loss cost using the first loss cost and the second loss cost; and updates the first parameter using the third loss cost.

5. The learning device according to claim 4, wherein the learning unit updates a parameter used for estimating the event in addition to the first parameter.

6. A learning device including: an information acquisition unit that acquires information from a plurality of sensors including at least two types of sensors; a first feature extraction unit that masks information of a predetermined sensor from the information from the plurality of sensors and generates one feature from the features of the plurality of sensors after masking using a first parameter; a second feature extraction unit that extracts features of each sensor based on the information from the plurality of sensors and generates one feature from the extracted features using a second parameter that is updated using the first parameter; and a learning unit that updates the first parameter using the features generated from the first feature extraction unit and the features generated from the second feature extraction unit.

7. A learning method in which an information acquisition unit acquires information about a plurality of sensors including at least two types of sensors; a first feature extraction unit extracts features of each sensor based on the information about the plurality of sensors, masks features of a predetermined sensor among the extracted features, and generates one feature from the masked features of the plurality of sensors using a first parameter; a second feature extraction unit generates one feature from the extracted features using a second parameter that is updated using the first parameter; and a learning unit updates the first parameter using the feature generated from the first feature extraction unit and the feature generated from the second feature extraction unit.

8. A program for causing a computer to function as the learning device according to any one of claims 1 to 6.