Audio content identification method and device, medium and computing equipment

By combining semantic features and parasemantic features to identify audio content, the misjudgment problem in the existing technology is solved, the recognition accuracy and efficiency are improved, and it is suitable for abnormal information recognition scenarios.

CN118748007AActive Publication Date: 2024-10-08HANGZHOU NETEASE ZHIQI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410733334.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-08
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

In existing audio detection technology, abnormal information recognition based on parasemantic features can easily misjudge wheezing or background sounds in normal speech as abnormal information, resulting in insufficient recognition accuracy.

Method used

Semantic features and parasemantic features are extracted, and recognition is performed based on a combination of the two. The audio content recognition model is trained to determine whether the audio to be recognized contains the target content.

Benefits of technology

It improves the accuracy and efficiency of audio content recognition, avoids the problem of misjudgment in pure parasemantic feature recognition, realizes automated recognition filtering, reduces labor costs, and is suitable for the recognition of massive audio content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748007A_ABST
    Figure CN118748007A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an audio content recognition method and device, a medium and computing equipment, and relates to the technical field of neural networks. The audio content recognition method comprises the steps of extracting semantic features and secondary semantic features corresponding to the same segment of audio to be recognized, and determining a recognition result for the audio to be recognized based on the semantic features and the secondary semantic features. The method disclosed by the invention solves the problems of insufficient recognition accuracy and easy misjudgment of voice containing abnormal information in related technologies, effectively avoids the problem of easy misjudgment and missed judgment when recognition is performed only through secondary semantic features, and realizes automatic recognition filtering compared with manual recognition, so that the recognition of massive audio contents can be realized, and the recognition efficiency is improved. A large amount of manpower needed by recognition is liberated, the manpower cost is saved, compared with common machine recognition, more accurate recognition of target content with more scenes is achieved, the method is effectively applied to recognition scenes of various abnormal information, and the audio content recognition efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of neural network technology, and more specifically, the embodiments of the present disclosure relate to an audio content recognition method, medium, apparatus, and computing device. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the present disclosure as recited in the claims. No description herein is admitted to be related art by inclusion in this section.

[0003] In the field of audio detection technology, accurately identifying abnormal information in audio (such as abnormal or sensitive words, or noise that can easily make people uncomfortable) is an important application field. The content recognition of this type of speech containing sensitive information mainly includes two methods: manual recognition or machine recognition. Manual recognition is inefficient and has high labor costs, so machine recognition has been increasingly studied and applied.

[0004] In the related art, machine recognition of speech containing abnormal information is mainly based on parasemantic features that are unrelated to the text carried by the speech. However, this recognition method easily misjudges the panting and background sounds in normal speech as abnormal information, resulting in insufficient accuracy of the recognition results and difficulty in optimization. Summary of the invention

[0005] The present disclosure provides an audio content recognition method, medium, device and computing equipment to solve the problem in the related art that the recognition accuracy of speech containing abnormal information is insufficient and misjudgment is prone to occur.

[0006] In a first aspect of the embodiments of the present disclosure, there is provided an audio content recognition method, comprising:

[0007] Extracting semantic features and parasemantic features, where the semantic features and parasemantic features correspond to the same audio segment to be recognized;

[0008] Based on the semantic features and the secondary semantic features, a recognition result for the audio to be recognized is determined; wherein the recognition result indicates that the audio to be recognized contains target recognition content; or, the recognition result indicates that the audio to be recognized does not contain target recognition content.

[0009] In a second aspect of the embodiments of the present disclosure, a method for training an audio content recognition model is provided, comprising:

[0010] Input the sample audio used for model training into the audio content recognition model, and output the predicted sample content corresponding to the sample audio;

[0011] The audio content recognition model is trained based on the sample content corresponding to the predicted sample content and the sample audio.

[0012] In a third aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, comprising:

[0013] The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the audio content recognition method of the first aspect of the embodiment of the present disclosure; and / or, the computer-executable instructions, when executed by a processor, are used to implement the audio content recognition model training method of the second aspect of the embodiment of the present disclosure.

[0014] In a fourth aspect of the embodiments of the present disclosure, there is provided an audio content recognition device, the device comprising:

[0015] An extraction module, used for extracting semantic features and parasemantic features, where the semantic features and parasemantic features correspond to the same audio segment to be recognized;

[0016] The recognition module is used to determine the recognition result for the audio to be recognized based on the semantic features and the secondary semantic features; wherein the recognition result indicates that the audio to be recognized contains the target recognition content; or the recognition result indicates that the audio to be recognized does not contain the target recognition content.

[0017] In a fifth aspect of the embodiments of the present disclosure, there is provided an audio content recognition model training device, the device comprising:

[0018] An input module, used to input sample audio for model training into the audio content recognition model, and output predicted sample content corresponding to the sample audio;

[0019] The training module is used to train the audio content recognition model based on the sample content corresponding to the predicted sample content and the sample audio.

[0020] In a sixth aspect of the embodiments of the present disclosure, there is provided a computing device, including:

[0021] at least one processor;

[0022] and a memory communicatively coupled to the at least one processor;

[0023] Among them, the memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the computing device to execute the audio content recognition method as in the first aspect of the present disclosure; and / or to enable the computing device to execute the audio content recognition model training method as in the second aspect of the present disclosure.

[0024] According to the audio content recognition method, medium, device and computing device of the embodiment of the present disclosure, by extracting the semantic features and sub-semantic features corresponding to the same segment of audio to be recognized, and based on the semantic features and sub-semantic features, determining the recognition result for the audio to be recognized. Therefore, by combining the semantic features and sub-semantic features of the speech to be recognized, content recognition can be performed together, effectively avoiding the problem of false omissions that are prone to occur when simply recognizing through sub-semantic features. Compared with manual recognition, automatic recognition and filtering can be achieved, so that massive audio content can be recognized, a large amount of manpower required for recognition can be liberated, and labor costs can be saved. Compared with ordinary machine recognition, more accurate recognition of target content in more scenarios can be achieved, and it can be effectively applied to various abnormal information recognition scenarios to improve the efficiency of audio content recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0026] Figure 1 The application scenario diagram according to the embodiment of the present disclosure is schematically shown;

[0027] Figure 2 The flowchart of the audio content recognition method according to another embodiment of the present disclosure is schematically shown;

[0028] Figure 3a The flowchart of the audio content recognition method according to another embodiment of the present disclosure is schematically shown;

[0029] Figure 3b Schematically shows Figure 3a A schematic diagram of the structure of an audio content recognition model provided by the illustrated embodiment;

[0030] Figure 4 The flowchart of the audio content recognition model training method according to another embodiment of the present disclosure is schematically shown;

[0031] Figure 5a The flowchart of the audio content recognition model training method according to another embodiment of the present disclosure is schematically shown;

[0032] Figure 5b Schematically shows Figure 5a A schematic diagram of the structure of an audio content recognition model to be trained provided by the illustrated embodiment;

[0033] Figure 5c Schematically shows Figure 5aA flow chart of a method for processing sample semantic features and sample secondary semantic features by a feature recognition part of an audio content recognition model provided in the illustrated embodiment;

[0034] Figure 5d Schematically shows Figure 5a A flowchart of a method for mask processing provided by the illustrated embodiment;

