Audio summary generation method, system, electronic device and storage medium

By receiving and processing data containing audio summaries and sound event detection data sets in the audio summarization system, and using the audio event detection model to generate temporal relationship markers, the problem of ambiguous description of temporal relationships in audio summaries in the existing technology is solved, and a more complete implementation is achieved. Accurate time information expression and user experience improvement.

CN114896447BActive Publication Date: 2024-08-27AISPEECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210475958.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-08-27
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

The existing audio summary system is not sensitive enough when describing the temporal relationship between sound events, and it is easy to use generalized conjunctions, resulting in vague descriptions and affecting the user interaction experience.

Method used

By receiving a data set containing audio summaries and sound event detection data sets, the audio event detection model is used to generate temporal relationship tags, and weak labels are combined for accurate judgment and data enhancement to ensure that the generated audio summaries are temporally controllable.

Benefits of technology

The binary classification measurement of time information is improved, connectives are used to express the time relationship between sound events, and the generated sentences are closer to human expression, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114896447B
    Figure CN114896447B
Patent Text Reader

Abstract

The embodiment of the present invention provides an audio summary generation method, system, electronic device and storage medium. The method includes: receiving a data set, wherein the data set includes: an audio summary data set and a sound event detection data set; inputting the sound event detection data set into an audio event detection model to obtain an audio tag representing an estimated sound event and a corresponding time series relationship; using a weak label representing a real sound event but without a timestamp to accurately judge the estimated sound event in the audio tag; if the sound event is accurately judged correctly, the audio tag is used as a unified tag for the audio summary data set and the sound event detection data set; using the unified tag to perform data enhancement of the time series relationship on the data set to obtain an audio summary with controllable time series. The embodiment of the present invention can use conjunctions to represent the time series relationship between sound events. The description of the audio by the sentence with a time series relationship is closer to human expression, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent speech, and in particular to an audio summary generation method, system, electronic device and storage medium. Background Art

[0002] With the development of deep learning, AAC (automated audio captioning) has made significant progress. Automatic audio description aims to generate a natural language description for a given audio clip to generate an audio summary. Compared with tasks such as sound event classification, detection and location, audio summaries can describe sounds without restrictions. In applications such as smart home assistants and automatic description generation of website multimedia content, this is very meaningful to help machines interact better with humans. For the generation of audio summaries, it is usually possible to: 1. Pre-train the audio encoder and text decoder based on large-scale pre-trained models to improve the understanding and expression of audio in the generated sentences; 2. Enhance the expression of sound events in the generated sentences by predicting additional information or directly inputting additional information (extra information includes keywords, sound event labels, similar text, etc.).

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the related art:

[0004] AAC systems are able to express specific properties of events or scenes and the relationships between them. Unlike visual-based summary displays, which can extract a large number of spatial properties, the relationships of audio events are mainly limited to their temporal characteristics. For example, a sound event can occur before, after, or at the same time as another event.

[0005] The generation of existing models is insensitive to the relationship between sound events. Without constraints, it is easy to use more general conjunctions such as "and" to summarize the relationship between events, resulting in vague descriptions of temporal relationships in the generated sentences, affecting the actual experience of interaction with users. Summary of the invention

[0006] In order to at least solve the problem in the prior art that audio summaries are insensitive to the relationship between sound events, and the description of the temporal relationship is vague, which affects the actual experience of interaction with users. In a first aspect, an embodiment of the present invention provides an audio summary generation method, comprising: receiving a data set, wherein the data set comprises: an audio summary data set and a sound event detection data set, wherein the sound event detection data set comprises: weak labels representing real sound events but without timestamps;

[0007] Inputting the sound event detection data set into an audio event detection model to obtain audio tags representing estimated sound events and corresponding temporal relationships;

[0008] Using the weak label representing the real sound event but without the time stamp to accurately judge the estimated sound event in the audio mark;

[0009] If the sound event is accurately determined, the audio tag is used as a unified tag for the audio summary dataset and the sound event detection dataset;

[0010] The unified tag is used to perform data enhancement on the time sequence relationship of the data set to obtain an audio summary with controllable time sequence.

[0011] In a second aspect, an embodiment of the present invention provides an audio summary generation system, including:

[0012] A data set determination program module is used to receive a data set, wherein the data set includes: an audio summary data set and a sound event detection data set, and the sound event detection data set includes: weak labels representing real sound events but without time stamps;

