Error suggestion detection for user-provided content
By using machine learning models to distinguish valid and invalid suggestions in automated speech recognition systems, the problem of incorrect suggestions in automated speech recognition systems is solved, and recognition accuracy and user experience are improved.
Patent Information
- Application Number
- CN202380020487.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-20
- Filing Date
- 2023-01-31
- Publication Date
- 2024-09-06
AI Technical Summary
Existing automated speech recognition systems are prone to errors when identifying video content, and conventional media servers cannot effectively distinguish valid suggestions from invalid suggestions, resulting in incorrect suggestions being accepted and incorporated into the transcription, affecting the user experience.
Adopt a trained machine learning model and use features such as sound similarity, edit distance, frequency of occurrence and number of user votes to distinguish valid suggestions from invalid suggestions, and incorporate valid suggestions into ASR transcription under certain conditions to avoid invalid suggestions acceptance.
Improves the accuracy and user experience of automated speech recognition, ensuring that only valid suggestions are accepted and incorporated into transcription, reducing the impact of incorrect suggestions.
Smart Images

Figure CN118613867A
Abstract
Description
Technical Field
[0001] The present disclosure relates to automated speech recognition, and more particularly, to detecting whether a suggestion for correction provided by a contributor is a valid suggestion or an invalid suggestion. Background Art
[0002] Increasingly, media (e.g., video) content is accessed from content delivery systems such as video sharing services over a network (e.g., the Internet). Transcripts (timed text) are sometimes provided for video content so that certain text appears in association with certain portions of the video content. Transcripts can serve a variety of purposes, including making dialogue in the video content understandable to the hearing impaired; making video content understandable when it is played in a noisy environment so that the audio cannot be heard; and making video content understandable if the audio of the video content is not understandable due to background noise in the video.
[0003] The narration can be automatically generated by automated speech recognition (ASR) software or services (collectively referred to as ASR systems), which convert the speech signal of the media content into a sequence of words (collectively referred to as transcriptions). However, the transcriptions may include errors. That is, the ASR software or service may mistakenly convert a certain speech into incorrect text (e.g., words). Summary of the invention
[0004] A first aspect is a method comprising obtaining an ASR transcription of at least a portion of media content from an automated speech recognition (ASR) tool; receiving a suggestion word for a corrected word of the ASR transcription of the media content; obtaining features using at least the suggestion word or the corrected word, wherein the features include features related to acoustic similarities between the suggestion word and the corrected word; inputting the features into a machine learning (ML) model to obtain a determination regarding the effectiveness of the suggestion word; in response to the suggestion word constituting a valid suggestion, incorporating the suggestion word into the ASR transcription; and transmitting at least a portion of the ASR transcription in combination with at least a portion of the media content to a user device.
[0005] In some implementations, the feature can include an edit distance between the corrected word and the suggested word.
[0006] In some implementations, the features can include the frequency of occurrence of the suggested words in the ASR transcription.
[0007] In some implementations, the features can include the number of times suggested words were independently received from other users.
[0008] In some implementations, the sound similarity is based on the phonemes of the suggested word and the phonemes of the corrected word.
[0009] In some implementations, the features include whether the ASR tool considers the suggested word as a possible transcription of the acoustic signal of the media content that corresponds to the corrected word.
[0010] In some implementations, the ML model is trained using positive examples obtained based on corrections by content owners of the media content.
[0011] In some implementations, the ML model is trained using negative examples obtained using negative sampling by replacing corrected ASR errors with random text strings.
[0012] In some implementations, the method further includes retraining the ASR tool using the suggested words and the corrected words.
[0013] In some implementations, incorporating the suggested word into the ASR transcription includes incorporating the suggested word into the ASR transcription conditional on a number of corrections to the ASR transcription not exceeding a correction threshold.
[0014] A second aspect is a method comprising obtaining positive training examples, each positive training example comprising a corresponding correction of a corresponding corrected word of a training automated speech recognition (ASR) transcription; obtaining a first feature using the corresponding correction and the corresponding corrected word; obtaining negative training examples, each negative example comprising a corresponding corrected word of the training ASR transcription and a corresponding randomly generated word constituting a suggested replacement for the corresponding corrected word; obtaining a second feature using the corresponding corrected word and the corresponding randomly generated word; and training a machine learning (ML) model using the first feature and the second feature to identify valid suggestions relative to invalid suggestions for ASR errors. The first feature comprises a feature related to a sound similarity between each corresponding correction and the corresponding corrected word. The second feature comprises a feature related to a sound similarity between the corresponding corrected word and the corresponding randomly generated word.
[0015] In some implementations, the method further includes receiving media content, obtaining an ASR transcription for the media content from an ASR tool, receiving a suggestion word for a correction word for the ASR transcription of the media content, and incorporating the suggestion word into the ASR transcription in response to a determination obtained from the ML model indicating that the suggestion word constitutes a valid suggestion. In some variations of these implementations, incorporating the suggestion word into the ASR transcription includes incorporating the suggestion word into the ASR transcription if the number of corrections to the ASR transcription does not exceed a correction threshold. In some variations of these implementations, the method includes retraining the ASR tool using the suggestion word and the corrected word.
[0016] In some implementations, the first feature further includes a first edit distance between the respective correction and the corresponding corrected word, and the second feature further includes a second edit distance between the corresponding corrected word and the corresponding randomly generated word.
[0017] In some implementations, the second feature also includes the frequency of occurrence of the corresponding randomly generated word in the training ASR transcription.
[0018] In some implementations, the acoustic similarity between the corresponding correction and the corresponding corrected word is based on the phonemes of the corresponding correction and the phonemes of the corresponding corrected word.
[0019] A third aspect is a device including a memory and a processor. The processor is configured to execute instructions stored in the memory to receive a suggestion word for a corrected word for an automated speech recognition (ASR) transcription of media content; to obtain features using at least the suggestion word or the corrected word; and in response to a determination based on the features that the suggestion word constitutes a valid suggestion, to incorporate the suggestion word into the ASR transcription. The features include: a first feature indicating whether the ASR tool considers the suggestion word as a possible transcription of a sound signal of the media content corresponding to the corrected word; and a second feature indicating the number of times the suggestion word was independently received from other users.
[0020] In some implementations, the features also include the edit distance between the corrected word and the suggested word and the frequency of occurrence of the suggested word in the ASR transcription.
[0021] In some implementations, the instructions to incorporate the suggested word into the ASR transcription include incorporating the suggested word into the ASR transcription conditional on a number of corrections to the ASR transcription not exceeding a correction threshold.
[0022] Variations of these aspects and implementations are described further below with reference to the drawings, the description and the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The present disclosure is best understood when the following detailed description is read in conjunction with the accompanying drawings. It should be emphasized that, according to common practice, the various features of the drawings are not drawn to scale. Instead, the sizes of the various features are arbitrarily enlarged or reduced for clarity.
[0024] Figure 1 is a block diagram illustrating an example of a system for invalid suggestion detection for user-provided content.
[0025] Figure 2 is a block diagram of an example of a computing device.
[0026] Figure 3 is a block diagram of example functions of the ASR correction software.
[0027] Figure 4 is an example of a user interface for providing suggestions for ASR errors.
[0028] Figure 5 is a flow chart of a technique for training and using a machine learning model that determines whether a recommendation is effective or not.
[0029] Figure 6 is a flow diagram of an example of a technique for false suggestion detection for user-provided content.
[0030] Figure 7 is a flow chart of an example of a technique for training a machine learning model to detect erroneous suggestions for user-provided content.
[0031] Fig. 8A and Figure 8B is a block diagram of an example of a convolutional neural network (CNN). DETAILED DESCRIPTION
[0032] Although ASR systems have made significant progress in performance over the past few decades, errors (referred to herein as ASR errors) still occur in ASR systems. Errors may be due to several factors, including but not limited to the fact that the acoustic model used by the ASR system may not represent the speaker and its potential speech-affecting states (e.g., age, illness, or fatigue), spoken language variability between speakers (e.g., accents or dialects), noise in the media content, or other factors. Inadequate or insufficient training of the ASR system may be another source of errors. For example, ASR errors may be more pronounced in languages other than English, which typically receive the most research attention and have the largest training data sets. Errors in ASR transcriptions (i.e., ASR errors) can cause user confusion and frustration.
[0033] One model for correcting ASR errors is to use the wisdom of the crowd, where the collective knowledge and opinions of the group are considered correct. In such a model, a conventional media server may include facilities (e.g., user interfaces, tools, etc.) that enable users (referred to herein as "contributors") to suggest corrections to ASR errors and have other users vote on the suggestions. If the suggestion meets a certain voting threshold, the media server may accept the suggestion. The suggestion being accepted may include the suggestion replacing the text that it corrected in the ASR transcription.
[0034] In such a model, a contributor may provide an invalid suggestion for a segment of an ASR transcription. An invalid suggestion may be an incorrect or inaccurate suggestion. Some other users may not vote for the invalid suggestion based on the correctness (e.g., accuracy) of the suggestion. Instead, they may make a subjective assessment based on criteria other than correctness. Such other criteria may include cuteness, humor, malice, or some other criteria. In a conventional media server, invalid suggestions that receive enough votes (again, which may be based on subjective criteria other than correctness) may be accepted and incorporated into the transcription of the media content. Thus, a contributor may replace some benign text with offensive or meaningless phrases, and other users may agree with such suggestions, causing them to be incorporated into the transcription.
[0035] Such a model leads to another problem. Since the media server does not recognize that the ASR transcription actually includes ASR errors or the location of such ASR errors in the ASR transcription, contributors may provide invalid suggestions for any part of the ASR transcription, even if these parts are not ASR errors. In one example, a user may provide an inappropriate spelling for the accurate ASR transcription content. In another example, a user may add additional text (e.g., a hyperlink to an inappropriate website) to the ASR transcription. For example, the ASR transcription may include the accurate segment "the big bad wolf". However, a contributor may suggest the incorrect correction "the big bad woof", which will replace the accurate segment if it receives at least a threshold number of votes from other users.
[0036] Therefore, conventional media servers lack the technical capabilities for automatically distinguishing contributor suggestions as invalid suggestions (e.g., inappropriate, inaccurate, erroneous, or offensive corrections / suggestions) and valid suggestions (e.g., accurate or truthful corrections / suggestions).
[0037] According to an implementation of the present disclosure, a trained machine learning (ML) model is used to distinguish valid suggestions from invalid suggestions. The ML model can identify whether a suggestion is reasonable (e.g., whether it is a valid suggestion) and can therefore be confidently accepted and incorporated into the ASR transcription. The ML model is trained using samples of corrections that are considered valid and accurate, as well as samples of invalid suggestions, to learn the surface separation boundary between valid suggestions and invalid suggestions. The ML model can be trained to output a probability score for whether a given text replacement (i.e., suggestion) is a valid suggestion or an invalid suggestion. The ML model can be a neural network, such as a deep learning neural network. The ML model can be any other type of model, such as a linear regression model, a support vector machine (SVN) model, and a random forest model. As further described below, during the training and inference phases, the ML model can use other features.
[0038] Examples of corrections are readily available. For example, a content creator who has provided corrections to the ASR transcription of his user-generated content (UGC) has no incentive to provide invalid corrections. Therefore, the corrections provided by content creators on the ASR transcription of their UGC can serve as a source of valid suggestions and training data. In some cases, content creators may provide complete transcriptions of their content. Such complete transcriptions can be used to obtain (e.g., generate) training data for valid suggestions. For example, an ASR transcription of media content for which the content creator provides a complete transcript file can be obtained. The difference between the corresponding transcript file and the ASR transcription can be used as an example of a valid suggestion.
[0039] On the other hand, there is no good source of negative examples that can be used to train ML models. According to the implementation of the present disclosure, a negative sampling method can be used to obtain (e.g., generate) negative examples. The negative sampling method can be summarized as follows. Words or phrases that are corrected in the ASR transcription can be replaced with replacement strings of text that are known to be incorrect (i.e., different from the correction). The replacement strings of the text can be randomly sampled from a document, such as an ASR transcription, a transcription provided by a content creator, or some other document. Each such replacement string can be considered a negative example because it does not represent a real segment that was incorrectly identified.
[0040] For example, assume that an ASR transcription includes the phrase "the big bad woof". The content creator may have corrected the phrase to "the big bad wolf". Therefore, the correction "the big bad wolf" can be used as a positive example for "the big bad woof". Assume that the replacement strings "spam field", "Mary went", and "meow" were randomly obtained from other documents. Therefore, the strings "the big bad spam field", "the big bad Mary went", and "thebig bad meow" can serve as negative examples. To reiterate, words corrected by humans can be replaced with nonsense words and / or words that are pronounced differently than the corrected words.
[0041] The trained ML model may be used to determine (e.g., infer) whether a suggestion provided by a contributor is a valid suggestion or an invalid suggestion. Suggestions determined to be valid may be incorporated into the ASR transcription. Incorporating the suggestion into the ASR transcription may include replacing a corresponding segment of the ASR with the suggestion. Incorporating the suggestion into the ASR transcription may also include incorporating the suggestion into a copy of the ASR transcription so as not to modify the original ASR transcription. The copy of the ASR transcription may be presented to a user viewing the media content along with the corresponding media content.
[0042] Further details of invalid suggestion detection for user-provided content are first described herein with reference to systems in which invalid suggestion detection for user-provided content may be used or implemented.
[0043] Figure 1 1 is a block diagram illustrating an example of a system 100 for invalid suggestion detection for user-provided content. System 100 is shown to include a media server 102, a content owner device 104, a contributor device 106, a viewing device 108, and a database server 110. Each of media server 102, content owner device 104, contributor device 106, viewing device 108, and database server 110 may be, for example, a computing device having an internal configuration of hardware, such as a computer program product, such as a computer program product, or a computer program product. Figure 2 Described computing devices. These computing devices may be communicatively connected, such as via one or more networks (not shown).
[0044] The media server 102 may be or include more than one physical or virtual server. The database server 110 may be or include more than one physical or virtual server. It is understood that more computing devices than shown (i.e., more than one content owner device, more than one contributor device, and more than one viewer device) may access the media server 102 simultaneously. The media server 102 may include ASR correction software 114, which is further described below. The database server 110 may include a database 112. The database 112 may be one or more databases that may include media content, ASR transcriptions, ASR corrections, and suggestions.
[0045] At a high level, media server 102 may host media content (e.g., video data), which may be UGC received from a content owner via a content owner device (e.g., content owner device 104), and transmit the media content to a viewing device (e.g., viewing device 108), such as in response to a request for the media content from a user of the viewing device (referred to herein as a "viewing user"). Media server 102 may also transmit a transcript to the viewing device for display in conjunction with a corresponding portion of the media content. The transcript may be obtained from an ASR transcription. Portions (e.g., segments) of the ASR transcription may be associated with corresponding time windows.
[0046] The media content received from the content owner device 104 may be or include any type of media that may include speech signals (e.g., voice data) that may be transcribed using an ASR tool that may be included in or work in conjunction with the media server 102. Thus, the media content may be audio media content or video media content that includes speech. The ASR correction software 114 of the media server 102 may include an ASR tool. A user may transfer media content to the media server 102 in many ways. In one example, the content owner device 104 may be a handheld device (e.g., a cellular phone) that a user of the content owner device 104 may use to stream content (e.g., video) to the media server 102. In another example, a user may upload a media content file to the media server 102. The media server 102 may include, among other things, tools (not shown) for ingesting, encoding, or transcoding media content.
[0047] The media server 102 may obtain an automated transcription (referred to herein as an ASR transcription or automated transcript) of the received media content (such as from an ASR tool). An association may be created between the ASR transcription and the corresponding media content in the database 112. As previously described, the ASR transcription may include errors. The media server 102 may include software (e.g., ASR correction software 114) that enables contributors to provide suggestions (suggested corrections) for ASR errors. The ASR correction software 114, which may include the ML model described herein, may be used to evaluate whether a suggestion is a valid suggestion or an invalid suggestion. Valid suggestions may then be incorporated into the ASR transcription. Invalid suggestions may be rejected.
[0048] Figure 2 is a block diagram of an example of a computing device 200. Computing device 200 may be in the form of a computing system including a plurality of computing devices, or in the form of a single computing device (e.g., a mobile phone, a tablet computer, a laptop computer, a notebook computer, a desktop computer, a server computer, etc.).
[0049] The CPU 202 in the computing device 200 may be a central processing unit. Alternatively, the CPU 202 may be any other type of device or devices now existing or later developed that are capable of manipulating or processing information. Although the disclosed implementations may be practiced with a single processor (e.g., CPU 202) as shown, advantages in speed and efficiency may be achieved by using more than one processor.
[0050] In an implementation, the memory 204 in the computing device 200 may be a read-only memory (ROM) device or a random access memory (RAM) device. Any other suitable type of storage device may be used as the memory 204. The memory 204 may include code and data 206 accessed by the CPU 202 using the bus 212. The memory 204 may also include an operating system 208 and an application 210, which includes at least one program that permits the CPU 202 to execute the techniques and algorithms described herein. For example, the application 210 may include applications 1 to N, which also include applications related to error suggestion detection as described herein. For example, the computing device 200 may include an application that enables contributors to provide suggestions. For example, the computing device may include an application for determining whether a suggestion is valid or invalid and incorporating valid suggestions into the ASR transcription. The computing device 200 may also include an auxiliary storage 214, which may be, for example, a memory card used with the mobile computing device 200.
[0051] The computing device 200 may also include one or more output devices, such as a display 218. In one example, the display 218 may be a touch-sensitive display that combines a display with a touch-sensitive element operable to sense touch input. The display 218 may be coupled to the CPU 202 via the bus 212. In addition to or in lieu of the display 218, other output devices may be provided that permit a user to program or otherwise use the computing device 200. When the output device is or includes a display, the display may be implemented in a variety of ways, including as a liquid crystal display (LCD), a cathode ray tube (CRT) display, or a light emitting diode (LED) display, such as an organic LED (OLED) display.
[0052] The computing device 200 may also include or be in communication with an image sensing device 220, such as a camera or any other image sensing device now existing or later developed that can sense an image, such as an image of a user operating the computing device 200. The image sensing device 220 may be positioned so that it is pointed toward the user operating the computing device 200. In one example, the position and optical axis of the image sensing device 220 may be configured so that the field of view includes an area directly adjacent to the display 218 and from which the display 218 is visible.
[0053] The computing device 200 may also include or communicate with a sound sensing device 222, such as a microphone or any other sound sensing device now existing or later developed that can sense sounds near the computing device 200. The sound sensing device 222 may be positioned so that it is directed toward a user operating the computing device 200, and may be configured to receive sounds, such as voice or other utterances, uttered by the user while the user is operating the computing device 200.
[0054] although Figure 2 The CPU 202 and memory 204 of the computing device 200 are depicted as being integrated into a single unit, but other configurations may be utilized. The operation of the CPU 202 may be distributed across multiple machines (each machine having one or more processors), which may be directly coupled or coupled across a local area network or other network. The memory 204 may be distributed across multiple machines, such as network-based memory or memory in multiple machines that perform the operations of the computing device 200. Although depicted here as a single bus, the bus 212 of the computing device 200 may be composed of multiple buses. In addition, the auxiliary storage 214 may be directly coupled to other components of the computing device 200 or may be accessed via a network, and may include a single integrated unit (such as a memory card) or multiple units (such as multiple memory cards). Therefore, the computing device 200 may be implemented in a wide variety of configurations.
[0055] Figure 3 is a block diagram of example functionality of ASR correction software 300, which may be, for example, Figure 1 . The ASR correction software 300 includes tools such as programs, subroutines, functions, routines, subroutines, operations, executable instructions, etc. for receiving suggestions for ASR transcription corrections, evaluating received suggestions, incorporating suggestions into ASR transcriptions, or rejecting the suggestions. At least some of the tools may be implemented as programs that can be executed by, for example, Figure 2 The software program may be executed by one or more computing devices of computing device 200. The software program may include machine-readable instructions that may be stored in a memory such as memory 204 or secondary storage 214, and which, when executed by a processor such as CPU 202, may cause a computing device to execute the instructions of the software program.
[0056] As shown, the ASR correction software 300 includes an ASR tool 302, a suggestion input tool 304, a suggestion evaluation tool 306, and a correction identifier 308. In some implementations, the ASR correction software 300 may include more or fewer tools. In some implementations, some of the tools may be combined, some of the tools may be split into more tools, or a combination thereof.
[0057] The ASR tool 302 can convert the speech signal of the media content into an ASR transcription (i.e., a sequence of words), which can be presented to the viewing user in conjunction with the media content. The ASR transcription can be stored in an ASR transcription database, such as Figure 1 Database 112.
[0058] When obtaining an ASR transcription of a speech signal, the ASR tool 302 can maintain hypotheses for textual predictions of the original spoken words. The ASR tool 302 can maintain multiple hypotheses during the prediction process. In one example, the ASR tool 302 can use a beam search technique to maintain (e.g., track) multiple (e.g., 10, 20, or other number) mappings of portions of speech to possible textual representations. As speech recognition progresses from the beginning to the end of speech (e.g., as more portions of speech are processed), the ASR tool 302 can prune or add a grid of hypotheses (e.g., predictions). The ASR tool 302 can maintain corresponding scores (probabilities) for the hypotheses. The ASR tool 302 generates a final ASR transcription for the speech signal using, for example, the best prediction (e.g., the prediction corresponding to the highest score). For example, the speech signal may include the speech signal "I am preparing for another government job," and the ASR tool 302 may maintain the hypotheses "I am preparing for another government job," "I am preparing for undergarment job," "I am preparing for an apartment lob," and "I am preparing for a varment snob."
[0059] To reiterate, the ASR tool 302 can maintain multiple alternative hypotheses (predictions) for what the actual spoken word was in a portion of the speech signal. The alternative hypotheses are all possible things that the speaker could actually have said. The best hypothesis corresponding to the portion of speech is added to the ASR transcription. However, it is possible that one of the other hypotheses is actually the correct word or set of words, but for whatever reason, the ASR tool 302 did not assign a high enough score (probability) to that hypothesis. In some implementations, and as further described below, the predictions (hypotheses) maintained but not selected by the ASR tool 302 can be used as input features to the suggestion evaluation tool 306. Thus, at least some of the hypotheses can be maintained (e.g., saved) in a repository such as a database. Figure 1 The data sets are stored in a database 112 for later use in training an ML model.
[0060] The suggestion input tool 304 can receive suggestions for corrections. For an ASR transcription of media content, suggestions can be received from content owners or other contributors. Suggestions received from content owners can be considered corrections and can be immediately incorporated into the ASR transcription. Suggestions received from contributors are not incorporated into the ASR transcription unless the suggestion evaluation tool 306 determines that the suggestion is valid (or, more accurately, that the suggestion is more likely to be valid than invalid). That is, if the suggestion is determined to meet the validity threshold, the suggestion evaluation tool 306 can determine that the suggestion is valid. The suggestion input tool 304 can present or cause the presentation of a user interface that can be used by a user to provide suggestions, such as a user interface for providing suggestions. Figure 4 described.
[0061] The suggestion evaluation tool 306 determines whether the suggestion is effective or not. The suggestion evaluation tool 306 may include an ML model that can be used to determine whether the suggestion is effective or not. The ML model may be as described in relation to Figure 5 As previously described, the suggestion evaluation tool 306 determining that the suggestion is effective may mean that the suggestion evaluation tool 306 determines that the suggestion meets the effectiveness threshold.
[0062] In some examples, the ASR correction software 300 can limit the number of corrections that can be made to the ASR transcription. The typical error rate of an ASR tool can be between 5% and 15%. Therefore, if the number of corrections of the ASR has exceeded the configured correction threshold, the suggestion evaluation tool 306 can reject the suggestion. The correction threshold can be configured to be slightly higher or slightly lower than the expected error rate. Therefore, if the contributor generally attempts to correct samples such as 50% of the ASR transcriptions (i.e., 50% of the words in the ASR transcription), it is very likely that most of these suggestions are not valid suggestions. Therefore, assuming that the correction threshold is set to X% (e.g., 10%), if a given ASR transcription includes Y (e.g., 100) words, then if 10 (100*10%) words have been corrected, the suggestion evaluation tool 306 will not accept additional suggestions. In one example, if the correction threshold has been met, features can not be obtained, and the ML model is not used to determine whether the suggestion is valid.
[0063] Correction identifier 308 identifies a correction as a difference between the ASR transcription and the user-provided transcription. For example, a content owner may provide a complete transcription of the UGC. ASR tool 302 may generate an ASR transcription for the media content. Correction identifier 308 identifies the difference between the ASR transcription and the user-provided transcription. To identify the difference, correction identifier 308 may align at least a portion of the ASR transcription with a portion of the user-provided transcription. Correction identifier 308 may store the difference in a database, such as Figure 1 Database 112.
[0064] Figure 4 FIG. 4 is an example of a user interface (UI) 400 for providing suggestions for ASR errors. The UI 400 may be presented on a display such as Figure 2 The computing device may be a computing device 200. Figure 1 content owner device 104 or contributor device 106. Figure 4 One particular arrangement of UI controls and functionality is described, but the disclosure is not limited thereto and other arrangements and functionality are possible.
[0065] The content area 402 of UI 400 can display media content (e.g., frames of a video). The commentary timeline 404 includes a transcription segment 408 and corresponding timing information. For example, the transcription segment "CONSECTETUR ADIPISCING ELIT" will be displayed during the period of the video displayed in the content area 402 starting at 0:04.6 seconds and ending at 0:10.1 seconds. The transcription segment can be a segment of the original ASR transcription or a corrected ASR segment. The current transcription segment 410 includes (e.g., displays) a transcription segment related to the current playback time of the video. In order to provide suggestions, the contributor can pause the video at a position corresponding to the ASR segment to be corrected. In response to pausing the video, UI 400 can display the current transcription segment in area 412. The user can provide suggestions in the suggestion area 414.
[0066] Figure 4 1 shows that a user provides a suggested segment "I AM PREPARING FOR A GOVERNMENT JOB" for the ASR transcribed segment "I AM PREPARING FOR UNDERGARMENT JOB". In response to receiving the suggested segment, the ASR correction software 300 may store the suggested correction in association with the original ASR segment in a storage medium such as Figure 1 The suggestion input tool 304 may identify a specific suggestion and store the specific suggestion as a difference between the original ASR segment and the suggested segment. For example, the suggestion input tool 304 may store that in the transcribed segment “I AM PREPARING FOR UNDERGARMENTJOB”, the suggested correction for “UNDERGARMENT” is “A GOVERNMENT”. If the suggestion is received from the content owner, the suggestion input tool 304 may store that in the transcribed segment “I AM PREPARING FOR UNDERGARMENTJOB”, the segment “UNDERGARMENT” is corrected to “A GOVERNMENT”.
[0067] If suggestions are received from contributors, they can be used Figure 3 The suggestion evaluation tool 306 is used to identify whether the suggestion is effective or not. Here, the suggestion to be evaluated for effectiveness (ie, the specific suggestion) is "A GOVERNMENT" as a correction of "UNDERGARMENT".
[0068] The ASR transcription can be segmented into segments according to the speech model used by the ASR tool 302. For example, the ASR tool 302 can break the ASR transcription into segments based on pauses in the speech, based on timing (so that all segments correspond to approximately the same length of time), or according to some other logical way of dividing the ASR transcription into segments. The UI 400 presents the segments obtained from the ASR tool 302. In addition, or alternatively, the contributor can select the segments in a free manner. For example, the contributor can select any number of consecutive words in the ASR transcription to provide suggestions for.
[0069] Figure 5 is a flow chart of a technique 500 for training and using an ML model that determines whether a suggestion is effective or not. The technique 500 uses training data to train an ML model to infer whether a suggestion is effective or not. The technique 500 then uses the trained ML model to infer whether a suggestion provided by a contributor is effective or not.
[0070] At 502, technique 500 trains an ML model. The ML model can be trained using training data 512. Each of the training data 512 can include positive examples (i.e., known valid suggestions / corrections) or negative examples (known invalid suggestions). Each of the training data can include additional features as described herein. During the training phase (i.e., at 502), the ML model learns (e.g., trains, builds, derives, etc.) a mapping (e.g., a function) that accepts suggestions and other features as input and outputs a probability score of whether a suggestion (i.e., a given text replacement) is a valid or invalid suggestion.
[0071] As described above, a positive example may be a correction or suggestion that is known (or has been confirmed) to be effective, or may be obtained from such a correction or suggestion. Figure 1 In one example, the content owner can use Figure 4 In another example, the UI 400 can be used to provide corrections. Figure 3 The positive sample is obtained as described in the correction identifier 308.
[0072] Positive examples may include an ASR transcription sequence (e.g., a sequence of one or more words) and its correction sequence (e.g., a sequence of one or more words). The ASR transcription sequence and the correction sequence do not need to be of the same length (in terms of words or characters). As mentioned above, typical error rates for ASR tools may be between 5% and 15%. Therefore, content owners' corrections to ASR errors may provide a rich source of positive examples.
[0073] Positive examples can be identified by automatically collecting (such as from database 112) ASR transcription sequences and their corresponding correction sequences. The ASR transcription sequence can be aligned with its corresponding correction sequence, and the difference is considered as a correction. Aligning the ASR transcription sequence with its corresponding correction sequence is used because the ASR tool may have split a word into multiple words or merged multiple words into one word. Therefore, the number of words in the ASR transcription sequence may be different from the number of words in the correction sequence. Text alignment of the ASR transcription sequence and the correction sequence causes the words of at least one of the texts to shift so that the corresponding words are aligned with each other, and differences can be identified. Any known text alignment technique can be used to obtain text alignment, such as a dynamic programming-based technique that determines the best correspondence between two word-unit (e.g., word) lists. In one example, a Levenshtein Alignment algorithm can be used.
[0074] The specific words of the ASR transcription sequence that are corrected are referred to herein as "corrected words", and the corresponding words of the correction or suggestion sequence are referred to herein as "suggested words". For example, if the ASR transcription sequence is "what food did you lunch" and the correction sequence is "hot food during lunch", then the suggestion word "hot food during" will be the correction of the corrected word "what food did you"; if the ASR transcription sequence is "talk a trip less vacation" and the correction sequence is "took a triple S vacation", then "took a triple S" will be considered as the suggestion word for the corrected word "talk a trip less"; and if the ASR transcription sequence is "I am preparing for undergarment job" and the correction sequence is "I am preparing for a government job", then "a government" will be the suggestion word for the corrected word "undergarment".
[0075] As already mentioned, negative samples can be obtained from positive samples using a negative sampling method. Negative samples include ASR transcription sequences and incorrect correction sequences. The incorrect correction sequence can be obtained by replacing the corrected words of the ASR transcription sequence with random text (one or more words). More than one negative sample can be obtained from a positive sample. For example, using the above-mentioned ASR transcription sequence "I am prepare for undergarment job" example, and assuming that 3 negative samples are to be obtained, the following incorrect correction sequences can be used to obtain negative samples: "I am prepare for the big bad job", "I am prepare for Lorem ipsum dolor job" and "I am prepare for total job".
[0076] In one example, positive and negative examples may be obtained based on suggestions from contributors. For example, when media content with associated corrections is presented to a contributor, the original ASR transcription is presented to the contributor. The suggestion for the ASR transcription sequence received from the contributor may be compared with the corresponding correction (if any) of the ASR transcription sequence. If the suggestion does not match the correction, then the suggestion may be considered a negative example.
[0077] Each training data may include at least one of acoustic features, natural language processing (NLP) features, acoustic similarity features, or other types of features. Although features are discussed below in the context of the training phase of the ML model, it is understood that the same features on which the ML model is trained are also used during the inference phase.
[0078] The set of acoustic features can be based on the corresponding corrected word of the example and the corresponding sound of the correction or suggestion word. Comparing the sound of the audio of the corrected word with the sound of the suggestion word can ensure that the suggestion word is aligned with the audio and is not a random change or invalid correction.
[0079] In most cases, ASR tools generate words that sound very similar to spoken words. For example, an ASR tool may generate the word "woof" for the word "wolf." An ASR tool will not generate the word "meow" for the spoken word "wolf," which sounds very different. As another example, an ASR tool may generate the word "too" for the word "two," but will not generate the word "seventy" for the word "two." Therefore, a suggestion (e.g., "meow") that sounds very different from the corrected word (e.g., "woof") may be an invalid suggestion. On the other hand, a suggestion (e.g., "wolf") that sounds very similar to the corrected word (e.g., "woof") may be a valid suggestion.
[0080] Many techniques can be used to obtain sound similarity features. In one example, the corrected word and the suggested word can be converted into corresponding phonemes. The corresponding phonemes themselves can be used as input features of the ML model. Additionally or alternatively, distance measurements between corresponding phonemes can be used as input to the ML model. Distance measurements can be obtained in many ways.
[0081] In one example, the phonemes of the corrected word can be obtained from the ASR tool. For example, in addition to outputting the corrected word, the ASR tool can also output phonemes associated with the corrected word. In another example, the phonemes of the corrected word can be obtained from the corrected word itself. The phonemes of the suggested word can be obtained using a text-to-phoneme dictionary. If the phonemes of the corrected word are not obtained from the ASR as described, the phonemes of the corrected word can also be obtained using a text-to-phoneme dictionary. Levenshtein projection can be used to align corresponding phonemes and obtain distance measurements from them.
[0082] Obtaining the distance measure can include performing similarity weighting for the sounds of the phonemes. For example, a higher weight can be assigned to a comparison of the phonemes "pa" and "ba" that sound very similar, compared to the weight assigned to the phonemes "pa" and "ka" that do not sound very similar. In one example, normalization by phrase length can be used. For example, phrases can be weighted according to the number of words in the phrase, the number of tokens in the phrase, the number of phonemes in the phrase, more measures, fewer measures, or a combination thereof.
[0083] Additionally or alternatively, sound-based features may be obtained from the audio signals of the corrected word and the suggested word. The features may be used as input to the ML model. Additionally or alternatively, an audio signal difference score representing the difference (or similarity) between the audio signals may be used as input to the ML model. The audio signal difference score may be a number in the range of [0, 1], where a higher score indicates more alignment between the corrected word and the suggested word, and vice versa.
[0084] In one example, the sound-based features can be based on spectrograms of the corrected word and the suggested word. The spectrograms can be compared to obtain an audio signal difference score (alternatively or equivalently, a similarity score). The spectrogram of the suggested word can be obtained by converting the suggested word into an audio signal using a text-to-speech tool. In one example, the spectrogram of the corrected word can be obtained from the original audio contained in the media content. In another example, the spectrogram of the corrected word can be obtained using a text-to-speech tool. In one example, as a way to align the spectrograms and calculate the signal difference score, the signal spectrogram correlation can be measured. In another example, a model trained to compare audio sounds with text can be used to obtain a signal difference score.
[0085] Invalid suggestions may be in the form of incorrect spelling or grammar. For example, a contributor may suggest "take 1 capsule 3 hours before ded" for the ASR transcription sequence "take 1 capsule 3 hours before bed"; and another contributor may suggest "Are you sure you want to exist?" for the ASR transcription sequence "Are you sure you want to exit?"
[0086] The quality of such spelling or grammar signals can be used as another feature set to be used as an input to the ML model. Features can be based on the text alignment between the corrected word and the suggested word. For example, one or more edit distances between the corrected word and the suggested word can be obtained. One or more edit distances can be input to the ML model. The edit distance can be a measure of the similarity (or dissimilarity) between the corrected word and the suggested word. For example, the edit distance can be obtained by calculating the minimum number of operations required to convert the corrected word into the suggested word. Any number of techniques or combinations of techniques can be used to obtain the edit distance, including but not limited to calculating hamming distance, Jaccard similarity score, Jaro-Winkler distance, Levenshtein distance, Needleman Wunsch distance, phonetic distance and / or some other techniques.
[0087] Another set of features may be related to the frequency of certain words in the rest of the ASR transcription. For example, if a suggestion contains an inappropriate (e.g., abusive) word or technical term, it may be reasonable to accept the suggestion if the ASR transcription includes the same suggestion elsewhere; otherwise, do not accept the suggestion. Thus, the ML model can learn that the probability of accepting a suggestion should be related to the number of times the suggestion (or a derivative thereof) appears in the ASR transcription. That is, if the suggestion fits the context of the media content, then the suggestion is likely to be effective. In one example, the number of occurrences can be expressed as the total number of words in the ASR transcription or as a percentage of the total number. In another example, the number of occurrences can be expressed as a minimum number of occurrences (e.g., at least 5 times).
[0088] Another set of features may be related to the number of times multiple contributors independently suggested changes as corrections. Where contributors independently make suggestions (rather than voting on each other's suggestions or showing one contributor's suggestions to other contributors), the confidence that a suggestion is a valid suggestion increases with the number of contributors suggesting the same correction. Since contributors independently make suggestions, it is unlikely that multiple contributors will independently make the same invalid suggestion.
[0089] Another set of features can be features obtained using natural language processing (NLP) techniques. For example, context can be used to determine whether a suggested word would result in a well-structured and / or meaningful sentence. For example, a plausibility score can be obtained for a sentence that includes the suggested word instead of the corrected word. In one example, a first plausibility score can be obtained for an ASR transcription sequence that includes the corrected word, and a second plausibility score can be obtained for an ASR transcription sequence that includes the suggested word. The first plausibility score and the second plausibility score can be used as input to the ML model, and / or the difference between them can be used as input to the ML model.
[0090] In one example, a Transformer-based Bidirectional Encoder Representation (BERT) model can be used to obtain a rationality score. The BERT model can be used to determine whether a suggested word causes a sentence to be less meaningful and less well-structured than the original sentence. As is well known, the BERT model can be pre-trained on a large dataset and then fine-tuned for another purpose using a more specific dataset. Therefore, a large document corpus can be used to train the BERT model to understand context and well-structured and meaningful sentences. The BERT model can be fine-tuned to output a score corresponding to the appropriateness of the suggested word for the context. Given a set of words (one or more words), the context refers to the other words surrounding the set of words in the sentence that the BERT model is evaluating. For example, the BERT model can output one or more scores indicating the degree to which grammar is used incorrectly, the degree to which the suggested word is used unreasonably, and the like.
[0091] In one example, if a suggestion word has been considered as a possible candidate by the ASR tool, then such suggestion word may be given a higher probability of being accepted as a valid suggestion. Thus, the input to the ML model may be whether the ASR tool has considered the suggestion word. In one example, the probability assigned by the ASR tool may also be used as an input to the ML model.
[0092] Features can be weighted. For example, the ML model itself can learn the weights of the features. In another example, weights can be assigned to different features based on experience. Weights can be assigned based on the desired tradeoff between precision and recall.
[0093] The technique 500 can then use the ML model during an inference phase. The inference phase includes operations 504 to 510. Separation 514 indicates that the training phase and the inference phase can be separated in time. The trained ML model can be or can be included in a suggestion evaluation tool, such as a suggestion evaluation tool. Figure 3 The proposed assessment tool 306.
[0094] Suggestions from contributors may be received and evaluated. At 504, the suggestions are presented to the trained ML model. One or more of the above-described features corresponding to the features used to train the ML model are obtained and also input to the ML model. At 506, the output of the ML model is evaluated to determine whether the suggestion is considered valid. In one example, the ML model may output a Boolean value (e.g., TRUE / FALSE, 0 / 1) indicating whether the suggestion is valuable. In another example, the ML model may output a probability value regarding the effectiveness of the suggestion. If the probability value is greater than a threshold, the suggestion is considered valid. If the suggestion is valid, the technique 500 proceeds to 508 to incorporate the suggestion into the ASR transcription. If the suggestion is not valid, the technique 500 ends at 510.
[0095] In one example, because the ML model described herein can accurately classify suggested corrections to ASR errors as valid corrections, ASR errors and their valid corrections can be fed back into the training pipeline (e.g., stage) of the ASR tool, which can produce a better ASR model that generates fewer ASR errors. During the training phase of the ASR tool, the original sound signal that caused the ASR error, the ASR error, and its valid correction can be used to retrain the ASR tool. Additionally or alternatively, the ASR errors can be analyzed in conjunction with the corrections to improve the programming (e.g., model) of the ASR tool. As a result, the ASR tool and the ASR transcriptions obtained therefrom continue to improve, which in turn leads to an increasingly better user experience.
[0096] In one example, the ASR correction software 300 can be configured with a threshold that weighs accuracy and recall based on the requirements of the ASR correction software 300. For example, if there are many contributors providing suggestions, the ASR correction software 300 can be configured to perform high accuracy so that only text with high confidence of correctness is accepted. On the other hand, if there are few contributors, the system can be configured to induce users to provide suggestions. For example, if only one user provides a suggested word for the corrected word of the ASR transcription, then when the ASR transcription is presented to the viewer, the corrected word can be highlighted (e.g., underlined with a wavy line) to direct the viewer's attention to the corrected word, and induce them to provide a suggested word if they think the corrected word needs correction.
[0097] To further describe some implementations in greater detail, reference is next made to examples of techniques that may be performed for false suggestion detection of user-provided content. Figure 6 is a flow chart of an example of a technique 600 for detecting false suggestions for user-provided content. The technique 600 may use, for example, Figures 1 to 5 Technique 600 may be performed by a computing device that is compatible with the systems, hardware, and software described herein. For example, technique 600 may be performed by executing a machine-readable program or other computer-executable instructions (such as a routine, instruction, program, or other code). The steps or operations of technique 600 or another technique, method, process, or algorithm described in conjunction with the implementations disclosed herein may be implemented directly in hardware, firmware, software executed by hardware, circuits, or a combination thereof.
[0098] For ease of explanation, technology 600 is depicted and described herein as a series of steps or operations. However, steps or operations according to the present disclosure may occur in various orders and / or concurrently. In addition, other steps or operations not presented and described herein may be used. In addition, all steps or operations shown may not be required to implement the technology according to the disclosed subject matter.
[0099] At 602, an ASR transcription of at least a portion of the media content is obtained from an ASR tool. At 604, a suggested word is received for a corrected word of the ASR transcription of the media content. In one example, the ASR transcription of the media content may be modified as described above. Figure 4 The described receiving suggested words. Thus, the suggested words can be received from the computing device of the contributor. At 606, at least the suggested words or the corrected words are used to obtain (e.g., calculate, generate, select) features. The features can be any one or more of the features described herein. Thus, the features can include features related to the sound similarity between the suggested words and the corrected words. The sound similarity can be based on the phonemes of the suggested words and the phonemes of the corrected words. In one example, the features can include the edit distance between the corrected words and the suggested words. In another example, the features can include the frequency of occurrence of the suggested words in the ASR transcription. In another example, the features can include the number of times the suggested words are independently received from other users (e.g., contributors). In another example, the features can include whether the ASR tool considers the suggested words as possible transcriptions of the sound signals of the media content corresponding to the corrected words.
[0100] At 608, the features are input into a machine learning (ML) model to obtain a determination about the effectiveness of the suggested word. The ML model can be as described above. Thus, the ML model can be trained using positive examples, which are obtained based on corrections by the content owner of the media content. And the ML model can be trained using negative examples, which are obtained using negative sampling of corrections by replacing ASR errors with random text strings.
[0101] At 610, in response to the suggestion word constituting a valid suggestion, the suggestion word can be incorporated into the ASR transcription. That is, the corrected word can be replaced with the suggestion word in the ASR transcription. Alternatively, the corrected word can be replaced with the suggestion word in a copy of the ASR transcription. At 612, at least a portion of the ASR transcription is transmitted to a user device in conjunction with at least a portion of the media content. Portions of the ASR transcription can be displayed as timed commentary in conjunction with a display of portions of the media content. To be clear, transmitting the transcription means transmitting a version of the ASR transcription (the ASR transcription itself or a copy thereof) that includes the suggestion word (if the suggestion word is incorporated into the ASR transcription).
[0102] In one example, even if a suggestion is valid, it may not be incorporated into the ASR transcription if the number of corrections to the ASR transcription exceeds a correction threshold, as described above. The correction threshold may be a percentage of the number of words in the ASR transcription.
[0103] In an example, the technique 600 may also include retraining the ASR tool using the suggested words and the corrected words. As described above, the classification results of the ML model (and more specifically, the suggested words determined by the ML model to be valid suggestions) may be used to retrain the ASR tool.
[0104] Figure 7 is a flow chart of an example of a technique 700 for training a machine learning model to detect erroneous suggestions for user-provided content. The technique 700 may use techniques such as Figures 1 to 5 Technique 700 may be performed by a computing device that is compatible with the systems, hardware, and software described herein. For example, technique 700 may be performed by executing a machine-readable program or other computer-executable instructions (such as a routine, instruction, program, or other code). The steps or operations of technique 700 or another technique, method, process, or algorithm described in conjunction with the implementations disclosed herein may be implemented directly in hardware, firmware, software executed by hardware, circuits, or a combination thereof.
[0105] For ease of explanation, technology 700 is depicted and described herein as a series of steps or operations. However, steps or operations according to the present disclosure may occur in various orders and / or concurrently. In addition, other steps or operations not presented and described herein may be used. In addition, all steps or operations shown may not be required to implement the technology according to the disclosed subject matter.
[0106] At 702, positive training examples are obtained, as described above. Thus, each positive training example includes a corresponding correction of a corresponding corrected word for training an automated speech recognition (ASR) transcription. At 704, first features are obtained using the corresponding corrections and the corresponding corrected words. Features may be obtained as described above. Thus, the first features may include features related to the acoustic similarity between each corresponding correction and the corresponding corrected word.
[0107] At 706, negative training examples are obtained, as described above. Thus, each negative example may include a corresponding corrected word of the training ASR transcription and a corresponding randomly generated word that constitutes a suggested replacement for the corresponding corrected word. At 708, a second feature is obtained using the corresponding corrected word and the corresponding randomly generated word. The second feature may be obtained as described above. Thus, the second feature may include a feature related to a sound similarity between the corresponding corrected word and the corresponding randomly generated word. At 710, the first feature and the second feature are used to train an ML model to identify valid suggestions relative to invalid suggestions for ASR errors, as described above. In one example, the sound similarity between the corresponding correction and the corresponding corrected word may be based on the phonemes of the corresponding correction and the phonemes of the corresponding corrected word.
[0108] In one example, the first feature may include a first edit distance between the corresponding correction and the corresponding corrected word, and the second feature may include a second edit distance between the corresponding corrected word and the corresponding randomly generated word. In one example, the second feature may include a frequency of occurrence of the corresponding randomly generated word in the training ASR transcription.
[0109] Technique 700 may also include receiving media content. Obtaining an ASR transcription of the media content from an ASR tool. Receiving a suggestion word for a corrected word of the ASR transcription of the media content, such as from a contributor device of a contributor. In response to a determination obtained from the ML model indicating that the suggestion word constitutes a valid suggestion, the suggestion word may be incorporated into the ASR transcription. In one example, the suggestion word may be incorporated into the ASR transcription provided that the number of corrections to the ASR transcription does not exceed a correction threshold.
[0110] In another aspect of the disclosed implementation, features for training an ML model to determine and using the ML model to infer whether a suggestion word constitutes a valid suggestion may include: a first feature indicating whether the ASR tool considers the suggestion word as a possible transcription of a sound signal of the media content corresponding to the corrected word, and a second feature indicating the number of times the suggestion word was independently received from other users. Features may also include an edit distance between the corrected word and the suggestion word and a frequency of occurrence of the suggestion word in the ASR transcription.
[0111] As described above, the ML model used to detect whether a suggestion word constitutes a valid suggestion may be a neural network, such as a convolutional neural network. Fig. 8A and Figure 8B is a block diagram of an example of a convolutional neural network (CNN) 800 and 850 for false suggestion detection.
[0112] Fig. 8A A high-level block diagram of an example 800 of a typical CNN network, or CNN for short, is shown. In a CNN, the feature extraction portion typically includes a collection of convolution operations, typically a series of filters used to filter the input signal based on the filter. For example, in the context of false suggestion detection, these filters can be used to identify significant aspects of features used as input to the ML model and help separate valid suggestions from invalid suggestions. As the number of stacked convolution operations increases, later convolution operations can discover higher-level features.
[0113] In CNN, the classification part is usually a collection of fully connected (FC) layers, which can also be called dense operations. The fully connected layer can be thought of as looking at all input features in order to generate a high-level classifier. Several levels (e.g., a series) of high-level classifiers ultimately generate the desired classification output.
[0114] As described above, a typical CNN network consists of multiple convolution operations (e.g., salient features or aspect extraction parts) that may be followed by multiple fully connected layers. The number of operations of each type and their corresponding sizes are usually determined during the training phase of machine learning. As recognized by those skilled in the art, additional layers and / or operations may be included in each part. For example, a combination of pooling, max pooling, dropout, activation, normalization, batch normalization, and other operations may be grouped together with convolution operations (i.e., in the feature extraction part) and / or fully connected operations (i.e., in the classification part). Fully connected layers may be referred to as dense operations. As recognized by those skilled in the art, convolution operations may use SeparableConvolution2D or Convolution2D operations.
[0115] As used in the present disclosure, a convolutional layer may be a set of operations that starts with a Convolution2D or SeparableConvolution2D operation followed by zero or more operations (e.g., pooling, backoff, activation, normalization, batch normalization, other operations, or combinations thereof) until another convolutional layer, dense operation, or the output of a CNN is reached. Similarly, a dense layer may be a set of operations or layers that starts with a dense operation (i.e., a fully connected layer) followed by zero or more operations (e.g., pooling, backoff, activation, normalization, batch normalization, other operations, or combinations thereof) until another convolutional layer, another dense layer, or the output of a network is reached. The boundary between feature extraction based on convolutional networks and feature classification using dense operations can be marked by a Flatten operation that flattens a multidimensional matrix from feature extraction into a vector.
[0116] In a typical CNN, each of the convolutional layers can consist of a set of filters. Although the filter can be applied to a subset of the input data at a time, the filter can be applied across the entire input, such as by sweeping across the input. The operation performed by this layer is typically a linear / matrix multiplication. An activation function can be used to further filter the output of the convolution filter. The activation function can be a linear function or a nonlinear function (e.g., a sigmoid function, arcTan function, tanH function, or ReLu function, etc.).
[0117] Each of the fully connected operations is a linear operation where each input is connected to each output through a weight. Thus, a fully connected layer with N inputs and M outputs may have a total of N×M weights. As described above, dense operations may typically be followed by a nonlinear activation function to generate the output of the layer.
[0118] Some CNN network architectures may include several feature extraction parts that extract features at different granularities and a flattening layer (which may be referred to as a concatenation layer) that receives the output of the final convolutional layer of each of the extraction parts. The flattening layer aggregates all features extracted by different feature extraction parts into one input set. The output of the flattening layer may be fed into (i.e., used as input to) the fully connected layer of the classification part.
[0119] Figure 8B A high-level block diagram of an example of a CNN 850 is shown. In a CNN such as CNN 850, convolutional layers are used to extract features, and fully connected layers are used as classification layers.
[0120] In CNN 850, input 852 may be divided into smaller portions 854, which may be fed through (e.g., input to, etc.) one or more convolutional layers (e.g., convolutional layers 856 and 558), one or more maximum pooling layers (e.g., pooling layer 860), and one or more fully connected layers (e.g., fully connected layer 862) to produce an output at output layer 864. In one example, the features described above may be vectorized for input to CNN 850. The output of output layer 864 may be an indication (Boolean, probability, etc.) indicating whether the suggested word constitutes a valid suggestion. The output may also include a probability value indicating a confidence level that the suggested word is a valid suggestion. However, in other examples, other outputs (or output formats) are also possible.
[0121] For ease of explanation, Figure 5 , Figure 6 and Figure 7 The techniques 500, 600 and 700 in the present invention are depicted and described as a series of blocks, steps or operations, respectively. However, blocks, steps or operations according to the present invention may occur in various orders and / or concurrently. In addition, other steps or operations not presented and described herein may be used. In addition, all steps or operations shown may not be required to implement the techniques according to the disclosed subject matter.
[0122] The word "example" or "implementation" is used herein to indicate use as an example, instance or illustration. Any aspect or design described herein as an "example" or "implementation" is not necessarily to be interpreted as being more preferred or advantageous than other aspects or designs. Rather, the use of the word "example" or "implementation" is intended to present the concept in a specific way. As used in this application, the term "or" is intended to represent an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or otherwise clearly stated in the context, "X includes A or B" is intended to represent any one of its natural inclusive arrangements. That is, if X includes A; X includes B; or X includes both A and B, "X includes A or B" is satisfied under any of the above examples. In addition, unless otherwise specified or clearly directed to a singular form in the context, the article "one" used in this application and the appended claims should generally be interpreted as meaning "one or more". In addition, the use of the term "implementation" or "an implementation" throughout the text is not intended to represent the same embodiment or implementation, unless so described.
[0123] The implementation of the media server 102 (and the algorithms, methods, instructions, etc. stored thereon and / or executed thereon (including by the ASR correction software 300)) can be implemented in hardware, software, or any combination thereof. The hardware may include, for example, a computer, an intellectual property (IP) core, an application specific integrated circuit (ASIC), a programmable logic array, an optical processor, a programmable logic controller, microcode, a microcontroller, a server, a microprocessor, a digital signal processor, or any other suitable circuit. In the claims, the term "processor" should be understood to cover any of the aforementioned hardware, whether alone or in combination. The terms "signal" and "data" are used interchangeably.
[0124] Furthermore, in one aspect, for example, the media server 102 can be implemented using a general purpose computer or general purpose processor with a computer program that, when executed, performs any of the corresponding methods, algorithms, and / or instructions described herein. Additionally or alternatively, for example, a special purpose computer / processor can be utilized that may include other hardware for performing any of the methods, algorithms, or instructions described herein.
[0125] In addition, all or part of the implementation of the present disclosure may take the form of a computer program product that can be accessed from, for example, a tangible computer-usable or computer-readable medium. A computer-usable or computer-readable medium can be any device that can, for example, tangibly contain, store, transmit, or transfer a program for use by or in conjunction with any processor. The medium can be, for example, an electronic, magnetic, optical, electromagnetic, or semiconductor device. Other suitable media are also available.
[0126] The above embodiments, implementations, and aspects have been described to allow easy understanding of the present disclosure without limiting the present disclosure. On the contrary, the present disclosure is intended to cover various modifications and equivalent arrangements included within the scope of the appended claims, and the scope should be given the broadest interpretation permitted under the law to cover all such modifications and equivalent arrangements.
Claims
1. A method comprising: obtaining an ASR transcription of at least a portion of the media content from an automated speech recognition (ASR) tool; receiving a suggested word for a corrected word of the ASR transcription of the media content; obtaining features using at least the suggested word or the corrected word, wherein the features include features related to sound similarity between the suggested word and the corrected word; Inputting the features into a machine learning (ML) model to obtain a determination regarding the effectiveness of the suggested word; In response to the suggestion word constituting a valid suggestion, incorporating the suggestion word into the ASR transcription; as well as At least a portion of the ASR transcription is transmitted to a user device in conjunction with at least a portion of the media content.
2. The method of claim 1, wherein the features include: The edit distance between the corrected word and the suggested word; The frequency of occurrence of the suggested word in the ASR transcription; and / or The number of times the suggestion word was independently received from other users.
3. The method of one of claims 1 or 2, wherein the sound similarity is based on phonemes of the suggested word and phonemes of the corrected word.
4. The method of claim 1, wherein the feature comprises whether an ASR tool considers the suggested word as a possible transcription of a sound signal of the media content corresponding to the corrected word.
5. The method of any one of claims 1 to 4, wherein the ML model is trained using positive examples, the positive examples being obtained based on corrections by content owners of the media content.
6. The method of claim 5, wherein the ML model is trained using negative examples obtained using negative sampling by replacing corrected ASR errors with random text strings.
7. The method according to any one of claims 1 to 6, comprising: The ASR tool is retrained using the suggested words and the corrected words.
8. The method of any one of claims 1 to 7, wherein incorporating the suggested word into the ASR transcription comprises: The suggested word is incorporated into the ASR transcription on the condition that the number of corrections to the ASR transcription does not exceed a correction threshold.
9. A method comprising: Obtaining positive training examples, each positive training example including a corresponding correction of a corresponding corrected word transcribed by training automated speech recognition (ASR); obtaining a first feature using the corresponding corrections and the corresponding corrected words, wherein the first feature includes a feature related to the acoustic similarity between each corresponding correction and the corresponding corrected word; obtaining negative training examples, each negative training example comprising a corresponding corrected word of the training ASR transcription and a corresponding randomly generated word constituting a suggested replacement for the corresponding corrected word; obtaining a second feature using the corresponding corrected word and the corresponding randomly generated word, wherein the second feature comprises a feature related to an acoustic similarity between the corresponding corrected word and the corresponding randomly generated word; as well as A machine learning (ML) model is trained using the first feature and the second feature to identify valid suggestions relative to invalid suggestions for ASR errors.
10. The method of claim 9, comprising: receiving media content; Obtaining an ASR transcription of the media content from an ASR tool; receiving a suggested word for a corrected word of the ASR transcription of the media content; and Responsive to a determination obtained from the ML model indicating that the suggestion word constitutes a valid suggestion, the suggestion word is incorporated into the ASR transcription.
11. The method of claim 10, wherein incorporating the suggested word into the ASR transcription comprises: The suggested word is incorporated into the ASR transcription on the condition that the number of corrections to the ASR transcription does not exceed a correction threshold.
12. The method of claim 10 or claim 11, comprising: The ASR tool is retrained using the suggested words and the corrected words.
13. The method according to any one of claims 9 to 12, wherein: The first feature comprises a first edit distance between the corresponding correction and the corresponding corrected word, and The second feature comprises a second edit distance between the corresponding corrected word and the corresponding randomly generated word.
14. The method of any one of claims 9 to 13, wherein the second feature further comprises a frequency of occurrence of the corresponding randomly generated word in the training ASR transcription.
15. The method of any one of claims 9 to 14, wherein the acoustic similarity between the corresponding correction and the corresponding corrected word is based on phonemes of the corresponding correction and phonemes of the corresponding corrected word.
16. An apparatus comprising: A processor configured to perform the method according to any one of claims 1 to 15.
17. An apparatus comprising: Memory; as well as a processor configured to execute instructions stored in the memory to: receiving a suggested word for a corrected word of an automated speech recognition (ASR) transcription of the media content; At least the suggested word or the corrected word is used to obtain features, wherein the features include: a first feature indicating whether the ASR tool considers the suggested word as a possible transcription of a sound signal of the media content corresponding to the corrected word; and a second feature indicating a number of times the suggestion word is independently received from other users; and Responsive to a determination based on the features that the suggestion word constitutes a valid suggestion, the suggestion word is incorporated into the ASR transcription.
18. The apparatus of claim 17, wherein the features include an edit distance between the corrected word and the suggested word and a frequency of occurrence of the suggested word in the ASR transcription.
19. The apparatus of one of claims 17 or 18, wherein the instructions to incorporate the suggested word into the ASR transcription comprise the following instructions: The suggested word is incorporated into the ASR transcription on the condition that the number of corrections to the ASR transcription does not exceed a correction threshold.