[0035] Figure 5e Schematically shows Figure 5a A flowchart of a method for mask processing based on mask probability variation provided by the illustrated embodiment;

[0036] Figure 6 The flowchart of the audio content recognition model training method according to another embodiment of the present disclosure is schematically shown;

[0037] Figure 7 The structure diagram of a storage medium according to another embodiment of the present disclosure is schematically shown;

[0038] Figure 8 The structure diagram of an audio content recognition device according to another embodiment of the present disclosure is schematically shown;

[0039] Fig. 9 The structure diagram of the audio content recognition model training device according to another embodiment of the present disclosure is schematically shown;

[0040] Fig.10 The figure schematically shows a structural diagram of a computing device according to yet another embodiment of the present disclosure.

[0041] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0042] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0043] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0044] According to an embodiment of the present disclosure, an audio content recognition method, medium, apparatus and computing device are proposed.

[0045] In this article, it should be understood that the terms involved are only used to facilitate understanding and do not represent any limitation on the meaning. In addition, any number of elements in the drawings is used for example rather than limitation, and any naming is only used to distinguish and does not have any limiting meaning.

[0046] The following is a description of the terms used in this disclosure:

[0047] Semantic features: In this solution, semantic features are used to represent the corresponding features of the part of the audio to be recognized that can be converted into text.

[0048] Parasemantic features: In this solution, parasemantic features are used to represent the corresponding features of the audio to be recognized that cannot be converted into text or the part whose clear meaning cannot be determined as text.

[0049] In this article, it should be understood that the terms involved are only used to facilitate understanding and do not represent any limitation on the meaning. In addition, any number of elements in the drawings is used for example rather than limitation, and any naming is only used to distinguish and does not have any limiting meaning.

[0050] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and corresponding operation entrances shall be provided for users to choose to authorize or refuse.

[0051] In addition, any number of elements in the drawings is for illustration and not limitation, and any naming is only for distinction and does not have any limiting meaning. SUMMARY OF THE INVENTION

[0053] The inventors have found that in the field of audio detection technology, accurately identifying abnormal information in audio (such as sensitive words such as sexual filth, vulgarity, violence, or noise that easily makes people uncomfortable) to mark and shield the audio with abnormal information is an important application field. The recognition of this type of speech containing abnormal information mainly includes two ways: manual recognition or machine recognition. Manual recognition has low efficiency and high labor costs, so machine recognition has been increasingly studied and applied.

[0054] In the related art, machine recognition of whether speech contains abnormal information is mainly based on parasemantic features that are unrelated to the text carried by the speech. However, this recognition method easily misjudges the panting and background sounds in normal speech as abnormal information, resulting in insufficient accuracy of the recognition results and difficulty in optimization.

[0055] In this scheme, recognition is performed by combining semantic features and parasemantic features. Thus, the content of the speech to be recognized can be recognized through multimodal correspondence, so as to more accurately determine whether the target recognition content is contained therein, thereby improving the accuracy and recognition efficiency in the audio content recognition process.

[0056] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.

[0057] Application Scenario Overview

[0058] First reference Figure 1 As shown, during the audio content recognition process, the server 100 will input the audio to be recognized 110 into the audio content recognition model 120, and the audio content recognition model 120 will output its corresponding recognition result 130 based on the semantic features and sub-semantic features of the audio to be recognized 110, and determine whether the audio to be recognized 110 contains the target recognition content based on the recognition result 130, thereby completing the audio content recognition process.

[0059] It should be noted that Figure 1 In the scenario shown, the publisher server, the audio to be recognized, the audio content recognition model and the recognition result are illustrated by taking only one as an example, but the present disclosure is not limited to this, that is, the number of servers, audio to be recognized, audio content recognition models and recognition results can be arbitrary.

[0060] Exemplary Methods

[0061] Combine the following Figure 1 For application scenarios, refer to Figures 2 to 3a To describe the audio content recognition method according to an exemplary embodiment of the present disclosure, refer to Figures 4 to 6 To describe the audio content recognition model training method according to an exemplary embodiment of the present disclosure. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this regard. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.

[0062] Figure 2 Flow chart of an audio content recognition method provided by an embodiment of the present disclosure. Figure 2 As shown, the audio content recognition method includes the following steps:

[0063] Step S201: extracting semantic features and secondary semantic features.

[0064] The semantic features and the parasemantic features correspond to the same audio segment to be recognized.

[0065] Specifically, this method is mainly applicable to scenarios where it is necessary to determine whether there is a specific type of abnormal information (i.e., target recognition content) in the audio, such as identifying whether the audio uploaded by the user may contain target recognition content. If it is identified that the audio contains the corresponding type of target recognition content, the audio needs to be filtered, blocked, marked, etc.

[0066] In the above scenario, the audio to be recognized is the audio to be recognized.

[0067] In order to identify whether the audio to be recognized contains the target recognition content, it is necessary to extract its corresponding semantic features and parasemantic features.

[0068] The specific method of extracting semantic features can be to use a speech recognition algorithm that converts speech into text, obtain the text corresponding to the audio to be recognized, and then extract the semantic features corresponding to the text. The speech recognition algorithm can be an open source speech recognition algorithm in the prior art, or a non-open source speech recognition algorithm, which is not limited in the embodiments of the present disclosure.

[0069] The specific method for extracting the parasemantic features may be to use an acoustic feature recognition algorithm for audio recognition to extract its acoustic feature information, and then extract the required parasemantic features from the acoustic feature information. The acoustic feature recognition algorithm may be an open source recognition algorithm in the prior art, or may be a non-open source acoustic feature recognition algorithm, which is not limited in the embodiments of the present disclosure.

[0070] Step S202: Determine a recognition result for the audio to be recognized based on the semantic features and the secondary semantic features.

[0071] The recognition result indicates that the audio to be recognized contains target recognition content; or the recognition result indicates that the audio to be recognized does not contain target recognition content.

[0072] Specifically, by respectively obtaining the semantic features and the parasemantic features of the audio to be recognized, it is jointly determined whether the audio to be recognized contains the target recognition content through the semantic features and the parasemantic features.

[0073] For example, by using semantic features, it is possible to quickly determine whether the audio to be identified contains semantic features such as abnormal or sensitive keywords and expressions corresponding to abnormal information; by using para-semantic features, it is possible to quickly determine whether the audio to be identified contains para-semantic features such as pronunciation and tone that belong to abnormal information, and then determine whether the audio to be identified contains target identification content; by combining semantic features with para-semantic features for joint judgment, it is possible to judge some content that is easily missed when judging solely from semantic features or para-semantic features (for example, very normal speech from the corresponding text may contain some uncomfortable screams or noises. It is difficult to determine whether it is abnormal information from the text alone, but by combining semantic features with para-semantic features for joint recognition, it can be determined that it is abnormal information).

[0074] Thus, by combining semantic features and secondary semantic features, the recognition result for the audio to be recognized can be automatically determined. According to the recognition result, the corresponding label can be automatically added to the audio to be recognized so that it can be blocked, returned, etc., thereby significantly improving the recognition accuracy and efficiency.