[0013] An audio tagging program module inputs the sound event detection data set into an audio event detection model to obtain audio tags representing estimated sound events and corresponding temporal relationships;

[0014] A sound event verification program module, used to accurately determine the sound event of the estimated sound event in the audio mark by using the weak label representing the real sound event but without the time stamp;

[0015] A tag unification program module is used to use the audio tag as a unified tag for the audio summary dataset and the sound event detection dataset if the sound event is accurately determined to be correct;

[0016] The audio summary generation program module is used to use the unified mark to perform data enhancement on the time sequence relationship of the data set to obtain an audio summary with controllable time sequence.

[0017] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the audio summary generation method according to any embodiment of the present invention.

[0018] In a fourth aspect, an embodiment of the present invention provides a storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the steps of the audio summary generation method of any embodiment of the present invention are implemented.

[0019] The beneficial effect of the embodiment of the present invention is that the method has no obvious negative impact on the quality of summary generation. And training based on the modified data greatly improves the binary classification metric of time information. With the help of additional input time tags, connectives can be used to represent the time relationship between sound events. The model can freely control the form of time information based on different input time tags. The description of audio with sentences with temporal relationships is closer to human expression, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 is a flowchart of an audio summary generation method provided by an embodiment of the present invention;

[0022] Figure 2 is an overall structural diagram of an audio summary generation method provided by an embodiment of the present invention;

[0023] Figure 3 It is a schematic diagram of time tags extracted from text (annotation) and audio (SED result) in a method for generating an audio summary provided by an embodiment of the present invention;

[0024] Figure 4 is a system architecture diagram of an audio summary generation method provided by an embodiment of the present invention;

[0025] Figure 5 is a system performance diagram of an audio summary generation method provided by an embodiment of the present invention;

[0026] Figure 6 is a schematic diagram of an ablation result of an audio summary generation method provided by an embodiment of the present invention;

[0027] Figure 7 It is a structural schematic diagram of an audio summary generation system provided by an embodiment of the present invention;

[0028] Figure 8 A schematic diagram of the structure of an embodiment of an electronic device for generating an audio summary provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] like Figure 1 FIG. 1 is a flowchart of an audio summary generation method provided by an embodiment of the present invention, comprising the following steps:

[0031] S11: receiving a data set, wherein the data set includes: an audio summary data set and a sound event detection data set, and the sound event detection data set includes: weak labels representing real sound events but without timestamps;

[0032] S12: inputting the sound event detection data set into an audio event detection model to obtain audio tags representing estimated sound events and corresponding time sequence relationships;

[0033] S13: using the weak label representing the real sound event but without the time stamp to accurately judge the estimated sound event in the audio tag;

[0034] S14: If the sound event is accurately determined, the audio tag is used as a unified tag for the audio summary dataset and the sound event detection dataset;

[0035] S15: Performing data enhancement on the time sequence relationship of the data set by using the unified tag to obtain an audio summary with controllable time sequence.

[0036] In this embodiment, the present application considers that one reason why current audio summaries lack time (the time corresponding to the audio) is that in the annotated summaries with SED results, the number of training summaries with time relationships is limited. Therefore, by proposing a time tag mechanism, the time relationship in the original data set is enhanced with the SED (Sound event detection) results; as the time tag ("Temporal tag") is input into the AAC model, a time-controllable summary system can be obtained, and then a time-controllable audio summary can be obtained from the audio-text audio summary data set.

[0037] For step S11, the data set usually includes audio and text in pairs, and the approximate content of the audio is described by the text.

[0038] Specifically, the datasets include the audio summary dataset audiocaps and the sound event detection dataset audioset. From the audio perspective, audiocaps is a subset of audioset, so the labels of audioset can be used to assist in audio summary generation.

[0039] It should be noted that the audio summary dataset audioset only provides all weak labels and some strong labels. Here, "weak labels" refer to "only describing the sound event but not providing the start and end time (timestamp)", while "strong labels" provide "sound events and start and end times". Since there are fewer strong labels, the SED (sound event detection) method can be used in subsequent steps to estimate the timestamps of sound events to obtain "audio tags".

