Sound event detection method based on three-branch feature fusion neural network

Through the three-branch feature fusion network model, combined with uniform sampling and CNN-Transformer model, the problem of data imbalance and difficulty in distinguishing between categories in sound event detection is solved, and the classification accuracy and model generalization performance are improved.

CN114881213BInactive Publication Date: 2024-09-06TIANJIN UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210490937.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-07
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing sound event detection technology deals with the problem of data imbalance and difficulty in distinguishing between categories, model recognition is difficult, resulting in reduced accuracy of classification tasks, and there is a lack of effective methods to solve the long-tail problem.

Method used

A three-branch feature fusion network model is designed. Through uniform sampling, inverse sampling and hard example mining, combined with the CNN-Transformer model, features are extracted and feature and loss fusion is performed. Gradually, attention is paid to the features and losses of different branches to balance the model. Classifier weights solve the problem of long tail and difficulty in distinguishing between categories.

Benefits of technology

It improves the classification effect of sound event detection, obtains better global and generalization performance, and improves the discriminative feature extraction capability of tail class and difficult-to-distinguish classification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114881213B
    Figure CN114881213B
Patent Text Reader

Abstract

The present invention discloses a sound event detection method based on a three-branch feature fusion neural network, including: extracting features from a data set containing a sound signal to obtain a data set of a log-mel spectrogram, and dividing it into a training set, a test set, and a validation set; establishing a three-branch feature fusion network model, wherein the three-branch feature fusion network model includes three-branch sampling, feature extraction, three-branch feature fusion, and loss fusion: the test set and the validation set are used as inputs of the trained model, and the output of the model is the result of the sound event detection of the data set, including the sound event category contained in the audio and the start and end time of the event. The present invention obtains the discriminative features of the tail class and the difficult-to-distinguish category by means of three-branch fusion, and balances the category weights of the classifier to a certain extent, thereby improving the effect of sound event detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the design and application of a neural network model, and in particular to the application of a three-branch feature fusion neural network model. Background Art

[0002] In recent years, with the development of network technology, a large amount of audio data has emerged, and people have found that sound event detection technology can bring great help to human life. Sound events refer to some specific useful information contained in audio. For example, the sound of a car horn contains information about the car approaching, the sound of the alarm contains information about possible dangerous events around, and the sound of wind and rain contains information about the weather environment. The recognition of this information is very useful for human life.

[0003] In current research, researchers generally divide the sound event detection task into two subtasks: sound event classification and sound event localization. Sound event localization is generally achieved based on frame-level sound event classification. Therefore, the effect of sound event classification becomes an important determinant of the effect of sound event detection, so the classification task in sound event detection has important research value. The research in the field of sound event detection is relatively well developed, while there are still many challenges in the field of image recognition. First of all, sound event detection studies sound signals, which have various forms and are very random. Secondly, in real life, there will be multiple sound events in an audio, so the situation faced by sound event detection becomes very complicated, and the difficulty of recognition will increase significantly. In addition, because there was no large, complete and reliable data set in the early stage of sound event detection, the development of sound event detection was greatly restricted.

[0004] With the emergence of AudioSet and its sub-datasets for sound event detection in the fields of autonomous driving, smart home, and smart monitoring, people have gradually discovered that real-life sound datasets have data imbalance, high similarity between data categories, and multiple labels. However, current research on sound event detection has ignored these difficult classification phenomena caused by the data distribution and data characteristics of the dataset in terms of classification. These imaginations will increase the recognition difficulty of the model and produce misleading results, thereby reducing the accuracy of the classification task in sound event detection. How to improve the model, cater to the data distribution characteristics of the dataset, and improve the accuracy of the classification task in sound event detection is a shortcoming of the current existing sound event detection technology. Summary of the invention