[0075] According to the audio content recognition method of the embodiment of the present disclosure, by extracting the semantic features and sub-semantic features corresponding to the same audio to be recognized, and based on the semantic features and sub-semantic features, determining the recognition result for the audio to be recognized. Therefore, by combining the semantic features and sub-semantic features of the speech to be recognized, content recognition can be performed together, effectively avoiding the problem of false omissions that are prone to occur when simply recognizing through sub-semantic features. Compared with manual recognition, automatic recognition filtering can be achieved, thereby realizing the recognition of massive audio content, liberating a large amount of recognition manpower, saving labor costs, and achieving more accurate recognition of target content in more scenarios compared to ordinary machine recognition. It can be effectively applied to various abnormal information recognition scenarios to improve the efficiency of audio content recognition.

[0076] Figure 3a Flow chart of an audio content recognition method provided by an embodiment of the present disclosure. Figure 3a As shown, it includes the following steps:

[0077] Step S301: input the audio to be recognized into the audio content recognition model, and extract semantic features and sub-semantic features through the feature extraction part of the audio content recognition model.

[0078] Specifically, in the disclosed embodiment, the generation of the recognition result is mainly completed by the audio content recognition model. That is, the audio content recognition model can be used to extract semantic features and parasemantic features, and obtain corresponding recognition results based on the semantic features and parasemantic features.

[0079] The audio content recognition model provided in the embodiment of the present disclosure includes a feature extraction part and a feature recognition part, wherein the feature extraction part is used to complete the extraction of semantic features and parasemantic features, and the feature recognition part is used to obtain corresponding recognition results based on the semantic features and parasemantic features.

[0080] like Figure 3b As shown, it is a structural diagram of an audio content recognition model. The audio content recognition model 300 includes a feature extraction part 310 and a feature recognition part 320, wherein the feature extraction part 310 includes a first feature extraction module 311, a second feature extraction module 312 and a third feature extraction module 313, the third feature extraction module 313 includes a first feature extraction unit 314 (including a transformer encoder 315 and a first self-attention mechanism layer 316) coordinated with the first feature extraction module 311 and a second feature extraction unit 317 (including a transformer encoder 318 and a second self-attention mechanism layer 319) coordinated with the second feature extraction module 312, and the feature recognition part 320 includes a fusion feature recognition module 321 (including a transformer decoder 322 and a self-attention pooling layer 323), a soft prompt word module 324 and a classifier 325.

[0081] Furthermore, the arrows in the figure are used to indicate the data transmission direction, the soft prompt word module 324 can also be included in the fusion feature recognition module 321, and the classifier 325 can also be a fully connected layer.

[0082] Based on the above audio content recognition model, its working principle is further described below.

[0083] In an embodiment of the present disclosure, the parasemantic feature includes at least one of an emotional feature, a timbre feature, and a tone feature.

[0084] Specifically, first of all, the parasemantic features referred to in the embodiments of the present disclosure may correspond to the emotional features, timbre features and intonation features in the audio to be identified, and these features may correspond to the target content to be identified (e.g., normal text content spoken with a special tone, timbre and intonation may be identified as abnormal or sensitive information).

[0085] In an embodiment of the present disclosure, the secondary semantic feature also includes phase information in the audio to be identified.

[0086] Specifically, the acoustic features included in the parasemantic features include common acoustic features such as FBank features (corresponding to Filter Banks in English) and MFCC features (corresponding to Mel-Frequency Cepstral Coefficients in English and inverse spectrum coefficients in Chinese), as well as phase information such as pitch, intensity, and duration. By combining the phase information, the emotion, timbre, and intonation features in the parasemantic features can be better identified.

[0087] In one embodiment of the present disclosure, the feature extraction part of the audio content recognition model includes a first feature extraction module, and the first feature extraction module is used to extract the secondary semantic features according to the input audio to be recognized.

[0088] Specifically, the feature extraction part of the audio recognition module includes two feature extraction modules, namely, a first feature extraction module for extracting secondary semantic features and a second feature extraction module for extracting semantic features. When the audio to be recognized is input into the audio content recognition model, the audio recognition module will extract semantic features and secondary semantic features through the first feature extraction module and the second feature extraction module respectively.

[0089] In one embodiment of the present disclosure, the first feature extraction module is a Hubert model obtained through self-supervised pre-training.

[0090] Specifically, the Hubert model is a self-supervised acoustic feature extraction model obtained by training with speech. By selecting a self-supervised pre-trained model, it can be ensured that the model used for feature extraction has been pre-trained with a large amount of unlabeled data, thereby ensuring the stability and reliability of the model.

[0091] Those skilled in the art may choose not to use the Hubert model as the first feature extraction module, but instead select other models capable of extracting acoustic features (including convolutional neural networks, but the extraction effects of different models may vary). There is no limitation here.

[0092] In one embodiment of the present disclosure, the feature extraction part of the audio content recognition model includes a second feature extraction module, and the second feature extraction module is used to extract semantic features according to input text content, and the text content corresponds to the audio to be recognized.

[0093] Specifically, the second feature extraction module is used to extract the semantic features of the text corresponding to the audio to be recognized. In the embodiment of the present disclosure, the audio to be recognized can be directly input into the second feature extraction module, and the corresponding semantic features can be directly obtained. In actual applications, the text corresponding to the audio to be recognized can be first extracted through the speech-text extraction model, and then the semantic features corresponding to the text can be extracted through the second feature extraction module (in this case, the speech-text extraction model is also included in the feature extraction part of the audio content recognition model).

[0094] In one embodiment of the present disclosure, the second feature extraction module is a Bert model obtained through self-supervised pre-training.

[0095] Specifically, as mentioned above, a person skilled in the art may choose not to use the Bert model as the second feature extraction module, but may select other models capable of performing semantic feature extraction (the semantic feature extraction effects of different models may vary), which is not limited here.

[0096] In one embodiment of the present disclosure, the feature extraction part of the audio content recognition model includes a third feature extraction module, and the third feature extraction module includes a first feature extraction unit and a second feature extraction unit. The first feature extraction unit is used to extract the target secondary semantic features associated with the target recognition content according to the secondary semantic features output by the first feature extraction module. The second feature extraction unit is used to extract the target semantic features associated with the target recognition content according to the semantic features output by the second feature extraction module.

[0097] Specifically, the first feature extraction module and the second feature extraction module obtain the parasemantic features and semantic features of the entire audio to be identified. Since the target identification content (corresponding semantic features and parasemantic features) may only account for a part of the content in the audio to be identified (the audio to be identified may also contain meaningless blanks, white noise, etc.), it is necessary to further extract the parts related to the target identification content from these parasemantic features and semantic features, namely, the target parasemantic features and target semantic features.

[0098] In the audio content recognition model, the parasemantic features and the semantic features are processed by a third feature extraction module to obtain target parasemantic features and target semantic features.

[0099] In one embodiment of the present disclosure, the third feature extraction module includes two groups of transformer encoders (corresponding to encoder in English), which are respectively used to encode the parasemantic features and semantic features input into the third feature extraction module; the third feature extraction module also includes a self-attention mechanism based on acoustic feature modeling and a self-attention mechanism based on semantic feature modeling, so as to respectively process the parasemantic features and semantic features after the encoding, extract partial features corresponding to the target recognition content, and then obtain the target parasemantic features and target semantic features.

[0100] Step S302: input the semantic features and the secondary semantic features into the feature recognition part of the audio content recognition model, and determine the recognition result based on the output result of the audio content recognition model.