[0040] For step S12, audio event detection is performed on the sound event detection dataset, and audio tags are generated by means of the SED (Soundevent detection) model. It includes: determining each sound event in the sound event detection dataset, and the start and end time corresponding to each sound event; calibrating the sound events and the corresponding start and end times, and determining the audio tags representing the temporal relationship of each sound event. Among them, the SED task aims to detect sound events and calibrate their start and end times. The temporal relationship in the audio can be defined by the sound events and their start and end times output by the model, and the audio tags can be obtained, such as Figure 2 The SED model shown in (a).

[0041] Specifically, the SED model of our method has 8 convolutional layers, predicting the onset and offset of each sound event and defining the temporal relationship of each event pair according to the algorithm described below.

[0042] Require:{Aon,Aoff},{Bon,Boff}where A and B is a pair of sound eventsdetected and Aon <Bon

[0043] Ensure:The relationship(sequential,simultaneous or Null)between these two events.

[0044] 1:Overlap←Aoff-Bon;

[0045] 2:Threshold←min(Aoff-Aon,Boff-Aon);

[0046] 3:if Overlap<0.1×Threshold then

[0047] 4:return Sequential

[0048] 5:else

[0049] 6:if Overlap>Threshold then

[0050] 7: return Simultaneous

[0051] 8:else

[0052] 9:return Null

[0053] 10:end if

[0054] 11:end if

[0055] "Null" indicates that the relationship is not defined to reduce misjudgment. Time tags can be extracted from the audio based on the detected relationship. The time sequence relationship of each sound event can be estimated through the time tags of each audio event.

[0056] As an implementation manner, before using the weak label representing the real sound event but without the time stamp to accurately judge the estimated sound event in the audio tag, the method further includes:

[0057] Extracting text tags of the audio summary dataset;

[0058] In this embodiment, the order of these data is determined by using the audio summary data set. The text markup of the audio summary data set is extracted including:

[0059] Conjunction detection is performed on the audio summary data set to obtain text tags representing the temporal relationship of each word.

[0060] In this embodiment, if Figure 2 The conjunction detection (b) shown in the figure detects conjunctions in the dataset annotations, such as “follow, followed, then, after” that represent the sequential relationship and “while, and, when, with, as” that represent the simultaneous relationship, to obtain text tags (since these text tags can represent the sequential relationship of each word, intuitively speaking, they can also be called time tags).

[0061] Specifically, in order to determine the time labels of audio, a four-scale time labeling mechanism is defined to represent the level of temporal information, where 0 means only one event; 1 refers to simultaneous events; 2 means two consecutive events; 3 means the number of events > 2, and more complex relationships. Such time labels can be extracted from text (summary) or audio (SED event boundary prediction), such as Figure 3 Its purpose is to unify mismatched temporal labels and enhance the summary by leveraging temporal relations inferred from audio.

[0062] For step S13, the weak label representing the real sound event but without the timestamp is used to accurately judge the estimated sound event in the audio tag. Specifically, audioset only provides all the weak labels and some strong labels. The weak label here means "only describes the sound event but does not provide the start and end time (timestamp)", while the strong label "provides the sound event and gives the start and end time". Since there is no strong label, the SED (sound event detection) method is used to obtain the timestamp, thereby obtaining the "audio tag".

[0063] However, the weak label of audioset is still useful. It can detect the "absolute error" of the SED method. For example, there is only one label for a sound event, but SED concludes that "two events" occurred at the same time. At this time, "text label" is selected as the unified label.

[0064] For step S14, if the sound event is accurately judged, the audio tag is used as the unified tag of the audio summary dataset and the sound event detection dataset. In order to solve the mismatch problem between the text tag and the audio tag. Based on the principle of "text is faithful to audio" in the audio summary generation task, in most cases, the audio tag is selected as the unified tag, and the description of the temporal relationship in the annotation is added, deleted or modified accordingly to enhance the dataset, such as Figure 2 In (d), after processing, the text tags and audio tags are time-matched, and a time-controllable audio summary is obtained.

[0065] As an implementation method, if the sound event is accurately judged to be wrong, the text mark is used as a unified mark for the audio summary dataset and the sound event detection dataset. In this implementation method, for the case of mismatch, no description of the temporal relationship in the annotation is added, deleted or modified to enhance the dataset, but it is specifically divided into three independent cases, and each modification rule is performed, including:

[0066] 1. Confusion: Confusion between simultaneous and sequential relations due to misuse of conjunctions in the summary, such as “followed by” in the summary, while the events in the audio occur simultaneously. → Select SED temporal tagging and modify conjunctions in the audio summarization dataset accordingly.

