Filler words, such as “uh” and “um,” are sounds or words people use to signal they are pausing to think. They are common in spontaneous speech and can also be the result of nervousness, stress, or fatigue. Frequent use of filler words in an audio or video recording can be very disruptive to a person's listening or viewing experience, as they interrupt the flow of speech. Finding and removing filler words from audio and video recordings thus is a common task in media editing. To manually remove filler words, audio and video editors typically must review the entire audio or video recording to identify the occurrences of filler words, which can be tedious and time-consuming.
While some existing solutions attempt to address these issues, they have limitations and drawbacks, as they can be time-consuming and resource-intensive, while producing unreliable results.
Introduced here are techniques/technologies that allow a media editing system to detect and classify filler words in an audio sequence. The media editing system uses a series of trained neural networks to identify voice activity in the audio sequence, detect where spoken words are spoken in the audio sequence, and classify any voice activity that does not have corresponding detected spoken words as filler words.
In particular, in one or more embodiments, a media editing system can receive an input including an audio sequence. The audio sequence can be part of a media sequence that includes the audio sequence and a video sequence (e.g., a person giving a presentation or speech). The media editing system can analyze the audio sequence to determine filler word candidates using a voice activity detection model and a speech recognition model. The media system can then classify, by a filler word classification model, each filler word candidate of the filler word candidates into one of a set of categories. The media editing system then generates an output audio sequence, the output audio sequence including an identification of a subset of the filler word candidates in a filler words category of the set of categories as being the identified filler words.
Additional features and advantages of exemplary embodiments of the present disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of such exemplary embodiments.
The detailed description is described with reference to the accompanying drawings in which:
One or more embodiments of the present disclosure include a media editing system that uses trained neural networks to detect and classify filler words (e.g., “um,” “uh,” etc.) in an audio sequence. The neural networks include a voice activity detection model trained to detect the locations of voice activity in an audio sequence and a speech recognition model trained to identify and transcribe spoken words identified in the audio sequence that are used to detect and identify filler word candidates. The trained neural networks also include a filler word classification model trained to classify the filler word candidates into one of a plurality of categories. While existing solutions attempt to identify filler words in audio, they have limitations and disadvantages.
Some existing solutions are directed to detecting and removing speech disfluencies from text transcripts produced via automatic speech recognition systems. These solutions involve the automatic speech recognition systems transcribing the filler words, which requires training an ad-hoc automatic speech recognition systems with filler words in its vocabulary. This can be computationally intensive and challenging since automatic speech recognition systems are often trained on spoken text corpora which do not contain any filler words, and thus cannot detect them reliably. Furthermore, adding a new filler word to the vocabulary would require re-training the automatic speech recognition systems model, which can also be a time-consuming and resource-intensive task.
Existing solutions that use neural networks also have their deficiencies. For example, one existing solution trains a convolutional recurrent neural network for filler word segmentation applied directly to audio recordings. This solution uses two speech datasets, Switchboard speech data with transcripts and Automanner. However, a major limitation of the approach is its inability to distinguish filler words such as “uh” or “um” from real part-of-speech, thus returning false-positive detection for actual words that sound similar to or contain filler words, such as “umbrella.”
To address these issues, after receiving an audio sequence as input, the media editing system analyzes the audio sequence. The media editing system can process the audio sequence through two trained neural networks to generate filler word candidates. The trained neural networks can include a voice activity detection model to detect regions of voice activity in the audio sequence, and a speech recognition model to detect spoken words in the audio sequence. The media editing system can then process the filler word candidates to classify each filler word candidate into one of a set of categories, including a filler words category. Once the filler words are identified from the filler word candidates, the media editing system can generate an output audio sequence. The output audio sequence can include an identification, or indication, of the filler words in the audio sequence based on the regions of the audio sequence indicating as being in the filler words category. In other embodiments, the output can be a set of identification markers with timestamps indicating the location of filler words in the audio sequence or a modified audio sequence with some or all of the identified filler words automatically removed.
By using a trained voice activity detection model and a trained speech recognition model to identify filler word candidates, and then a trained filler word classification model to classify the identified filler word candidates as being filler words or other non-filler word sounds, the embodiments described herein provide a significant increase in filler word detection accuracy and speed. For example, by first identifying the location of filler word candidates, based on comparing locations of detected voice activity with locations of detected spoken words, the media editing system described herein reduces the amount of audio data that needs to be processed and classified to identify the filler words.
As illustrated in
In one or more embodiments, the audio processing module 108 processes the audio sequence 106, at numeral 4. In some embodiments, the audio processing module 108 includes a voice activity detection model 110 and a speech recognition model 112 that are used in a filler word candidate detection phase. The voice activity detection model 110 and the speech recognition model 112 can be run serially or in parallel.
The voice activity detection model 110 and the speech recognition model 112 are neural networks. In one or more embodiments, a neural network includes deep learning architecture for learning representations of audio and/or video. A neural network may include a machine-learning model that can be tuned (e.g., trained) based on training input to approximate unknown functions. In particular, a neural network can include a model of interconnected digital neurons that communicate and learn to approximate complex functions and generate outputs based on a plurality of inputs provided to the model. For instance, the neural network includes one or more machine learning algorithms. In other words, a neural network is an algorithm that implements deep learning techniques, i.e., machine learning that utilizes a set of algorithms to attempt to model high-level abstractions in data.
In one or more embodiments, the voice activity detection model 110 is trained to output predictions at a fine temporal resolution (e.g., 100 Hz) that indicate the temporal boundaries of regions of voice activity in the audio sequence 106. In some embodiments, the voice activity detection model 110 outputs a probability sequence (e.g., signal) that indicates a confidence level that the audio sequence 106 is speech or voice activity at each frame. In such embodiments, a median filter can be applied to the signal to smooth the signal, and regions where the probability is above a certain threshold (e.g., 0.5) can be identified. These regions can be marked as [start time, end time]. For example, the voice activity detection model 110 can generate voice data 114 that indicates a start time and end time to the predicted regions of the audio sequence 106 during which the voice activity detection model 110 detected voice activity.
In one or more embodiments, the speech recognition model 112 is a trained model configured to generate transcript data of the audio sequence 106 by recognizing/detecting spoken words within the audio sequence 106 and converting/translating the detected spoken words into text. In one or more embodiments, the speech recognition model 112 is trained using speech corpora of people reading written texts without any non-lexical filler words, such as “uh” and “um.” The written text (e.g., the ground truth data) is then compared with text generated by the speech recognition model 112 to train the speech recognition model 112. As such, the speech recognition model 112 is configured to transcribe spoken words and ignore non-lexical fillers, including “uh” and “um.” When the speech recognition model 112 detects spoken words in the audio sequence 106, the corresponding regions of the output of the speech recognition model 112 will include a transcription of the detected spoken words. When the speech recognition model 112 detects non-lexical fillers in the audio sequence 106, the corresponding regions of the output of the speech recognition model 112 will appear as silent gaps.
After the audio processing module 108 has passed the audio sequence 106 through the voice activity detection model 110 and the speech recognition model 112, the generated the voice data 114 and the transcript data 116 are compared. The regions of the voice data 114 that have corresponding data in the transcript data 116 are discarded as the activation in both the voice data 114 and the transcript data 116 indicate the presence of actual (e.g., non-filler) words. The remaining regions of the voice data 114 are identified as the filler word candidates 118, as these regions have voice activity detected in the voice data 114, but no spoken words detected in the transcript data 116.
The filler word candidates 212A and 212B are determined by comparing the voice data 204 and the transcript data 208. In one or more embodiments, the portion of audio sequence 202 corresponding to voice region 206B and transcript region 210A can be discarded as a candidate because the transcript data 208 indicates the speech recognition model detected spoken words (e.g., “I want a flight to Boston”). Similarly, the portion of audio sequence 202 coinciding with voice region 206D and transcript region 210B can be discarded because the transcript data 208 indicates the speech recognition model detected spoken words (e.g., “on Friday”).
While the example in
Returning to
The filler word classification model 120 can be considered a keyword-spotting (KWS) task where the keyword is the joint set of filler words “uh” and “um.” In one or more embodiments, for efficient classification, the filler word classification model 120 is an adapted TC-ResNet8, a lightweight KWS model backbone architecture. TC-ResNet8 has around 100 k parameters, making it low latency for prediction. TC-ResNet8 applies 1D convolution in the temporal axis and spans the entire frequency range in every layer, achieving strong performance even with a small number of layers.
In one or more embodiments, the filler word classification model 120 identifies filler words 122 from the filler word candidates 118, at numeral 6. Each of the filler word candidates 118 are typically short voice sounds (e.g., around one second in length). In one or more embodiments, the filler word classification model 120 includes an event classifier trained to identify the voice data corresponding to filler word candidates 118 as being one of: filler words (e.g., “uh” and “um”), laughter, breaths, words (e.g., regular words and repetitions), and music. As each filler word candidate of the filler word candidates 118 is passed through the filler word classification model 120, the filler word classification model 120 categorizes the filler word candidate into one of the described categories. In one or more other embodiments, filler word candidates 118 that are not filtered into one of the above-noted classifications can be placed in a separate category (e.g., an “other” category).
In one or more embodiments, the filler word classification model 120 outputs labeled events for each filler word candidate, where each labeled event includes a start time, an end time, and a category label (indicating a category for each filler word candidate). An example format of a labeled event can be: “0.2˜0.3 s Filler.” Because the filler word candidates are typically short segments, the event classifier is trained to directly predict the category label for the entire input segment. After passing each filler word candidate through the filler word classification model 120, the candidates placed in the “filler words” category can be sent as filler words 122 to a media editing module 124, as shown at numeral 7.
In one or more embodiments, the media editing module 124 generates a modified audio sequence 126, at numeral 8. In some embodiments, the modified audio sequence 126 can include modifications to audio sequence 106 in which the portions of the audio sequence 106 that include filler words 122 are removed or muted. In some embodiments, where the filler words 122 are removed, the media editing module 124 can generate a crossfade at the point of removal to smooth the transition in the audio sequence, and, where the audio sequence 106 is part of a media sequence that includes a video sequence, smooth the transition in the video sequence. In other embodiments, the media editing module 124 generates a visualization of the audio sequence 106 in which the filler words 122 are highlighted, or otherwise indicated, without any modifications to the audio sequence 106 itself. In such embodiments, the visualization of the audio sequence 106 can include options that allow a user to remove or mute some or all of the filler words 122.
In one or more embodiments, the media editing system 102 provides an output 130, including the modified audio sequence 126, as shown at numeral 9. In one or more embodiments, after the process described above in numerals 1-8 the output 130 is sent to the user or computing device that initiated the media editing process with the media editing system 102, to another computing device associated with the user or another user, or to another system or application. For example, after the process described above in numerals 1-9, the modified audio sequence 126 can be displayed in a user interface of a computing device.
In one or more other embodiments, after the filler word classification model 120 identifies the filler words 122, the fillers words 122 can be provided at the output 130 without any modifications made to the audio sequence 106. In such embodiments, the output can include the identification and corresponding timestamps of the filler words 122.
As illustrated in
In one or more embodiments, the audio processing module 308 processes the audio sequence 306, at numeral 4. In some embodiments, the audio processing module 308 includes a voice activity detection model 310 that is used in a filler word candidate detection phase.
The voice activity detection model 310 is a neural network. In one or more embodiments, a neural network includes deep learning architecture for learning representations of audio and/or video. A neural network may include a machine-learning model that can be tuned (e.g., trained) based on training input to approximate unknown functions. In particular, a neural network can include a model of interconnected digital neurons that communicate and learn to approximate complex functions and generate outputs based on a plurality of inputs provided to the model. For instance, the neural network includes one or more machine learning algorithms. In other words, a neural network is an algorithm that implements deep learning techniques, i.e., machine learning that utilizes a set of algorithms to attempt to model high-level abstractions in data.
In one or more embodiments, the voice activity detection model 310 is trained to output predictions at a fine temporal resolution (e.g., 100 Hz) that indicates the temporal boundaries of regions of voice activity in the audio sequence 306. For example, the voice activity detection model 310 can generate voice data 312 that indicates a start time and end time to the predicted regions of the audio sequence 306 during which the voice activity detection model 310 detects voice activity.
After the audio processing module 308 has passed the audio sequence 306 through the voice activity detection model 310, the generated the voice data 312 can be sent to a filler word classification model 314, as shown at numeral 5. The filler word classification model 314 is a neural network. In one or more embodiments, a neural network includes deep learning architecture for learning representations of audio and/or video. A neural network may include a machine-learning model that can be tuned (e.g., trained) based on training input to approximate unknown functions. In particular, a neural network can include a model of interconnected digital neurons that communicate and learn to approximate complex functions and generate outputs based on a plurality of inputs provided to the model. For instance, the neural network includes one or more machine learning algorithms. In other words, a neural network is an algorithm that implements deep learning techniques, i.e., machine learning that utilizes a set of algorithms to attempt to model high-level abstractions in data.
The filler word classification model 314 can be considered a keyword-spotting (KWS) task where the keyword is the joint set of filler words “uh” and “um.” In one or more embodiments, for efficient classification, the filler word classification model 314 is an adapted TC-ResNet8, a lightweight KWS model backbone architecture. TC-ResNet8 has around 100 k parameters, making it low latency for prediction. TC-ResNet8 applies 1D convolution in the temporal axis and spans the entire frequency range in every layer, achieving strong performance even with a small number of layers.
In one or more embodiments, the filler word classification model 314 identifies filler words 316 from the voice data 312, at numeral 6. In one or more embodiments, the filler word classification model 314 includes a frame-level classifier that receives the voice data 312. The voice data 312 can include sequences of voice of varying lengths. The frame-level classifier is trained to predict frame-level labels at a fine temporal resolution (e.g., ever 100 ms). In one or more embodiments, the frame-level classifier slides across the audio sequence in predetermined time segments. For each time segment, frame-level classifier predicts a probability value of the likelihood of the time segment being associated with one of the categories (e.g., filler words, laughter, breaths, words, and music). The filler word classification model 314 then compares the probability values for the time segments against a threshold value determine how to classify each time segment. After each time segment is classified into one of the categories, the filler word classification model 314 then groups contiguous frames with the same label into an event with a start time and end time.
The final output of the frame-level classifier are discrete events with a start time (e.g., a start timecode in the audio sequence), end time (e.g., an end timecode in the audio sequence), and a category label (indicating a category for each frame). The frame-level classifier identifies frames of the voice data 312 as being one of: filler words (e.g., “uh” and “um”), laughter, breaths, words (e.g., regular words and repetitions), and music. To obtain frame-level predictions, the TC-ResNet8 backbone of the filler word classification model 314 is adapted by adding an LSTM layer. In one or more embodiments, the frame-level predictions are then grouped via post-processing.
After passing the voice data 312 through the filler word classification model 314, the frames placed in the “filler words” category can be sent as filler words 316 to a media editing module 318, as shown at numeral 7.
In one or more embodiments, the media editing module 318 automatically generates a modified audio sequence 320, at numeral 8. In some embodiments, the modified audio sequence 320 can be a modified version of audio sequence 306 in which the filler words 316 are removed or muted. In some embodiments, where the filler words 316 are removed, the media editing module 318 can generate a crossfade at the point of removal to smooth the transition in the audio sequence, and, where the audio sequence 306 is part of a media sequence that includes a video sequence, smooth the transition in the video sequence.
In other embodiments, the media editing module 318 generates a visualization of the modified audio sequence 320 in which the filler words 316 are highlighted, or otherwise indicated that can be presented in a user interface.
As illustrated in
In response to receiving modifications to the output audio sequence at locations of the identified filler words, the media editing system 302 can generate a modified audio sequence that includes the received modifications applied to the output audio sequence.
Returning to
As shown in
In one or more embodiments, the media editing system 102 includes an input analyzer 104 that receives the training input 500. In some embodiments, the input analyzer 104 analyzes the training input 500, at numeral 2. In some embodiments, the input analyzer 104 analyzes the training input 500 to identify training audio 504. In one or more embodiments, the training audio 504 includes clean speech recordings (e.g., a ground truth data) and a labeled speech dataset created by programmatically combining the clean speech recordings with music and noise using a soundscape mixing software. In one or more embodiments, the training audio 504 is curated to ensure the pitch of the voices in the training audio 504 spans the range of adult speech pitch (e.g., from 60 Hz to 300 Hz), with a mode roughly at the center of the pitch range (e.g., approximately around 170 Hz). In one or more embodiments, the input analyzer 104 sends the training audio 504 to an audio processing module 108, as shown at numeral 3.
In one or more embodiments, the audio processing module 108 processes the training audio 504 using a voice activity detection model 110, at numeral 4. The voice activity detection model 110 is a neural network trained using the training audio 504 to be robust to various background and foreground noises in podcasts such as music and non-speech sounds (e.g., fan noise). In one or more embodiments, the fine temporal resolution is achieved by computing input acoustic features at a 10 ms hop size, such that the trained model can be slid over the audio sequence at this temporal resolution. To ensure robustness, a generalizable ML model is combined with a varied training set containing various background and foreground noises at different signal-to-noise ratios (SNR). In one or more embodiments, the voice activity detection model 110 is a deep neural network (DNN) architecture that is robust in complex environments with noise.
Frame level (e.g., 10 ms) voice activity detection model annotations are generated by computing the audio amplitude from clean speech recordings sourced from the various datasets, labeling regions below a dB threshold relative to the peak amplitude of the normalized signal as silent. The clean speech clips are then programmatically mixed with background music and environmental noise. Using the soundscape mixing software allows for control of the SNR range and distribution in the mixtures. In one or more embodiments, before creating the mixtures, an energy detector is applied to the clean speech. In one embodiment, using a threshold of 19 dB, any regions that are 19 dB lower than the peak amplitude of the training audio 504 are treated as silence. The output of the energy detector is a list of non-silent intervals (e.g., the locations of speech). The signals non-silent intervals are then mixed, or augmented, with “noise” (e.g., actual noise, music, etc.). When the mixtures are generated, the ground truth speech labels and the timestamps for the non-silent intervals are obtained, and the timestamps can be converted into frame-level labels. In one or more embodiments, converting the timestamps to frame-level labels includes quantizing to the resolution of the network. For example, given an input signal that “hops” every 10 ms, each frame is 10 ms long and would be labeled as either speech or non-speech.
In one or more embodiments, the performance of the voice activity detection model 110, in terms of producing filler words candidates, when combined with speech recognition systems can be sensitive to the SNR range. In one embodiment, a speech SNR range of [12, 22] dB relative to background noise, [−3, 17] dB relative to foreground noise and [−6, 14] dB relative to music was selected. In one embodiment, 300,000 mixtures were generated to train the voice activity detection model 110.
Log-scaled mel-spectrograms (log-mel) were computed as input to the voice activity detection model 110. In one embodiment, 64 mel bins and a purposely short window of 25 ms and a hop size of 10 ms were used, to support inference at a high temporal resolution. A convolutional recurrent neural network (CRNN) architecture was adapted by removing the recurrent layer for improved runtime performance.
The resulting voice data 506 generated by the voice activity detection model 110 that indicates the predicted locations of voice activity is then sent to loss function 508, as shown at numeral 5. The resulting voice data 506 generated by the voice activity detection model 110 can then be compared to the clean speech recordings from the training audio 504 (e.g., the ground truth data) to train the voice activity detection model 110 using a binary cross-entropy loss, at numeral 6. The loss calculated using the loss function 508 can then be backpropagated to the voice activity detection model 110, as shown at numeral 7.
As shown in
In one or more embodiments, the media editing system 102 includes an input analyzer 104 that receives the training input 600. In some embodiments, the input analyzer 104 analyzes the training input 600, at numeral 2. In some embodiments, the input analyzer 104 analyzes the training input 600 to identify a training dataset 604.
The training dataset 604 can be an annotated dataset of filler words. In one or more embodiments, the annotated dataset of filler words is generated using a voice activity detection model (e.g., voice activity detection model 110) and a speech recognition model (e.g., speech recognition model 112). For example, in one embodiment, using this technique resulted in a training dataset of filler words, based on 145 hours of speech from over 350 speakers coming from 199 public podcast episodes, that includes 35K annotated filler words and 50 K annotations of other speech events that are common in podcasts such as laughter, breaths, and repetitions. The dataset of filler words also includes the speech recognition systems transcriptions produced for the podcast episodes.
As previously noted, automatic speech recognition systems typically do not transcribe non-lexical fillers word (e.g., such as “uh” and “um”) in spontaneous speech. Thus, non-lexical fillers will trigger the voice activity detection model, while appearing as silent gaps in the automatic speech recognition systems output. These regions where voice activity detection model activates but automatic speech recognition systems does not are locations for filler word candidates.
Once trained, as described in
In one or more embodiments, the filler word candidates may include other sounds beyond filler words, such as breaths, laughter, music, or even words (due to automatic speech recognition systems errors). To address this, a manual verification process was performed (e.g., via crowdsourcing using a custom annotation interface). In the manual verification process, each filler word candidate was presented to an annotator within a five second clip, for context, where the filler word candidate was positioned at the three second mark and highlighted in the annotation interface. Annotators indicated whether the highlighted filler word candidate was a filler word and depending on this answer, selected one of the five filler category labels or eight non-filler category labels. Each filler candidate was annotated by two annotators, with a third annotator breaking any ties.
In one or more embodiments, wav2vec embeddings are computed with an equivalent 10 ms hop size from the training dataset 604. Wav2vec is an embedding space where times or frequencies are randomly removed (e.g., masked). In one or more embodiments, wav2vec is pretrained on a large dataset of speech, providing a robust representation for classification of speech-like sounds. In one or more embodiments, SpecAugment is applied on the frequency axis and the time axis of the wav2vec embeddings as data augmentation to improve the generalization ability (e.g., to ensure there is balanced training data for different average pitch for different speakers). Augmenting the training dataset 604 can minimize or avoid model overfitting.
In one or more embodiments, the input analyzer 104 sends the training dataset 604 to a filler word classification model 120, as shown at numeral 3. In one or more embodiments, the filler word classification model 120 generates filler words 606 using the training dataset 604, as described with respect to
In one or more embodiments, to train the filler word classification model 120, the 199 podcasts in the dataset are downsampled from 44.1 kHZ to 16 kHZ to reduce computation cost. The dataset of preprocessed podcasts is then split into train, validation and test sets, keeping a gender-balance. The event classifier and the frame classifier of the filler word classification model 120 are trained on the training dataset 604, hyper-parameters, including VAD threshold and backbones, are tuned on the validation set, and the final performance is compared on the test set. When training the event classifier, a one-second speech segment is used with the filler word candidate in the middle of the segment (ground truth label). The frame classifier is also trained using one-second speech segments but with event based interval labels. In one or more embodiments, the frame classifier aims to produce frame level predictions on the one second speech segments where each frame is 0.1 seconds long.
The filler words 606 generated by the filler word classification model 120 is then sent to loss function 608, as shown at numeral 5. The filler words 606 generated by the filler word classification model 120 can then be compared to the training dataset 604 (e.g., the ground truth data) to train the filler word classification model 120 using a cross-entropy loss, at numeral 6. The loss calculated using the loss function 608 can then be backpropagated to the filler word classification model 120 to train the event classifier and the filler classifier, as shown at numeral 7.
As illustrated in
As further illustrated in
As further illustrated in
As further illustrated in
As further illustrated in
As further illustrated in
As further illustrated in
Each of the components 702-714 of the media editing system 700 and their corresponding elements (as shown in
The components 702-714 and their corresponding elements can comprise software, hardware, or both. For example, the components 702-714 and their corresponding elements can comprise one or more instructions stored on a computer-readable storage medium and executable by processors of one or more computing devices. When executed by the one or more processors, the computer-executable instructions of the media editing system 700 can cause a client device and/or a server device to perform the methods described herein. Alternatively, the components 702-714 and their corresponding elements can comprise hardware, such as a special purpose processing device to perform a certain function or group of functions. Additionally, the components 702-714 and their corresponding elements can comprise a combination of computer-executable instructions and hardware.
Furthermore, the components 702-714 of the media editing system 700 may, for example, be implemented as one or more stand-alone applications, as one or more modules of an application, as one or more plug-ins, as one or more library functions or functions that may be called by other applications, and/or as a cloud-computing model. Thus, the components 702-714 of the media editing system 700 may be implemented as a stand-alone application, such as a desktop or mobile application. Furthermore, the components 702-714 of the media editing system 700 may be implemented as one or more web-based applications hosted on a remote server. Alternatively, or additionally, the components of the media editing system 700 may be implemented in a suit of mobile device applications or “apps.”
As shown in
As shown in
In one or more embodiments, the voice activity detection model is trained to output predictions that indicate the temporal boundaries of regions of voice activity in the audio sequence. For example, the voice activity detection model generates voice data that indicates a start time and end time for each predicted region of the audio sequence during which the voice activity detection model detected voice activity.
In one or more embodiments, the speech recognition model is trained to generate transcript data of the audio sequence by recognizing/detecting spoken words within the audio sequence and converting/translating the detected spoken words into text. The speech recognition model can be trained using speech corpora of people reading written texts without any non-lexical filler words, such as “uh” and “um.” The written text (e.g., the ground truth data) can then be compared with text generated by the speech recognition model to train the speech recognition model to recognize actual words and ignore non-lexical fillers, including “uh” and “um.” When the speech recognition model detects spoken words in the audio sequence, the corresponding regions of the output of the speech recognition model will include a transcription of the detected spoken words. When the speech recognition model detects non-lexical fillers in the audio sequence, the corresponding regions of the output of the speech recognition model will appear as silent gaps (e.g., without any transcript data).
After the audio processing module has passed the audio sequence through the voice activity detection model and the speech recognition model, their outputs can be compared. The regions of the voice data with corresponding data in the transcript data are discarded as the activation in both the voice data and the transcript data indicate the presence of actual (e.g., non-filler) words. The remaining regions of the voice data without corresponding transcript data are identified as the filler word candidates, as these regions have voice activity detected in the voice data, but no spoken words detected by the speech recognition model.
As shown in
Each of the filler word candidates are typically short voice sounds (e.g., around one second in length). In one or more embodiments, the filler word classification model includes an event classifier trained to identify the voice data corresponding to filler word candidates as being one of: filler words (e.g., “uh” and “um”), laughter, breaths, words (e.g., regular words and repetitions), and music. As each filler word candidate of the filler word candidates is passed through the filler word classification model, the filler word classification model categorizes the filler word candidate into one of the described categories. In one or more embodiments, there may be fewer, greater, and/or different categories.
In one or more embodiments, the filler word classification model outputs labeled events for each filler word candidate, where each labeled event includes a start time (e.g., a start timecode in the audio sequence), an end time (e.g., an end timecode in the audio sequence), and a label (indicating a category for each filler word candidate). An example format of a labeled event can be: “0.2˜0.3 s Filler.” Because the filler word candidates are typically short segments, the event classifier is trained to directly predict the event label for the entire input segment. After passing each filler word candidate through the filler word classification model, the candidates placed in the “filler words” category can be sent as filler words to a media editing module.
As shown in
As shown in
As shown in
As shown in
In one or more embodiments, the filler word classification model identifies filler words from the voice data from the voice activity detection model. In one or more embodiments, the filler word classification model includes a frame-level classifier that receives the voice data. The voice data can include sequences of voice of varying lengths. The frame-level classifier is trained to predict frame-level labels at a fine temporal resolution (e.g., ever 100 ms). In one or more embodiments, the frame-level classifier slides across the audio sequence in predetermined time segments. For each time segment, frame-level classifier predicts a probability value of the likelihood of the time segment including a filler word. The filler word classification model 314 then compares the probability values for the time segments against a threshold value. The filler word classification model 314 identifies the locations of filler words as the time segments having probability values above the threshold value. After each time segment is classified into one of the categories, the filler word classification model 314 then groups contiguous frames with the same label into an event with a start time and end time.
The final output of the frame-level classifier are discrete events with a start time, end time, and a label (indicating a category for each frame). In one or more embodiments, the frame-level classifier identifies frames of the voice data as being one of: filler words (e.g., “uh” and “um”), laughter, breaths, words (e.g., regular words and repetitions), and music. To obtain frame-level predictions, the TC-ResNet8 backbone of the filler word classification model is adapted by adding an LSTM layer. In one or more embodiments, the frame-level predictions are then grouped via post-processing.
As shown in
Although
Similarly, although the environment 1000 of
As illustrated in
Moreover, as illustrated in
In addition, the environment 1000 may also include one or more servers 1004. The one or more servers 1004 may generate, store, receive, and transmit any type of data, including input data 720 and training data 722 or other information. For example, a server 1004 may receive data from a client device, such as the client device 1006A, and send the data to another client device, such as the client device 1006B and/or 1006N. The server 1004 can also transmit electronic messages between one or more users of the environment 1000. In one example embodiment, the server 1004 is a data server. The server 1004 can also comprise a communication server or a web-hosting server. Additional details regarding the server 1004 will be discussed below with respect to
As mentioned, in one or more embodiments, the one or more servers 1004 can include or implement at least a portion of the media editing system 700. In particular, the media editing system 700 can comprise an application running on the one or more servers 1004 or a portion of the media editing system 700 can be downloaded from the one or more servers 1004. For example, the media editing system 700 can include a web hosting application that allows the client devices 1006A-1006N to interact with content hosted at the one or more servers 1004. To illustrate, in one or more embodiments of the environment 1000, one or more client devices 1006A-1006N can access a webpage supported by the one or more servers 1004. In particular, the client device 1006A can run a web application (e.g., a web browser) to allow a user to access, view, and/or interact with a webpage or website hosted at the one or more servers 1004.
Upon the client device 1006A accessing a webpage or other web application hosted at the one or more servers 1004, in one or more embodiments, the one or more servers 1004 can provide a user of the client device 1006A with an interface to provide inputs, including an audio sequence. Upon receiving the audio sequence, the one or more servers 1004 can automatically perform the methods and processes described above to detect and classify filler words in an input audio sequence.
As just described, the media editing system 700 may be implemented in whole, or in part, by the individual elements 1002-1008 of the environment 1000. It will be appreciated that although certain components of the media editing system 700 are described in the previous examples with regard to particular elements of the environment 1000, various alternative implementations are possible. For instance, in one or more embodiments, the media editing system 700 is implemented on any of the client devices 1006A-1006N. Similarly, in one or more embodiments, the media editing system 700 may be implemented on the one or more servers 1004. Moreover, different components and functions of the media editing system 700 may be implemented separately among client devices 1006A-1006N, the one or more servers 1004, and the network 1008.
Embodiments of the present disclosure may comprise or utilize a special purpose or general-purpose computer including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below. Embodiments within the scope of the present disclosure also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. In particular, one or more of the processes described herein may be implemented at least in part as instructions embodied in a non-transitory computer-readable medium and executable by one or more computing devices (e.g., any of the media content access devices described herein). In general, a processor (e.g., a microprocessor) receives instructions, from a non-transitory computer-readable medium, (e.g., a memory, etc.), and executes those instructions, thereby performing one or more processes, including one or more of the processes described herein.
Computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system. Computer-readable media that store computer-executable instructions are non-transitory computer-readable storage media (devices). Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, embodiments of the disclosure can comprise at least two distinctly different kinds of computer-readable media: non-transitory computer-readable storage media (devices) and transmission media.
Non-transitory computer-readable storage media (devices) includes RAM, ROM, EEPROM, CD-ROM, solid state drives (“SSDs”) (e.g., based on RAM), Flash memory, phase-change memory (“PCM”), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer.
A “network” is defined as one or more data links that enable the transport of electronic data between computer systems and/or modules and/or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium. Transmissions media can include a network and/or data links which can be used to carry desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above should also be included within the scope of computer-readable media.
Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to non-transitory computer-readable storage media (devices) (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a “NIC”), and then eventually transferred to computer system RAM and/or to less volatile computer storage media (devices) at a computer system. Thus, it should be understood that non-transitory computer-readable storage media (devices) can be included in computer system components that also (or even primarily) utilize transmission media.
Computer-executable instructions comprise, for example, instructions and data which, when executed at a processor, cause a general-purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. In some embodiments, computer-executable instructions are executed on a general-purpose computer to turn the general-purpose computer into a special purpose computer implementing elements of the disclosure. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
Those skilled in the art will appreciate that the disclosure may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, tablets, pagers, routers, switches, and the like. The disclosure may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.
Embodiments of the present disclosure can also be implemented in cloud computing environments. In this description, “cloud computing” is defined as a model for enabling on-demand network access to a shared pool of configurable computing resources. For example, cloud computing can be employed in the marketplace to offer ubiquitous and convenient on-demand access to the shared pool of configurable computing resources. The shared pool of configurable computing resources can be rapidly provisioned via virtualization and released with low management effort or service provider interaction, and then scaled accordingly.
A cloud-computing model can be composed of various characteristics such as, for example, on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service, and so forth. A cloud-computing model can also expose various service models, such as, for example, Software as a Service (“SaaS”), Platform as a Service (“PaaS”), and Infrastructure as a Service (“IaaS”). A cloud-computing model can also be deployed using different deployment models such as private cloud, community cloud, public cloud, hybrid cloud, and so forth. In this description and in the claims, a “cloud-computing environment” is an environment in which cloud computing is employed.
In particular embodiments, processor(s) 1102 includes hardware for executing instructions, such as those making up a computer program. As an example, and not by way of limitation, to execute instructions, processor(s) 1102 may retrieve (or fetch) the instructions from an internal register, an internal cache, memory 1104, or a storage device 1108 and decode and execute them. In various embodiments, the processor(s) 1102 may include one or more central processing units (CPUs), graphics processing units (GPUs), field programmable gate arrays (FPGAs), systems on chip (SoC), or other processor(s) or combinations of processors.
The computing device 1100 includes memory 1104, which is coupled to the processor(s) 1102. The memory 1104 may be used for storing data, metadata, and programs for execution by the processor(s). The memory 1104 may include one or more of volatile and non-volatile memories, such as Random Access Memory (“RAM”), Read Only Memory (“ROM”), a solid state disk (“SSD”), Flash, Phase Change Memory (“PCM”), or other types of data storage. The memory 1104 may be internal or distributed memory.
The computing device 1100 can further include one or more communication interfaces 1106. A communication interface 1106 can include hardware, software, or both. The communication interface 1106 can provide one or more interfaces for communication (such as, for example, packet-based communication) between the computing device and one or more other computing devices 1100 or one or more networks. As an example, and not by way of limitation, communication interface 1106 may include a network interface controller (NIC) or network adapter for communicating with an Ethernet or other wire-based network or a wireless NIC (WNIC) or wireless adapter for communicating with a wireless network, such as a WI-FI. The computing device 1100 can further include a bus 1112. The bus 1112 can comprise hardware, software, or both that couples components of computing device 1100 to each other.
The computing device 1100 includes a storage device 1108 includes storage for storing data or instructions. As an example, and not by way of limitation, storage device 1108 can comprise a non-transitory storage medium described above. The storage device 1108 may include a hard disk drive (HDD), flash memory, a Universal Serial Bus (USB) drive or a combination these or other storage devices. The computing device 1100 also includes one or more I/O devices/interfaces 1110, which are provided to allow a user to provide input to (such as user strokes), receive output from, and otherwise transfer data to and from the computing device 1100. These I/O devices/interfaces 1110 may include a mouse, keypad or a keyboard, a touch screen, camera, optical scanner, network interface, modem, other known I/O devices or a combination of such I/O devices/interfaces 1110. The touch screen may be activated with a stylus or a finger.
The I/O devices/interfaces 1110 may include one or more devices for presenting output to a user, including, but not limited to, a graphics engine, a display (e.g., a display screen), one or more output drivers (e.g., display drivers), one or more audio speakers, and one or more audio drivers. In certain embodiments, I/O devices/interfaces 1110 is configured to provide graphical data to a display for presentation to a user. The graphical data may be representative of one or more graphical user interfaces and/or any other graphical content as may serve a particular implementation.
In the foregoing specification, embodiments have been described with reference to specific exemplary embodiments thereof. Various embodiments are described with reference to details discussed herein, and the accompanying drawings illustrate the various embodiments. The description above and drawings are illustrative of one or more embodiments and are not to be construed as limiting. Numerous specific details are described to provide a thorough understanding of various embodiments.
Embodiments may include other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. For example, the methods described herein may be performed with less or more steps/acts or the steps/acts may be performed in differing orders. Additionally, the steps/acts described herein may be repeated or performed in parallel with one another or in parallel with different instances of the same or similar steps/acts. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.
In the various embodiments described above, unless specifically noted otherwise, disjunctive language such as the phrase “at least one of A, B, or C,” is intended to be understood to mean either A, B, or C, or any combination thereof (e.g., A, B, and/or C). As such, disjunctive language is not intended to, nor should it be understood to, imply that a given embodiment requires at least one of A, at least one of B, or at least one of C to each be present.