[0101] Specifically, the output results based on the semantic features and the parasemantic features are mainly obtained through the feature recognition part in the audio content recognition model, which is described in detail below.

[0102] In one embodiment of the present disclosure, the target identification content is audio content containing abnormal information.

[0103] Specifically, abnormal information may be target recognition content containing sensitive or abnormal words such as vulgar, obscene, violent, etc. Such abnormal information can be directly identified through semantic features. Abnormal information may also be relatively ordinary information in the text, such as sensitive words that are harsh, ambiguous or changing in the background sound. Ambiguous sensitive words are prone to recognition errors, and changing sensitive terms are difficult to recognize (such as replacing each word in the original swear word with a reduplication or other expressions), while situations such as harsh background sound are relatively more hidden. Such abnormal information needs to be identified in combination with semantic features and parasemantic features. Therefore, the subsequent content in this step will mainly be explained by taking abnormal information that needs to be identified in combination with semantic features and parasemantic features as an example.

[0104] In one embodiment of the present disclosure, the feature recognition part of the audio content recognition model includes a fusion feature recognition module, which is used to recognize the target fusion feature to determine whether the audio to be recognized contains the corresponding target recognition content; wherein the target fusion feature is obtained by performing feature fusion processing on the target secondary semantic feature and the target semantic feature.

[0105] Specifically, after obtaining the target secondary semantic features and the target semantic features, it is possible to determine whether the target recognition content is included. The specific determination action is performed by the fusion feature recognition module.

[0106] Before recognition through the fusion feature recognition module, the target secondary semantic features and the target semantic features need to be fused (to obtain the target fusion features). The specific fusion processing method can be to directly splice the target secondary semantic features and the target semantic features, or to combine them based on the cross-attention mechanism, etc., which is not limited here.

[0107] In one embodiment of the present disclosure, the fusion feature recognition module is a Q-Former model; the Q-Former model includes a Transformer decoder and a self-attention pooling layer; wherein the Transformer decoder is used to perform feature fusion processing on the target secondary semantic features and the target semantic features, and the self-attention pooling layer is used to identify the target fusion features after the feature fusion processing.

[0108] Specifically, the target fusion feature recognition processing process of the fusion feature recognition module can be completed by the Q-Former model, wherein the Transformer decoder is used to receive the target secondary semantic features and the target semantic features and obtain the target fusion features through fusion processing, and the self-attention pooling layer is used to output the corresponding recognition result based on the target fusion feature (or, output the recognition result feature, and then input the recognition result feature into a classifier or a fully connected layer, and the classifier or the fully connected layer outputs the final recognition result).

[0109] In one embodiment of the present disclosure, the Q-Former model also includes a soft prompt word module, which is used to provide soft prompt words related to the target recognition content so that the Transformer decoder performs feature fusion processing on the target secondary semantic features and the target semantic features.

[0110] Specifically, in order to enhance the recognition effect and recognition accuracy, when generating the target fusion feature, the soft prompt word will be combined with the target secondary semantic feature and the target semantic feature to jointly generate the target fusion feature. As a result, the generated target fusion feature contains more feature information associated with the features corresponding to the target recognition content. When the content corresponding to the target recognition content in the audio to be recognized is relatively unclear, the recognition accuracy can be enhanced by adding soft prompt words (because the more features related to the target recognition content are included, the less likely it is that features will be missed in the recognition judgment of such features, and the higher the accuracy of identifying that it contains the target recognition content).

[0111] According to the audio content recognition method of the embodiment of the present disclosure, the audio to be recognized is input into the audio content recognition model, the semantic features and the sub-semantic features are extracted by the feature extraction part in the audio content recognition model, and then the semantic features and the sub-semantic features are input into the feature recognition part of the audio content recognition model, and the recognition result is determined based on the output result of the audio content recognition model. Thus, the audio content recognition model can be used to complete the judgment of whether the audio to be recognized contains the target recognition content, and the audio content recognition model can simultaneously combine the semantic features and the sub-semantic features of the audio to be recognized to make a judgment together, which significantly improves the accuracy of audio content recognition and enhances the efficiency of audio content recognition.

[0112] Figure 4 Flow chart of an audio content recognition model training method provided by one embodiment of the present disclosure. Figure 4 As shown, it includes the following steps:

[0113] Step S401: input the sample audio used for model training into the audio content recognition model, and output the predicted sample content corresponding to the sample audio.

[0114] Specifically, since the input content of the audio content recognition model is the audio to be recognized and the output content is the recognition result, the training of the audio content recognition model mainly involves inputting the sample audio into the audio content recognition model to be trained, obtaining the predicted sample content output by the audio content recognition model to be trained, and performing feedback training on the parameters in the audio content recognition model based on the predicted sample content.

[0115] In one embodiment of the present disclosure, before inputting the sample audio for model training into the audio content recognition model for training, the audio content recognition model training method further includes determining the structure of the audio content recognition model. The structure of the audio content recognition model can be found in Figure 3a The structure described in the illustrated embodiment (ie, the structure including the feature extraction part and the feature recognition part).

[0116] Step S402: training an audio content recognition model based on the predicted sample content and the sample content corresponding to the sample audio.

[0117] Specifically, training the audio content recognition model to be trained with a large amount of sample audio can effectively ensure the accuracy and reliability of the trained audio content recognition model in identifying the target content.

[0118] In one embodiment of the present disclosure, the predicted sample content may be a judgment result of whether the sample audio contains target recognition content. In this case, the sample content of the sample audio is a label of whether it contains the target recognition content. By comparing the judgment result with the label, feedback training is performed on the audio content recognition model.

[0119] According to the audio content recognition model training method of the embodiment of the present disclosure, the sample audio for model training is input into the audio content recognition model, the predicted sample content corresponding to the sample audio is output, and then the audio content recognition model is trained based on the predicted sample content and the sample content corresponding to the sample audio. In this way, an audio content recognition model that can determine whether the audio to be recognized contains the target recognition content can be obtained, thereby realizing automatic recognition of the audio to be recognized and improving the efficiency of audio content recognition.

[0120] Figure 5a Flow chart of an audio content recognition model training method provided by one embodiment of the present disclosure. Figure 5a As shown, it includes the following steps:

[0121] Step S501: input the sample audio for model training into the audio content recognition model, and extract the sample semantic features and sample sub-semantic features corresponding to the sample audio through the feature extraction part in the audio content recognition model.

[0122] Specifically, before inputting the sample audio into the audio content recognition model, the structure of the audio content recognition model needs to be determined.

[0123] like Figure 5b As shown in FIG. 5 , it is a schematic diagram of the structure of the audio content recognition model to be trained. The audio content recognition model 500 includes a feature extraction part 510 and a feature recognition part 520, wherein the feature extraction part 510 and the feature recognition part 520 are Figure 3b The audio content recognition model 300 is the same as that in the embodiment of the present invention, and includes a first feature extraction module 511, a second feature extraction module 512 and a third feature extraction module 513. The third feature extraction module 513 includes a first feature extraction unit 514 (including a transformer encoder 515 and a first self-attention mechanism layer 516) cooperating with the first feature extraction module 511 and a second feature extraction unit 517 (including a transformer encoder 518 and a second self-attention mechanism layer 519) cooperating with the second feature extraction module 512. The feature recognition part 520 includes a fusion feature recognition module 521 (including a transformer decoder 522 and a self-attention pooling layer 525), a soft prompt word module 524 and a classifier 525, and also includes a random modal mask unit 526.