[0067] 2. Missing: There is no temporal relation in the title and its accompanying events. → Select SED temporal tag. Add the missing events with the corresponding conjunctions indicating the temporal relation. Exception: Check the ground truth sound event and if it aligns with a title where only one event occurs, select only the title temporal tag without modification.

[0068] 3. Redundancy: Redundant events in the title and their temporal relations, which are not present in the SED results. → Select SED temporary markers. Remove conjunctions and their subsequent events. Exception: Check the ground truth sound event, if it aligns with the title where multiple events occur, only select the title temporary marker without modification.

[0069] In the mismatched scenarios, SED provisional tags are selected, and the summary is generated from the audio, so SED is given higher priority, unless anomalies indicate errors in the SED output. For the validation and evaluation sets in the audio summarization dataset, text annotations are not visible during inference, so text tags are not available, so audio tags extracted from SED results are used.

[0070] For further explanation of the audio summary generation of this method, the corresponding audio summary generation model structure is as follows Figure 4 As shown in the figure, the time tags are taken as additional input, the audio encoder learns embeddings from the audio clips, and the text decoder generates sentences based on the audio embeddings and time tags.

[0071] The audio encoder PANNs is selected as the feature extractor, which is a pre-trained but frozen deep neural network with 12 convolutional layers. A three-layer bidirectional gated recurrent unit (GRU) neural network acts as the audio encoder and outputs an audio embedding sequence (T is the sequence length).

[0072] Text Decoder A single-layer unidirectional GRU text decoder predicts a summary word by word based on the audio embedding sequence and time tags. At each time step n, based on the current input word w n Update hidden state h n , that is, the previous time step h n-1 The hidden state and context vector c of and h n-1 The calculations show that:

[0073]

[0074]

[0075] h n =GRU([WE(w n );c],hn-1 )

[0076] Note that at the first time step, w is fed to the decoder n is the time tag. The word embedding layer w n is mapped to an embedding vector. A linear layer is used as a classifier to predict the probability of the word at time step n Where V represents the vocabulary: on = Linear (h n ). Thus, the corresponding text words in the audio with time sequence relationship are predicted, and the audio summary with controllable time sequence is obtained.

[0077] For step S15, in order to measure the performance improvement of the audio summary generation of this method in expressing time information, the annotations and generated summaries are divided into two categories according to whether there are relevant conjunctions indicating the continuous occurrence of events. For example, "Doorclosed followed by a man talking" or "a vehicle engine is followed by a loudexplosion" can be considered as a positive sample because the word "followed by" that can indicate the time sequence appears. On this basis, the problem is simplified to a binary classification task in order to introduce ACC temporal (Accuracy) and F1 temporal Values ​​are used to evaluate the quality of the temporal information contained in the generated sentences:

[0078]

[0079]

[0080] Among them, TP: positive samples predicted by the model as positive, TN: negative samples predicted by the model as negative, FP: negative samples predicted by the model as positive, FN: positive samples predicted by the model as negative. Specifically, for example, the conjunctions such as "follow, followed, then, after" that indicate the order of the relationship are considered positive samples; otherwise, they are all negative samples, such as "A manis talking" or "A dog is barking and people are laughing".

[0081] It can be seen from this implementation that in audio summary generation, the temporal relationship of sound events in audio can be understood and expressed. The corresponding audio summary generation model realizes strict control of the output style (for example, the free control model indicates that two events occur simultaneously or successively). It plays the advantage of the audio summary model compared to other simple sound classification models, that is, it has a more accurate description of the specific attributes or mutual relationships of sound events, indicating that the generation task of the audio summary is controllable in terms of a specific output requirement. In intelligent interaction, the description of the audio by the sentence is closer to human expression, thereby improving the user experience.

[0082] The method was experimentally demonstrated using a model trained for 25 epochs. Cross entropy loss was used with label smoothing (α = 0.1). Optimization was performed using the Adam optimizer. An exponentially decaying learning rate scheduler with pre-training was used. The learning rate was linearly increased from 0 to an initial value of 5 × 10 in the first 3000 iterations. -4 , and decays exponentially to a final value of 2×10 -6 Training is finished. Timescale sampling is used to mitigate exposure bias, and the ratio of forced learning is linearly decreased from 1 to 0.7. During training, summary time labels are fed into the model, while time labels inferred from the audio are used for validation and evaluation. Beam search (size = 3) is used to help inference.