[0005] In order to solve the above technical problems, the present invention proposes a sound event detection method based on a three-branch feature fusion network, which solves the long tail problem and the problem of difficulty in distinguishing between categories through a three-branch network. The designed three-branch feature fusion network model mainly includes three-branch sampling, feature extraction, three-branch feature fusion and loss fusion. By uniformly sampling and inverse sampling of the data set and sampling of the matrix of difficult-to-distinguish categories designed based on the idea of ​​hard case mining and paired learning in multi-labels proposed in this paper, the sampled training samples are used as three branches of model training, so that the three branches will focus on different samples. In feature extraction, the CNN-Transformer model is used to extract the features of the audio. Since the inputs of the three branches are different, the parameters of the three branches are different, and the extracted features are also different. In the learning process, the features of the three branches are fused by the hyperparameter λ that gradually decreases with the learning process, so that the model pays more attention to the uniform sampling branch in the representation learning stage of the learning process, and gradually pays attention to the latter two branches in the subsequent classification learning stage. In this branch fusion method, in terms of feature learning of the model, the general features are first paid attention to and then the features related to the categories of the latter two branches, so that the extracted features are more discriminative for the latter two branches. At the same time, during the classification learning stage, the loss functions of the three branches are fused through the hyperparameter λ which gradually decreases during the learning process. This fusion method can also balance the classifier weights of the model so that the model no longer tends to favor a large number of classes during classification. This solves both the long-tail problem and the problem of difficulty in distinguishing between categories.

[0006] The present invention proposes a sound event detection method based on a three-branch feature fusion neural network, the steps of which are as follows:

[0007] Step 1, data preprocessing: extract features from the data set containing the sound signal to obtain a data set of log-mel spectrograms, and divide it into a training set, a test set, and a validation set, and divide it according to a certain ratio. The ratio of division can be 8:1:1, which is common in deep learning, or it can be divided according to needs;

[0008] Step 2: Establish a three-branch feature fusion network model, which includes three-branch sampling, feature extraction, three-branch feature fusion and loss fusion: the steps are as follows:

[0009] 2-1) Perform uniform sampling, inverse sampling, and matrix sampling of difficult category pairs based on hard example mining and pairwise learning in multi-label on the training set, thereby obtaining training samples for the three branches;

[0010] 2-2) Using the CNN-Transformer model to extract the sound event features of the training samples of the three branches obtained in step 2-1), to obtain the features of the three branches;

[0011] 2-3) Using the hyperparameters that gradually decrease with the learning process, the features of the three branches obtained in step 2-2) are fused, and the loss functions of the three branches are calculated respectively according to the fused features. The parameters of the model are modified by back propagation according to the loss function to complete the training of the model;

[0012] Step 3: Use the test set and validation set as input to the trained model. The output of the model is the result of sound event detection in the data set, including the sound event category contained in the audio and the start and end time of the event.

[0013] Furthermore, the sound event detection method of the present invention includes:

[0014] In step 1, when extracting the log-mel spectrogram, all audio clips are converted to mono and resampled to 32kHz; then a Hanning window with 1024 samples and a short-time Fourier transform with 320 samples are used to extract the spectrogram, so that the spectrogram generates 100 frames within 1 second.

[0015] In step 2-1), set the training set D = {(x1, y1) ... (x n ,y n )}, where n is the number of samples in the training set; (x k ,y k ), and k∈(1,…n), represents the input of the sample and the label corresponding to the sample;

[0016] In the uniform sampling, each sample in the training set is sampled once with the same probability within a training period. The probability of sampling samples in the training set is The uniformly sampled sample input and the label corresponding to the sample are recorded as (x u ,y u );

[0017] In the inverse sampling, samples in the training set D are sampled based on the inverse of the number of categories, and the sampling probability of each category is as follows:

[0018]

[0019] In formula (1), p i represents the probability of sampling the i-th class, n i represents the number of samples of the i-th class, c represents the number of training set categories; the inverse sample input and the label corresponding to the sample are recorded as (x r ,y r );

[0020] In the difficult-to-distinguish category pair matrix sampling, the difficult examples and their difficult-to-distinguish category pairs are determined according to formula (2);

[0021]

[0022] In formula (2), i represents the i-th training sample, s i Represents the confidence of the i-th sample Where c is the number of training set categories; is the positive label set p of sample i i The kth label of is the negative label set n of sample i i The kth label of ; where t is the threshold of confidence difference; let the matrix H∈R c×c , where c represents the number of training set categories, H mn represents the number of samples in the training set with positive label m and negative label n as difficult-to-distinguish category pairs, and mn Each sample in can be mapped to its sample number i; if formula (2) holds, then sample i has a difficult-to-distinguish category pair and And the sample i is counted into the matrix; the samples in the matrix are uniformly sampled according to the number of difficult-to-distinguish category pairs contained in the matrix, and the input of the obtained sample and the label corresponding to the sample are recorded as (x h ,y h );