[0124] Furthermore, the arrows in the figure are used to indicate the data transmission direction. The soft prompt word module 524 and the random modal mask unit 526 can both be included in the fusion feature recognition module 521, and the classifier 525 can also be a fully connected layer.

[0125] Based on the above audio content recognition model, the working principle of the training phase is further described below.

[0126] After the structure of the audio content recognition model is determined, sample audio can be input into the audio content recognition model to train the audio content recognition model.

[0127] The processing process of specific sample audio in the audio content recognition model is different from Figure 3a The audio content recognition model in the embodiments has mostly the same processing process for the recognized audio. The corresponding semantic features and parasemantic features are first extracted through the feature extraction part, that is, the sample semantic features and sample parasemantic features corresponding to the sample audio. The difference lies mainly in the processing process of the feature recognition part of the audio content recognition model.

[0128] Step S502: Input the sample semantic features and the sample secondary semantic features into the feature recognition part of the audio content recognition model, and output the predicted sample content corresponding to the sample audio.

[0129] Among them, the feature recognition part includes a fusion feature recognition module.

[0130] Specifically, when the feature recognition part of the audio content recognition model processes the sample semantic features and sample secondary semantic features, compared with the model application stage (i.e. Figure 3a In the corresponding process in the illustrated embodiment), a random modal mask unit is added to perform random masking on the sample semantic features and the sample secondary semantic features to ensure the robustness of the trained audio content recognition model. This part is described in detail below.

[0131] Furthermore, if Figure 5c As shown, it is a flow chart of a method for processing sample semantic features and sample secondary semantic features by the feature recognition part of the audio content recognition model, which includes the following contents:

[0132] Step S5021: mask the sample semantic features and sample secondary semantic features through a random modal masking unit.

[0133] Specifically, the random modal mask unit cooperates with the Q-Former model to randomly mask the sample semantic features and the sample parasemantic features before fusing them.

[0134] Furthermore, if Figure 5d As shown, it is a flowchart of the mask processing method, which includes the following steps:

[0135] Step A1: Based on the set training conditions, determine the mask probability output by the random modality mask unit.

[0136] Specifically, the random modality mask unit randomly selects one of the sample semantic features and the sample secondary semantic features for masking. The mask probability here refers to whether to mask the selected feature according to probability, so the mask probability needs to be determined first.

[0137] The training condition may be that the training rounds of the audio content recognition model reach the set training rounds, or the recognition accuracy of the predicted sample content reaches a set readiness rate threshold, and the recognition accuracy is obtained based on the comparison between the predicted sample content and the sample content.

[0138] Specifically, during actual training, the audio content recognition model at the beginning of training is prone to only focus on the features of a certain modality. In order to allow the audio content recognition model to focus on different modal features at the initial stage, we need to randomly mask the features of a certain modality. As the training process continues to iterate, the model has stably guaranteed the focus on two modalities, so there is no need to mask the features of a certain modality. This model has stably guaranteed the judgment conditions for focusing on two modalities, that is, setting the training conditions.

[0139] The training condition may be set as a training round condition, a recognition accuracy condition, or both conditions (training is stopped when any one condition is met, or training is stopped when both conditions are met).

[0140] Step A2: masking the sample semantic features and sample secondary semantic features based on the mask probability.

[0141] Specifically, after randomly selecting a feature from the sample semantic feature and the sample secondary semantic feature for processing, it is determined whether to perform mask processing on the selected feature according to the mask probability. The mask processing here involves the way in which the mask probability changes, which is further explained below.

[0142] Furthermore, if Figure 5e As shown, it is a flow chart of a method for mask processing based on mask probability change, which includes the following steps:

[0143] Step B1: randomly select a feature from the sample semantic features and the sample secondary semantic features as the feature to be masked.

[0144] Specifically, the random mask processing includes two layers of randomness, one layer is the randomness of selecting a feature from the sample semantic feature and the sample secondary semantic feature, and the other layer is the randomness of whether to perform mask processing.

[0145] Among them, when randomly selecting a feature from the sample semantic feature and the sample parasemantic feature, the probability of selecting the sample semantic feature and the sample parasemantic feature can be 50%, that is, the probability of selecting the sample semantic feature or the sample parasemantic feature each time is 50%, so as to avoid the bias of the audio content recognition model in the process of processing the feature data.

[0146] The process of selecting features to be masked can be completed by the random modal mask unit. After the sample semantic features and sample parasemantic features are input into the random modal mask unit, the features after masking can be obtained. The process of selecting features to be masked can also be completed in the transformer decoder in the Q-Former model. At this time, the random modal mask unit will output the mask processing information (such as information on whether to mask the features to be masked. The features to be masked are also selected in the random modal mask unit, but the sample semantic features and sample parasemantic features will not be input into the random modal mask unit) and the sample semantic features and sample parasemantic features to the transformer decoder, and complete the masking, fusion processing and other processes in the transformer decoder.

[0147] Step B2: Based on the mask probability, mask the features to be masked.

[0148] Specifically, each time a feature is randomly selected as a feature to be masked, it is determined whether to perform masking on the feature based on the masking probability.

[0149] In one embodiment of the present disclosure, the mask probability is negatively correlated with the training rounds of the audio content recognition model.

[0150] Specifically, as analyzed above, as the training process continues to iterate, the model's focus on the features of different modalities becomes more stable, and the demand for mask processing becomes lower. Therefore, the mask probability decreases with the increase of training rounds. The specific reduction rate can be adjusted according to the configuration of the set training conditions, which will not be explained here.

[0151] Step B3: If the mask probability is zero, the features to be masked are not masked.

[0152] Specifically, when the mask probability is zero, no mask processing is performed. In actual training, the mask probability may not be zero, but may be kept at a lower value (such as 1%, 5% or 10%), in which case the robustness of the trained model can be better guaranteed.

[0153] Whether to stop masking the features to be masked during the training phase can be selected according to the actual situation, that is, step B3 is selected according to the actual situation.

[0154] Step S5022: The soft prompt word output by the soft prompt word module, the sample semantic features after masking, and the sample secondary semantic features after masking are input into the Transformer decoder to obtain the predicted fusion features output by the Transformer decoder.

[0155] Specifically, the soft prompt word can be input into the Transformer decoder together with the sample semantic features and sample secondary semantic features after mask processing, or the mask processing information can be input into the Transformer decoder together with the soft prompt word, sample semantic features, and sample secondary semantic features, without limitation here. Both methods can achieve the purpose of obtaining the predicted fusion features output by the Transformer decoder.

[0156] Step S5023: input the predicted fusion features into the self-attention pooling layer and output the predicted sample content.

[0157] Specifically, after the predicted fusion features are input into the self-attention pooling layer, the predicted sample content or the corresponding features of the predicted sample content will be output. If the output is the corresponding features, it will pass through the classifier (or fully connected layer) and then output the predicted sample content.

[0158] Step S5024: Based on the predicted sample content and the sample content, the soft prompt word module, the Transformer decoder and the self-attention pooling layer are trained.