[0083] In addition to the proposed time metric, commonly used summary evaluation metrics are also used to evaluate the overall quality of the summaries generated by the system, including BLEU4, ROUGEL, METEOR, CIDEr, and SPICE (all of which are existing evaluation systems).

[0084] The experiments mainly evaluate the effects of the modified summary and the time-controllable model proposed by this method, such as Figure 5 The base model is a normal summary model without time labels.

[0085] As can be seen, simply replacing the training data without improving the system structure results in little improvement in temporal accuracy. The small changes in the overall quality metrics suggest that the modifications made to our approach do not have a significant negative impact on the quality of the dataset.

[0086] For judging whether the temporal relationship of the audio summary is enhanced, training on the modified data greatly improves the prediction accuracy of the temporal information, which can be reflected in the ACC temporal and F1 temporal middle.

[0087] In the absence of temporal information, the baseline model tends to output more general conjunctions (such as "and" and "while") that do not represent temporal relationships, causing people to lose focus on the temporal relationship between sound events. The model of this method restricts the output by inputting additional time tags, thereby guiding the model to focus on the relationship between sound events and use conjunctions to express these relationships, especially when the scale of time tags is relatively large.

[0088] Below is a typical example: By incorporating unified time labels, the proposed model successfully expresses the temporal relationship between events, while the baseline model only uses “and”.

[0089] Baseline model: a fire truck siren is going off and a horn is triggered.

[0090] This method: an emergency vehicle siren is triggered and then a horn istriggered.

[0091] Time tag: 3

[0092] The overall quality of the generated sentences is evaluated by several metrics, such as Figure 5 As shown in columns 3 to 7, METEOR and SPICE increase slightly from the baseline to the proposed model, while BLEU4 and ROUGEL decrease slightly, which shows that the summary performance of the proposed model is comparable to the baseline.

[0093] It is important to note that the proposed model performs poorly on CIDEr because CIDEr penalizes repeated words in generated sentences. Below is an example. The time label is 1, which correctly corresponds to two simultaneous sound events in the annotation (applause, cheering). However, both the baseline model and the proposed model find only one event, and the latter is forced to repeat the event and connect it with “and” as indicated by the time label. CIDEr penalizes the repetition of specific n-grams in the annotation other than the time, especially when the repeated part rarely occurs in the reference corpus.

[0094] Baseline model: a crowd of people applauding. (CIDEr score: 3.902)

[0095] This method: a crowd cheering and cheering. (CIDEr score: 1.142)

[0096] Time tag: 3

[0097] Notes:

[0098] A crowd of people applauding and cheering.

[0099] A crowd of people applaud and cheer.

[0100] A crowd of people applauding and cheering.

[0101] A crowd of people cheering and applauding.

[0102] A crowd of people shout and give applause.

[0103] The controllable characteristics of the method for time labels are analyzed. As mentioned above, the SED output is compared with the SED weak labels of the original sound event detection dataset prepared in advance. When the SED result contradicts the pre-prepared SED weak labels, the ground truth sound event labels are used to correct the error.

[0104] To verify the impact of this correction method, an ablation study is performed to investigate the effect of introducing SED weak labels, such as Figure 6 As shown. In general, the overall quality of the summaries shows little difference with SPIDEr. However, the temporal metrics illustrate the importance of taking SED errors into account and cross-validating with the groundtruth labels: removing such correction steps has a negative impact on the prediction of temporal information. Since only a small portion of the audio set provides strong labels (timestamps), it is inevitable to use SED results to infer the temporal relations of events. However, the original weak labels (event tags) also help improve the accuracy of temporal relation extraction.

[0105] Regarding the controllable style of time information, for an audio, when the input time mark is 0, it strictly outputs only one event, when it receives 1, it indicates two simultaneous events, and when it is marked as 2, it uses conjunctions to indicate two consecutive events. Examples are as follows.

[0106] 0:an engine works in the distance.

[0107] 1: Humming of an engine with people speaking.

[0108] 2:an engine is idling then people are speaking in the background.

[0109] Another example:

[0110] 0: a loud explosion.

[0111] 1:a vehicle engine is running and a loud explosion.

[0112] 2:a vehicle engine is followed by a loud explosion.