[0023] The final sample inputs of the three branches and the labels corresponding to the samples include (x u ,y u )、(x r ,y r ) and (x h ,y h ).

[0024] In step 2-2), the CNN-Transformer model is used to first extract the frame-level features of the log-mel spectrogram through CNN, and then the Transformer is used to model the relationship between frames and extract the time domain features of the log-mel spectrogram; based on the sample inputs of the three branches obtained in step 2-1) and the labels (x u ,y u )、(x r ,y r ) and (x h ,y h ) The three branch features extracted are f u 、f r and f h .

[0025] In step 2-3), based on the features f of the three branches obtained in step 2-2), u 、f r and f h ; Use the hyperparameter λ to fuse the features of the three branches using formula (3):

[0026] z=λf u +(1-λ)(f r +f h ) (3)

[0027] In formula (3), f u 、f r and f h Represent the characteristics of the three branches respectively;

[0028]

[0029] In formula (4), T represents the current epoch, T max Represents the maximum epoch set for the training model;

[0030] The loss functions of the three branches are fused using the hyperparameter λ:

[0031] L=λL u (p,y u )+(1-λ)(L r (p,y r )+L h (p,y h )) (5)

[0032] In formula (5), the value of λ is determined by formula (4), p is the result obtained by sigmoid activation of z in formula (3), and L u , L r and L h They are the loss functions of the three branches respectively.

[0033] Compared with the prior art, the present invention has the following beneficial effects:

[0034] The three-branch feature fusion network simultaneously solves the problems of long tail and difficulty in distinguishing between categories in the existing sound event detection dataset. Compared with the existing technology, it has better prediction effect and can obtain modeling results with better globality and generalization performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 Schematic diagram of the three-branch feature fusion network model described in the present invention;

[0036] Figure 2 It is a schematic diagram of realizing feature extraction in the training model of the present invention;

[0037] Figure 3 It is the main flow chart of the method of the present invention;

[0038] Figure 4 It is a diagram of the detection results of the method of the present invention. DETAILED DESCRIPTION

[0039] In order to better understand the technical solution of the present invention, the present invention is described in detail below with reference to the accompanying drawings and specific implementation methods.

[0040] The invention proposes a design concept of a sound event detection method based on a three-branch feature fusion network, which solves the long tail problem and the problem of difficulty in distinguishing between categories through a three-branch network. By extracting the log-mel spectrogram features of the input sample and using the CNN-Transformer model to predict the sound event, the three-branch feature fusion network model mainly includes three-branch sampling, feature extraction, three-branch feature fusion and loss fusion. First, the data set is uniformly sampled, inversely sampled and the matrix of difficult-to-distinguish categories designed based on the idea of ​​hard case mining and paired learning in multi-labels proposed in the invention is sampled. Then, the CNN-Transformer model is used to extract features from the samples of the three branches; finally, the three branches are fused, and the discriminative features of the tail class and the difficult-to-distinguish category are obtained by feature fusion, and the category weights of the classifier are balanced to a certain extent. The three-branch feature fusion network model proposed by the invention can simultaneously solve the problems of long tail and difficulty in distinguishing between categories in the sound event detection data set, thereby improving the classification effect of sound event detection.

[0041] like Figure 1As shown, the model designed in the present invention mainly includes three parts: sampling, feature extraction and branch fusion. By uniformly sampling, inverse sampling and sampling of the difficult category pair matrix designed based on the idea of ​​hard case mining and paired learning in multi-label proposed in this paper, the sampled training samples are used as the input of the three branches of the training model, so that the three branches will focus on different samples. In the feature extraction process, the CNN-Transformer model is used to extract the features of the audio. Since the inputs of the three branches are different, the parameters of the three branches are different, and the extracted features are also different. In the branch fusion process, the features of the three branches are fused by the hyperparameter λ that gradually decreases with the learning process. As a result, the model pays more attention to the uniform sampling branch in the representation learning stage of the learning process, and gradually pays attention to the latter two branches in the subsequent classification learning stage. In this branch fusion method, the general features are first paid attention to in the feature learning of the model, and then the features related to the categories of the latter two branches are paid attention to, so that the extracted features are more discriminative for the latter two branches. At the same time, this fusion method can also balance the classifier weights of the model, so that the model no longer tends to a large number of classes when classifying. Thus, the long tail problem and the problem of difficulty in distinguishing between categories are solved at the same time.