[0159] Specifically, based on the predicted sample content and the sample content, the parameters in the audio content recognition model to be trained can be trained, including the first feature extraction module, the second feature extraction module, the third feature extraction module of the feature extraction part, and the parameters in the fusion feature recognition module (including the soft prompt word module, the Transformer decoder and the self-attention pooling layer) of the feature recognition part, so as to obtain a trained audio content recognition model.

[0160] According to the audio content recognition model training method of the embodiment of the present disclosure, the sample audio for model training is input into the audio content recognition model, the sample semantic features and sample sub-semantic features corresponding to the sample audio are extracted through the feature extraction part in the audio content recognition model, and then the sample semantic features and sample sub-semantic features are input into the feature recognition part of the audio content recognition model, and the predicted sample content corresponding to the sample audio is output. In this way, it is ensured that the trained audio content recognition model can robustly combine the semantic features and sub-semantic features in the audio to be recognized, and jointly determine the corresponding recognition results, thereby ensuring its recognition accuracy and reliability of the target recognition content, and further ensuring the recognition efficiency of the target content to be recognized.

[0161] Figure 6 Flow chart of an audio content recognition model training method provided by one embodiment of the present disclosure. Figure 6 As shown, it includes the following steps:

[0162] Step S601: Input the sample audio into a first feature extraction module to obtain predicted secondary semantic features corresponding to the sample audio.

[0163] Specifically, before inputting the sample audio into the audio content recognition model, it is necessary to determine the structure of the audio content recognition model, that is, to determine that the audio content recognition model includes the first feature extraction module of the feature extraction part, the second feature extraction module, the third feature extraction module, the fusion feature recognition module of the feature recognition part (including the soft prompt word module, the Transformer decoder and the self-attention pooling layer), and then input the sample audio into the first feature extraction module for processing.

[0164] In one embodiment of the present disclosure, the feature extraction part of the audio content recognition model includes a first feature extraction module, and the first feature extraction module is used to extract predicted secondary semantic features according to the input sample audio.

[0165] Specifically, in the training phase, the first feature extraction module extracts the corresponding predicted secondary semantic features according to the input sample audio, corresponding to the application phase (see Figure 3a The embodiment shown) is a process of obtaining secondary semantic features based on the audio to be recognized.

[0166] In one embodiment of the present disclosure, the first feature extraction module is a self-supervised pre-trained Hubert model.

[0167] Specifically, during the training phase, it is necessary to first determine the first feature extraction module and the second feature extraction module to be used. Both modules can directly select self-supervised pre-trained models, such as the Hubert model. This can significantly reduce the training requirements for the two modules, and directly use the results output by the corresponding models as predicted parasemantic features and predicted semantic features for subsequent training.

[0168] Step S602: input the sample audio into a second feature extraction module to obtain predicted semantic features corresponding to the sample audio.

[0169] Specifically, corresponding to obtaining the predicted secondary semantic feature is the process of obtaining the predicted semantic feature, which is described below.

[0170] In one embodiment of the present disclosure, the feature extraction part of the audio content recognition model includes a second feature extraction module, and the second feature extraction module is used to extract predicted semantic features according to the sample text corresponding to the input sample audio.

[0171] Specifically, in the training phase, the second feature extraction module extracts the corresponding predicted semantic features based on the input sample audio, corresponding to the application phase (see Figure 3a The process of obtaining semantic features based on the audio to be recognized in the embodiment shown in the figure will not be repeated here.

[0172] In one embodiment of the present disclosure, the second feature extraction module is a Bert model obtained through self-supervised pre-training.

[0173] Specifically, the Bert model and the Hubert model are both open source feature extraction models, and the feature extraction has high accuracy and strong reliability. Therefore, these two models can be directly used to execute the functions of the corresponding modules.

[0174] Step S603: input the predicted parasemantic feature into the first feature extraction unit to obtain the sample parasemantic feature.

[0175] Specifically, after the predicted parasemantic feature is obtained, it will be input into the subsequent first feature extraction unit to obtain the sample parasemantic feature (analogous to Figure 3a The target secondary semantic feature is obtained in the illustrated embodiment).

[0176] In one embodiment of the present disclosure, the feature extraction part of the audio content recognition model includes a third feature extraction module, and the third feature extraction module includes a first feature extraction unit and a second feature extraction unit, wherein the first feature extraction unit is used to extract sample parasemantic features associated with the predicted recognition content according to the predicted parasemantic features output by the first feature extraction module; and the second feature extraction unit is used to extract sample semantic features associated with the predicted recognition content according to the predicted semantic features output by the second feature extraction module.

[0177] Specifically, the specific structure of the third feature extraction module is Figure 3a The embodiment shown in the figure is described, and further feature extraction is performed based on the features output by the first feature extraction module and the second feature extraction module, and the process is similar to the application stage (i.e. Figure 3a The process in the illustrated embodiment) is the same as the process of extracting the target secondary semantic feature from the secondary semantic feature and the process of extracting the target semantic feature from the semantic feature, which will not be repeated here.

[0178] In one embodiment of the present disclosure, the first feature extraction unit includes a Transformer encoder and a first self-attention mechanism layer based on predicted parasemantic features; wherein the Transformer encoder is used to encode the predicted parasemantic features, and the first self-attention mechanism layer is used to extract sample parasemantic features based on the encoded predicted parasemantic features.

[0179] Specifically, since the audio to be recognized in practical applications usually contains fragments that do not contain actual information, such as some white noise or meaningless blank parts (such as the silent parts before and after the audio), the first self-attention mechanism layer can make the sample secondary semantic features concentrate on reflecting the features in the audio content after excluding this part of the fragment without actual information, so as to improve the accuracy of subsequent feature recognition.

[0180] Step S604: input the predicted semantic features into the second feature extraction unit to obtain sample semantic features.

[0181] Specifically, similarly, after the predicted semantic features are obtained, they are input into the subsequent second feature extraction unit to obtain the sample semantic features (analogous to Figure 3a The target semantic features are obtained in the illustrated embodiment).

[0182] In one embodiment of the present disclosure, the second feature extraction unit includes a Transformer encoder and a second self-attention mechanism layer based on predicted semantic features; wherein the Transformer encoder is used to encode the predicted semantic features, and the second self-attention mechanism layer is used to extract sample semantic features based on the encoded predicted semantic features.

[0183] Specifically, similar to the first self-attention mechanism layer, the second self-attention mechanism layer will also make the obtained sample semantic features more concentrated on the part of the audio to be recognized that contains actual content, rather than the blank and meaningless part of the audio to be recognized.

[0184] Step S605: training the first feature extraction unit and the second feature extraction unit based on the predicted sample content and the sample content.

[0185] Specifically, Figure 5a The training in the embodiment is mainly for the feature recognition part of the audio content recognition model, while the embodiment of the present disclosure is mainly for the feature extraction part, that is, the first feature extraction unit and the second feature extraction unit are mainly trained. In the actual training stage, the feature extraction part and the feature recognition part will be trained at the same time, and no one part will be trained separately.

[0186] According to the audio content recognition model training method of the embodiment of the present disclosure, after determining the structure of the audio content recognition model, the sample audio is input into the first feature extraction module to obtain the predicted parasemantic features corresponding to the sample audio, and the sample audio is input into the second feature extraction module to obtain the predicted semantic features corresponding to the sample audio, and then the predicted parasemantic features are input into the first feature extraction unit to obtain the sample parasemantic features, and the predicted semantic features are input into the second feature extraction unit to obtain the sample semantic features, thereby training the first feature extraction unit and the second feature extraction unit based on the predicted sample content and the sample content. In this way, the accuracy and reliability of the trained audio content recognition model in feature extraction are guaranteed, and the accuracy and reliability of audio content recognition are guaranteed.

[0187] Exemplary Media

[0188] After introducing the method of the exemplary embodiment of the present disclosure, next, refer to Figure 7 A storage medium according to an exemplary embodiment of the present disclosure is described.

[0189] refer to Figure 7 As shown, a program product 70 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto.

[0190] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0191] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium.