[0113] In general, this method improves the performance of expressing temporal information in AAC tasks. It enhances the description of temporal information in the current audio summary dataset and extracts additional temporal tag information. In order to solve the problem of lack of specific temporal relationship description between events in the generated summary, binary classification metrics ACC and F1 are further proposed to measure the accuracy of temporal relationship description.

[0114] Experimental results show that this method has no significant negative impact on the quality of summary generation. And training based on the modified data greatly improves the binary classification metric of temporal information. With the help of additional input time tags, connectives can be used to represent the temporal relationship between sound events. The model can freely control the form of temporal information based on different input time tags.

[0115] like Figure 7 FIG. 1 is a schematic diagram of the structure of an audio summary generation system provided by an embodiment of the present invention. The system can execute the audio summary generation method described in any of the above embodiments and is configured in a terminal.

[0116] The audio summary generation system 10 provided in this embodiment includes: a data set determination program module 11, an audio tagging program module 12, a sound event verification program module 13, a tag unification program module 14 and an audio summary generation program module 15.

[0117] Among them, the data set determination program module 11 is used to receive a data set, wherein the data set includes: an audio summary data set and a sound event detection data set, and the sound event detection data set includes: a weak label representing a real sound event but without a timestamp; the audio marking program module 12 inputs the sound event detection data set into the audio event detection model to obtain an audio label representing an estimated sound event and a corresponding time series relationship; the sound event verification program module 13 is used to use the weak label representing a real sound event but without a timestamp to accurately judge the estimated sound event in the audio label; the label unification program module 14 is used to use the audio label as a unified label for the audio summary data set and the sound event detection data set if the sound event is accurately judged correctly; the audio summary generation program module 15 is used to use the unified label to perform data enhancement of the time series relationship on the data set to obtain an audio summary with controllable time series.

[0118] Furthermore, the system further comprises: a text tagging program module for extracting text tags of the audio summary data set;

[0119] A sound event verification program module, used to accurately determine the sound event of the estimated sound event in the audio mark by using the weak label representing the real sound event but without the time stamp;

[0120] The marking unified program module is used to use the text mark as a unified mark for the audio summary data set and the sound event detection data set if the sound event is accurately judged to be wrong.

[0121] Furthermore, the audio tagging program module is used to:

[0122] estimating each sound event in the sound event detection data set, and the start and end time corresponding to each sound event;

[0123] The estimated sound events and the corresponding start and end times are calibrated to determine audio tags representing the estimated sound events and the corresponding timing relationships.

[0124] Furthermore, the text marking program module is used to:

[0125] Conjunction detection is performed on the audio summary data set to obtain text tags representing the temporal relationship of each word.

[0126] The embodiment of the present invention further provides a non-volatile computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the audio summary generation method in any of the above method embodiments;

[0127] As an implementation mode, the non-volatile computer storage medium of the present invention stores computer executable instructions, and the computer executable instructions are configured as follows:

[0128] Receive a data set, wherein the data set includes: an audio summary data set and a sound event detection data set, and the sound event detection data set includes: weak labels representing real sound events but without time stamps;

[0129] Inputting the sound event detection data set into an audio event detection model to obtain audio tags representing estimated sound events and corresponding temporal relationships;

[0130] Using the weak label representing the real sound event but without the time stamp to accurately judge the estimated sound event in the audio mark;

[0131] If the sound event is accurately determined, the audio tag is used as a unified tag for the audio summary dataset and the sound event detection dataset;

[0132] The unified tag is used to perform data enhancement on the time sequence relationship of the data set to obtain an audio summary with controllable time sequence.

[0133] As a non-volatile computer-readable storage medium, it can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present invention. One or more program instructions are stored in the non-volatile computer-readable storage medium, and when executed by the processor, the audio summary generation method in any of the above method embodiments is executed.

[0134] Figure 8 FIG. 1 is a schematic diagram of the hardware structure of an electronic device of an audio summary generation method provided by another embodiment of the present application, such as Figure 8 As shown, the device includes:

[0135] One or more processors 810 and memory 820, Figure 8 A processor 810 is taken as an example. The device of the audio summary generation method may further include: an input device 830 and an output device 840.

[0136] The processor 810, the memory 820, the input device 830 and the output device 840 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0137] The memory 820 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the audio summary generation method in the embodiment of the present application. The processor 810 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 820, that is, the audio summary generation method in the above method embodiment is implemented.

[0138] The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data, etc. In addition, the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 820 may optionally include a memory remotely arranged relative to the processor 810, and these remote memories may be connected to the mobile device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0139] The input device 830 can receive input digital or character information. The output device 840 can include a display device such as a display screen.