[0042] The following describes the sound event detection method based on the three-branch feature fusion neural network of the present invention using the DCASE2017 task four dataset as research material. Figure 3 As shown, the following steps are included:

[0043] Step 1, data preprocessing: extract features from the data set containing the sound signal to obtain a data set of log-mel spectrograms, which includes 51172 training data, 488 test data and 1100 validation data, and the data contains 17 classes; the size of the Mini-batch is set to 64 for each training, and the binary cross entropy loss function is used. The learning rate is 0.0001, and 100 epochs are trained. The classification evaluation score adopts the F-score classification scoring standard. When extracting the log-mel spectrogram, all audio clips are converted to mono and resampled to 32kHz; then the spectrogram is extracted using a Hanning window with 1024 samples and a short-time Fourier transform of 320 samples, so that the spectrogram generates 100 frames in 1 second.

[0044] Step 2: Establish a three-branch feature fusion network model, which includes three-branch sampling, feature extraction, three-branch feature fusion and loss fusion: the steps are as follows:

[0045] 2-1) Perform uniform sampling, inverse sampling, and matrix sampling of difficult category pairs based on hard example mining and pairwise learning in multi-label on the training set, thereby obtaining training samples for the three branches;

[0046] First, set the training set D = {(x1, y1)...(x n ,y n )}, where n is the number of samples in the training set; (x k ,y k ), and k∈(1,…n), representing the input of the sample and the label corresponding to the sample.

[0047] In the uniform sampling, each sample in the training set is sampled once with the same probability within a training period. The probability of sampling samples in the training set is The input sample of each epoch obtained by this sampling method and the label (x u ,y u ).

[0048] In the inverse sampling, the present invention proposes a method for sampling samples in the training set D based on the inverse of the number of categories. The specific sampling probability of each category is as follows:

[0049]

[0050] In formula (1), p i represents the probability of sampling the i-th class, n i represents the number of samples of the i-th class, and c represents the number of categories in the training set; the input sample of each epoch obtained by this sampling method and the label corresponding to the sample are (x r ,y r ).

[0051] In the sampling of the difficult-to-distinguish category pair matrix, the difficult examples and their difficult-to-distinguish category pairs are determined according to formula (2).

[0052]

[0053] In formula (2), i represents the i-th training sample, s i Represents the confidence of the i-th sample Where c is the number of training set categories; is the positive label set p of sample i i The kth label of is the negative label set n of sample i i The kth label of ; where t is the threshold of confidence difference; let the matrix H∈R c×c , where c represents the number of training set categories, H mn represents the number of samples in the training set with positive label m and negative label n as difficult-to-distinguish category pairs, and mnEach sample in can be mapped to its sample number i; if formula (2) holds, it can be determined that the category pairs that are difficult to distinguish for sample i have and The sample i is counted into the matrix; after the H matrix is ​​obtained, the category pairs in the matrix are uniformly sampled according to the number of difficult samples it contains. The input sample of each epoch obtained by this sampling method and the label corresponding to the sample are (x h ,y h ).

[0054] So far, we have obtained the sample inputs of the three branches and the labels corresponding to the samples, including (x u ,y u )、(x r ,y r ) and (x h ,y h ).

[0055] 2-2) If Figure 2 As shown, this step uses a CNN-Transformer model to extract deep features of the data. CNN-Transformer combines the advantages of CNN and Transformer to extract the sound event features of the training samples of the three branches obtained in step 2-1). First, the frame-level features of the log-mel spectrogram are extracted by CNN, and then the inter-frame relationship modeling is used by Transformer to extract the time domain features of the log-mel spectrogram. The present invention uses a 9-layer CNN to extract the frame-level features of the time-frequency spectrogram. The 9-layer CNN is composed of 4 convolution blocks, each of which is composed of 2 convolution layers with a kernel size of 3×3. Batch normalization and ReLU nonlinear functions are used after each convolution layer. After passing through 4 convolution blocks, they are mapped to 64, 128, 256 and 512-dimensional features respectively. And after each convolution block, a 2×2 average pooling method is applied to extract high-level features. And the time domain features of the features extracted by CNN are further extracted in the form of a Transformer encoder. Finally, based on the sample input of the three branches obtained in step 2-1) and the label (x u ,y u )、(x r ,y r ) and (x h ,y h ) The three branch features extracted are f u 、f r and f h .