[0192] Program code for performing the disclosed operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN).

[0193] Exemplary Devices

[0194] After introducing the medium of the exemplary embodiment of the present disclosure, next, reference is made to Figure 8 and Fig. 9 The audio content recognition device according to the exemplary embodiment of the present disclosure is described, wherein Figure 8 The audio content recognition device is used to implement Figures 2 to 3a The audio content recognition method in the method embodiment shown, Fig. 9 The audio content recognition device is used to implement Figures 4 to 6 The implementation principle and technical effect of the audio content recognition method in the illustrated method embodiment are similar to those of the aforementioned corresponding method embodiments, and will not be described in detail here.

[0195] like Figure 8 As shown, the audio content recognition device 800 provided by the present disclosure includes:

[0196] An extraction module 810 is used to extract semantic features and parasemantic features, where the semantic features and parasemantic features correspond to the same audio segment to be recognized;

[0197] The recognition module 820 is used to determine the recognition result for the audio to be recognized based on the semantic features and the secondary semantic features; wherein the recognition result indicates that the audio to be recognized contains the target recognition content; or the recognition result indicates that the audio to be recognized does not contain the target recognition content.

[0198] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: inputting the audio to be recognized into the audio content recognition model, and extracting semantic features and sub-semantic features through the feature extraction part in the audio content recognition model; the recognition module 820 specifically includes: inputting the semantic features and sub-semantic features into the feature recognition part of the audio content recognition model, and determining the recognition result based on the output result of the audio content recognition model.

[0199] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the feature extraction part of the audio content recognition model includes a first feature extraction module, and the first feature extraction module is used to extract the secondary semantic features according to the input audio to be recognized.

[0200] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the first feature extraction module is a Hubert model obtained through self-supervised pre-training.

[0201] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the feature extraction part of the audio content recognition model includes a second feature extraction module, and the second feature extraction module is used to extract semantic features according to the input text content, and the text content corresponds to the audio to be recognized.

[0202] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the second feature extraction module is a Bert model obtained through self-supervised pre-training.

[0203] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the feature extraction part of the audio content recognition model includes a third feature extraction module, the third feature extraction module includes a first feature extraction unit and a second feature extraction unit, wherein: the first feature extraction unit is used to extract the target secondary semantic features associated with the target recognition content according to the secondary semantic features output by the first feature extraction module; the second feature extraction unit is used to extract the target semantic features associated with the target recognition content according to the semantic features output by the second feature extraction module.

[0204] In an exemplary embodiment of the present disclosure, the recognition module 820 specifically includes: the feature recognition part of the audio content recognition model includes a fusion feature recognition module, which is used to identify the target fusion feature to determine whether the audio to be recognized contains the corresponding target recognition content; wherein the target fusion feature is obtained by performing feature fusion processing on the target secondary semantic feature and the target semantic feature.

[0205] In an exemplary embodiment of the present disclosure, the recognition module 820 specifically includes: the fusion feature recognition module is a Q-Former model; the Q-Former model includes a Transformer decoder and a self-attention pooling layer; wherein the Transformer decoder is used to perform feature fusion processing on the target secondary semantic features and the target semantic features, and the self-attention pooling layer is used to identify the target fusion features after the feature fusion processing.

[0206] In an exemplary embodiment of the present disclosure, the recognition module 820 specifically includes: the Q-Former model also includes a soft prompt word module, which is used to provide soft prompt words related to the target recognition content so that the Transformer decoder can perform feature fusion processing on the target secondary semantic features and the target semantic features.

[0207] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the parasemantic feature includes at least one of an emotional feature, a timbre feature, and a tone feature.

[0208] In an exemplary embodiment of the present disclosure, the extraction module 810 specifically includes: the secondary semantic features also include phase information in the audio to be recognized.

[0209] In an exemplary embodiment of the present disclosure, the recognition module 820 specifically includes: the target recognition content is the audio content containing abnormal information.

[0210] like Fig. 9 As shown, the audio content recognition model training device 900 provided by the present disclosure includes:

[0211] An input module 910, used to input sample audio for model training into the audio content recognition model, and output predicted sample content corresponding to the sample audio;

[0212] The training module 920 is used to train the audio content recognition model based on the sample content corresponding to the predicted sample content and the sample audio.

[0213] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the audio content recognition model includes a fusion feature recognition module, the fusion feature recognition module includes a random modal mask unit, wherein the random modal mask unit is effective during the training phase of the audio content recognition model, but is not effective during the use phase of the audio content recognition model.

[0214] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the fusion feature recognition module is a Q-Former model; the Q-Former model includes a soft prompt word module, a Transformer decoder and a self-attention pooling layer; wherein the Transformer decoder is used to perform feature fusion processing on predicted parasemantic features and predicted semantic features, the self-attention pooling layer is used to identify the predicted fusion features of the feature fusion processing, and the soft prompt word module is used to provide soft prompt words related to the target recognition content, so that the Transformer decoder performs feature fusion processing on the target parasemantic features and the target semantic features.

[0215] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the feature fusion processing method includes: fusing the predicted parasemantic features and the predicted semantic features based on the cross-attention mechanism; or, splicing the predicted parasemantic features and the predicted semantic features.

[0216] In an exemplary embodiment of the present disclosure, the input module 910 is specifically used to: input the sample audio used for model training into the audio content recognition model, extract the sample semantic features and sample sub-semantic features corresponding to the sample audio through the feature extraction part in the audio content recognition model; input the sample semantic features and sample sub-semantic features into the feature recognition part of the audio content recognition model, and output the predicted sample content corresponding to the sample audio, and the feature recognition part includes a fusion feature recognition module.

[0217] In an exemplary embodiment of the present disclosure, the input module 910 is specifically used to: mask the sample semantic features and the sample parasemantic features through a random modal mask unit; input the soft prompt words output by the soft prompt word module and the masked sample semantic features and the masked sample parasemantic features into the Transformer decoder to obtain the predicted fusion features output by the Transformer decoder; input the predicted fusion features into the self-attention pooling layer to output the predicted sample content; the training module 920 is specifically used to: train the soft prompt word module, the Transformer decoder and the self-attention pooling layer based on the predicted sample content and the sample content.

[0218] In an exemplary embodiment of the present disclosure, the input module 910 is specifically used to: determine the mask probability output by the random modality mask unit based on set training conditions; and perform mask processing on sample semantic features and sample secondary semantic features based on the mask probability.

[0219] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the training rounds of the audio content recognition model reach the set training rounds, or the recognition accuracy of the predicted sample content reaches the set preparation rate threshold, and the recognition accuracy is obtained based on the comparison between the predicted sample content and the sample content.