[0140] The one or more modules are stored in the memory 820, and when executed by the one or more processors 810, the audio summary generation method in any of the above method embodiments is executed.

[0141] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0142] The non-volatile computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the non-volatile computer-readable storage medium may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the non-volatile computer-readable storage medium may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0143] An embodiment of the present invention further provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the audio summary generation method of any embodiment of the present invention.

[0144] The electronic device of the embodiment of the present application exists in various forms, including but not limited to:

[0145] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

[0146] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDAs, MIDs, and UMPC devices, such as tablet computers.

[0147] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0148] (4) Other electronic devices with data processing functions.

[0149] In this article, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include" and "comprise" include not only those elements, but also other elements not explicitly listed, or also include elements inherent to such processes, methods, articles or equipment. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or equipment that includes the elements.

[0150] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating an audio summary, comprising: Receive a data set, wherein the data set includes: an audio summary data set and a sound event detection data set, and the sound event detection data set includes: weak labels representing real sound events but without time stamps; Inputting the sound event detection data set into an audio event detection model to obtain audio tags representing estimated sound events and corresponding temporal relationships; Using the weak label representing the real sound event but without the time stamp to accurately judge the estimated sound event in the audio mark; If the sound event is accurately determined, the audio tag is used as a unified tag for the audio summary dataset and the sound event detection dataset; The unified tag is used to perform data enhancement on the time sequence relationship of the data set to obtain an audio summary with controllable time sequence.

2. The method according to claim 1, wherein: Before accurately determining the estimated sound event in the audio tag using the weak tag representing the real sound event but without a timestamp, the method further includes: Extracting text tags of the audio summary dataset; Using the weak label representing the real sound event but without the time stamp to accurately judge the estimated sound event in the audio mark; If the sound event is accurately judged to be wrong, the text mark is used as a unified mark for the audio summary dataset and the sound event detection dataset.

3. The method according to claim 1, wherein: The step of inputting the sound event detection data set into the audio event detection model to obtain audio tags representing the estimated sound events and the corresponding time sequence relationships includes: estimating each sound event in the sound event detection data set, and the start and end time corresponding to each sound event; The estimated sound events and the corresponding start and end times are calibrated to determine audio tags representing the estimated sound events and the corresponding timing relationships.

4. The method according to claim 2, wherein: The extracting text tags of the audio summary data set comprises: Conjunction detection is performed on the audio summary data set to obtain text tags representing the temporal relationship of each word.

5. An audio summary generation system, comprising: A data set determination program module is used to receive a data set, wherein the data set includes: an audio summary data set and a sound event detection data set, and the sound event detection data set includes: weak labels representing real sound events but without time stamps; An audio tagging program module inputs the sound event detection data set into an audio event detection model to obtain audio tags representing estimated sound events and corresponding temporal relationships; A sound event verification program module, used to accurately determine the sound event of the estimated sound event in the audio mark by using the weak label representing the real sound event but without the time stamp; A tag unification program module is used to use the audio tag as a unified tag for the audio summary dataset and the sound event detection dataset if the sound event is accurately determined to be correct; The audio summary generation program module is used to use the unified mark to perform data enhancement on the time sequence relationship of the data set to obtain an audio summary with controllable time sequence.

6. The system according to claim 5, wherein: The system further comprises: a text tagging program module for extracting text tags of the audio summary data set; A sound event verification program module, used to accurately determine the sound event of the estimated sound event in the audio mark by using the weak label representing the real sound event but without the time stamp; The marking unified program module is used to use the text mark as a unified mark for the audio summary data set and the sound event detection data set if the sound event is accurately judged to be wrong.

7. The system according to claim 5, wherein: The audio tagging program module is used to: estimating each sound event in the sound event detection data set, and the start and end time corresponding to each sound event; The estimated sound events and the corresponding start and end times are calibrated to determine audio tags representing the estimated sound events and the corresponding timing relationships.

8. The system according to claim 6, wherein: The text marking program module is used to: Conjunction detection is performed on the audio summary data set to obtain text tags representing the temporal relationship of each word.

9. An electronic device, comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any one of claims 1 to 4.

10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Automatic broadcast audio tag generation method

    CN110913242A

  • Method and apparatus for providing combined-summary in imaging apparatus

    US20160104045A1