[0056] 2-3) The features f of the three branches obtained in step 2-2) are transformed using the hyperparameter λ which gradually decreases with the learning processu 、f r and f h Fusion is performed. The loss functions of the three branches are calculated based on the fused features, and the parameters of the model are modified by back propagation according to the loss function to complete the model training. The specific process is:

[0057] Feature fusion: Use the hyperparameter λ to fuse the features of the three branches using formula (3):

[0058] z=λf u +(1-λ)(f r +f h ) (3)

[0059] In formula (3), f u 、f r and f h Represent the characteristics of the three branches respectively;

[0060]

[0061] In formula (4), T represents the current epoch, T max Represents the maximum epoch set for the training model.

[0062] This feature fusion method enables the model to focus more on the common features of the dataset when learning local features in the early stage of feature learning, and pay more attention to the features of the other two branches when learning category-related features in the later stage.

[0063] Loss function fusion: The loss functions of the three branches are fused using the hyperparameter λ as follows:

[0064] L=λL u (p,y u )+(1-λ)(L r (p,y r )+L h (p,y h )) (5)

[0065] In formula (5), the value of λ is determined by formula (4), p is the result obtained by sigmoid activation of z in formula (3), and L u , L r and L h They are the loss functions of the three branches respectively.

[0066] The loss function fusion method adopted in the present invention enables the neural network to gradually shift from focusing on feature learning to classifier learning during the learning process, and ensures that the three branches of different targets can be continuously updated during the entire training process to avoid mutual influence among the three processes. In formula (5), λ is a hyperparameter that decreases with the increase of epochs in training, which makes the loss focus on the average upsampling branch first, and then on the other two branches. The model can extract the discriminative features of the tail class and the difficult classification, and to a certain extent improve the weight of the tail class in the classifier, which promotes the classification learning of the model.

[0067] The mini-batch size is set to 64 each time the model is trained, the binary cross entropy loss function is used, the learning rate is 0.0001, and the training is performed for 100 epochs. The classification evaluation score adopts the F-score classification scoring standard.

[0068] Step 3: For the test set and validation set in the DCASE2017 Task 4 dataset, the above-trained three-branch feature fusion network model is used to obtain the corresponding 17 output probabilities, and the output of each category is traversed. When the predicted probability exceeds 0.30, it is considered that the audio contains this type of audio. The corresponding multi-sound event detection results are obtained.

[0069] The output of the model is the result of the sound event detection of the data set, including the sound event category contained in the audio and the start and end time of the event. Figure 4 As shown in the figure, the model predicts the audio clip "Y4VSHxW4Bepo_48.000_58.000.wav" in the validation set, which is a 10-second multi-label clip. Figure 4 It can be seen intuitively that the model proposed by the present invention can detect that the audio contains three event categories: train horn, bicycle and train. Figure 4 It can be seen that the model proposed in the present invention can detect the starting time of three types of events: train horn, bicycle and train.

[0070] The comparison of the sound event detection and classification results of the three-branch feature fusion network model and the single-branch network model trained with the same training set is shown in Table 1.

[0071]

[0072] From Table 1, we can see that the classification effect of the tail classes in the data set, such as the car alarm class and the reverse beep class, has been improved. At the same time, we can see that the difficult classification in the data set, such as the passing car class, has also been improved. This proves that the three-branch feature fusion network improves the model's ability to extract discriminative features of the tail class and the difficult-to-distinguish class, and effectively solves the problem of difficult to distinguish between classes.

[0073] Although the present invention has been described above in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can make many modifications without departing from the purpose of the present invention, all of which are within the protection of the present invention.

Claims

1. A sound event detection method based on a three-branch feature fusion neural network, characterized in that: The following steps are involved: Step 1: Data preprocessing: Extract features from the data set containing the sound signal to obtain a data set of log-mel spectrograms, and divide it into training set, test set, and validation set according to a certain ratio; Step 2: Establish a three-branch feature fusion network model, which includes three-branch sampling, feature extraction, three-branch feature fusion and loss fusion: the steps are as follows: 2-1) Perform uniform sampling, inverse sampling, and matrix sampling of difficult category pairs based on hard example mining and pairwise learning in multi-label on the training set, thereby obtaining training samples for the three branches; 2-2) Using the CNN-Transformer model to extract the sound event features of the training samples of the three branches obtained in step 2-1), to obtain the features of the three branches; 2-3) Using the hyperparameters that gradually decrease with the learning process, the features of the three branches obtained in step 2-2) are fused, and the loss functions of the three branches are calculated respectively according to the fused features. The parameters of the model are modified by back propagation according to the loss function to complete the training of the model; Step 3: Use the test set and validation set as input to the trained model. The output of the model is the result of sound event detection in the data set, including the sound event category contained in the audio and the start and end time of the event.