[0220] In an exemplary embodiment of the present disclosure, the input module 910 is specifically used to: randomly select a feature from the sample semantic features and the sample secondary semantic features as the feature to be masked; based on the mask probability, mask the feature to be masked; or, if the mask probability is zero, do not mask the feature to be masked.

[0221] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the mask probability is negatively correlated with the training round of the audio content recognition model.

[0222] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the feature extraction part of the audio content recognition model includes a first feature extraction module, and the first feature extraction module is used to extract predicted secondary semantic features according to the input sample audio.

[0223] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the feature extraction part of the audio content recognition model includes a second feature extraction module, and the second feature extraction module is used to extract predicted semantic features according to the sample text corresponding to the input sample audio.

[0224] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the second feature extraction module is a Bert model obtained through self-supervised pre-training.

[0225] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the feature extraction part of the audio content recognition model includes a third feature extraction module, the third feature extraction module includes a first feature extraction unit and a second feature extraction unit, wherein: the first feature extraction unit is used to extract sample parasemantic features associated with the predicted recognition content according to the predicted parasemantic features output by the first feature extraction module; the second feature extraction unit is used to extract sample semantic features associated with the predicted recognition content according to the predicted semantic features output by the second feature extraction module.

[0226] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: a first feature extraction unit includes a Transformer encoder and a first self-attention mechanism layer based on predicted para-semantic features; wherein the Transformer encoder is used to encode the predicted para-semantic features, and the first self-attention mechanism layer is used to extract sample para-semantic features based on the encoded predicted para-semantic features.

[0227] In an exemplary embodiment of the present disclosure, the input module 910 specifically includes: the second feature extraction unit includes a Transformer encoder and a second self-attention mechanism layer based on predicted semantic features; wherein the Transformer encoder is used to encode the predicted semantic features, and the second self-attention mechanism layer is used to extract sample semantic features based on the encoded predicted semantic features.

[0228] In an exemplary embodiment of the present disclosure, the input module 910 is specifically used to: input the sample audio into the first feature extraction module to obtain the predicted parasemantic feature corresponding to the sample audio; input the sample audio into the second feature extraction module to obtain the predicted semantic feature corresponding to the sample audio; input the predicted parasemantic feature into the first feature extraction unit to obtain the sample parasemantic feature; input the predicted semantic feature into the second feature extraction unit to obtain the sample semantic feature; the training module 920 is specifically used to: train the first feature extraction unit and the second feature extraction unit based on the predicted sample content and the sample content.

[0229] Exemplary Computing Devices

[0230] After introducing the method, medium and apparatus of the exemplary embodiments of the present disclosure, next, reference is made to Fig.10 A computing device according to an exemplary embodiment of the present disclosure is described.

[0231] Fig.10 The computing device 100 shown is merely an example and should not bring any limitation to the functionality and scope of use of the embodiments of the present disclosure.

[0232] like Fig.10 As shown, the computing device 100 is in the form of a general computing device. The components of the computing device 100 may include but are not limited to: at least one processing unit 1001, at least one storage unit 1002, and a bus 1003 connecting different system components (including the processing unit 1001 and the storage unit 1002).

[0233] The bus 1003 includes a data bus, a control bus, and an address bus.

[0234] The storage unit 1002 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 10021 and / or a cache memory 10022 , and may further include a readable medium in the form of a non-volatile memory, such as a read-only memory (ROM) 10023 .

[0235] The storage unit 1002 may also include a program / utility 10025 having a set (at least one) of program modules 10024, such program modules 10024 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment.

[0236] The computing device 100 may also communicate with one or more external devices 1004 (e.g., a keyboard, a pointing device, etc.). Such communication may be performed via an input / output (I / O) interface 1005. Furthermore, the computing device 100 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 10010. Fig.10 As shown, the network adapter 10010 communicates with other modules of the computing device 100 via the bus 1003. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the computing device 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0237] It should be noted that although several units / modules or sub-units / modules of the supply chain strategy determination device and the object scoring model training device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be concretized in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided to be concretized by multiple units / modules.

[0238] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0239] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

Claims

1. An audio content recognition method, characterized in that: include: Extracting semantic features and parasemantic features, wherein the semantic features and the parasemantic features correspond to the same audio segment to be recognized; Based on the semantic features and the secondary semantic features, a recognition result for the audio to be recognized is determined; wherein the recognition result indicates that the audio to be recognized contains target recognition content; or, the recognition result indicates that the audio to be recognized does not contain target recognition content.

2. The audio content recognition method according to claim 1, characterized in that: The extracting of semantic features and parasemantic features comprises: Inputting the audio to be recognized into the audio content recognition model, and extracting semantic features and parasemantic features through the feature extraction part in the audio content recognition model; The determining, based on the semantic feature and the secondary semantic feature, a recognition result for the audio to be recognized includes: The semantic feature and the secondary semantic feature are input into the feature recognition part of the audio content recognition model, and the recognition result is determined based on the output result of the audio content recognition model.

3. The audio content recognition method according to claim 2, characterized in that: The feature extraction part of the audio content recognition model includes a first feature extraction module, and the first feature extraction module is used to extract the secondary semantic feature according to the input audio to be recognized.

4. The audio content recognition method according to claim 3, characterized in that: The first feature extraction module is a Hubert model obtained through self-supervised pre-training.

5. The audio content recognition method according to claim 3, characterized in that: The feature extraction part of the audio content recognition model includes a second feature extraction module, which is used to extract the semantic feature according to the input text content, and the text content corresponds to the audio to be recognized.

6. A method for training an audio content recognition model, characterized in that: include: Inputting the sample audio for model training into the audio content recognition model, and outputting the predicted sample content corresponding to the sample audio; The audio content recognition model is trained based on the predicted sample content and the sample content corresponding to the sample audio.

7. A computer-readable storage medium, comprising: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the audio content recognition method according to any one of claims 1 to 5; and / or, the computer-executable instructions, when executed by a processor, are used to implement the audio content recognition model training method according to claim 6.

8. An audio content recognition device, characterized in that: The device comprises: An extraction module, used for extracting semantic features and parasemantic features, wherein the semantic features and the parasemantic features correspond to the same audio segment to be recognized; A recognition module is used to determine a recognition result for the audio to be recognized based on the semantic feature and the secondary semantic feature; wherein the recognition result indicates that the audio to be recognized contains target recognition content; or, the recognition result indicates that the audio to be recognized does not contain target recognition content.

9. An audio content recognition model training device, characterized in that: The device comprises: An input module, used to input sample audio for model training into the audio content recognition model, and output predicted sample content corresponding to the sample audio; A training module is used to train the audio content recognition model based on the predicted sample content and the sample content corresponding to the sample audio.

10. A computing device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the computing device to execute the audio content recognition method as described in any one of claims 1 to 5; and / or to enable the computing device to execute the audio content recognition model training method as described in claim 6.

Citation Information

Patent Citations

  • Voice processing method and device, electronic equipment and storage medium

    CN112201249A

  • Game voice detection method, device and equipment and computer readable storage medium

    CN114863917A

  • Abnormal language detection method, electronic equipment and storage medium

    CN117493495A

  • Speech processing method, speech recognition method and speech model training method

    CN117558292A

  • Service keyword extraction method, apparatus, and device, and storage medium

    WO2022134575A1