2. The sound event detection method according to claim 1, characterized in that: In step 1, when extracting the log-mel spectrogram, all audio clips are converted to mono and resampled to 32kHz; then a Hanning window with 1024 samples and a short-time Fourier transform with 320 samples are used to extract the spectrogram, so that the spectrogram generates 100 frames within 1 second.

3. The sound event detection method according to claim 2, characterized in that: In the step 1, the data set of the log-mel spectrogram is divided into a training set, a test set and a validation set in a ratio of 8:1:

1.

4. The sound event detection method according to claim 1, characterized in that: In step 2-1), set the training set D = {(x1, y1) ... (x n ,y n )}, where n is the number of samples in the training set; (x k ,y k ), and k∈(1,…n), represents the input of the sample and the label corresponding to the sample; In the uniform sampling, each sample in the training set is sampled once with the same probability within a training period. The probability of sampling samples in the training set is The uniformly sampled sample input and the label corresponding to the sample are recorded as (x u ,y u ); In the inverse sampling, samples in the training set D are sampled based on the inverse of the number of categories, and the sampling probability of each category is as follows: In formula (1), p i represents the probability of sampling the i-th class, n i represents the number of samples of the i-th class, c represents the number of training set categories; the inverse sample input and the label corresponding to the sample are recorded as (x r ,y r ); In the difficult-to-distinguish category pair matrix sampling, the difficult examples and their difficult-to-distinguish category pairs are determined according to formula (2); In formula (2), i represents the i-th training sample, s i Represents the confidence of the i-th sample Where c is the number of training set categories; is the positive label set p of sample i i The kth label of is the negative label set n of sample i i The kth label of ; where t is the threshold of confidence difference; let the matrix H∈R c×c , where c represents the number of training set categories, H mn represents the number of samples in the training set with positive label m and negative label n as difficult-to-distinguish category pairs, and mn Each sample in can be mapped to its sample number i; if formula (2) holds, then sample i has a difficult-to-distinguish category pair and And the sample i is counted into the matrix; the samples in the matrix are uniformly sampled according to the number of difficult-to-distinguish category pairs contained in the matrix, and the input of the obtained sample and the label corresponding to the sample are recorded as (x h ,y h ); The sample inputs of the three branches and the labels corresponding to the samples include (x u ,y u )、(x r ,y r ) and (x h ,y h ).

5. The sound event detection method according to claim 1, characterized in that: In the step 2-2), the CNN-Transformer model is used to first extract the frame-level features of the log-mel spectrogram through CNN, and then the Transformer is used to model the relationship between frames and extract the time domain features of the log-mel spectrogram; Based on the sample inputs of the three branches obtained in step 2-1) and the labels corresponding to the samples (x u ,y u )、(x r ,y r ) and (x h ,y h ) The three branch features extracted are f u 、f r and f h .

6. The sound event detection method according to claim 1, characterized in that: In step 2-3), based on the features f of the three branches obtained in step 2-2), u 、f r and f h ; Use the hyperparameter λ to fuse the features of the three branches using formula (3): z=λf u +(1-λ)(f r +f h ) (3) In formula (3), f u 、f r and f h Represent the characteristics of the three branches respectively; In formula (4), T represents the current epoch, T max Represents the maximum epoch set for the training model; The loss functions of the three branches are fused using the hyperparameter λ: L=λL u (p,y u )+(1-λ)(L r (p,y r )+L h (p,y h )) (5) In formula (5), the value of λ is determined by formula (4), p is the result obtained by sigmoid activation of z in formula (3), and L u , L r and L h They are the loss functions of the three branches respectively.

Citation Information

Patent Citations

  • Sound event detection method based on convolutional neural network

    CN111933188A

  • High-recall-rate weak-annotation sound event detection method

    CN112036477A

  • Factory personnel searching method and personnel identification model training method

    CN112818175A

  • Double-branch multi-center long-tail distribution identification method

    CN113255832A

  • Acoustic event identification model learning device, acoustic event detection device, acoustic event identification model learning method, acoustic event detection method, and program

    JP2015057630A